آموزش قرار دادن بنر در آخر هر پست

شروع موضوع توسط administrator ‏21 سپتامبر 2011 در انجمن آموزش ها

  1. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
    با سلام به همه كاربران عزيز
    خيلي ميان و درخواست آموزش قرار دادن بنر در آخر هر پست رو دارند ولي منم به خاطر درسي كه دارم فعلا زياد نميتونم بيام سايت.خوب بگذريم ميريم سر اصل مطلب:
    من این آموزش رو روی قالب Mashhadteam-Default انجام میدم . این رو هم خاطر نشان کنم که قالب ها با هم تفاوت دارند و ممکن است آموزش من برای قالب های دیگر کارساز نباشد.
    خوب میریم به آموزش :
    1- ابتدا به هاست خود رفته و از روت سایت به ادرس زیر بروید :
    theme/Mashhadteam-Default
    2-بعد فایل theme.phpرا باز کرده و کد زیر را پیدا کنید :
    PHP:
        <!--News-->

        <div class="News">
          <div class="NewsTitle">
            <div class="NewsRating">
              <?=rating_load($sid)?>
            </div>
            <div>
              <h2 class="NewsTitleText"><a href="<?=newslink($sid);?>" rel="bookmark" title="<?=$title?>">
                <?=$title?>
                </a></h2>
            </div>
          </div>
        <div class="Clear center-mian-bg">
            <div class="content">
              <div class="post"><?=$content?></div>
            </div>
    به آخر کد بالا کد زیر را قرار دهید:

    PHP:
        <br><p style="text-align: center;">
        
    کد بنر را اینجا وارد کنید </p>
    خوب بعد فایل را ذخیره کنید.

    کار تمام هست.
     
  2. javadshiry

    javadshiry کاربر جدید

    تاریخ عضویت:
    ‏19 دسامبر 2011
    ارسال ها:
    256
    تشکر شده:
    0
    این کد منه کجاش باید تبلیغ رو بزارم؟؟؟ :
    PHP:
    <div class='bg-content-blocksc'>
    <
    table width=100border=0 cellpadding=6>
    <
    tr><td align=right style='font-size: 11px;font-weight: bold;' class='newstitle'><a href='$newsLink'>$title</a></td></tr></table>
    <
    div align=center>
    <
    table width=585 border=0 cellpadding=class='bg-starr'>
    <
    tr>


    <
    td width=440></td>
    <
    td width=75>$rating_code
    </td>
    <
    td width=70></td>
    </
    tr></table></div>

    <
    div class='bg-content-blocksc'>
    <
    table width=100border=0 cellpadding=5>
        
    <
    tr>
      <
    td>$hometext</tD>
    </
    tr></table>
    </
    div>


    <
    div style='margin: 0px;'>
    <
    table border=0 width=610 cellpadding=0 cellspacing=0><tr><td>
    <
    div style='width: 610px;'>
    <
    div class='news-down-right'></div>
    <
    div class='news-down-bg'>
    <
    table border=0 width=592 cellpadding=0 cellspacing=0><tr><td>
    <
    div style='margin-top: 10px;color: #828282; font-size: 9px;' class='sasasa'>
    &
    nbsp;&nbsp;&nbsp;&nbsp;
     
    نویسنده $aid 
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    دسته $topicname_link
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    تاريخ $datetime
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     
    بازدید $counter 
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     <
    a href='$newsLink#comments'>نظرات</a>
    &
    nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </
    div>
     
  3. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
  4. javadshiry

    javadshiry کاربر جدید

    تاریخ عضویت:
    ‏19 دسامبر 2011
    ارسال ها:
    256
    تشکر شده:
    0
    یعنی بعد از نویسنده و ....
    بعد از div??
    فک نمی کنم درست در بیاد
    میشه شما کد رو توش قرار بدی؟؟
    ممنون
     
  5. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
    اول یک بکاپ بگیرید و بعد از div قرار بدید.
    تو قالبها فرق میکنم ولی بعد از div باید باشه.
     
  6. javadshiry

    javadshiry کاربر جدید

    تاریخ عضویت:
    ‏19 دسامبر 2011
    ارسال ها:
    256
    تشکر شده:
    0
    داداش این div چیه؟؟؟ خیلی از اینا تو قالب هست
    کارش چیه؟؟؟
     
  7. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
    div یعنی divider(جدا کننده) . برای نقسیم بندی صفجه از این استفاده میکنند. که هر بخش به صورن مجزا باشه. مثلا یه بار هدر رو با این تگ تعریف میکنند بعدش منو و...
     
  8. mammad_fashion

    mammad_fashion محروم شده

    تاریخ عضویت:
    ‏20 ژانویه 2012
    ارسال ها:
    364
    تشکر شده:
    0
    دوستان اینم کد توروخدا انجام بدید دیگه اونجا که محل تبلیغات بین پست هست با اینتر خالی کنید من بنر بزارم لـــــــطـــــــفا
    PHP:
    <?php



    function OpenTable()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    <div class="Open1">
    <div class="Open2">
    <?php
    }

    function 
    CloseTable()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    </div>
    </div>
    <?php
    }

    function 
    OpenTable2()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    <div class="Open1">
    <div class="Open2">
    <?php
    }

    function 
    CloseTable2()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    </div>
    </div>
    <?php
    }

    function 
    head(){
    global 
    $slogan$name$sitename$banners$nukeurl$Version_Num$ab_config$artpage$topic$hlpfile$user$hr$theme$cookie$bgcolor1$bgcolor2$bgcolor3$bgcolor4$textcolor1$textcolor2$forumpage$adminpage$userpage$pagetitle$pagetags$align$anonymous $preloader;
    $ThemeSel get_theme();
    echo 
    $adminpage;
    theme_lang();
    echo 
    "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
    echo 
    "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
    echo 
    "<head>\n";
    echo
    "<title>$sitename $pagetitle</title>\n";
    @include(
    "includes/meta.php");
    if (
    file_exists("themes/$ThemeSel/images/favicon.ico")) {
    echo 
    "<link rel=\"shortcut icon\" href=\"themes/$ThemeSel/images/favicon.ico\" type=\"image/x-icon\" />\n";
    }
    @include(
    "includes/javascript.php");
    echo 
    "\n";
    echo 
    "<link rel=\"StyleSheet\" href=\"themes/$ThemeSel/style/nuketools.css\" type=\"text/css\" />\n";
     echo 
    "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n";


    echo 
    "</head>\n";
    if(
    $preloader == 1){

    echo 
    "<div id=\"waitDiv\" onclick=\"this.style.visibility='hidden'\" style=\"text-align:center; line-height:17px; position:fixed; z-index:1000; width:100%; height:100%; background-color:#000; color:#fff; font-size:11px; margin:0px auto;\"><div style=\"position:fixed; margin:0px auto; \" id=\"loadingimage\" ><img src=\"images/loader.gif\" /></div></div>";
    echo 
    "<script>showWaitm('waitDiv', 1);</script>\n";
    echo 
    "</div>\n";
    }
    $u_agent $_SERVER['HTTP_USER_AGENT'];

    themeheader();
    }

    function 
    themeheader()
    {
    global 
    $db$prefix,$user,$cookie,$name,$datetype,$hijri$align ,$sitename ,$nukeurl ,$HeaderImage;
    $ThemeSel get_theme();
    $username $cookie[1];
    theme_lang();
    $query $db->sql_query("SELECT name FROM ".$prefix."_users WHERE username='$username'");
    $row $db->sql_fetchrow($query);
    $real_name mysql_escape_string($row['name']);
    $dateTime time();
    $dateTime nuketimes($dateTime);
    $now date("H:i");
    if((
    $datetype == 1) OR ($datetype == 2)){
    $time "<span id=\"timeofnuke\"></span> $dateTime";
    }else{
    $time "<span dir=\"ltr\"><span id=\"timeofnuke\"></span> $dateTime</span>";
    }
    if(
    $row $db->sql_fetchrow($db->sql_query("SELECT * from ".$prefix."_nukesql")))
    {
    ?>

    <body>
    <div align='center'>         <td><img border='0' src='themes/Toptemp-Tehmusic83/images/top2.png'></td> 
        <table width='980'>
            <table><tr><td height='200' width='980' border='0' background='themes/Toptemp-Tehmusic83/images/tehraan.jpg'></td></tr></table>
       <table id='menus' Width=\"982\" height=\"40\" style="background-image: url(themes/Toptemp-Tehmusic83/images/menu.png) ; background-repeat: repeat-x;  padding-right:10px">

    <tr></td><td align='right'><a  href='backend.php' target='_blank'>
        <img border='0' src='themes/Toptemp-Tehmusic83/images/rss.png' onmouseover=this.src='themes/Toptemp-Tehmusic83/images/rss2.png' onmouseout=this.src='themes/Toptemp-Tehmusic83/images/rss.png' width='26' height='28'></a><a  href='static-96.html' target='_blank'>
        <img border='0' src='themes/Toptemp-Tehmusic83/images/skydesign.png' onmouseover=this.src='themes/Toptemp-Tehmusic83/images/skydesign2.png' onmouseout=this.src='themes/Toptemp-Tehmusic83/images/skydesign.png' width='26' height='28'></a></td><td align='left'><td Width='100'><a href='http://bia2music03.com/statics/1/'>    Advertising Order</a></td><td Width='66'><a href='mailto:Bia2musi01.m@yahoo.com'>Contact Us</a></td><td Width='52'><a href='http://bia2music03.com/Forum/'>Forums</a></td><td Width='50'><a href='search.html'>Search</a></td><td Width='70'><a href='/modules.php?name=Your_Account&op=new_user'>Membership</a></td><td Width='40'><a href='index.html'>Home</a></td></tr></table>

         <table id='menus' Width=\"982\" height=\"35\" style="background-image: url(themes/Toptemp-Tehmusic83/images/menu2.png) ; background-repeat: repeat-x;  padding-right:10px"><tr></td></td><td class='menus' align='right'><iframe name='I5' src='themes/Toptemp-Tehmusic83/News.htm?' border='0' scrolling='no' width='350' frameborder='0' height='28'>
            Your browser does not support inline frames or is currently configured not to display inline frames [SkyDesign]
            </iframe></td><td align='left'> <div class='loginform'> 
            <form action='modules.php?name=Your_Account' method='post'> 
             <table border='0'> 
            <tr> 
     <td><input type='image' src='themes/Toptemp-Tehmusic83/images/login.gif' onmouseover=this.src='themes/Toptemp-Tehmusic83/images/login2.gif' onmouseout=this.src='themes/Toptemp-Tehmusic83/images/login.gif'  value='ورود'></td> 
                <td width='90'><input class='input' type='password' name='user_password' size='12' maxlength='20' value='' onFocus='if(this.value=='')this.value='';'></td> <td class='loginform'>:Password</td>
                
                <td width='80'><input class='input' type='text' name='username' size='12' maxlength='25' value='' onFocus='if(this.value=='')this.value='';'></td><td class='loginform'>:Username</td> 
            </tr> 
            
        </table> 
        <input type='hidden' name='op' value='login'> 
     
              </form> 
              
            </div> </td></tr></table>

     <br><Br>
        <table width='990' >
        <tr>
        <td>
        <table cellpadding=0 cellspacing=0 border=0><tr><td>
    <div style='margin-right:8px;'>
    <div style='width: 990px;'>
    <div class='ads-up-r'>&nbsp;&nbsp;Your Advertising Here </div>
    <div class='ads-up-bg'></div>
    <div class='ads-up-l'></div>
    </div>

    <div class='bg-ads'>
    <center>


        

                    




    <a href='http://bia2music03.com/statics/3/' target='_blank'><img src='http://www.20-up.ir/images/y60s4k78zhjg3wagq5yu.gif' width='948' height='130' /></a>
    <br />




    <a href='http://farsahang4.in/' target='_blank'><img src='http://s1.picofile.com/file/7280216341/FarsAhang.gif' width='948' height='130' /></a>
    <br />




    <a href='http://bia2music03.com/223//%D8%A2%D9%87%D9%86%DA%AF/Dj-AMB---Man-Del-Bastam/' target='_blank'><img src='http://bia2music03.com/Video/siavash/DjAMB%2811-26%29.jpg' width='948' height='150' /></a>
    <br />









    <a href='http://bia2music03.com/252//video/25Band---Hagh-Ba-Tost---HD/' target='_blank'><img src='http://bia2music03.com/music/Zed%20bazi/SP-2525BAND.jpg' width='948' height='200' /></a>
    <br />



    <a href='http://bia2music03.com/246//%D8%A2%D9%87%D9%86%DA%AF/Hamid-Hekmat---Bavar-Nadaram//' target='_blank'><img src='http://www.20-up.ir/images/pmisozjsdhku64v0woc7.jpg' width='948' height='150' /></a>
    <br />















                    



    <br>&nbsp;<a href='http://bia2music03.com/statics/1/' target='_blank'><img border='0' src='http://bia2music03.com/music/nima%20alameh/ads-11.jpg'></a>





    &nbsp;<a href='http://bia2music03.com/statics/1/' target='_blank'><img border='0' src='http://bia2music03.com/music/nima%20alameh/ads-11.jpg'></a>



    &nbsp;<a href='http://bia2music03.com/statics/1/' target='_blank'><img border='0' src='http://bia2music03.com/music/nima%20alameh/ads-11.jpg'></a>



    <br>
    &nbsp;<a href='http://bia2music03.com/statics/1/' target='_blank'><img border='0' src='http://bia2music03.com/music/nima%20alameh/ads-11.jpg'></a>






    &nbsp;<a href='http://bia2music03.com/statics/1/' target='_blank'><img border='0' src='http://bia2music03.com/music/nima%20alameh/ads-11.jpg'></a>



    &nbsp;<a href='http://bia2music03.com/statics/1/' target='_blank'><img border='0' src='http://bia2music03.com/music/nima%20alameh/ads-11.jpg'></a>


    <a href='http://bia2music10.rozblog.com' target='_blank'><img src='http://bia2music02.com/axs/Bia2music013..gif' width='468' height='60' /></a>



    <a target='_blank' href='http://www.irnashop.org/in.php?id=241&&ref=1660'><img border='0' src='http://pixha.net/uploads/images/irnashop/bombkhandeh/4.gif ' ></a>



    <a href='http://www.poog.ccz.ir/' target='_blank'><img src='http://axgig.com/images/17092194026974731774.gif' width='468' height='60' /></a>




    <a href='http://www.tooptop.com' target='_blank'><img src='http://www.tooptop.com/images/BANNER1.gif' width='468' height='60' /></a>

        


    <a href='http://bia2music03.com/statics/1/' target='_blank'><img src='http://up98.org/upload/server1/02/c/e6dgsap823zgh93iez02.gif' width='468' height='60' /></a>







        

    </centeR>
    </div>
    <div style='width: 990px;'>
    <div class='ads-down-r'></div>
    <div class='ads-down-bg'></div>
    <div class='ads-down-l'></div>
    </div>
    </div>
    </td></tr></table>
            

        <br style='clear: center' /> 

    </td>
    </tr>
    </table> 
        <table border='0' bgcolor='#e0e0e0' width='980' dir='rtl' cellspacing='0' cellpadding='0'> 
        <tr>
        <td></td>

        <td> 
        <div align='center'> 
        <table border='0' width='100%' cellspacing='0' cellpadding='0' dir='rtl'> 
        <tr> 
        <!----------------> 
        </td>
        </tr>
        <td>
        <table border='0' width='100%' cellspacing='0' cellpadding='0'>
        <td>
        <table border='0' width='100%' cellspacing='0' cellpadding='0'>

        <td>
        </td>
        </tr>
        <td>
        <table border='0' width='100%' cellspacing='0' cellpadding='0'>
        <table width='100%'>
        </tr>
        </table>

        </table>

        </td>
        </tr>
        </table>
        </td>
        </tr>
        </table>
        </td>

        </tr>
              <tr>
                <td valign=\"top\">
                  <table border=\"0\" width=\"100%\" cellpadding=\"3\">
                    <tr> 
    <? if ($name == "Forums") {} else { ?>
    <td valign="top">
    <? blocks(left);} ?>
    </td>
    <td valign="top" align="center" width="100%">
    <? if(defined('INDEX_FILE')){}}}
    function 
    themefooter() {global $index,$db,$prefix,$foot1,$copyright,$gtset,$AvatarRight,$AvatarLeft,$align,$nukeurl?>
    </td>
    <? if(defined('INDEX_FILE')){ ?>
    <td valign="top">
    <? blocks(right); ?>
    </td>

    <? ?>
    <table align='center' border=0 width=790 cellpadding=0 cellspacing=0 bgcolor=#e0e0e0>
    <tr><br><br><br><center>
    <td width='255' height='300' background='themes/Toptemp-Tehmusic83/images/user.png' valign=top style='background-repeat: no-repeat;' >
    <br><br>
    <div align=right style='margin-right: 30px;margin-bottom: 20px;' class='footer-text'><br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='modules.php?name=Your_Account&op=new_user'>عضويت سریع</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='modules.php?name=Your_Account'>ورود کاربران</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='modules.php?name=Your_Account'>تنظیمات کاربری</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='forums.html'>ورود به تالار گفتمان</a>
    <br><br><br><br><br><br>
    </div>
    </td>
    <td width='10'></td><td width='250' height='300' background='themes/Toptemp-Tehmusic83/images/teh.png' valign=top style='background-repeat: no-repeat;'>
    <br><br>
    <div align=right style='margin-right: 32px;margin-bottom: 20px;margin-left: 30px;' class='footer-text'><br><br>
    بیا تو موزیک<br>بزرگترین و اولین رسانه خبری , هنری موسیقی ایرانیان
    </div>
    </td>
    <td width='10'></td><td width='250' height='300' background='themes/Toptemp-Tehmusic83/images/link.png' valign=top style='background-repeat: no-repeat;'>
    <br><br>
    <div align=right style='margin-right: 30px;margin-bottom: 20px;' class='footer-text'><br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='http://shopir.net/'>فروشگاه بیا تو موزیک</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='http://bia2music02.com/statics/1/'>تعرفه تبلیغات</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='http://bia2music02.com/feedback.html'>تماس با ما</a>

    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='search.html'>جستجو در سایت</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='backend.php'>خوراک / Rss</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='http://www.facebook.com/pages/Bia2music01-10/243415319071190?sk=wall'>فن پیج فیس بوک</a>
    <br><br>
    <?php $_F=__FILE__;$_X='Pz48L2Q0dj4NCjwvdGQ+DQo8L3RyPg0KICA8L3RyPg0KICAgIA0KICA8L3RkPjwvYzVudDVyPg0KPC90cj4gICA8L3QxYmw1Pjxicj48QnI+DQo8L3RyPg0KPC9kNHY+PC90ZD48L3RyPiA8dDFibDUgNGQ9J201bjNzJyBXNGR0aD1cIjk4YVwiIGg1NGdodD1cInUwXCIgc3R5bDU9ImIxY2tncjIzbmQtDQoNCjRtMWc1OiAzcmwodGg1bTVzL1QycHQ1bXAtVDVobTNzNGM4by80bTFnNXMvbTVuMy5wbmcpIDsgYjFja2dyMjNuZC1yNXA1MXQ6IHI1cDUxdC0NCg0KeDsgIHAxZGQ0bmctcjRnaHQ6NjBweCI+DQo8dHI+PHRkIDFsNGduPSdjNW50NXInPjxmMm50IGMybDJyPScjZmZmJz5UaDVtNSBENXM0Z241ciBCeSA6IDwxIA0KDQpocjVmPSdodHRwOi8vd3d3LnNreWQ1czRnbnQ1MW0uYzJtLyc+IFNreUQ1czRnblQ1MW08LzE+IHwgUjVkM2N0NDJuIEYyciBQaHBOM2s1IDgubyANCg0KOiAgPDEgaHI1Zj0naHR0cDovL3d3dy50MnB0NW1wLm41dC80bmQ1eC5waHAnPlQycFQ1bXAuTjV0IDwvMT4gLSBQMnc1cjVkIEJ5IDogPDEgDQoNCmhyNWY9J2h0dHA6Ly93d3cucGhwbjNrNS40cic+UGhwTjNrNS40cjwvMT48L2YybnQ+PC90ZD48L3RyPjwvdDFibDU+DQoNCiA8dHI+PHRkID4NCiAgPHQxYmw1IGIycmQ1cj0nMCcgYzVsbHAxZGQ0bmc9JzAnIGM1bGxzcDFjNG5nPScwJyBoNTRnaHQ9J2V1JyANCnc0ZHRoPSc5OGEnIHN0eWw1PSdiMWNrZ3IyM25kLTRtMWc1OjNybCh0aDVtNXMvVDJwdDVtcC1UNWhtM3M0YzhvLzRtMWc1cy9mMjJ0NXItDQoNCmJnLnBuZyk7IA0KYjFja2dyMjNuZC1yNXA1MXQ6IHI1cDUxdC14OyBiMWNrZ3IyM25kLXAyczR0NDJuOiBjNW50NXIgYjJ0dDJtOyc+DQogIDx0YjJkeT48dHI+DQogIDwvdHI+DQogIDx0cj4NCiAgIDwvdHI+DQogIDx0cj4NCiAgPC90cj4NCiAgPC90YjJkeT48L3QxYmw1Pg0KDQogIDwvdDFibDU+DQogIDwvZDR2PiAgPC90ZD4NCiAgPC90cj4NCiAgPC90MWJsNT4NCiAgPC9kNHY+ICA=';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?> 
    <?

    }

    function 
    themesidebox($title$content$themeview=1$themetype)
    {
    global 
    $db$prefix$align;

    $ThemeSel get_theme();
    theme_lang();
    $result $db->sql_query("SELECT * FROM ".$prefix."_blocks_sides WHERE sideid='$themetype'");
    $row $db->sql_fetchrow($result);
    $sidename filter($row['sidename'], "nohtml");
    if(
    $sidename == ""){
    echo
    "

    <table bgcolor='#ffffff' border='0' width='180' cellspacing='0' cellpadding='0'>
    <tr>
    <td background='themes/Toptemp-Tehmusic83/images/blk_sd3.gif'>
    <table border='0' width='180' height='45' cellspacing='0' cellpadding='4''>
    <tr>
    <td>
    <table border='0' width='100%' cellspacing='0' cellpadding='0'>
    <tr>
    <td align='center'><span class='SideBox'>
    $title</span></td>
    <td width='10'><img class='CBSB CBSBMin' border='0' onclick='BlockStatChange(this,'Like this page')' src='themes/Toptemp-Tehmusic83/images/7px.gif' width='9' height='9'></td>
    </tr>

    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>

    <td id='Like this page' style='border-left: 1px solid #d3d3d3;border-right: 1px solid #d3d3d3;'>
    <table border='0' width='100%'>
    <tr>
    <td>
    $content

    </td>
    </tr>

    </table>
      </td>
      </tr>
      <tr>
      <td background='themes/Toptemp-Tehmusic83/images/blk_sd_bt.gif'  height='6'>
      </td>
      </tr>
    </table>
    \n"
    ;
    }else{
    include(
    "themes/$ThemeSel/blocks/block-$sidename.html");
    }
    }

    function 
    themecenterbox($title$content$themeview=1$themetype)
    {
    global 
    $db$prefix$align;

    $ThemeSel get_theme();
    theme_lang();
    $result $db->sql_query("SELECT * FROM ".$prefix."_blocks_sides WHERE sideid='$themetype'");
    $row $db->sql_fetchrow($result);
    $sidename filter($row['sidename'], "nohtml");
    if(
    $sidename == ""){
    echo
    "

    <table bgcolor='#ffffff' border='0' width='100%' cellspacing='0' cellpadding='0'>
        
    <tr>
    <td background='themes/Toptemp-Tehmusic83/images/post24.png'>

    <table border='0' height='35' width='100%' cellspacing='0' cellpadding='4'>
    <tr>
    <td>
    <table border='0' width='100%' cellspacing='0' cellpadding='0'>
    <tr>
    <td align='center'><span class='CenterBox'>
    $title</span></td>
    <td width='10'><img class='CBSB CBSBMin' border='0' onclick='BlockStatChange(this,'TehranMusic On Facebook')' src='themes/Toptemp-Tehmusic83/images/7px.gif' width='9' height='9'></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td id='TehranMusic On Facebook' style='border-right: 1px solid #c5ddf5;border-left: 1px solid #c5ddf5;'>

    <table border='0' width='100%'>
    <tr>
    <td>


    $content


    </td>
    </tr>
    </table>
      </td>
      </tr>
      <tr>
        <td background='themes/Toptemp-Tehmusic83/images/post_bt.gif' height='7'>

      </td>
      </tr>
    </table><br>
    \n"
    ;

    }else{
    include(
    "themes/$ThemeSel/blocks/block-$sidename.html");
    }
    }

    function 
    themeindex($aid$informant$datetime$title$counter$topics$hometext$notes$r_options$comments$score$ratings,$sid$topic_link$topictext_link$topicname_link$topicimage_link)
    {
    global 
    $ShowTopic,$tipath,$RateUnitWidth;
    $ThemeSel get_theme();
    theme_lang();

    if(
    $score != 0){
    $rated round($score $ratings);
    }else{
    $rated 0;
    }
    $content "".$hometext."";
    $rating_code rating_load($sid);
      
    ?>




    <table bgcolor='#ffffff' border='0' width='594' cellspacing='0' cellpadding='0'>

      
    <tr>
    <td background='themes/Toptemp-Tehmusic83/images/post.png'>
    <table border='0' height='35' width='100%' cellspacing='0' cellpadding='4'>
    <tr>
    <td align='right'><a class='TableTitle' href='<?=newslink($sid);?>'><?=$title?></a></td>
    <td width='143' ><div id='unit_long5613'>

    <?=$rating_code?>






    </div>

    </td>

    </div>
    </td>
    </tr>
    </tbody></table>
    </td>
    </tr>
    <tr>
    <td style='border-left: 1px solid #d3d3d3;border-right: 1px solid #d3d3d3;'>
    <table border='0' width='100%'>
    <td>


    <?=$hometext?>



    </td>
    </tr>
    </tbody></table>
    </td>
    </tr>
    <tr>
    <td bgcolor='#fdfdfd' style='border-left: 1px solid #d3d3d3;border-right: 1px solid #d3d3d3'>
    <table background='themes/Toptemp-Tehmusic83/images/post-tb.gif' height='30' width='100%'>

    <td width='160'>&nbsp;&nbsp;&nbsp;&nbsp;<font class='topc'>بازدید : <?=$counter?> بار </font></td>
    <td width='140'><font class='topp'>دسته بندی :  <?=$topicname_link?></font></td>
    <td width='190'><font class='topp'><?=$datetime?></font></td><td align='left'>

    <td align='right'><span class='readon'><a href='<?=newslink($sid);?>' title=''></a></span>
        </td>

    </tr>
      </tbody></table>
      </td>
      </tr>
      <tr>
        <td background='themes/Toptemp-Tehmusic83/images/post_bt.gif' height='7'>

      </td>
      </tr>
    </table>
    <br><?php
    }




    function 
    themearticle($aid$informant$datetime$title$bodytext$hometext$topics$topicname_link$topicimage_link$topictext_link$printpage$notes$counter$score$ratings$sid$topic_link)
    {
        global 
    $admin$tipath;
        
    $ThemeSel get_theme();
        
    theme_lang();
        
        
        
    $posted ""._POSTEDON.$datetime "._BY." "
        
    $posted .= get_author($aid);
        
    $posted .= "&nbsp;&nbsp;<a href=\"$printpage\" target=\"_blank\"><img border=\"0\" src=\"images/print.gif\" width=\"16\" height=\"16\" alt=\""._PRINT."\"></a>";
        
    $notes str_replace(" ","_",$notes);
        
    $notes explode(":",$notes);
        foreach(
    $notes as $tag){
            
    $tags .= "<i><a href=\"modules.php?name=News&file=tags&tags=$tag\">".str_replace("_"," ",$tag)."</a></i> ";
        }
    echo
    "



    <table bgcolor='#ffffff' border='0' width='100%' cellspacing='0' cellpadding='0'>
        
    <tr>
    <td background='themes/Toptemp-Tehmusic83/images/post24.png'>

    <table border='0' height='35' width='100%' cellspacing='0' cellpadding='4'>
    <tr>
    <td>
    <table border='0' width='100%' cellspacing='0' cellpadding='0'>
    <tr>
    <td align='center'><span class='CenterBox'>
    $title</span></td>
    <td width='10'><img class='CBSB CBSBMin' border='0' onclick='BlockStatChange(this,'TehranMusic On Facebook')' src='themes/Toptemp-Tehmusic83/images/7px.gif' width='9' height='9'></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td id='TehranMusic On Facebook' style='border-right: 1px solid #c5ddf5;border-left: 1px solid #c5ddf5;'>

    <table border='0' width='100%'>
    <tr>
    <td>
      
    $hometext
            <br />
            <br />
            
    $bodytext
            <br />
            <br />
            کلمات کلیدی: 
    $tags
            
            <br>
    <center>
      
    $posted
    </td>
    </tr>
    </table>
      </td>
      </tr>
      <tr>
        <td background='themes/Toptemp-Tehmusic83/images/post_bt.gif' height='7'>

      </td>
      </tr>
    </table>
    "
    ;
    }








    function 
    themeindex2($aid$informant$datetime$title$counter$topic$hometext$notes$topicname$topicimage$topictext$comments$score$ratings$sid$productLink$itempost$itemcd$itemprice)
    {
        global 
    $ShowTopic,$tipath,$RateUnitWidth;
        
    $ThemeSel get_theme();
        
    theme_lang();
        if(
    file_exists("themes/$ThemeSel/images/topics/$topicimage")){
            
    $t_image "themes/$ThemeSel/images/topics/$topicimage";
        }else{
            
    $t_image "$tipath$topicimage";
        }
        if(
    $score != 0){
            
    $rated round($score $ratings);
        }else{
            
    $rated 0;
        }
        if(
    $comments==0){
            
    $comments ""._NOCOMMENTS."";
        }else{
            
    $comments "$comments "._COMMENTS."";
        }
        if(
    $ShowTopic == 1){
            
    $content "<img align=\"right\" src=\"$t_image\"/>".$hometext."";
        }else{
            
    $content "".$hometext."";
        }
        
    ?>

    <?php
    }


    function 
    themeindex3($title$counter$score$ratings,$sid,$newsLink,$itempost,$itemcd,$itemprice)
    {
        global 
    $ShowTopic,$tipath,$RateUnitWidth,$cookie;
        
    $ThemeSel get_theme();
        
    theme_lang();
        if(
    $score != 0)
        {
            
    $rated round($score $ratings);
        }else
        {
            
    $rated 0;
        }
    ?>


    <?php
    }


    function 
    themeproduct($aid$informant$datetime$title$bodytext$hometext$topic$topicname$topicimage$topictext$printpage,$itempost,$itemcd,$itemprice,$sidd$notes){
        global 
    $admin$sid$tipath;
        
    $ThemeSel get_theme();
        
    theme_lang();
        if(
    file_exists("themes/$ThemeSel/images/topics/$topicimage")){
        
    $t_image "themes/$ThemeSel/images/topics/$topicimage";
        }else{
        
    $t_image "$tipath$topicimage";
        }
        
    $posted ""._POSTEDON.$datetime "._BY." "
        
    $posted .= get_author($aid);
        
    $posted .= "&nbsp;&nbsp;<a href=\"$printpage\" target=\"_blank\"><img border=\"0\" src=\"images/print.gif\" width=\"16\" height=\"16\" alt=\""._PRINT."\"></a>";
        
    $notes str_replace(" ","_",$notes);
        
    $notes explode(":",$notes);
        foreach(
    $notes as $tag){
            
    $tags .= "<i><a href=\"modules.php?name=Products&file=tags&tags=$tag\">".str_replace("_"," ",$tag)."</a></i> ";
        }
    ?>


    <?php
    }


    function 
    contentindex($pid$myauthor$mytitle$mysubtitle$mypage_header2$date$mycounter)
    {
        
    $ThemeSel get_theme();
        
    theme_lang();
    ?>


    <?php
    }


    function 
    contentfull($pid$myauthor$mytitle$mysubtitle$mypage_header2$pageof$contentpages$mysignature$date$mypage_footer$mycounter$report$total_rows$entries_per_page$current_page$link_to)
    {
        global 
    $align;
        
    $ThemeSel get_theme();
        
    theme_lang();
        
    $mysignature str_replace(" ","_",$mysignature);
        
    $mysignature explode(":"$mysignature);
        foreach(
    $mysignature as $tag){      
            
    $mysignature1 .= "<i><a href=\"modules.php?name=Content&file=tags&op=tags&tag=$tag\">".str_replace("_"," ",$tag)."</a></i>";
        }

    ?>


    <?php
    }

    function 
    comments_show($tid$deact$fileds$score$c_name$datetime$journal$u_website$u_ip$karma$avaimage$comment$pagevar$pagefiled$parent$admin_delete_op$admin_edit_op$comcode$parentid$classstyle$classtyp$subcomrow$Req_URI){
        global 
    $align$userinfo$admin$user$anonpost$admin_file;
        
    $ThemeSel get_theme();
        
    theme_lang();
        echo 
    "
        <style>
            .comment_class1 {border:1px solid #CCCCCC;background-color:#C6DEFF;margin:5px 2px 0 2px;}
            .comment_class2 {border:1px solid #CCCCCC;background-color:#CFECEC;margin:5px 2px 0 2px;}
        </style>
        <a name=\"
    $tid\"></a>
        <table width=\"99%\" border=\"0\" class=\"
    $classstyle\">
            <tr>
                <td width=\"100%\">
                    
    $deact
                    
    $fileds";
                    echo
    "<br>"._ON.$datetime";
                    if (
    $c_name != "Anonymous") {
                        
    $r_uid intval($userinfo['user_id']);
                        echo 
    ""._BY." <br>(<a href=\"modules.php?name=Your_Account&op=userinfo&username=$c_name\">"._USERINFO.$c_name</a> ";
                        echo 
    "| <a href=\"Forum/ucp.php?i=pm&mode=compose&u=$r_uid\">"._SENDAMSG."</a>";
                        echo 
    "$journal) ";
                    }
                    echo 
    "<a href=\"$u_website\" target=\"_blank\">$u_website</a> <b>("._IP_ADDRESS." : $u_ip)</b> $karma";
                    echo
    "
                </td>
            </tr>
            <tr>
                <td>
                    <table border='0' width='100%'>
                        <tr>
                            <td dir='
    $align' width='80' height='80'><img width='80' height='80' src = '$avaimage' border = '0'></td>
                            <td dir='
    $align'>$comment</td>
                        </tr>"
    ;
                        if(
    $subcomrow 0){
                        echo
    "
                        <tr>
                            <td colspan=\"2\"><b>"
    ._REPLYS."</b><br /><br />";
                            
    display_comments($tid$classtyp);
                            echo
    "</td>
                        </tr>"
    ;
                        }
                    echo
    "</table>";
                    if (
    $anonpost==OR is_admin($admin) OR is_user($user)) {
                        echo 
    "
                            <script>
                                function replay_to(tid){
                                    document.getElementById(\"replayto\").innerHTML=\"<td><b>"
    ._REPLY."</b></td><td><input type='text' value='"._REPLY." "._TO." \"+tid+\"' disabled /><input type='hidden' name='replay' value='\"+tid+\"'></td>\";        
                                }
                            </script>
                            <a href=\"
    $Req_URI#commenteditor\"><span onclick=\"replay_to('$tid');\" style=\"cursor:pointer;\">"._REPLY."</span></a>";
                    }
                    if(
    is_admin($admin)) {
                        echo 
    " | <a href=\"".$admin_file.".php?op=".$admin_delete_op."&tid=$tid&".$pagefiled."=".$pagevar."&ok=1\" onclick=\"return confirm('"._SURETODELCOMMENTS."')\">"._DELETE."</a> | <a href=\"".$admin_file.".php?op=".$admin_edit_op."&tid=$tid\">"._EDIT."</a><br><br>";
                    } elseif (
    $anonpost != OR is_admin($admin) OR is_user($user)) {
                        echo 
    " ]<br><br>";
                    }
                echo
    "
                </td>
            </tr>
        </table>"
    ;
    }

    ?>
     
  9. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
    آدرس سایت خودتون رو هم قرار بدید
     
  10. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
    جایی که نوشته شده ||||| کد بنر را اینجا وارد کنید ||||| کد بنر رو بزارید.

    PHP:
    <?php



    function OpenTable()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    <div class="Open1">
    <div class="Open2">
    <?php
    }

    function 
    CloseTable()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    </div>
    </div>
    <?php
    }

    function 
    OpenTable2()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    <div class="Open1">
    <div class="Open2">
    <?php
    }

    function 
    CloseTable2()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    </div>
    </div>
    <?php
    }

    function 
    head(){
    global 
    $slogan$name$sitename$banners$nukeurl$Version_Num$ab_config$artpage$topic$hlpfile$user$hr$theme$cookie$bgcolor1$bgcolor2$bgcolor3$bgcolor4$textcolor1$textcolor2$forumpage$adminpage$userpage$pagetitle$pagetags$align$anonymous $preloader;
    $ThemeSel get_theme();
    echo 
    $adminpage;
    theme_lang();
    echo 
    "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
    echo 
    "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
    echo 
    "<head>\n";
    echo
    "<title>$sitename $pagetitle</title>\n";
    @include(
    "includes/meta.php");
    if (
    file_exists("themes/$ThemeSel/images/favicon.ico")) {
    echo 
    "<link rel=\"shortcut icon\" href=\"themes/$ThemeSel/images/favicon.ico\" type=\"image/x-icon\" />\n";
    }
    @include(
    "includes/javascript.php");
    echo 
    "\n";
    echo 
    "<link rel=\"StyleSheet\" href=\"themes/$ThemeSel/style/nuketools.css\" type=\"text/css\" />\n";
     echo 
    "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n";


    echo 
    "</head>\n";
    if(
    $preloader == 1){

    echo 
    "<div id=\"waitDiv\" onclick=\"this.style.visibility='hidden'\" style=\"text-align:center; line-height:17px; position:fixed; z-index:1000; width:100%; height:100%; background-color:#000; color:#fff; font-size:11px; margin:0px auto;\"><div style=\"position:fixed; margin:0px auto; \" id=\"loadingimage\" ><img src=\"images/loader.gif\" /></div></div>";
    echo 
    "<script>showWaitm('waitDiv', 1);</script>\n";
    echo 
    "</div>\n";
    }
    $u_agent $_SERVER['HTTP_USER_AGENT'];

    themeheader();
    }

    function 
    themeheader()
    {
    global 
    $db$prefix,$user,$cookie,$name,$datetype,$hijri$align ,$sitename ,$nukeurl ,$HeaderImage;
    $ThemeSel get_theme();
    $username $cookie[1];
    theme_lang();
    $query $db->sql_query("SELECT name FROM ".$prefix."_users WHERE username='$username'");
    $row $db->sql_fetchrow($query);
    $real_name mysql_escape_string($row['name']);
    $dateTime time();
    $dateTime nuketimes($dateTime);
    $now date("H:i");
    if((
    $datetype == 1) OR ($datetype == 2)){
    $time "<span id=\"timeofnuke\"></span> $dateTime";
    }else{
    $time "<span dir=\"ltr\"><span id=\"timeofnuke\"></span> $dateTime</span>";
    }
    if(
    $row $db->sql_fetchrow($db->sql_query("SELECT * from ".$prefix."_nukesql")))
    {
    ?>

    <body>
    <div align='center'>         <td><img border='0' src='themes/Toptemp-Tehmusic83/images/top2.png'></td> 
        <table width='980'>
            <table><tr><td height='200' width='980' border='0' background='themes/Toptemp-Tehmusic83/images/tehraan.jpg'></td></tr></table>
       <table id='menus' Width=\"982\" height=\"40\" style="background-image: url(themes/Toptemp-Tehmusic83/images/menu.png) ; background-repeat: repeat-x;  padding-right:10px">

    <tr></td><td align='right'><a  href='backend.php' target='_blank'>
        <img border='0' src='themes/Toptemp-Tehmusic83/images/rss.png' onmouseover=this.src='themes/Toptemp-Tehmusic83/images/rss2.png' onmouseout=this.src='themes/Toptemp-Tehmusic83/images/rss.png' width='26' height='28'></a><a  href='static-96.html' target='_blank'>
        <img border='0' src='themes/Toptemp-Tehmusic83/images/skydesign.png' onmouseover=this.src='themes/Toptemp-Tehmusic83/images/skydesign2.png' onmouseout=this.src='themes/Toptemp-Tehmusic83/images/skydesign.png' width='26' height='28'></a></td><td align='left'><td Width='100'><a href='http://bia2music03.com/statics/1/'>    Advertising Order</a></td><td Width='66'><a href='mailto:Bia2musi01.m@yahoo.com'>Contact Us</a></td><td Width='52'><a href='http://bia2music03.com/Forum/'>Forums</a></td><td Width='50'><a href='search.html'>Search</a></td><td Width='70'><a href='/modules.php?name=Your_Account&op=new_user'>Membership</a></td><td Width='40'><a href='index.html'>Home</a></td></tr></table>

         <table id='menus' Width=\"982\" height=\"35\" style="background-image: url(themes/Toptemp-Tehmusic83/images/menu2.png) ; background-repeat: repeat-x;  padding-right:10px"><tr></td></td><td class='menus' align='right'><iframe name='I5' src='themes/Toptemp-Tehmusic83/News.htm?' border='0' scrolling='no' width='350' frameborder='0' height='28'>
            Your browser does not support inline frames or is currently configured not to display inline frames [SkyDesign]
            </iframe></td><td align='left'> <div class='loginform'> 
            <form action='modules.php?name=Your_Account' method='post'> 
             <table border='0'> 
            <tr> 
     <td><input type='image' src='themes/Toptemp-Tehmusic83/images/login.gif' onmouseover=this.src='themes/Toptemp-Tehmusic83/images/login2.gif' onmouseout=this.src='themes/Toptemp-Tehmusic83/images/login.gif'  value='ورود'></td> 
                <td width='90'><input class='input' type='password' name='user_password' size='12' maxlength='20' value='' onFocus='if(this.value=='')this.value='';'></td> <td class='loginform'>:Password</td>
                
                <td width='80'><input class='input' type='text' name='username' size='12' maxlength='25' value='' onFocus='if(this.value=='')this.value='';'></td><td class='loginform'>:Username</td> 
            </tr> 
            
        </table> 
        <input type='hidden' name='op' value='login'> 
     
              </form> 
              
            </div> </td></tr></table>

     <br><Br>
        <table width='990' >
        <tr>
        <td>
        <table cellpadding=0 cellspacing=0 border=0><tr><td>
    <div style='margin-right:8px;'>
    <div style='width: 990px;'>
    <div class='ads-up-r'>&nbsp;&nbsp;Your Advertising Here </div>
    <div class='ads-up-bg'></div>
    <div class='ads-up-l'></div>
    </div>

    <div class='bg-ads'>
    <center>


        

                    




    <a href='http://bia2music03.com/statics/3/' target='_blank'><img src='http://www.20-up.ir/images/y60s4k78zhjg3wagq5yu.gif' width='948' height='130' /></a>
    <br />




    <a href='http://farsahang4.in/' target='_blank'><img src='http://s1.picofile.com/file/7280216341/FarsAhang.gif' width='948' height='130' /></a>
    <br />




    <a href='http://bia2music03.com/223//%D8%A2%D9%87%D9%86%DA%AF/Dj-AMB---Man-Del-Bastam/' target='_blank'><img src='http://bia2music03.com/Video/siavash/DjAMB%2811-26%29.jpg' width='948' height='150' /></a>
    <br />









    <a href='http://bia2music03.com/252//video/25Band---Hagh-Ba-Tost---HD/' target='_blank'><img src='http://bia2music03.com/music/Zed%20bazi/SP-2525BAND.jpg' width='948' height='200' /></a>
    <br />



    <a href='http://bia2music03.com/246//%D8%A2%D9%87%D9%86%DA%AF/Hamid-Hekmat---Bavar-Nadaram//' target='_blank'><img src='http://www.20-up.ir/images/pmisozjsdhku64v0woc7.jpg' width='948' height='150' /></a>
    <br />















                    



    <br>&nbsp;<a href='http://bia2music03.com/statics/1/' target='_blank'><img border='0' src='http://bia2music03.com/music/nima%20alameh/ads-11.jpg'></a>





    &nbsp;<a href='http://bia2music03.com/statics/1/' target='_blank'><img border='0' src='http://bia2music03.com/music/nima%20alameh/ads-11.jpg'></a>



    &nbsp;<a href='http://bia2music03.com/statics/1/' target='_blank'><img border='0' src='http://bia2music03.com/music/nima%20alameh/ads-11.jpg'></a>



    <br>
    &nbsp;<a href='http://bia2music03.com/statics/1/' target='_blank'><img border='0' src='http://bia2music03.com/music/nima%20alameh/ads-11.jpg'></a>






    &nbsp;<a href='http://bia2music03.com/statics/1/' target='_blank'><img border='0' src='http://bia2music03.com/music/nima%20alameh/ads-11.jpg'></a>



    &nbsp;<a href='http://bia2music03.com/statics/1/' target='_blank'><img border='0' src='http://bia2music03.com/music/nima%20alameh/ads-11.jpg'></a>


    <a href='http://bia2music10.rozblog.com' target='_blank'><img src='http://bia2music02.com/axs/Bia2music013..gif' width='468' height='60' /></a>



    <a target='_blank' href='http://www.irnashop.org/in.php?id=241&&ref=1660'><img border='0' src='http://pixha.net/uploads/images/irnashop/bombkhandeh/4.gif ' ></a>



    <a href='http://www.poog.ccz.ir/' target='_blank'><img src='http://axgig.com/images/17092194026974731774.gif' width='468' height='60' /></a>




    <a href='http://www.tooptop.com' target='_blank'><img src='http://www.tooptop.com/images/BANNER1.gif' width='468' height='60' /></a>

        


    <a href='http://bia2music03.com/statics/1/' target='_blank'><img src='http://up98.org/upload/server1/02/c/e6dgsap823zgh93iez02.gif' width='468' height='60' /></a>







        

    </centeR>
    </div>
    <div style='width: 990px;'>
    <div class='ads-down-r'></div>
    <div class='ads-down-bg'></div>
    <div class='ads-down-l'></div>
    </div>
    </div>
    </td></tr></table>
            

        <br style='clear: center' /> 

    </td>
    </tr>
    </table> 
        <table border='0' bgcolor='#e0e0e0' width='980' dir='rtl' cellspacing='0' cellpadding='0'> 
        <tr>
        <td></td>

        <td> 
        <div align='center'> 
        <table border='0' width='100%' cellspacing='0' cellpadding='0' dir='rtl'> 
        <tr> 
        <!----------------> 
        </td>
        </tr>
        <td>
        <table border='0' width='100%' cellspacing='0' cellpadding='0'>
        <td>
        <table border='0' width='100%' cellspacing='0' cellpadding='0'>

        <td>
        </td>
        </tr>
        <td>
        <table border='0' width='100%' cellspacing='0' cellpadding='0'>
        <table width='100%'>
        </tr>
        </table>

        </table>

        </td>
        </tr>
        </table>
        </td>
        </tr>
        </table>
        </td>

        </tr>
              <tr>
                <td valign=\"top\">
                  <table border=\"0\" width=\"100%\" cellpadding=\"3\">
                    <tr> 
    <? if ($name == "Forums") {} else { ?>
    <td valign="top">
    <? blocks(left);} ?>
    </td>
    <td valign="top" align="center" width="100%">
    <? if(defined('INDEX_FILE')){}}}
    function 
    themefooter() {global $index,$db,$prefix,$foot1,$copyright,$gtset,$AvatarRight,$AvatarLeft,$align,$nukeurl?>
    </td>
    <? if(defined('INDEX_FILE')){ ?>
    <td valign="top">
    <? blocks(right); ?>
    </td>

    <? ?>
    <table align='center' border=0 width=790 cellpadding=0 cellspacing=0 bgcolor=#e0e0e0>
    <tr><br><br><br><center>
    <td width='255' height='300' background='themes/Toptemp-Tehmusic83/images/user.png' valign=top style='background-repeat: no-repeat;' >
    <br><br>
    <div align=right style='margin-right: 30px;margin-bottom: 20px;' class='footer-text'><br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='modules.php?name=Your_Account&op=new_user'>عضويت سریع</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='modules.php?name=Your_Account'>ورود کاربران</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='modules.php?name=Your_Account'>تنظیمات کاربری</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='forums.html'>ورود به تالار گفتمان</a>
    <br><br><br><br><br><br>
    </div>
    </td>
    <td width='10'></td><td width='250' height='300' background='themes/Toptemp-Tehmusic83/images/teh.png' valign=top style='background-repeat: no-repeat;'>
    <br><br>
    <div align=right style='margin-right: 32px;margin-bottom: 20px;margin-left: 30px;' class='footer-text'><br><br>
    بیا تو موزیک<br>بزرگترین و اولین رسانه خبری , هنری موسیقی ایرانیان
    </div>
    </td>
    <td width='10'></td><td width='250' height='300' background='themes/Toptemp-Tehmusic83/images/link.png' valign=top style='background-repeat: no-repeat;'>
    <br><br>
    <div align=right style='margin-right: 30px;margin-bottom: 20px;' class='footer-text'><br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='http://shopir.net/'>فروشگاه بیا تو موزیک</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='http://bia2music02.com/statics/1/'>تعرفه تبلیغات</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='http://bia2music02.com/feedback.html'>تماس با ما</a>

    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='search.html'>جستجو در سایت</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='backend.php'>خوراک / Rss</a>
    <br><br>
    <img src='themes/Toptemp-Tehmusic/images/arr.png'> <a href='http://www.facebook.com/pages/Bia2music01-10/243415319071190?sk=wall'>فن پیج فیس بوک</a>
    <br><br>
    <?php $_F=__FILE__;$_X='Pz48L2Q0dj4NCjwvdGQ+DQo8L3RyPg0KICA8L3RyPg0KICAgIA0KICA8L3RkPjwvYzVudDVyPg0KPC9​0cj4gICA8L3QxYmw1Pjxicj48QnI+DQo8L3RyPg0KPC9kNHY+PC90ZD48L3RyPiA8dDFibDUgNGQ9J20​1bjNzJyBXNGR0aD1cIjk4YVwiIGg1NGdodD1cInUwXCIgc3R5bDU9ImIxY2tncjIzbmQtDQoNCjRtMWc​1OiAzcmwodGg1bTVzL1QycHQ1bXAtVDVobTNzNGM4by80bTFnNXMvbTVuMy5wbmcpIDsgYjFja2dyMjN​uZC1yNXA1MXQ6IHI1cDUxdC0NCg0KeDsgIHAxZGQ0bmctcjRnaHQ6NjBweCI+DQo8dHI+PHRkIDFsNGd​uPSdjNW50NXInPjxmMm50IGMybDJyPScjZmZmJz5UaDVtNSBENXM0Z241ciBCeSA6IDwxIA0KDQpocjV​mPSdodHRwOi8vd3d3LnNreWQ1czRnbnQ1MW0uYzJtLyc+IFNreUQ1czRnblQ1MW08LzE+IHwgUjVkM2N​0NDJuIEYyciBQaHBOM2s1IDgubyANCg0KOiAgPDEgaHI1Zj0naHR0cDovL3d3dy50MnB0NW1wLm41dC8​0bmQ1eC5waHAnPlQycFQ1bXAuTjV0IDwvMT4gLSBQMnc1cjVkIEJ5IDogPDEgDQoNCmhyNWY9J2h0dHA​6Ly93d3cucGhwbjNrNS40cic+UGhwTjNrNS40cjwvMT48L2YybnQ+PC90ZD48L3RyPjwvdDFibDU+DQo​NCiA8dHI+PHRkID4NCiAgPHQxYmw1IGIycmQ1cj0nMCcgYzVsbHAxZGQ0bmc9JzAnIGM1bGxzcDFjNG5​nPScwJyBoNTRnaHQ9J2V1JyANCnc0ZHRoPSc5OGEnIHN0eWw1PSdiMWNrZ3IyM25kLTRtMWc1OjNybCh​0aDVtNXMvVDJwdDVtcC1UNWhtM3M0YzhvLzRtMWc1cy9mMjJ0NXItDQoNCmJnLnBuZyk7IA0KYjFja2d​yMjNuZC1yNXA1MXQ6IHI1cDUxdC14OyBiMWNrZ3IyM25kLXAyczR0NDJuOiBjNW50NXIgYjJ0dDJtOyc​+DQogIDx0YjJkeT48dHI+DQogIDwvdHI+DQogIDx0cj4NCiAgIDwvdHI+DQogIDx0cj4NCiAgPC90cj4​NCiAgPC90YjJkeT48L3QxYmw1Pg0KDQogIDwvdDFibDU+DQogIDwvZDR2PiAgPC90ZD4NCiAgPC90cj4​NCiAgPC90MWJsNT4NCiAgPC9kNHY+ICA=';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTI​zNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1I​pOyRfUj0wOyRfWD0wOw=='));?> 
    <?

    }

    function 
    themesidebox($title$content$themeview=1$themetype)
    {
    global 
    $db$prefix$align;

    $ThemeSel get_theme();
    theme_lang();
    $result $db->sql_query("SELECT * FROM ".$prefix."_blocks_sides WHERE sideid='$themetype'");
    $row $db->sql_fetchrow($result);
    $sidename filter($row['sidename'], "nohtml");
    if(
    $sidename == ""){
    echo
    "

    <table bgcolor='#ffffff' border='0' width='180' cellspacing='0' cellpadding='0'>
    <tr>
    <td background='themes/Toptemp-Tehmusic83/images/blk_sd3.gif'>
    <table border='0' width='180' height='45' cellspacing='0' cellpadding='4''>
    <tr>
    <td>
    <table border='0' width='100%' cellspacing='0' cellpadding='0'>
    <tr>
    <td align='center'><span class='SideBox'>
    $title</span></td>
    <td width='10'><img class='CBSB CBSBMin' border='0' onclick='BlockStatChange(this,'Like this page')' src='themes/Toptemp-Tehmusic83/images/7px.gif' width='9' height='9'></td>
    </tr>

    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>

    <td id='Like this page' style='border-left: 1px solid #d3d3d3;border-right: 1px solid #d3d3d3;'>
    <table border='0' width='100%'>
    <tr>
    <td>
    $content

    </td>
    </tr>

    </table>
      </td>
      </tr>
      <tr>
      <td background='themes/Toptemp-Tehmusic83/images/blk_sd_bt.gif'  height='6'>
      </td>
      </tr>
    </table>
    \n"
    ;
    }else{
    include(
    "themes/$ThemeSel/blocks/block-$sidename.html");
    }
    }

    function 
    themecenterbox($title$content$themeview=1$themetype)
    {
    global 
    $db$prefix$align;

    $ThemeSel get_theme();
    theme_lang();
    $result $db->sql_query("SELECT * FROM ".$prefix."_blocks_sides WHERE sideid='$themetype'");
    $row $db->sql_fetchrow($result);
    $sidename filter($row['sidename'], "nohtml");
    if(
    $sidename == ""){
    echo
    "

    <table bgcolor='#ffffff' border='0' width='100%' cellspacing='0' cellpadding='0'>
        
    <tr>
    <td background='themes/Toptemp-Tehmusic83/images/post24.png'>

    <table border='0' height='35' width='100%' cellspacing='0' cellpadding='4'>
    <tr>
    <td>
    <table border='0' width='100%' cellspacing='0' cellpadding='0'>
    <tr>
    <td align='center'><span class='CenterBox'>
    $title</span></td>
    <td width='10'><img class='CBSB CBSBMin' border='0' onclick='BlockStatChange(this,'TehranMusic On Facebook')' src='themes/Toptemp-Tehmusic83/images/7px.gif' width='9' height='9'></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td id='TehranMusic On Facebook' style='border-right: 1px solid #c5ddf5;border-left: 1px solid #c5ddf5;'>

    <table border='0' width='100%'>
    <tr>
    <td>


    $content


    </td>
    </tr>
    </table>
      </td>
      </tr>
      <tr>
        <td background='themes/Toptemp-Tehmusic83/images/post_bt.gif' height='7'>

      </td>
      </tr>
    </table><br>
    \n"
    ;

    }else{
    include(
    "themes/$ThemeSel/blocks/block-$sidename.html");
    }
    }

    function 
    themeindex($aid$informant$datetime$title$counter$topics$hometext$notes$r_options$comments$score$ratings,$sid$topic_link$topictext_link$topicname_link$topicimage_link)
    {
    global 
    $ShowTopic,$tipath,$RateUnitWidth;
    $ThemeSel get_theme();
    theme_lang();

    if(
    $score != 0){
    $rated round($score $ratings);
    }else{
    $rated 0;
    }
    $content "".$hometext."";
    $rating_code rating_load($sid);
      
    ?>




    <table bgcolor='#ffffff' border='0' width='594' cellspacing='0' cellpadding='0'>

      
    <tr>
    <td background='themes/Toptemp-Tehmusic83/images/post.png'>
    <table border='0' height='35' width='100%' cellspacing='0' cellpadding='4'>
    <tr>
    <td align='right'><a class='TableTitle' href='<?=newslink($sid);?>'><?=$title?></a></td>
    <td width='143' ><div id='unit_long5613'>

    <?=$rating_code?>






    </div>

    </td>

    </div>
    </td>
    </tr>
    </tbody></table>
    </td>
    </tr>
    <tr>
    <td style='border-left: 1px solid #d3d3d3;border-right: 1px solid #d3d3d3;'>
    <table border='0' width='100%'>
    <td>


    <?=$hometext?>



    </td>
    </tr>
    </tbody></table>
    </td>
    </tr>
    <tr>
    <td bgcolor='#fdfdfd' style='border-left: 1px solid #d3d3d3;border-right: 1px solid #d3d3d3'>
    <table background='themes/Toptemp-Tehmusic83/images/post-tb.gif' height='30' width='100%'>

    <td width='160'>&nbsp;&nbsp;&nbsp;&nbsp;<font class='topc'>بازدید : <?=$counter?> بار </font></td>
    <td width='140'><font class='topp'>دسته بندی :  <?=$topicname_link?></font></td>
    <td width='190'><font class='topp'><?=$datetime?></font></td><td align='left'>

    <td align='right'><span class='readon'><a href='<?=newslink($sid);?>' title=''></a></span>
        </td>

    </tr>
      </tbody></table>
      </td>
      </tr>
      <tr>
        <td background='themes/Toptemp-Tehmusic83/images/post_bt.gif' height='7'>

      </td>
      </tr>
    </table>
    <br>


    <br><p style="text-align: center;">
        کد بنر را اینجا وارد کنید </p> 
        

    <?php
    }




    function 
    themearticle($aid$informant$datetime$title$bodytext$hometext$topics$topicname_link$topicimage_link$topictext_link$printpage$notes$counter$score$ratings$sid$topic_link)
    {
        global 
    $admin$tipath;
        
    $ThemeSel get_theme();
        
    theme_lang();
        
        
        
    $posted ""._POSTEDON.$datetime "._BY." "
        
    $posted .= get_author($aid);
        
    $posted .= "&nbsp;&nbsp;<a href=\"$printpage\" target=\"_blank\"><img border=\"0\" src=\"images/print.gif\" width=\"16\" height=\"16\" alt=\""._PRINT."\"></a>";
        
    $notes str_replace(" ","_",$notes);
        
    $notes explode(":",$notes);
        foreach(
    $notes as $tag){
            
    $tags .= "<i><a href=\"modules.php?name=News&file=tags&tags=$tag\">".str_replace("_"," ",$tag)."</a></i> ";
        }
    echo
    "



    <table bgcolor='#ffffff' border='0' width='100%' cellspacing='0' cellpadding='0'>
        
    <tr>
    <td background='themes/Toptemp-Tehmusic83/images/post24.png'>

    <table border='0' height='35' width='100%' cellspacing='0' cellpadding='4'>
    <tr>
    <td>
    <table border='0' width='100%' cellspacing='0' cellpadding='0'>
    <tr>
    <td align='center'><span class='CenterBox'>
    $title</span></td>
    <td width='10'><img class='CBSB CBSBMin' border='0' onclick='BlockStatChange(this,'TehranMusic On Facebook')' src='themes/Toptemp-Tehmusic83/images/7px.gif' width='9' height='9'></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td id='TehranMusic On Facebook' style='border-right: 1px solid #c5ddf5;border-left: 1px solid #c5ddf5;'>

    <table border='0' width='100%'>
    <tr>
    <td>
      
    $hometext
            <br />
            <br />
            
    $bodytext
            <br />
            <br />
            کلمات کلیدی: 
    $tags
            
            <br>
    <center>
      
    $posted
    </td>
    </tr>
    </table>
      </td>
      </tr>
      <tr>
        <td background='themes/Toptemp-Tehmusic83/images/post_bt.gif' height='7'>

      </td>
      </tr>
    </table>
    "
    ;
    }








    function 
    themeindex2($aid$informant$datetime$title$counter$topic$hometext$notes$topicname$topicimage$topictext$comments$score$ratings$sid$productLink$itempost$itemcd$itemprice)
    {
        global 
    $ShowTopic,$tipath,$RateUnitWidth;
        
    $ThemeSel get_theme();
        
    theme_lang();
        if(
    file_exists("themes/$ThemeSel/images/topics/$topicimage")){
            
    $t_image "themes/$ThemeSel/images/topics/$topicimage";
        }else{
            
    $t_image "$tipath$topicimage";
        }
        if(
    $score != 0){
            
    $rated round($score $ratings);
        }else{
            
    $rated 0;
        }
        if(
    $comments==0){
            
    $comments ""._NOCOMMENTS."";
        }else{
            
    $comments "$comments "._COMMENTS."";
        }
        if(
    $ShowTopic == 1){
            
    $content "<img align=\"right\" src=\"$t_image\"/>".$hometext."";
        }else{
            
    $content "".$hometext."";
        }
        
    ?>

    <?php
    }


    function 
    themeindex3($title$counter$score$ratings,$sid,$newsLink,$itempost,$itemcd,$itemprice)
    {
        global 
    $ShowTopic,$tipath,$RateUnitWidth,$cookie;
        
    $ThemeSel get_theme();
        
    theme_lang();
        if(
    $score != 0)
        {
            
    $rated round($score $ratings);
        }else
        {
            
    $rated 0;
        }
    ?>


    <?php
    }


    function 
    themeproduct($aid$informant$datetime$title$bodytext$hometext$topic$topicname$topicimage$topictext$printpage,$itempost,$itemcd,$itemprice,$sidd$notes){
        global 
    $admin$sid$tipath;
        
    $ThemeSel get_theme();
        
    theme_lang();
        if(
    file_exists("themes/$ThemeSel/images/topics/$topicimage")){
        
    $t_image "themes/$ThemeSel/images/topics/$topicimage";
        }else{
        
    $t_image "$tipath$topicimage";
        }
        
    $posted ""._POSTEDON.$datetime "._BY." "
        
    $posted .= get_author($aid);
        
    $posted .= "&nbsp;&nbsp;<a href=\"$printpage\" target=\"_blank\"><img border=\"0\" src=\"images/print.gif\" width=\"16\" height=\"16\" alt=\""._PRINT."\"></a>";
        
    $notes str_replace(" ","_",$notes);
        
    $notes explode(":",$notes);
        foreach(
    $notes as $tag){
            
    $tags .= "<i><a href=\"modules.php?name=Products&file=tags&tags=$tag\">".str_replace("_"," ",$tag)."</a></i> ";
        }
    ?>


    <?php
    }


    function 
    contentindex($pid$myauthor$mytitle$mysubtitle$mypage_header2$date$mycounter)
    {
        
    $ThemeSel get_theme();
        
    theme_lang();
    ?>


    <?php
    }


    function 
    contentfull($pid$myauthor$mytitle$mysubtitle$mypage_header2$pageof$contentpages$mysignature$date$mypage_footer$mycounter$report$total_rows$entries_per_page$current_page$link_to)
    {
        global 
    $align;
        
    $ThemeSel get_theme();
        
    theme_lang();
        
    $mysignature str_replace(" ","_",$mysignature);
        
    $mysignature explode(":"$mysignature);
        foreach(
    $mysignature as $tag){      
            
    $mysignature1 .= "<i><a href=\"modules.php?name=Content&file=tags&op=tags&tag=$tag\">".str_replace("_"," ",$tag)."</a></i>";
        }

    ?>


    <?php
    }

    function 
    comments_show($tid$deact$fileds$score$c_name$datetime$journal$u_website$u_ip$karma$avaimage$comment$pagevar$pagefiled$parent$admin_delete_op$admin_edit_op$comcode$parentid$classstyle$classtyp$subcomrow$Req_URI){
        global 
    $align$userinfo$admin$user$anonpost$admin_file;
        
    $ThemeSel get_theme();
        
    theme_lang();
        echo 
    "
        <style>
            .comment_class1 {border:1px solid #CCCCCC;background-color:#C6DEFF;margin:5px 2px 0 2px;}
            .comment_class2 {border:1px solid #CCCCCC;background-color:#CFECEC;margin:5px 2px 0 2px;}
        </style>
        <a name=\"
    $tid\"></a>
        <table width=\"99%\" border=\"0\" class=\"
    $classstyle\">
            <tr>
                <td width=\"100%\">
                    
    $deact
                    
    $fileds";
                    echo
    "<br>"._ON.$datetime";
                    if (
    $c_name != "Anonymous") {
                        
    $r_uid intval($userinfo['user_id']);
                        echo 
    ""._BY." <br>(<a href=\"modules.php?name=Your_Account&op=userinfo&username=$c_name\">"._USERINFO.$c_name</a> ";
                        echo 
    "| <a href=\"Forum/ucp.php?i=pm&mode=compose&u=$r_uid\">"._SENDAMSG."</a>";
                        echo 
    "$journal) ";
                    }
                    echo 
    "<a href=\"$u_website\" target=\"_blank\">$u_website</a> <b>("._IP_ADDRESS." : $u_ip)</b> $karma";
                    echo
    "
                </td>
            </tr>
            <tr>
                <td>
                    <table border='0' width='100%'>
                        <tr>
                            <td dir='
    $align' width='80' height='80'><img width='80' height='80' src = '$avaimage' border = '0'></td>
                            <td dir='
    $align'>$comment</td>
                        </tr>"
    ;
                        if(
    $subcomrow 0){
                        echo
    "
                        <tr>
                            <td colspan=\"2\"><b>"
    ._REPLYS."</b><br /><br />";
                            
    display_comments($tid$classtyp);
                            echo
    "</td>
                        </tr>"
    ;
                        }
                    echo
    "</table>";
                    if (
    $anonpost==OR is_admin($admin) OR is_user($user)) {
                        echo 
    "
                            <script>
                                function replay_to(tid){
                                    document.getElementById(\"replayto\").innerHTML=\"<td><b>"
    ._REPLY."</b></td><td><input type='text' value='"._REPLY." "._TO." \"+tid+\"' disabled /><input type='hidden' name='replay' value='\"+tid+\"'></td>\";        
                                }
                            </script>
                            <a href=\"
    $Req_URI#commenteditor\"><span onclick=\"replay_to('$tid');\" style=\"cursor:pointer;\">"._REPLY."</span></a>";
                    }
                    if(
    is_admin($admin)) {
                        echo 
    " | <a href=\"".$admin_file.".php?op=".$admin_delete_op."&tid=$tid&".$pagefiled."=".$pagevar."&ok=1\" onclick=\"return confirm('"._SURETODELCOMMENTS."')\">"._DELETE."</a> | <a href=\"".$admin_file.".php?op=".$admin_edit_op."&tid=$tid\">"._EDIT."</a><br><br>";
                    } elseif (
    $anonpost != OR is_admin($admin) OR is_user($user)) {
                        echo 
    " ]<br><br>";
                    }
                echo
    "
                </td>
            </tr>
        </table>"
    ;
    }

    ?>
    این رو تست کنید اگه درست بود جاش هیچ. ولی اگه ایراد داشت آدرس سایت رو بزارید چک کنم.

    موفق باشید.
     
  11. mammad_fashion

    mammad_fashion محروم شده

    تاریخ عضویت:
    ‏20 ژانویه 2012
    ارسال ها:
    364
    تشکر شده:
    0
    دوست عزیز لطفا این قالب را برام جای تبلیغات بین مطالب را پیدا کنید و و بگید من هدر کجا باید بزارم ؟

    تو ایمیج نبود نمیدونم کجاس اینم آدرس سایت Bia2music03.com
    اینم کد
    PHP:
    <?php

    //  Theme Designed By: Vaki | Edit By : Naz Graph

    //  Cms By: PhpNuke 8.3 Farsi MT Edition [MashhadTeam]

    $bgcolor1 "#ffffff";
    $bgcolor2 "#fafafa";
    $bgcolor3 "#ededed";
    $bgcolor4 "#cccccc";
    $textcolor1 "#666666";
    $textcolor2 "#666666";

    $ThemeSel get_theme();
    $preloader "1";


    function 
    OpenTable()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    <div class='op'>
    <div class='op2'>
    <?php
    }

    function 
    CloseTable()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    </div>
    </div>
    <br>
    <?php
    }

    function 
    OpenTable2()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    <div class='op'>
    <div class='op2'>
    <?php
    }

    function 
    CloseTable2()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    </div>
    </div>
    <?php
    }

    function 
    head()
    {
        global 
    $slogan,$name$sitename$banners$nukeurl$Version_Num$ab_config$artpage$topic$hlpfile$user$hr$theme$cookie$bgcolor1$bgcolor2$bgcolor3$bgcolor4$textcolor1$textcolor2$forumpage$adminpage$userpage$pagetitle$pagetags;
        
    $ThemeSel get_theme();
    $ThemeSel get_theme();
    theme_lang();
        @include_once(
    "themes/$ThemeSel/theme.php");
        echo 
    "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
        echo 
    "<html>\n";
        echo 
    "<head>\n";
        if(
    $name != "Forums"){ 
            echo 
    "<title>$sitename $pagetitle</title>\n";
        }
        if(
    $pagetags !=""){ 
            echo 
    "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset="._CHARSET."\">\n";
            echo 
    "<META HTTP-EQUIV=\"EXPIRES\" CONTENT=\"0\">\n";
            echo 
    "<META NAME=\"RESOURCE-TYPE\" CONTENT=\"DOCUMENT\">\n";
            echo 
    "<META NAME=\"DISTRIBUTION\" CONTENT=\"GLOBAL\">\n";
            echo 
    "<META NAME=\"AUTHOR\" CONTENT=\"".addslashes($sitename)."\">\n";
            echo 
    "<META NAME=\"COPYRIGHT\" CONTENT=\"Copyright (c) by ".addslashes($sitename)."\">\n";
            echo 
    "<META NAME=\"KEYWORDS\" CONTENT=\"".addslashes($pagetags)."\">\n";
            echo 
    "<META NAME=\"DESCRIPTION\" CONTENT=\"".addslashes($slogan)."\">\n";
            echo 
    "<META NAME=\"ROBOTS\" CONTENT=\"INDEX, FOLLOW\">\n";
            echo 
    "<META NAME=\"REVISIT-AFTER\" CONTENT=\"1 DAYS\">\n";
            echo 
    "<META NAME=\"RATING\" CONTENT=\"GENERAL\">\n";
        }else{
        if(
    $username == $anonymous){include("includes/meta.php");}}
        @include(
    "includes/javascript.php");
        if (
    file_exists("themes/$ThemeSel/images/favicon.ico")) {
            echo 
    "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
        }
         echo 
    "</script>\n";
         
         echo 
    "<script type=\"text/javascript\" language=\"javascript1.2\" src=\"themes/$ThemeSel/js/jquery.min.js\"></script>\n";
         
         echo 
    "<script type=\"text/javascript\" language=\"javascript1.2\" src=\"themes/$ThemeSel/js/scrolltopcontrol.js\"></script>\n";
         
         echo 
    "<script type=\"text/javascript\" language=\"javascript1.2\" src=\"themes/$ThemeSel/js/jquery_002.js\"></script>\n";


         echo 
    "<script type=\"text/javascript\" language=\"javascript1.2\" src=\"themes/$ThemeSel/js/tooltip-text.js\"></script>\n";

    echo 
    "<link rel=\"stylesheet\" href=\"themes/NG-Xromusic/css2/css.css\" type=\"text/css\" />
    <link rel=\"stylesheet\" href=\"themes/NG-Xromusic/css2/jquery.css\" type=\"text/css\" />
    <link rel=\"stylesheet\" href=\"themes/NG-Xromusic/css2/base.css\" type=\"text/css\" />\n"
    ;
         
         echo 
    "
         


    <script type='text/javascript' src='themes/NG-Xromusic/script/lightbox_plus.js'></script
    >
    <script type='text/javascript' src='themes/NG-Xromusic/script/SMRcode2.js'></script>

    <script type='text/javascript' src='themes/NG-Xromusic/script/plusone.js'></script>


    <script type='text/javascript' src='themes/NG-Xromusic/script/thickbox.js'></script>


    <link rel='stylesheet' href='themes/NG-Xromusic/script/thickbox-rtl.css' type='text/css' />

    <link rel='StyleSheet' href='themes/NG-Xromusic/style/style.css' type='text/css' />

    <link rel='StyleSheet' href='themes/NG-Xromusic/style/nuketools.css' type='text/css' />

    <link rel='stylesheet' href='themes/NG-Xromusic/style/nivo-slider.css' type='text/css' media='screen' />

    <link rel='stylesheet' href='themes/NG-Xromusic/style/stylenivo.css' type='text/css' media='screen' />

    <script type='text/javascript' src='themes/NG-Xromusic/script/jquery.innerfade.js'></script>

    <script type='text/javascript'>
    $(document).ready(
    function(){
    $('#news').innerfade({
    animationtype: 'slide',
    speed: 600,
    timeout: 5000,
    type: 'random',
    containerheight: '1em'
    });
    $('ul#portfolio').innerfade({
    speed: 10000,
    timeout: 10000,
    type: 'sequence',
    containerheight: '220px'
    });
    $('.fade').innerfade({
    speed: 5000,
    timeout: 6000,
    type: 'random_start',
    containerheight: '1.5em'
    });
    $('.adi').innerfade({
    speed: 'slow',
    timeout: 5000,
    type: 'random',
    containerheight: '150px'
    });
    });
    </script>
    <script type='text/javascript'>
    function GetXmlHttpObject()
    {var xmlHttp=null;try
    {xmlHttp=new XMLHttpRequest();}
    catch(e)
    {try
    {xmlHttp=new ActiveXObject('Msxml2.XMLHTTP');}
    catch(e)
    {xmlHttp=new ActiveXObject('Microsoft.XMLHTTP');}}
    return xmlHttp;}


    var xmlHttp = new GetXmlHttpObject();
    function sendpa(){
    if(xmlHttp.readyState==4)
    {document.getElementById('p-n').innerHTML =xmlHttp.responseText;
    }else{
    document.getElementById('p-n').innerHTML='';
    }
    }

    function slideMenu (id,work){
    var param='';
    $('#panel').animate({height: 'toggle'}, 500);
    if(work==''){}else{
    param += 'work='+work;
    xmlHttp.open('POST','work.php',true);
    xmlHttp.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
    xmlHttp.setRequestHeader('Content-length', param.length);
    xmlHttp.setRequestHeader('Connection', 'close');
    xmlHttp.onreadystatechange=sendpa;
    xmlHttp.send(param);
    }
    }

    </script>
    <style>
    .slideLink { margin: 0 0 0 0; }
    .slideLink a { vertical-align: top; margin: 0 0 0 0px; text-decoration: none; font-size: 11px; }
    .slideLink a:hover {  text-decoration: none; }
    .slideText { padding: 0 0 0 0px; margin: 0 0 0 0; display: none; }
    .seaimage {width:30px;height:30px}
    </style>


    <!--[if IE 6]><style type='text/css' />.slidemakan {margin-right:-980px;}</style><![endif]-->
    <!--[if lt IE 8]><style type='text/css' />.bg-sea {margin-right:0px;background-color:none;color:#FFFFFF;width:190px;border:0px;height:20px;float:right;}</style><![endif]-->
    <!--[if lte IE 8]><style type='text/css' />.bg-sea {margin-right:0px;background-color:none;color:#FFFFFF;width:190px;border:0px;height:20px;float:right;}</style><![endif]-->
    <!--[if IE]>
    <style>
    .bg-sea {margin-right:0px;background-color:none;color:#FFFFFF;width:190px;border:0px;height:20px;float:right;}
    .seaimage img{width:20px;height:20px;position:absolute;border:0px;}
    input[type=text],input[type=password]{font-size:11px;padding-right:5px;padding-left:5px;color:#878787;height:20px;border:1px solid #DEDEDE;background:#FFFFFF;}
    input[type=submit]{font-size:11px;padding-right:5px;padding-left:5px;color:#878787;border:1px solid #DEDEDE;background:#FFFFFF;}
    input[type=buttom]{font-size:11px;padding-right:5px;padding-left:5px;color:#878787;border:1px solid #DEDEDE;background:#FFFFFF;}
    </style>
    <![endif]-->


    <script type=\"text/javascript\" src=\"themes/NG-Xromusic/js/script.js\"></script>

    <Script  src=\"includes/preloader.js\" TYPE=\"text/javascript\"></script>

        \n"
    ;
         echo 
    "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"backend.php\">\n";
         echo 
    "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n";
         echo 
    "<Script  src=\"includes/preloader.js\" TYPE=\"text/javascript\"></script>\n";
        if (
    file_exists("includes/custom_files/custom_head.php")) {
            @include_once(
    "includes/custom_files/custom_head.php");
        }
        if(
    $ab_config['site_switch'] == 1) {
            echo 
    "<center><img src='images/nukesentinel/disabled.png' border='0' width='120' height='34'></center><br />\n";
             }
        echo 
    "\n</head>\n";
            if(
    $preloader == 1){

            echo 
    "<div id=\"waitDiv\" onclick=\"this.style.visibility='hidden'\" style=\"text-align:center; line-height:17px; position:fixed; z-index:1000; width:100%; height:100%; background-color:#000; color:#fff; font-size:11px; margin:0px auto;\"><div style=\"position:fixed; margin:0px auto; \" id=\"loadingimage\" ><img src=\"images/loader.gif\" /></div></div>";
            echo 
    "<script>showWaitm('waitDiv', 1);</script>\n";
            echo 
    "</div>\n";
        }
            
    $u_agent $_SERVER['HTTP_USER_AGENT'];

            
    themeheader();
        }

    function 
    themeheader() {
      global 
    $db$prefix,$user,$cookie,$name ,  $prefix$user_prefix$db$dbi$sitename$user$cookie$group_id  $prefix$multilingual$currentlang$db;
      if(
    $row $db->sql_fetchrow($db->sql_query("SELECT * from ".$prefix."_nukesql"))){
        echo 
    "<body dir=\"rtl\"  style='margin: 0; padding: 0;'>\n\n\n";
        
    $username $cookie[1];
        
    $query $db->sql_query("SELECT username FROM ".$prefix."_users WHERE username='$username'");
        
    $row $db->sql_fetchrow($query);
        
    $real_name mysql_escape_string($row['username']);
        if (
    $username == "") {
          
    $theuser "&nbsp;&nbsp;کاربر مهمان، خوش آمديد!";
        }else{
          
    $theuser "&nbsp;&nbsp;$real_name ، خوش آمديد!";
        }
        
    $time date("H:i");
        
    $now date("Y-m-d");
        
    $now FormalDate2Hejri1($now);
        
    $now "امروز ".$now."";

        echo
    "
        <div align=center>



















    <br />
    <div id='logo'>
    <div class='search'>
    <form action='search.html' method='POST'>
    <input name=query class='bg-sea' >
    <input type='image' src='themes/NG-Xromusic/images/empty.gif' class='seaimage' >
    </form>
    </div>
    </div>
    <div class='menu-bas'>
    <div class='menu-right'><div class='locationdatetime'>
    $now</div></div>
    <div class='menu-left'>
    <div style='float:left;'>
    <a href='' style='margin-left:10px;'>Home</a>

    <a href='modules.php?name=Forums'>Forums</a>
    <a href='search.html'>Search</a>
    <a href='static-13.html'>Advertising</a>
    <a href='feedback/'>Contact Us</a>
    <a her='user/register'>Register</a>
    </div>
    </div>
    </div>
    <br />
    <div style='height: 220px;' class='slidemakan'>
    <ul id='news'>

    <li>










    <div class='slide-show' style='background:url(themes/NG-Xromusic/images/2.jpg);'>
    <a href='http://bia2music03.com/295//%D8%A2%D9%87%D9%86%DA%AF/Hamid-Hami/'>برای دانلود کلیک کنید</a>
    </div>
    </li>
    <li>
    <div onclick='window.location='http://www.google.com';' class='slide-show' style='background:url(themes/NG-Xromusic/images/3.jpg);'>
    <a href='http://bia2music03.com/296//%D8%A2%D9%87%D9%86%DA%AF/Mohammad-Alizadeh---Sarab/'>برای دانلود کلیک کنید</a>
    </div>
    </li>

    <li>
    <div class='slide-show' style='background:url(themes/NG-Xromusic/images/4.jpg);'>
    <a href=''>برترین مرجع موزیک</a>
    </div>
    </li>
    </ul>
    </div>
    <br />
    <div class='base'>
    <div align='center'>
        
        
        <table cellpadding='0' cellspacing='0' width='100%'>

            <tr>
    <div align='center'>

    <a target='_blank' title='Mavara020' class='tooltip' href='http://www.foxred.ir/'><img src='themes/NG-Xromusic/images/Banner/banner.gif'></a>


    <a target='_blank' class='tooltip' href='http://www.foxred.ir/'><img src='themes/NG-Xromusic/images/Banner/banner.gif'></a>

    </div>

    </div>

    <div align='center'>

    <a target='_blank' class='tooltip' href='http://www.foxred.ir/'><img src='themes/NG-Xromusic/images/Banner/banner.gif'></a>



    <a target='_blank' class='tooltip' href='http://www.foxred.ir/'><img src='themes/NG-Xromusic/images/Banner/banner.gif'></a>


    </div>


            </tr>

        </table>

    </div>
    <div class='base'>
    <div style='width:980px;'>
        
        
        
        
        <tr>
        <td valign=\"top\">
        <table border=\"0\" width=\"100%\" cellpadding=\"3\">
        <tr>"
    ;
        if (
    $name == "Forums") {} else {
          echo 
    "<td width=\"180\" valign=\"top\">
          
          
          
          
          
          
          
          
          "
    ;
          
    blocks(left);
          }
        echo
    "</td><td valign=\"top\">";
        if(
    ads(0) && defined('INDEX_FILE')){
          
    $banner ads(0);
          echo 
    "<div align=\"center\">$banner</div><br>";
        }
      }else{
        
    $string "2KfZitmGINmC2KfZhNioINmF2K7YtdmI2LUg2YbZitmI2YMgOC4wINmB2KfYsdiz2Yog2YXYtNmH2K/YqtmK2YUg2YXZitio2KfYtNivINmIINmB2YLYtyDYr9ixINin2YrZhiDZhtiz2K7ZhyDZgtin2KjZhCDYp9iz2KrZgdin2K/ZhyDYp9iz2Kou";
        
    $string base64_decode($string);
        die(
    "<META http-equiv=Content-Type content=\"text/html; charset=utf-8\"><table dir=\"rtl\" width=\"100%\" height=\"100%\"><tr><td valign=\"center\" align=\"center\" style=\"font-family:tahoma; font-size:9pt;\">$string</td></tr></table>");
      }
    }





    function 
    themefooter() {
                          global 
    $index$foot1$foot2$foot3$copyright$db,$prefix $index$foot1$foot2$foot3$copyright $prefix$multilingual$currentlang$db$boxTitle$content$pollcomm$user$cookie$userinfo;
                          
        
    $NewsCount 5//Last News For News Ticker
                          
                          
    echo "</td>";
                      if(
    defined('INDEX_FILE')){
                      echo
    "<td width=\"180\" valign=\"top\">
                    

    "
    ;
        
    blocks(right);
        echo 
    "</td>";
      }
      echo 
    "</tr></table>";
      
    $footer_message "$foot1<br>$foot2<br>$foot3<br>$copyright<br>";
      if(
    ads(2)){
        
    $showbanner ads(2);
        echo 
    "<div align=\"center\">$showbanner</div><br>";
      }
      echo
    "</td>
      </tr>
      <tr>
      <td><!--&nbsp; --></td>
      </tr>
      </table>
      </div>  </td>
      </tr>
      </table>
    <div class='bg-footer'>
    <div id='footertools'>
    <a href='#top'><img src='themes/NG-Xromusic/images/s.png' /></a>
    <a href='#' target=_blank><img src='themes/NG-Xromusic/images/t.png' /></a>
    <a href='#' target=_blank><img src='themes/NG-Xromusic/images/fb.png' /></a>
    </div>
    <div class='copyright'>
    © Powered By <a href='http://www.phpnuke.ir/' target=_blank>PHPNuke</a> | Edit By <a href='http://foxred.ir/' target=_blank>Fox Red</a>

    </div>
    </div></div>
    "
    ;
      
      
      
    ?>
    <script type="text/javascript">
    var theCharacterTimeout = 50;var theStoryTimeout = 5000;var theWidgetOne = "";var theWidgetTwo = "_";var theWidgetNone = "";var theLeadString = "&nbsp;&nbsp;";var theSummaries = new Array();var theSiteLinks = new Array();var theItemCount = <?=$NewsCount?>;
    <?php
    $query 
    $db->sql_query("SELECT title,sid FROM ".$prefix."_stories  ORDER BY sid DESC LIMIT 0 , $NewsCount");
    $arrayNum 0;
    while(
    $row $db->sql_fetchrow($query))
    {
        
    $title filter($row['title'], "nohtml");
        
    $sid filter($row['sid'], "nohtml");
        echo 
    "theSummaries[$arrayNum] = \"$title\";theSiteLinks[$arrayNum] = \"article-$sid--0-0.html\";\n";
        
    $arrayNum++;

    ?>
    <?
    global $db,$prefix;
    $result $db->sql_query("SELECT * FROM ".$prefix."_stories");
    $numrows $db->sql_numrows($result);
    if (
    $numrows != 0)  {
    echo 
    "startTicker();";
    }
    ?>
    </script>
    <?php
      
    }

    function 
    themeindex($aid$informant$datetime$title$counter$topics$hometext$notes$r_options$comments$score$ratings,$sid$topic_link$topictext_link$topicname_link$topicimage_link)
    {
      global 
    $ShowTopic,$tipath,$RateUnitWidth;
        
    $ThemeSel get_theme();
        
    theme_lang();
        if(
    file_exists("themes/$ThemeSel/images/topics/$topicimage_link")){
            
    $t_image "themes/$ThemeSel/images/topics/$topicimage_link";
        }else{
            
    $t_image "$tipath$topicimage_link";
        }
     if(
    $score != 0){
            
    $rated round($score $ratings);
        }else{
            
    $rated 0;
        }
     
      if(
    $comments==0){
        
    $comments "0 نظر  ";
      }else{
        
    $comments "$comments نظر";
      }
      
    $newsLink newslink($sid);
      if(
    $newsLink==""){
        
    $more "<span class=\"statnews\" style=\"cursor:default;\"><span style='text-shadow: 0px 1px 3px ;'>ادامه مطلب </span></span><img border=\"0\" src=\"themes/NG-Xromusic/images/more.gif\" width=\"13\" height=\"9\">";
      }else{
        
    $more "<a class=\"tooltip\" href=\"$newsLink\" title=\"برای دانلود یا خواندن ادامه این مطلب کلیک کنید\"><span class=\"statnews\"><span style='text-shadow: 0px 1px 3px ;'>ادامه مطلب</span></span> <img border=\"0\" src=\"themes/NG-Xromusic/images/more.gif\" alt=\"برای دانلود یا خواندن ادامه این مطلب کلیک کنید\" width=\"13\" height=\"9\"></a>";
      }
      
      
      
    $rating_code rating_load($sid);
      echo
    "<div class='news-up-c'>
    <div class='news-up-r'></div>
    <div class='news-up'> <a href='
    $newsLink'  title='$title' class='tooltip'>$title</a></div>
    <div class='news-up-l'></div>
    <div class='news-up-rationg'>
    <div id='unit_long3000'>
    $rating_code
    </div></div>
    </div>
    <div class='news-content-c'>
    <div class='news-content-l'>

    <div class='news-content-r'>
    <div style='margin-right:10px;margin-left:10px;padding-top:10px;padding-bottom:10px;'>
    <div style='font-size:9px;'>دسته بندی : 
    $topicname_link |  نویسنده : $aid</div>
    <br/>  
    $hometext<br/>
    </div>
    </div>
    </div>
    </div>

    <div class='news-down-c'>
    <div class='news-down-r'></div>
    <div class='counter'>بازدید : <span>
    $counter</span></div>
    <div class='date'><span>
    $datetime</span></div>
    <div class='camments'>نظرات : <span>
    $comments</span></div>
    <div class='news-down-l'></div>
    <div class='morenews'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='
    $newsLink' title='$title'>ادامه متن</a></div>
    </div>
    <br />

    \n"
    ;
    }

    function 
    themearticle($aid$informant$datetime$title$bodytext$hometext$topics$topicname_link$topicimage_link$topictext_link$printpage$notes$counter$score$ratings$sid$topic_link){

    $ThemeSel get_theme();
    theme_lang();
      global 
    $admin$sid$tipath;
      
    $ThemeSel get_theme();
      if(
    file_exists("themes/$ThemeSel/images/topics/$topicimage")){
        
    $t_image "themes/$ThemeSel/images/topics/$topicimage";
      }else{
        
    $t_image "$tipath$topicimage";
      }
      
    $posted ""._POSTEDON.$datetime "._BY." "
      
    $posted .= get_author($aid);
      
    $posted .= "&nbsp;&nbsp;<a href=\"$printpage\" target=\"_blank\"><img border=\"0\" src=\"images/print.gif\" width=\"16\" height=\"16\" alt=\"چاپ مطلب\"></a>";
      if(
    $notes != ""){


    $tag explode("،",$notes);
    for(
    $t=0$t 15$t++){
    $tags "<a href='tags-".$tag[$t].".html'>".$tag[$t]."</a>";
    $tagsnews .= trim($tags);}

        
    $notes "<br><br><b>"._NOTE."</b> $notes\n";
      }else{


        
    $notes "";

      }
      if(
    "$aid== "$informant"){
        
    $content "$thetext$notes\n";
      }else{
        if(
    $informant != "") {
          
    $content "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a> ";
        }else{
          
    $content "$anonymous ";
        }
        
    $content .= ""._WRITES." \"$thetext\"$notes\n";


      }
      echo
    "<div class='news-up-c'>
    <div class='news-up-r'></div>
    <div class='news-up'> <a href='
    $newsLink'  title='$title' class='tooltip'>$title</a></div>
    <div class='news-up-l'></div>
    <div class='news-up-rationg'>
    <div id='unit_long3000'>
    $rating_code
    </div></div>
    </div>
    <div class='news-content-c'>
    <div class='news-content-l'>

    <div class='news-content-r'>
    <div style='margin-right:10px;margin-left:10px;padding-top:10px;padding-bottom:10px;'>
    <div style='font-size:9px;'>دسته بندی : 
    $topicname_link |  نویسنده : $aid</div>
    <br/>  
    $hometext<br/>$bodytext
    </div>
    </div>
    </div>
    </div>

    <div class='news-down-c'>
    <div class='news-down-r'></div>
    <div class='counter'>بازدید : <span>
    $counter</span></div>
    <div class='date'><span>
    $datetime</span></div>
    <div class='camments'>نظرات : <span>
    $comments</span></div>
    <div class='news-down-l'></div>
    <div class='morenews'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='index.php' title=''>بازگشت</a></div>
    </div>
    <br />"
    ;
    }


    function 
    themesidebox($title$content$themeview=1){

    $ThemeSel get_theme();
    theme_lang();
        if(
    $themeview == 0)
        {
            
    $CBSB_Class "CBSBPlus";
            
    $Display_Content " display:none;";
        }else
        {
            
    $CBSB_Class "CBSBMin";
            
    $Display_Content "";
        }
        echo
    "<div class='bg-block'><div class='block-top'> $title</div>
    <div style='margin-right:10px;margin-left:10px;'> 
    $content
           </div>
    <div class='block-bottom'></div></div>
    <br>\n"
    ;
    }


    function 
    themecenterbox($title$content$themeview=1){

    $ThemeSel get_theme();
    theme_lang();
          if(
    $themeview == 0)
        {
            
    $CBSB_Class "CBSBPlus";
            
    $Display_Content " display:none;";
        }else
        {
            
    $CBSB_Class "CBSBMin";
            
    $Display_Content "";
        }
        echo
    "<div class='blocks-up-c'><div class='blocks-up-r'></div>
    <div class='blocks-c'> 
    $title</div>
    <div class='blocks-up-l'></div></div>
    <div class='blocks-content-c'><div class='blocks-content-l'><div class='blocks-content-r'>
    <div style='margin-right:10px;margin-left:10px;padding-top:10px;padding-bottom:10px;'>
    $content</div></div></div></div><div class='blocks-down-c'><div class='blocks-down-r'></div><div class='blocks-down-l'></div></div><br />
    \n"
    ;
    }



        function 
    comments_show($tid$deact$fileds$score$c_name$datetime$journal$u_website$u_ip$karma$avaimage$comment$pagevar$pagefiled$parent$admin_delete_op$admin_edit_op$comcode$parentid$classstyle$classtyp$subcomrow$Req_URI){
            global 
    $align$userinfo$admin$user$anonpost$admin_file;
            
    $ThemeSel get_theme();
            
    theme_lang();
            echo 
    "
            <style>
                .comment_class1 {border:1px solid #CCCCCC;background-color:#C6DEFF;margin:5px 2px 0 2px;}
                .comment_class2 {border:1px solid #CCCCCC;background-color:#CFECEC;margin:5px 2px 0 2px;}
            </style>
            <a name=\"
    $tid\"></a>
            <table width=\"99%\" border=\"0\" class=\"
    $classstyle\">
                <tr>
                    <td width=\"100%\">
                        
    $deact
                        
    $fileds";
                        echo
    "<br>"._ON.$datetime";
                        if (
    $c_name != "Anonymous") {
                            
    $r_uid intval($userinfo['user_id']);
                            echo 
    ""._BY." <br>(<a href=\"modules.php?name=Your_Account&op=userinfo&username=$c_name\">"._USERINFO.$c_name</a> ";
                            echo 
    "| <a href=\"Forum/ucp.php?i=pm&mode=compose&u=$r_uid\">"._SENDAMSG."</a>";
                            echo 
    "$journal) ";
                        }
                        echo 
    "<a href=\"$u_website\" target=\"_blank\">$u_website</a> <b>("._IP_ADDRESS." : $u_ip)</b> $karma";
                        echo
    "
                    </td>
                </tr>
                <tr>
                    <td>
                        <table border='0' width='100%'>
                            <tr>
                                <td dir='
    $align' width='80' height='80'><img width='80' height='80' src = '$avaimage' border = '0'></td>
                                <td dir='
    $align'>$comment</td>
                            </tr>"
    ;
                            if(
    $subcomrow 0){
                            echo
    "
                            <tr>
                                <td colspan=\"2\"><b>"
    ._REPLYS."</b><br /><br />";
                                
    display_comments($tid$classtyp);
                                echo
    "</td>
                            </tr>"
    ;
                            }
                        echo
    "</table>";
                        if (
    $anonpost==OR is_admin($admin) OR is_user($user)) {
                            echo 
    "
                                <script>
                                    function replay_to(tid){
                                        document.getElementById(\"replayto\").innerHTML=\"<td><b>"
    ._REPLY."</b></td><td><input type='text' value='"._REPLY." "._TO." \"+tid+\"' disabled /><input type='hidden' name='replay' value='\"+tid+\"'></td>\";       
                                    }
                                </script>
                                <a href=\"
    $Req_URI#commenteditor\"><span onclick=\"replay_to('$tid');\" style=\"cursor:pointer;\">"._REPLY."</span></a>";
                        }
                        if(
    is_admin($admin)) {
                            echo 
    " | <a href=\"".$admin_file.".php?op=".$admin_delete_op."&tid=$tid&".$pagefiled."=".$pagevar."&ok=1\" onclick=\"return confirm('"._SURETODELCOMMENTS."')\">"._DELETE."</a> | <a href=\"".$admin_file.".php?op=".$admin_edit_op."&tid=$tid\">"._EDIT."</a><br><br>";
                        } elseif (
    $anonpost != OR is_admin($admin) OR is_user($user)) {
                            echo 
    " ]<br><br>";
                        }
                    echo
    "
                    </td>
                </tr>
            </table>"
    ;
        }



    ?>
     
  12. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
    جای بنر رو نشون دادم تو کد ولی هدر متوجه نشدم اگه منظورتون اسلایدر هست اون بالا میتونید عکس هاشو از قسمت زیر تغییر بدید . themes/NG-Xromusic/images
    برای تغییر لوگو : themes/NG-Xromusic/images/logo.png

    PHP:
    <?php

    //  Theme Designed By: Vaki | Edit By : Naz Graph

    //  Cms By: PhpNuke 8.3 Farsi MT Edition [MashhadTeam]

    $bgcolor1 "#ffffff";
    $bgcolor2 "#fafafa";
    $bgcolor3 "#ededed";
    $bgcolor4 "#cccccc";
    $textcolor1 "#666666";
    $textcolor2 "#666666";

    $ThemeSel get_theme();
    $preloader "1";


    function 
    OpenTable()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    <div class='op'>
    <div class='op2'>
    <?php
    }

    function 
    CloseTable()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    </div>
    </div>
    <br>
    <?php
    }

    function 
    OpenTable2()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    <div class='op'>
    <div class='op2'>
    <?php
    }

    function 
    CloseTable2()
    {
    $ThemeSel get_theme();
    theme_lang();
    ?>
    </div>
    </div>
    <?php
    }

    function 
    head()
    {
        global 
    $slogan,$name$sitename$banners$nukeurl$Version_Num$ab_config$artpage$topic$hlpfile$user$hr$theme$cookie$bgcolor1$bgcolor2$bgcolor3$bgcolor4$textcolor1$textcolor2$forumpage$adminpage$userpage$pagetitle$pagetags;
        
    $ThemeSel get_theme();
    $ThemeSel get_theme();
    theme_lang();
        @include_once(
    "themes/$ThemeSel/theme.php");
        echo 
    "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
        echo 
    "<html>\n";
        echo 
    "<head>\n";
        if(
    $name != "Forums"){ 
            echo 
    "<title>$sitename $pagetitle</title>\n";
        }
        if(
    $pagetags !=""){ 
            echo 
    "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset="._CHARSET."\">\n";
            echo 
    "<META HTTP-EQUIV=\"EXPIRES\" CONTENT=\"0\">\n";
            echo 
    "<META NAME=\"RESOURCE-TYPE\" CONTENT=\"DOCUMENT\">\n";
            echo 
    "<META NAME=\"DISTRIBUTION\" CONTENT=\"GLOBAL\">\n";
            echo 
    "<META NAME=\"AUTHOR\" CONTENT=\"".addslashes($sitename)."\">\n";
            echo 
    "<META NAME=\"COPYRIGHT\" CONTENT=\"Copyright (c) by ".addslashes($sitename)."\">\n";
            echo 
    "<META NAME=\"KEYWORDS\" CONTENT=\"".addslashes($pagetags)."\">\n";
            echo 
    "<META NAME=\"DESCRIPTION\" CONTENT=\"".addslashes($slogan)."\">\n";
            echo 
    "<META NAME=\"ROBOTS\" CONTENT=\"INDEX, FOLLOW\">\n";
            echo 
    "<META NAME=\"REVISIT-AFTER\" CONTENT=\"1 DAYS\">\n";
            echo 
    "<META NAME=\"RATING\" CONTENT=\"GENERAL\">\n";
        }else{
        if(
    $username == $anonymous){include("includes/meta.php");}}
        @include(
    "includes/javascript.php");
        if (
    file_exists("themes/$ThemeSel/images/favicon.ico")) {
            echo 
    "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
        }
         echo 
    "</script>\n";
         
         echo 
    "<script type=\"text/javascript\" language=\"javascript1.2\" src=\"themes/$ThemeSel/js/jquery.min.js\"></script>\n";
         
         echo 
    "<script type=\"text/javascript\" language=\"javascript1.2\" src=\"themes/$ThemeSel/js/scrolltopcontrol.js\"></script>\n";
         
         echo 
    "<script type=\"text/javascript\" language=\"javascript1.2\" src=\"themes/$ThemeSel/js/jquery_002.js\"></script>\n";


         echo 
    "<script type=\"text/javascript\" language=\"javascript1.2\" src=\"themes/$ThemeSel/js/tooltip-text.js\"></script>\n";

    echo 
    "<link rel=\"stylesheet\" href=\"themes/NG-Xromusic/css2/css.css\" type=\"text/css\" />
    <link rel=\"stylesheet\" href=\"themes/NG-Xromusic/css2/jquery.css\" type=\"text/css\" />
    <link rel=\"stylesheet\" href=\"themes/NG-Xromusic/css2/base.css\" type=\"text/css\" />\n"
    ;
         
         echo 
    "
         


    <script type='text/javascript' src='themes/NG-Xromusic/script/lightbox_plus.js'></script
    >
    <script type='text/javascript' src='themes/NG-Xromusic/script/SMRcode2.js'></script>

    <script type='text/javascript' src='themes/NG-Xromusic/script/plusone.js'></script>


    <script type='text/javascript' src='themes/NG-Xromusic/script/thickbox.js'></script>


    <link rel='stylesheet' href='themes/NG-Xromusic/script/thickbox-rtl.css' type='text/css' />

    <link rel='StyleSheet' href='themes/NG-Xromusic/style/style.css' type='text/css' />

    <link rel='StyleSheet' href='themes/NG-Xromusic/style/nuketools.css' type='text/css' />

    <link rel='stylesheet' href='themes/NG-Xromusic/style/nivo-slider.css' type='text/css' media='screen' />

    <link rel='stylesheet' href='themes/NG-Xromusic/style/stylenivo.css' type='text/css' media='screen' />

    <script type='text/javascript' src='themes/NG-Xromusic/script/jquery.innerfade.js'></script>

    <script type='text/javascript'>
    $(document).ready(
    function(){
    $('#news').innerfade({
    animationtype: 'slide',
    speed: 600,
    timeout: 5000,
    type: 'random',
    containerheight: '1em'
    });
    $('ul#portfolio').innerfade({
    speed: 10000,
    timeout: 10000,
    type: 'sequence',
    containerheight: '220px'
    });
    $('.fade').innerfade({
    speed: 5000,
    timeout: 6000,
    type: 'random_start',
    containerheight: '1.5em'
    });
    $('.adi').innerfade({
    speed: 'slow',
    timeout: 5000,
    type: 'random',
    containerheight: '150px'
    });
    });
    </script>
    <script type='text/javascript'>
    function GetXmlHttpObject()
    {var xmlHttp=null;try
    {xmlHttp=new XMLHttpRequest();}
    catch(e)
    {try
    {xmlHttp=new ActiveXObject('Msxml2.XMLHTTP');}
    catch(e)
    {xmlHttp=new ActiveXObject('Microsoft.XMLHTTP');}}
    return xmlHttp;}


    var xmlHttp = new GetXmlHttpObject();
    function sendpa(){
    if(xmlHttp.readyState==4)
    {document.getElementById('p-n').innerHTML =xmlHttp.responseText;
    }else{
    document.getElementById('p-n').innerHTML='';
    }
    }

    function slideMenu (id,work){
    var param='';
    $('#panel').animate({height: 'toggle'}, 500);
    if(work==''){}else{
    param += 'work='+work;
    xmlHttp.open('POST','work.php',true);
    xmlHttp.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
    xmlHttp.setRequestHeader('Content-length', param.length);
    xmlHttp.setRequestHeader('Connection', 'close');
    xmlHttp.onreadystatechange=sendpa;
    xmlHttp.send(param);
    }
    }

    </script>
    <style>
    .slideLink { margin: 0 0 0 0; }
    .slideLink a { vertical-align: top; margin: 0 0 0 0px; text-decoration: none; font-size: 11px; }
    .slideLink a:hover {  text-decoration: none; }
    .slideText { padding: 0 0 0 0px; margin: 0 0 0 0; display: none; }
    .seaimage {width:30px;height:30px}
    </style>


    <!--[if IE 6]><style type='text/css' />.slidemakan {margin-right:-980px;}</style><![endif]-->
    <!--[if lt IE 8]><style type='text/css' />.bg-sea {margin-right:0px;background-color:none;color:#FFFFFF;width:190px;border:0px;height:20px;float:right;}</style><![endif]-->
    <!--[if lte IE 8]><style type='text/css' />.bg-sea {margin-right:0px;background-color:none;color:#FFFFFF;width:190px;border:0px;height:20px;float:right;}</style><![endif]-->
    <!--[if IE]>
    <style>
    .bg-sea {margin-right:0px;background-color:none;color:#FFFFFF;width:190px;border:0px;height:20px;float:right;}
    .seaimage img{width:20px;height:20px;position:absolute;border:0px;}
    input[type=text],input[type=password]{font-size:11px;padding-right:5px;padding-left:5px;color:#878787;height:20px;border:1px solid #DEDEDE;background:#FFFFFF;}
    input[type=submit]{font-size:11px;padding-right:5px;padding-left:5px;color:#878787;border:1px solid #DEDEDE;background:#FFFFFF;}
    input[type=buttom]{font-size:11px;padding-right:5px;padding-left:5px;color:#878787;border:1px solid #DEDEDE;background:#FFFFFF;}
    </style>
    <![endif]-->


    <script type=\"text/javascript\" src=\"themes/NG-Xromusic/js/script.js\"></script>

    <Script  src=\"includes/preloader.js\" TYPE=\"text/javascript\"></script>

        \n"
    ;
         echo 
    "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"backend.php\">\n";
         echo 
    "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n";
         echo 
    "<Script  src=\"includes/preloader.js\" TYPE=\"text/javascript\"></script>\n";
        if (
    file_exists("includes/custom_files/custom_head.php")) {
            @include_once(
    "includes/custom_files/custom_head.php");
        }
        if(
    $ab_config['site_switch'] == 1) {
            echo 
    "<center><img src='images/nukesentinel/disabled.png' border='0' width='120' height='34'></center><br />\n";
             }
        echo 
    "\n</head>\n";
            if(
    $preloader == 1){

            echo 
    "<div id=\"waitDiv\" onclick=\"this.style.visibility='hidden'\" style=\"text-align:center; line-height:17px; position:fixed; z-index:1000; width:100%; height:100%; background-color:#000; color:#fff; font-size:11px; margin:0px auto;\"><div style=\"position:fixed; margin:0px auto; \" id=\"loadingimage\" ><img src=\"images/loader.gif\" /></div></div>";
            echo 
    "<script>showWaitm('waitDiv', 1);</script>\n";
            echo 
    "</div>\n";
        }
            
    $u_agent $_SERVER['HTTP_USER_AGENT'];

            
    themeheader();
        }

    function 
    themeheader() {
      global 
    $db$prefix,$user,$cookie,$name ,  $prefix$user_prefix$db$dbi$sitename$user$cookie$group_id  $prefix$multilingual$currentlang$db;
      if(
    $row $db->sql_fetchrow($db->sql_query("SELECT * from ".$prefix."_nukesql"))){
        echo 
    "<body dir=\"rtl\"  style='margin: 0; padding: 0;'>\n\n\n";
        
    $username $cookie[1];
        
    $query $db->sql_query("SELECT username FROM ".$prefix."_users WHERE username='$username'");
        
    $row $db->sql_fetchrow($query);
        
    $real_name mysql_escape_string($row['username']);
        if (
    $username == "") {
          
    $theuser "&nbsp;&nbsp;کاربر مهمان، خوش آمديد!";
        }else{
          
    $theuser "&nbsp;&nbsp;$real_name ، خوش آمديد!";
        }
        
    $time date("H:i");
        
    $now date("Y-m-d");
        
    $now FormalDate2Hejri1($now);
        
    $now "امروز ".$now."";

        echo
    "
        <div align=center>



















    <br />
    <div id='logo'>
    <div class='search'>
    <form action='search.html' method='POST'>
    <input name=query class='bg-sea' >
    <input type='image' src='themes/NG-Xromusic/images/empty.gif' class='seaimage' >
    </form>
    </div>
    </div>
    <div class='menu-bas'>
    <div class='menu-right'><div class='locationdatetime'>
    $now</div></div>
    <div class='menu-left'>
    <div style='float:left;'>
    <a href='' style='margin-left:10px;'>Home</a>

    <a href='modules.php?name=Forums'>Forums</a>
    <a href='search.html'>Search</a>
    <a href='static-13.html'>Advertising</a>
    <a href='feedback/'>Contact Us</a>
    <a her='user/register'>Register</a>
    </div>
    </div>
    </div>
    <br />
    <div style='height: 220px;' class='slidemakan'>
    <ul id='news'>

    <li>










    <div class='slide-show' style='background:url(themes/NG-Xromusic/images/2.jpg);'>
    <a href='http://bia2music03.com/295//%D8%A2%D9%87%D9%86%DA%AF/Hamid-Hami/'>برای دانلود کلیک کنید</a>
    </div>
    </li>
    <li>
    <div onclick='window.location='http://www.google.com';' class='slide-show' style='background:url(themes/NG-Xromusic/images/3.jpg);'>
    <a href='http://bia2music03.com/296//%D8%A2%D9%87%D9%86%DA%AF/Mohammad-Alizadeh---Sarab/'>برای دانلود کلیک کنید</a>
    </div>
    </li>

    <li>
    <div class='slide-show' style='background:url(themes/NG-Xromusic/images/4.jpg);'>
    <a href=''>برترین مرجع موزیک</a>
    </div>
    </li>
    </ul>
    </div>
    <br />
    <div class='base'>
    <div align='center'>
        
        
        <table cellpadding='0' cellspacing='0' width='100%'>

            <tr>
    <div align='center'>

    <a target='_blank' title='Mavara020' class='tooltip' href='http://www.foxred.ir/'><img src='themes/NG-Xromusic/images/Banner/banner.gif'></a>


    <a target='_blank' class='tooltip' href='http://www.foxred.ir/'><img src='themes/NG-Xromusic/images/Banner/banner.gif'></a>

    </div>

    </div>

    <div align='center'>

    <a target='_blank' class='tooltip' href='http://www.foxred.ir/'><img src='themes/NG-Xromusic/images/Banner/banner.gif'></a>



    <a target='_blank' class='tooltip' href='http://www.foxred.ir/'><img src='themes/NG-Xromusic/images/Banner/banner.gif'></a>


    </div>


            </tr>

        </table>

    </div>
    <div class='base'>
    <div style='width:980px;'>
        
        
        
        
        <tr>
        <td valign=\"top\">
        <table border=\"0\" width=\"100%\" cellpadding=\"3\">
        <tr>"
    ;
        if (
    $name == "Forums") {} else {
          echo 
    "<td width=\"180\" valign=\"top\">
          
          
          
          
          
          
          
          
          "
    ;
          
    blocks(left);
          }
        echo
    "</td><td valign=\"top\">";
        if(
    ads(0) && defined('INDEX_FILE')){
          
    $banner ads(0);
          echo 
    "<div align=\"center\">$banner</div><br>";
        }
      }else{
        
    $string "2KfZitmGINmC2KfZhNioINmF2K7YtdmI2LUg2YbZitmI2YMgOC4wINmB2KfYsdiz2Yog2YXYtNmH2K/YqtmK2YUg2YXZitio2KfYtNivINmIINmB2YLYtyDYr9ixINin2YrZhiDZhtiz2K7ZhyDZgtin2KjZhCD​Yp9iz2KrZgdin2K/ZhyDYp9iz2Kou";
        
    $string base64_decode($string);
        die(
    "<META http-equiv=Content-Type content=\"text/html; charset=utf-8\"><table dir=\"rtl\" width=\"100%\" height=\"100%\"><tr><td valign=\"center\" align=\"center\" style=\"font-family:tahoma; font-size:9pt;\">$string</td></tr></table>");
      }
    }





    function 
    themefooter() {
                          global 
    $index$foot1$foot2$foot3$copyright$db,$prefix $index$foot1$foot2$foot3$copyright $prefix$multilingual$currentlang$db$boxTitle$content$pollcomm$user$cookie$userinfo;
                          
        
    $NewsCount 5//Last News For News Ticker
                          
                          
    echo "</td>";
                      if(
    defined('INDEX_FILE')){
                      echo
    "<td width=\"180\" valign=\"top\">
                    

    "
    ;
        
    blocks(right);
        echo 
    "</td>";
      }
      echo 
    "</tr></table>";
      
    $footer_message "$foot1<br>$foot2<br>$foot3<br>$copyright<br>";
      if(
    ads(2)){
        
    $showbanner ads(2);
        echo 
    "<div align=\"center\">$showbanner</div><br>";
      }
      echo
    "</td>
      </tr>
      <tr>
      <td><!--&nbsp; --></td>
      </tr>
      </table>
      </div>  </td>
      </tr>
      </table>
    <div class='bg-footer'>
    <div id='footertools'>
    <a href='#top'><img src='themes/NG-Xromusic/images/s.png' /></a>
    <a href='#' target=_blank><img src='themes/NG-Xromusic/images/t.png' /></a>
    <a href='#' target=_blank><img src='themes/NG-Xromusic/images/fb.png' /></a>
    </div>
    <div class='copyright'>
    © Powered By <a href='http://www.phpnuke.ir/' target=_blank>PHPNuke</a> | Edit By <a href='http://foxred.ir/' target=_blank>Fox Red</a>

    </div>
    </div></div>
    "
    ;
      
      
      
    ?>
    <script type="text/javascript">
    var theCharacterTimeout = 50;var theStoryTimeout = 5000;var theWidgetOne = "";var theWidgetTwo = "_";var theWidgetNone = "";var theLeadString = "&nbsp;&nbsp;";var theSummaries = new Array();var theSiteLinks = new Array();var theItemCount = <?=$NewsCount?>;
    <?php
    $query 
    $db->sql_query("SELECT title,sid FROM ".$prefix."_stories  ORDER BY sid DESC LIMIT 0 , $NewsCount");
    $arrayNum 0;
    while(
    $row $db->sql_fetchrow($query))
    {
        
    $title filter($row['title'], "nohtml");
        
    $sid filter($row['sid'], "nohtml");
        echo 
    "theSummaries[$arrayNum] = \"$title\";theSiteLinks[$arrayNum] = \"article-$sid--0-0.html\";\n";
        
    $arrayNum++;

    ?>
    <?
    global $db,$prefix;
    $result $db->sql_query("SELECT * FROM ".$prefix."_stories");
    $numrows $db->sql_numrows($result);
    if (
    $numrows != 0)  {
    echo 
    "startTicker();";
    }
    ?>
    </script>
    <?php
      
    }

    function 
    themeindex($aid$informant$datetime$title$counter$topics$hometext$notes$r_options$comments$score$ratings,$sid$topic_link$topictext_link$topicname_link$topicimage_link)
    {
      global 
    $ShowTopic,$tipath,$RateUnitWidth;
        
    $ThemeSel get_theme();
        
    theme_lang();
        if(
    file_exists("themes/$ThemeSel/images/topics/$topicimage_link")){
            
    $t_image "themes/$ThemeSel/images/topics/$topicimage_link";
        }else{
            
    $t_image "$tipath$topicimage_link";
        }
     if(
    $score != 0){
            
    $rated round($score $ratings);
        }else{
            
    $rated 0;
        }
     
      if(
    $comments==0){
        
    $comments "0 نظر  ";
      }else{
        
    $comments "$comments نظر";
      }
      
    $newsLink newslink($sid);
      if(
    $newsLink==""){
        
    $more "<span class=\"statnews\" style=\"cursor:default;\"><span style='text-shadow: 0px 1px 3px ;'>ادامه مطلب </span></span><img border=\"0\" src=\"themes/NG-Xromusic/images/more.gif\" width=\"13\" height=\"9\">";
      }else{
        
    $more "<a class=\"tooltip\" href=\"$newsLink\" title=\"برای دانلود یا خواندن ادامه این مطلب کلیک کنید\"><span class=\"statnews\"><span style='text-shadow: 0px 1px 3px ;'>ادامه مطلب</span></span> <img border=\"0\" src=\"themes/NG-Xromusic/images/more.gif\" alt=\"برای دانلود یا خواندن ادامه این مطلب کلیک کنید\" width=\"13\" height=\"9\"></a>";
      }
      
      
      
    $rating_code rating_load($sid);
      echo
    "<div class='news-up-c'>
    <div class='news-up-r'></div>
    <div class='news-up'> <a href='
    $newsLink'  title='$title' class='tooltip'>$title</a></div>
    <div class='news-up-l'></div>
    <div class='news-up-rationg'>
    <div id='unit_long3000'>
    $rating_code
    </div></div>
    </div>
    <div class='news-content-c'>
    <div class='news-content-l'>

    <div class='news-content-r'>
    <div style='margin-right:10px;margin-left:10px;padding-top:10px;padding-bottom:10px;'>
    <div style='font-size:9px;'>دسته بندی : 
    $topicname_link |  نویسنده : $aid</div>
    <br/>  
    $hometext<br/>
    </div>
    </div>
    </div>
    </div>

    <div class='news-down-c'>
    <div class='news-down-r'></div>
    <div class='counter'>بازدید : <span>
    $counter</span></div>
    <div class='date'><span>
    $datetime</span></div>
    <div class='camments'>نظرات : <span>
    $comments</span></div>
    <div class='news-down-l'></div>
    <div class='morenews'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='
    $newsLink' title='$title'>ادامه متن</a></div>
    </div>
    <br />

    <br><p style="
    text-aligncenter;">
        کد بنر را اینجا وارد کنید </p>
    \n"
    ;
    }

    function 
    themearticle($aid$informant$datetime$title$bodytext$hometext$topics$topicname_link$topicimage_link$topictext_link$printpage$notes$counter$score$ratings$sid$topic_link){

    $ThemeSel get_theme();
    theme_lang();
      global 
    $admin$sid$tipath;
      
    $ThemeSel get_theme();
      if(
    file_exists("themes/$ThemeSel/images/topics/$topicimage")){
        
    $t_image "themes/$ThemeSel/images/topics/$topicimage";
      }else{
        
    $t_image "$tipath$topicimage";
      }
      
    $posted ""._POSTEDON.$datetime "._BY." "
      
    $posted .= get_author($aid);
      
    $posted .= "&nbsp;&nbsp;<a href=\"$printpage\" target=\"_blank\"><img border=\"0\" src=\"images/print.gif\" width=\"16\" height=\"16\" alt=\"چاپ مطلب\"></a>";
      if(
    $notes != ""){


    $tag explode("،",$notes);
    for(
    $t=0$t 15$t++){
    $tags "<a href='tags-".$tag[$t].".html'>".$tag[$t]."</a>";
    $tagsnews .= trim($tags);}

        
    $notes "<br><br><b>"._NOTE."</b> $notes\n";
      }else{


        
    $notes "";

      }
      if(
    "$aid== "$informant"){
        
    $content "$thetext$notes\n";
      }else{
        if(
    $informant != "") {
          
    $content "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a> ";
        }else{
          
    $content "$anonymous ";
        }
        
    $content .= ""._WRITES." \"$thetext\"$notes\n";


      }
      echo
    "<div class='news-up-c'>
    <div class='news-up-r'></div>
    <div class='news-up'> <a href='
    $newsLink'  title='$title' class='tooltip'>$title</a></div>
    <div class='news-up-l'></div>
    <div class='news-up-rationg'>
    <div id='unit_long3000'>
    $rating_code
    </div></div>
    </div>
    <div class='news-content-c'>
    <div class='news-content-l'>

    <div class='news-content-r'>
    <div style='margin-right:10px;margin-left:10px;padding-top:10px;padding-bottom:10px;'>
    <div style='font-size:9px;'>دسته بندی : 
    $topicname_link |  نویسنده : $aid</div>
    <br/>  
    $hometext<br/>$bodytext
    </div>
    </div>
    </div>
    </div>

    <div class='news-down-c'>
    <div class='news-down-r'></div>
    <div class='counter'>بازدید : <span>
    $counter</span></div>
    <div class='date'><span>
    $datetime</span></div>
    <div class='camments'>نظرات : <span>
    $comments</span></div>
    <div class='news-down-l'></div>
    <div class='morenews'>&nbsp;&nbsp;&nbsp;&nbsp;<a href='index.php' title=''>بازگشت</a></div>
    </div>
    <br />"
    ;
    }


    function 
    themesidebox($title$content$themeview=1){

    $ThemeSel get_theme();
    theme_lang();
        if(
    $themeview == 0)
        {
            
    $CBSB_Class "CBSBPlus";
            
    $Display_Content " display:none;";
        }else
        {
            
    $CBSB_Class "CBSBMin";
            
    $Display_Content "";
        }
        echo
    "<div class='bg-block'><div class='block-top'> $title</div>
    <div style='margin-right:10px;margin-left:10px;'> 
    $content
           </div>
    <div class='block-bottom'></div></div>
    <br>\n"
    ;
    }


    function 
    themecenterbox($title$content$themeview=1){

    $ThemeSel get_theme();
    theme_lang();
          if(
    $themeview == 0)
        {
            
    $CBSB_Class "CBSBPlus";
            
    $Display_Content " display:none;";
        }else
        {
            
    $CBSB_Class "CBSBMin";
            
    $Display_Content "";
        }
        echo
    "<div class='blocks-up-c'><div class='blocks-up-r'></div>
    <div class='blocks-c'> 
    $title</div>
    <div class='blocks-up-l'></div></div>
    <div class='blocks-content-c'><div class='blocks-content-l'><div class='blocks-content-r'>
    <div style='margin-right:10px;margin-left:10px;padding-top:10px;padding-bottom:10px;'>
    $content</div></div></div></div><div class='blocks-down-c'><div class='blocks-down-r'></div><div class='blocks-down-l'></div></div><br />
    \n"
    ;
    }



        function 
    comments_show($tid$deact$fileds$score$c_name$datetime$journal$u_website$u_ip$karma$avaimage$comment$pagevar$pagefiled$parent$admin_delete_op$admin_edit_op$comcode$parentid$classstyle$classtyp$subcomrow$Req_URI){
            global 
    $align$userinfo$admin$user$anonpost$admin_file;
            
    $ThemeSel get_theme();
            
    theme_lang();
            echo 
    "
            <style>
                .comment_class1 {border:1px solid #CCCCCC;background-color:#C6DEFF;margin:5px 2px 0 2px;}
                .comment_class2 {border:1px solid #CCCCCC;background-color:#CFECEC;margin:5px 2px 0 2px;}
            </style>
            <a name=\"
    $tid\"></a>
            <table width=\"99%\" border=\"0\" class=\"
    $classstyle\">
                <tr>
                    <td width=\"100%\">
                        
    $deact
                        
    $fileds";
                        echo
    "<br>"._ON.$datetime";
                        if (
    $c_name != "Anonymous") {
                            
    $r_uid intval($userinfo['user_id']);
                            echo 
    ""._BY." <br>(<a href=\"modules.php?name=Your_Account&op=userinfo&username=$c_name\">"._USERINFO.$c_name</a> ";
                            echo 
    "| <a href=\"Forum/ucp.php?i=pm&mode=compose&u=$r_uid\">"._SENDAMSG."</a>";
                            echo 
    "$journal) ";
                        }
                        echo 
    "<a href=\"$u_website\" target=\"_blank\">$u_website</a> <b>("._IP_ADDRESS." : $u_ip)</b> $karma";
                        echo
    "
                    </td>
                </tr>
                <tr>
                    <td>
                        <table border='0' width='100%'>
                            <tr>
                                <td dir='
    $align' width='80' height='80'><img width='80' height='80' src = '$avaimage' border = '0'></td>
                                <td dir='
    $align'>$comment</td>
                            </tr>"
    ;
                            if(
    $subcomrow 0){
                            echo
    "
                            <tr>
                                <td colspan=\"2\"><b>"
    ._REPLYS."</b><br /><br />";
                                
    display_comments($tid$classtyp);
                                echo
    "</td>
                            </tr>"
    ;
                            }
                        echo
    "</table>";
                        if (
    $anonpost==OR is_admin($admin) OR is_user($user)) {
                            echo 
    "
                                <script>
                                    function replay_to(tid){
                                        document.getElementById(\"replayto\").innerHTML=\"<td><b>"
    ._REPLY."</b></td><td><input type='text' value='"._REPLY." "._TO." \"+tid+\"' disabled /><input type='hidden' name='replay' value='\"+tid+\"'></td>\";       
                                    }
                                </script>
                                <a href=\"
    $Req_URI#commenteditor\"><span onclick=\"replay_to('$tid');\" style=\"cursor:pointer;\">"._REPLY."</span></a>";
                        }
                        if(
    is_admin($admin)) {
                            echo 
    " | <a href=\"".$admin_file.".php?op=".$admin_delete_op."&tid=$tid&".$pagefiled."=".$pagevar."&ok=1\" onclick=\"return confirm('"._SURETODELCOMMENTS."')\">"._DELETE."</a> | <a href=\"".$admin_file.".php?op=".$admin_edit_op."&tid=$tid\">"._EDIT."</a><br><br>";
                        } elseif (
    $anonpost != OR is_admin($admin) OR is_user($user)) {
                            echo 
    " ]<br><br>";
                        }
                    echo
    "
                    </td>
                </tr>
            </table>"
    ;
        }



    ?>
     
  13. mammad_fashion

    mammad_fashion محروم شده

    تاریخ عضویت:
    ‏20 ژانویه 2012
    ارسال ها:
    364
    تشکر شده:
    0
    یک دنیا سپاس دوست عزیز منظورت از کد بنر چیه ؟ این هست ؟

    PHP:
    <a href='' target='_blank'><img src='http://bia2music01.com/boolook/Moghaddam_Header%2811-11%29.jpg' width='468' height='60' /></a>
    <
    br />
     
  14. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
  15. mammad_fashion

    mammad_fashion محروم شده

    تاریخ عضویت:
    ‏20 ژانویه 2012
    ارسال ها:
    364
    تشکر شده:
    0
    دوست عزیز کد اشتباه هست ارور میده
    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/biamusi3/domains/bia2music03.com/public_html/themes/NG-Xromusic/theme.php on line 604:143:
     
  16. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
    فکر نکنم ارور از اون باشه شما کدی که من قرار دادم حذف کنید ببینید درست میشه.

    این کد رو :

    کد:
    <br><p style="text-align:center;">
        کد بنر را اینجا وارد کنید </p>
     
  17. mammad_fashion

    mammad_fashion محروم شده

    تاریخ عضویت:
    ‏20 ژانویه 2012
    ارسال ها:
    364
    تشکر شده:
    0
    من الان کدی از قبل داشتم را گذاشتم کد قبلی ارور میده اینم پاک میکنم باز ارور میده :019:
     
  18. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
    شاید مشکل از قالبتون باشه یا کدی که اضافه میکنید اشتباه وارد میکنید.
     
  19. mammad_fashion

    mammad_fashion محروم شده

    تاریخ عضویت:
    ‏20 ژانویه 2012
    ارسال ها:
    364
    تشکر شده:
    0
    همون کد هست که دادم به شما دیگه
     
  20. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
    خوب میگم شاید ایراد داشته از اول.

    چون این خط 604 ارور نشون میده و به کدی که واسه بنر گذاشتید ربطی نداره.