loading...
ایران پلاگین | ای تی چت
آخرین ارسال های انجمن
ahmadseyedan بازدید : 487 چهارشنبه 17 اردیبهشت 1393 نظرات (0)

سلام به همه کاربرای عزیز ، دوستان من یه چند روز دیگه بیشتر نیستم باتون ، ولی نمیخوام این رفتن من بدون سود برا شما باشه
امروز میخوام آموزش کامل ست کردن قالب با پنل رو بذارم به همراه فایلایی که نیاز داره ، خب دیگه وقتتونو نگیرم برم سر آموزش
اول بگم که این آموزش فقط برای قالب داخلیه ، قالب بیرونی بسته به نوع قالبش ست میشه ینی هر قالبی ست نمیشه که اون رو بهته بیخیال شین
خب قبل اینکه ست کردن رو شروع کنیم ، باید از نصب کامل پنل مطمئن شیم ، ینی پنل مدیریت ما باید همه چیش نصب شده باشه ، من خودم فعلا پنل 81 تایی رو توصیه میکنم ، sql های این پنل هم در آخر اضافه میکنم چون باید این هارو ایمپورت کنین ، نزدیک 30 تا میشه
خب میریم تو هاست و chat.tpl رو باز میکنیم
1.خب اولین مرحله ست کردن تایتل یا عنوان چت رومه
کد زیر رو پیدا کنین:

<title>تایتل چت روم شما</title>

حالا کد زیر رو جایگزین کد بالا کنین:
<title><?php require_once('db.php'); $conn=db_connect(); $result=$conn->query("SELECT * FROM `titled`"); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); ?> <?php echo $row['pic']; ?> <?php } ?> </title>

خب این از تایتل داخل چت رومتون
2.کد ست کردن عمومی و آنلاین ها و بک گرانده که بعد از کد تایتل اینو بذارین

<?php require_once('db.php'); $conn = db_connect(); $result = $conn->query("select * from pic where mahal = 'dakhel' "); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); $coddakhel=$row['url']; } ?> <body background="<?php echo $coddakhel; ?>" bgproperties="fixed"> <?php $namename=$_SESSION['etchat_'.$this->_prefix.'username']; ?>

3.خب کد بعدی کد ست کردن بک گراند داخل ، بستن چت روم ، بستن اي پي ، بستن ورود مهمان هست که به یه فایل php هم احتیاج داره که مربوط به ثبت آی پی هست که اگه نذارین تو روت هاستتون صفحه سفید میشه ، در ضمن بگم کد رو بعد از کد زیر بذارین:

chatObj.dragSplitpane(); } </script> </head>

بعضی وقتا ممکنه کد بالا به شکل زیر باشه :
chatObj.dragSplitpane(); } </script>

به هر حال در هر دو نوع کد زیر رو باید بعد اون کدا بذارین: (اینم کدش)
<?php require_once('db.php'); $conn = db_connect(); $result = $conn->query("select * from pic where mahal = 'bgin' "); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); $bgin=$row['url']; } $result = $conn->query("select * from pic where mahal = 'omomi' "); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); $codomomi=$row['url']; } $result = $conn->query("select * from pic where mahal = 'online' "); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); $codonline=$row['url']; } $result = $conn->query("select * from pic where mahal = 'header' "); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); $header=$row['url']; } $result = $conn->query("select * from pic where mahal = 'bgroom' "); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); $bgroom=$row['url']; } ?> <style type="text/css"> .mainlinks { } .mainlinks:hover { -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; color: #6E6E6E; background-color: #FEFEFE; } #linkdooni{ padding: 5px; background: url('<?php require_once('db.php'); $conn=db_connect(); $result=$conn->query("SELECT * FROM `heralinkzamine`");$num_results = $result->num_rows;for ($i=0; $i <$num_results; $i++){$row = $result->fetch_assoc();?><?php echo $row['pic']; ?><?php } ?>'); color:#000000; font-size: 10px; font-family:<?php require_once('db.php'); $conn=db_connect(); $result=$conn->query("SELECT * FROM `herafont`"); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); ?> <?php echo $row['pic']; ?> <?php } ?>; @Lyo=@margin-right:200px;@Ki8=@ position:relative; border-top: 4px solid #00ffd2; border-bottom: 4px solid #00ffd2; overflow: auto; padding: 5px; padding-bottom: 10px; line-height:150%; -moz-border-radius: 9px; -webkit-border-radius: 9px; border-radius: 9px; margin-top: 2pt; } #chatinhalt{ padding: 5px; background: url('<?php echo $codomomi; ?>'); color:#000000; font-size: 13px; font-family:<?php require_once('db.php'); $conn=db_connect(); $result=$conn->query("SELECT * FROM `herafont`"); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); ?> <?php echo $row['pic']; ?> <?php } ?>; @Lyo=@margin-right:200px;@Ki8=@ position:relative; border-top: 4px solid #00ffd2; border-bottom: 4px solid #00ffd2; height: 500px; overflow: auto; padding: 5px; padding-bottom: 10px; line-height:150%; -moz-border-radius: 9px; -webkit-border-radius: 9px; border-radius: 9px; } #onlinelist{ padding: 5px; background-image:url('<?php echo $codonline; ?>'); -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; border-top:5px #00ffd2 solid; border-bottom:5px #00ffd2 solid; font-size: 12px; font-family:<?php require_once('db.php'); $conn=db_connect(); $result=$conn->query("SELECT * FROM `herafont`"); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); ?> <?php echo $row['pic']; ?> <?php } ?>; @Lyo=@margin-right:200px;@Ki8=@ position:relative; border-top: 4px solid #00ffd2; border-bottom: 4px solid #00ffd2; width: 235px; height: 500px; overflow: auto; padding: 5px; padding-bottom: 10px; line-height:150%; -moz-border-radius: 9px; -webkit-border-radius: 9px; border-radius: 9px; overflow: auto; text-align: center; } #form{ background-image:url('<?php require_once('db.php'); $conn=db_connect(); $result=$conn->query("SELECT * FROM `bgg`");$num_results = $result->num_rows;for ($i=0; $i <$num_results; $i++){$row = $result->fetch_assoc();?><?php echo $row['pic']; ?><?php } ?>'); font-style: normal; clear: right; border-radius : 0 15px 0 15px; -moz-border-radius : 0 15px 0 15px; -webkit-border-radius : 0 15px 0 15px border-top:5px #00ffd2 solid; border-bottom:5px #00ffd2 solid; font-size: 13px; font-family:<?php require_once('db.php'); $conn=db_connect(); $result=$conn->query("SELECT * FROM `herafont`"); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); ?> <?php echo $row['pic']; ?> <?php } ?>; color:#FFFFFF; -moz-border-radius: 7px; -webkit-border-radius: 7px; margin-top: 2px; padding: 3px 3px 3px 10px; height: 55px; } #headaz{ background-image:url('<?php echo $header; ?>'); font-style: normal; clear: right; border-radius: 8px; border-top:4px #00ffd2 solid; border-bottom:4px #00ffd2 solid; font-size: 13px; font-family:<?php require_once('db.php'); $conn=db_connect(); $result=$conn->query("SELECT * FROM `herafont`"); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); ?> <?php echo $row['pic']; ?> <?php } ?>; color:#FFFFFF; -moz-border-radius: 8px; -webkit-border-radius: 8px; margin-bottom: 5px; width: 945px; height: 140px; } .rooms{ background-image:url('<?php require_once('db.php'); $conn=db_connect(); $result=$conn->query("SELECT * FROM `heralist`"); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); ?> <?php echo $row['pic']; ?> <?php } ?>'); background-position:right; width:218px; border-radius: 5px; padding: 3px 2px 2px 2px; text-shadow:1px 1px #000000; -moz-border-radius:6px; -webkit-border-radius:6px; margin-bottom: 3px; margin-right:auto; margin-left:auto; height:25px; text-align:center; cursor:pointer } </style> <style type="text/css"> #chatinhalt{ padding: 5px; background: url('<?php echo $codomomi; ?>'); font-size: 12px; font-family: tahoma; font-style: normal; @Lyo=@margin-right:200px;@Ki8=@ position:relative; height: 450px; overflow: auto; padding: 5px; padding-bottom: 16px; line-height:150%; -moz-border-radius: 9px; -webkit-border-radius: 9px; border-radius: 9px; -moz-box-shadow: 3px 3px 4px #909090; -webkit-box-shadow: 3px 3px 4px #909090; line-height:180%; box-shadow: 3px 3px 4px #909090; } #onlinelist{ background: url('<?php echo $codonline; ?>'); padding: 5px; color:#000000; font-size: 12px; font-family: tahoma; font-style: normal; text-align: center; float: right; width: 240px; height: 450px; padding-bottom: 16px; overflow: auto; -moz-border-radius: 9px; -webkit-border-radius: 9px; border-radius: 9px; -moz-box-shadow: 3px 3px 4px #909090; -webkit-box-shadow: 3px 3px 4px #909090; box-shadow: 3px 3px 4px #909090; } .rooms{ background-color:#388770; background-repeat:repeat-x; background-position:right; margin-bottom: 2px; cursor:pointer; height:23px; padding-top:2px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; -moz-box-shadow: 1px 1px 2px #909090; -webkit-box-shadow: 1px 1px 2px #909090; box-shadow: 1px 1px 2px #909090; color:#FFFFFF; text-align:center; } </style> <?php require_once('ip.php'); require_once('db.php'); $ndn=getRealIpAddr(); $ndn2=$ndn; $conn = db_connect(); $result = $conn->query("select * from bip where ip='$ndn'"); $num_results = $result->num_rows; if($num_results) exit; $conn = db_connect(); $ndn = substr($ndn,0,5); $result = $conn->query("select * from bips where ip LIKE '%$ndn%' "); $num_results = $result->num_rows; if($num_results) exit; $conn = db_connect(); $result = $conn->query("select * from bastan "); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); ?><br><br><br><br><br><br> <center><font face="Tahoma"><span style="background-color: #FFFFFF"> <?php echo $row['textt']; ?></span></font></center> <?php exit; } ?> <body background="<?php echo $bgin; ?>"> <?php $namename=$_SESSION['etchat_'.$this->_prefix.'username']; ?> <?php $hhhh=$_SESSION['etchat_'.$this->_prefix.'username']; $codgast2='user'; $conn = db_connect(); $result = $conn->query("select * from tools where name = 'gast' "); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); $codgast=$row['cod']; } if($codgast=='0') { $name2=$_SESSION['etchat_'.$this->_prefix.'username']; $result = $conn->query("select * from db1_etchat_user where etchat_username = '$name2' "); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); $codgast2=$row['etchat_userprivilegien']; } } if($codgast2=='gast') { ?> <br><br><br><br><br><br> <center><font face="Tahoma"><span style="background-color: #FFFFFF">ضمن عرض پوزش به لحاظ مسائل امنیتی ازپـــذیرش کاربرمهمان تاساعتی دیگرمعـذوریم </span></font></center> <?php exit; } ?>



با قرار دادن کد بالا همه عکسای رومتون میپره ، چون باید از تو پنل عکسا رو بذارین
4.ست کردن لینکدونی
<div class="links" id="linkdooni"><marquee behavior="scroll" onmouseover="this.stop();" onmouseout="this.start();" scrolldelay="70" scrollamount="2" direction="right"> ***<style type="text/css" > .links {background-color: #CBCBCB;padding: 2px;margin-right: auto;margin-left: auto;margin-top: 2pt;margin-bottom: 2pt;border: 1px solid #262626;font-family: tahoma;font-size: 10px;color: #FFF;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;height: 17px;} .mainlinks:hover {-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;color: #6E6E6E;background-color: #FEFEFE;} </style> <?php require_once('db.php');$conn = db_connect();$result = $conn->query("SELECT * FROM link");$num_results = $result->num_rows;for ($i=0; $i <$num_results; $i++){$row = $result->fetch_assoc();echo '&nbsp;<a href="'.$row['address'].'" target="_blank" class="mainlinks">'.$row['subject'].'</a> &nbsp;&nbsp;<span style="color:#F53381;font-weight:bold">***</span>&nbsp;&nbsp;';} ?> </marquee></div>

کد بالا رو بعد از کد زیر قرار بدین

<div id="chatinhalt"></div>

نکته : ممکنه بعضی جاها این کد نباشه یا جور دیگه باشه ، به هر حال باید بالای گزینه ها بذارین ، یا پایینشون ، بسته به میلتون میتونین این کد رو بذارین

5.کد ست کردن گزینه برای اضاف کردن گزینه از تو پنل ، که به نظرم نذارین بهتره ، آخه یکم جاشون با هم جور در نمیاد

<?php require_once('db.php'); $conn=db_connect(); $result=$conn->query("SELECT * FROM `gozine`"); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); ?> <a target="_blank" href="<?php echo $row['link']; ?>"> <span class="tooltip navy-tooltip"><img id="link_color" class="img_button" src="<?php echo $row['pic']; ?>" width="32" height="32"></a></span> <?php } ?>


کد بالا بعد از کد زیر بذارین
<input type="hidden" name="color" id="color" value="#<?php echo $_SESSION['etchat_'.$this->_prefix.'textcolor']; ?>" />

6.کد گذاشتن بنر و کد جاوا

<?php require_once('db.php'); $conn = db_connect(); $result = $conn->query("select * from banner "); $num_results = $result->num_rows; for ($i=0; $i <$num_results; $i++) { $row = $result->fetch_assoc(); ?> <a target="_blank" href="<?php echo $row['link']; ?>"> <img border="0" src="<?php echo $row['pic']; ?>" width="468" height="60"></a> <br> <?php } ?>

کد بالا رو بین تگ بادی بذارین ، البته این کد رو تست کردم کار نکرد ، ینی تو بعضی چت روما کار میکنه تو بعضیا کار نمیکنه
خب تموم شد دوستان
حالا بریم سراغ فایلای پیوستی
اولی فایلای sql که باید همشو ایمپورت کنین
دومی فایل ip.php که تو روت بریزین
فایل های پیوست شده فایل های پیوست شده
  • نوع فایل: zip sql.zip (20.7 کیلو بایت, 9 مشاهدات)
  • نوع فایل: zip ip.zip (350 بایت, 8 مشاهدات)
فایل های پیوست شده فایل های پیوست شده
ارسال نظر برای این مطلب

کد امنیتی رفرش
اطلاعات کاربری
  • فراموشی رمز عبور؟
  • نظرسنجی
    کدام طراح برتر هست از نظر طراحی بکاپ
    آمار سایت
  • کل مطالب : 1005
  • کل نظرات : 259
  • افراد آنلاین : 3
  • تعداد اعضا : 1313
  • آی پی امروز : 222
  • آی پی دیروز : 312
  • بازدید امروز : 986
  • باردید دیروز : 497
  • گوگل امروز : 1
  • گوگل دیروز : 0
  • بازدید هفته : 1,895
  • بازدید ماه : 8,937
  • بازدید سال : 67,567
  • بازدید کلی : 1,712,610