گذاشتن بلوک برچسب ها در زیر هر مطلب

بلوك هاي نيوك فارسي
نمایه کاربر
msm91
کاربر جدید
کاربر جدید
پست: 71
تاریخ عضویت: شنبه 26 تیر 1389, 12:00 am
محل اقامت: semnan
تشکر کرده: 6 دفعه
تشکر شده: 4 دفعه
تماس:

گذاشتن بلوک برچسب ها در زیر هر مطلب

پست توسط msm91 » دو شنبه 15 اسفند 1390, 2:54 pm

سلام بچه های عزیز میخواستم بلوک تگ های مطلب رو زیر هر مطبی بزارم ولی زیاد با نیوک کار نکردم و اطلاعی ندارم
تو یکی از پست ها این مضوع رو دنبال کردم به نتیجه نرسیدم
کدهای قالب رو میزارم لطفا کمک کنید.

کد: انتخاب همه

<?php

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

function OpenTable()
{
    echo "<div class=\"Table\">\n";
    echo "<div class=\"Contents\">\n";
}

function CloseTable()
{
    echo "</div>\n";
    echo "</div>\n";
}

function OpenTable2()
{
    echo "<div class=\"Table\">\n";
    echo "<div class=\"Contents\">\n";
}

function CloseTable2()
{
    echo "</div>\n";
    echo "</div>\n";
}

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();
    @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"){ // Fix By Mohsenweb
	   echo "<title>$sitename $pagetitle</title>\n";
    }
    if($pagetags !=""){ // Fix By SHahab SHT
	   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 "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"backend.php\">\n";
	
	 // JS Here [KEYVANDESIGNER]
	
	echo "<script type=\"text/javascript\" language=\"javascript1.2\" src=\"themes/KEYVANDESIGNER-Musician/js/script.js\"></script>\n";
	
	
	
	
	echo "
	
	<script type='text/javascript' src='themes/KEYVANDESIGNER-Musician/js/jquery.js'></script>
<script type='text/javascript' src='themes/KEYVANDESIGNER-Musician/js/tabs.js'></script>
<script src='themes/KEYVANDESIGNER-Musician/js/loopedslider.js' type='text/javascript'></script>
<script type='text/javascript'>
	$(function(){
	$('#loopedSlider').loopedSlider();
	});
	</script>
	<script type=\"text/javascript\">
    $(document).ready(function(){

	   $(\".btn-slide\").click(function(){
		  $(\"#panel\").slideToggle(\"slow\");
		  $(this).toggleClass(\"active\"); return false;
	   });
	   
	    
    });
    </script>

    <style type=\"text/css\">

    a:focus {
	   outline: none;
	   border: 0px;
    }
    #panel {
	   background: #686868;
	   height: 260px;
	   border: 1px solid #686868;
	   display: none;
    }
    .slide {
	   margin: 0;
	   padding: 0;
	   border-top: solid 6px #4D4D4D;
	   
    }
    .bg-textslide{
    margin: 0;
    padding: 0;
    border: 0px;
    background: url(themes/KEYVANDESIGNER-Musician/images/bg-slidetext.jpg)  center top;
    }
    .btn-slide {
	   background: url(themes/KEYVANDESIGNER-Musician/images/white-arrow.gif) no-repeat right -50px;
	   text-align: center;
	   width: 150px;
	   height: 32px;
	   border: 0px;
	   display: block;
	   font: bold 100% tahoma, Arial, Helvetica, sans-serif;
	   color: #fff;
	   text-decoration: none;
    }
    .active {
	   background-position: right 12px;
	   border: 0px;
    }
    </style>
	\n";
	
	
	// Css Here [KEYVANDESIGNER]
	
	echo "
	
	<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/css/body.css\" TYPE=\"text/css\">
	
	<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/css/css3.css\" TYPE=\"text/css\">
	
	<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/css/style.css\" TYPE=\"text/css\">
	
	<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/css/nuke.css\" TYPE=\"text/css\">
	
	<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/css/jquery.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";
	    
	   echo "<SCRIPT>showWaitm('waitDiv', 1);</SCRIPT>\n";
	   echo "</DIV>\n";
    $u_agent = $_SERVER['HTTP_USER_AGENT'];
	   if(preg_match('/MSIE/i',$u_agent))
	   {
		echo "<script type=\"text/javascript\">document.getElementById('waitDiv').style.position='absolute';</script>\n";
	   }
    themeheader();
}

function themeheader() {
  global $db, $prefix,$user,$cookie,$name;
  if($row = $db->sql_fetchrow($db->sql_query("SELECT * from ".$prefix."_nukesql"))){
    echo "<body dir=\"rtl\">\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;کاربر مهمان، خوش آمديد!&nbsp;&nbsp;(&nbsp;<a href=\"modules.php?name=Your_Account\">ورود</a>&nbsp;-&nbsp;<a href=\"modules.php?name=Your_Account&op=new_user\">عضويت</a>&nbsp;)";
    }else{
	 $theuser = "&nbsp;&nbsp;$real_name ، خوش آمديد!&nbsp;&nbsp;<a href=\"modules.php?name=Your_Account&op=logout\">خروج</a>";
    }
    $time = date("H:i:s");
    $now = date("Y-m-d");
    $now = FormalDate2Hejri1($now);
    $now = "امروز ".$now."";
    echo"<div align=\"center\">
    
    
    <table width=990 border=0 align=center cellpadding=0 cellspacing=0 class=bg2>
  <tr>
    <td background=themes/KEYVANDESIGNER-Musician/images/header.jpg height=180>




<div class=date align=center><br>
$now</div>

<div class=date2></div>



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


<!-- Menu -->

  <table id=Menu border=0 width=100% cellspacing=0 cellpadding=0>
    <tr>
    <td width=15 >
    <img border=0 src=themes/KEYVANDESIGNER-Musician/images/Headline_bala_rast.gif width=15 height=58></td>

    <td background=themes/KEYVANDESIGNER-Musician/images/Headline_bala_vasat.gif width=2></td>
    <td background=themes/KEYVANDESIGNER-Musician/images/Headline_bala_vasat.gif width=88 align=center>
    <a href=index.html>صفحه اصلي</a></td>
    <td background=themes/KEYVANDESIGNER-Musician/images/Headline_bala_vasat.gif width=2>
    <img border=0 src=themes/KEYVANDESIGNER-Musician/images/Headline_menu_break.gif width=2 height=58></td>
    <td background=themes/KEYVANDESIGNER-Musician/images/Headline_bala_vasat.gif width=88 align=center>
    <a href=/web/Forum/>تالار گفتمان</a></td>
    <td background=themes/KEYVANDESIGNER-Musician/images/Headline_bala_vasat.gif width=2>
    <img border=0 src=themes/KEYVANDESIGNER-Musician/images/Headline_menu_break.gif width=2 height=58></td>
    <td background=themes/KEYVANDESIGNER-Musician/images/Headline_bala_vasat.gif width=88 align=center>
    <a href=search.html>جستجو</a></td>
    <td background=themes/KEYVANDESIGNER-Musician/images/Headline_bala_vasat.gif width=2>
    <img border=0 src=themes/KEYVANDESIGNER-Musician/images/Headline_menu_break.gif width=2 height=58></td>
    <td background=themes/KEYVANDESIGNER-Musician/images/Headline_bala_vasat.gif align=center width=88 >
    <a href=/web/users/register/>عضويت</a></td>
    <td background=themes/KEYVANDESIGNER-Musician/images/Headline_bala_vasat.gif width=2>
    <img border=0 src=themes/KEYVANDESIGNER-Musician/images/Headline_menu_break.gif width=2 height=58></td>
    <td background=themes/KEYVANDESIGNER-Musician/images/Headline_bala_vasat.gif align=center width=88 >
    <a href=feedback.html>تماس با ما</a></td>
    <td background=themes/KEYVANDESIGNER-Musician/images/Headline_bala_vasat.gif width=2>
    
    </td>
	   <td background=themes/KEYVANDESIGNER-Musician/images/Headline_bala_vasat.gif align=center>
    
    ";
	   if ($username == "") {

    echo" <div class=\"login\">
	   <form action=\"modules.php?name=Your_Account\" method=\"post\">
	    <table border=\"0\" cellspacing=\"1\" cellpadding=\"1\" >
	   <tr>

		  <td class=\"loginform\">نام کاربري:</td><td width=\"80\"><input  class=kadr type=\"text\" name=\"username\" size=\"12\" maxlength=\"25\" value=\"Username\" onFocus=\"if(this.value=='Username')this.value='';\"></td>
		  <td class=\"loginform\">رمز عبور:</td><td width=\"90\"><input  class=kadr type=\"password\" name=\"user_password\" size=\"12\" maxlength=\"20\" value=\"<password>\" onFocus=\"if(this.value=='<password>')this.value='';\"></td>
		  <td><input type=\"image\" src=\"themes/KEYVANDESIGNER-Musician/images/bttuser.png\" value=\""._LOGIN."\"></td>
	   </tr>
    </table>
    <input type=\"hidden\" name=\"op\" value=\"login\">

		</form>
	   </div>";
	   }  else{
	 echo "
	 <div class=\"loginform1\">...::: كاربر گرامي $real_name ، خوش آمديد :::...</a></div>    ";
    }
		echo "
    
    
    </td>
    
    <td width=15 >
    <img border=0 src=themes/KEYVANDESIGNER-Musician/images/Headline_bala_chap.gif width=15 height=58></td>
    </tr>
    </table>

<!-- end menu -->


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

<br>







<table width=990 border=0 background=themes/KEYVANDESIGNER-Musician/images/bg1.gif class=index2 align=center>
  <tr>
    <td align=center  style='background: #000;margin: 0; padding: 0;-moz-border-radius:7px;
    -webkit-border-radius:7px;'>



    
<div style='margin-top: 3px;'>
<a href='#LINK' target='_blank' title='توضيحات' class='tooltip'><img src='themes/KEYVANDESIGNER-Musician/images/SUB/1.jpg' border=0></a>
</div>

<div style='margin-top: 3px;'>
<a href='#LINK' target='_blank' title='توضيحات' class='tooltip'><img src='themes/KEYVANDESIGNER-Musician/images/SUB/2.jpg' border=0></a>
</div>

<div style='margin-top: 3px;'>
<a href='#LINK' target='_blank' title='توضيحات' class='tooltip'><img src='themes/KEYVANDESIGNER-Musician/images/SUB/3.jpg' border=0></a>
</div>

<div style='margin-top: 3px;'>
<a href='#LINK' target='_blank' title='توضيحات' class='tooltip'><img src='themes/KEYVANDESIGNER-Musician/images/SUB/4.jpg' border=0></a>
</div>

<div style='margin-top: 3px;'>
<a href='#LINK' target='_blank' title='توضيحات' class='tooltip'><img src='themes/KEYVANDESIGNER-Musician/images/SUB/5.jpg' border=0></a>
</div>


<!-- slide show -->
    <iframe src='themes/KEYVANDESIGNER-Musician/slide/ind.php' style='margin: 0px;' scrolling='no' width='400' frameborder='0' height='300'></iframe>
    <!-- END -->
    
    
    </td><td align=center>
    
    <!-- SILDE -->
    <iframe src='themes/KEYVANDESIGNER-Musician/slideshow/ind.php' style='margin: 0px;-moz-border-radius:7px;
    -webkit-border-radius:7px;' scrolling='no' width='545' frameborder='0' height='525'></iframe>
    <!-- END -->



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

<br>






<table width=970 border=0 background=themes/KEYVANDESIGNER-Musician/images/bg1.gif class=index2 align=center>
  <tr>
    <td align=center>





    
<div class='tabss'>
    <br>
    <div id='cont-col'><div id='custom'><div class='block block-block' id='block-block-17'><div class='block-top'>

    <div class='content'>
    <ul class='tabs-cont'>
    <li class='active'><a href='#tab1'>آخرين ارسال هاي تالار گفتمان</a></li>
    <li class=''><a href='#tab2'>Top10</a></li>
    
    <li class=''><a href='#tab4'>عضويت سريع</a></li>
    
    
    </ul>
    <div class='tab_container'>
    <div style='display: block;' id='tab1' class='tab_content' align='right'>
    <script type=\"text/javascript\" language=\"javascript\" src=\"includes/MTForum.js\"></script><script type=\"text/javascript\" language=\"javascript\">
setInterval(function(){ChangeForumPage('Current');}, 5 * 1000);</script><div id=\"MTForumBlock\">
</div>
<div id=\"MTForumBlockControl\" align=\"center\">
<table cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td class=\"MTForumButton1\"><a href=\"javascript:ChangeForumPage('Prev')\"><img border=\"0\" src=\"themes/KEYVANDESIGNER-Musician/images/MTForumBlock/MTForumBlock_buttonParrow.png\" />&nbsp;قبل</a></td>
<td id=\"MTFloader\"></td>
<td class=\"MTForumButton2\"><a href=\"javascript:ChangeForumPage('Next')\">بعد&nbsp;<img border=\"0\" src=\"themes/KEYVANDESIGNER-Musician/images/MTForumBlock/MTForumBlock_buttonNarrow.png\" /></a></td>

</tr>
</table>
</div>


    </div>
    <div style='display: none;' id='tab2' class='tab_content'>
    <img src='themes/KEYVANDESIGNER-Musician/images/box-office-parsaction.png' width='940'>
    </div>
    
    <div style='display: none;' id='tab4' class='tab_content'>
    <table width=949 height=422 border=0 background='themes/KEYVANDESIGNER-Musician/images/bg-reg.jpg' cellpadding=0 cellspacing=0>
    <tr>
    <td width=420 align=right valign=top>
    <form action = 'modules.php?name=Your_Account' method = 'post'>
    <table dir='rtl' border='0' class='table-reg' width='256' cellspacing='0' cellpadding='0'>
    <tr class='filed-main'>
    <td align='right' dir='rtl' width='100'><div class='text-reg'>شناسه&nbsp;:&nbsp;</div></td>
    <td align='center' dir='rtl' width='150'><input class='reg-input' type = 'text' name='ya_username' size='13'></td>
    </tr>
    <tr class='filed-main'>
    <td align='right' dir='rtl' width='100'><div class='text-reg'>نام اصلي&nbsp;:&nbsp;</div></td>
    <td align='center' dir='rtl' width='150'><input class='reg-input' type = 'text' name='ya_realname' size='13'></td>
    </tr>
    <tr class='filed-main'>
    <td align='right' dir='rtl' width='100'><div class='text-reg'>ايميل&nbsp;:&nbsp;</div></td>
    <td align='center' dir='rtl' width='150'><input class='reg-input' type = 'text' name='ya_user_email' size='13'></td>
    </tr>
    <tr class='filed-main'>
    <td align='right' dir='rtl' width='100'><div class='text-reg'>تايپ مجدد&nbsp;:&nbsp;</div></td>
    <td align='center' dir='rtl' width='150'><input class='reg-input' type = 'text' name='ya_user_email2' size='13'></td>
    </tr>
    <tr class='filed-main'>
    <td align='right' dir='rtl' width='100'><div class='text-reg'>گذرواژه&nbsp;:&nbsp;</div></td>
    <td align='center' dir='rtl' width='150'><input class='reg-input' type = 'password' name='user_password' size='13'></td>
    </tr>	
    <tr class='filed-main'>
    <td align='right' dir='rtl' width='100'><div class='text-reg'>تايپ مجدد&nbsp;:&nbsp;</div></td>
    <td align='center' dir='rtl' width='150'><input class='reg-input' type = 'password' name='user_password2' size='13'></td>
    </tr>
    <tr>
    <td>
    <br>
    <input type='hidden' name='op' value='new_confirm'> 
    <input type='hidden' name='user_allow_viewonline' value='1'>
    <input type='submit' class='sabte-name2' value='ثبت نام'>
    </td>
    <td>
    <br>
    <input type='reset' class='reset-reg' value='پاک کردن همه فیلد ها'>
    </td>
    </tr>
    </table>
    </form>
    <br>
    <div style='color: #CAA540; font-weight: bold; margin-right: 10px;'>
* پر کردن همه ی فیلــــــــــــد ها برای ثبت نـــــــــام در سایت ضــــــــروری است

<br><br>
* دقت کنید برای نام کابری از کــــــــــــاراکترها و حروف فارســی استفاده ننمائید

<br><br>
* حداقل کـــــــــــاراکترهای مــــــــورد استفاده برای رمز عبور 4 کاراکتر می باشد

<br><br>
* از اسامی خلاف شئونات اسلامی و ادب در نام اصلی و  کاربری استفاده ننمائید

<br><br>
* برای پست الکترونیک حتما از یک آدرس معتبر و صحیح استفاده کنید

<br><br>
* در فیلد هـــــــای تکرار دقت کنید عینا عبارت های مذکور را وارد کنید

</div>
    </td>
    <td width=420>

    </td>
    <tr>
    </table>
    </div>
    
    <div style='display: none;' id='tab3' class='tab_content' align='right'>
    
    <div class='rand-news'>&nbsp;&nbsp;&nbsp;
    
    
";
$result = $db->sql_query("SELECT * FROM ".$prefix."_comments ORDER BY tid DESC LIMIT 12");
while ($row = $db->sql_fetchrow($result)) {
$tid = filter($row['tid'], "nohtml");
$sid = filter($row['sid'], "nohtml");
$name = filter($row['name'], "nohtml");
$subject = filter($row['subject'], "nohtml");
$comment = filter($row['comment'], "nohtml");
echo"
<div class='rand-news'>
<strong><a href='modules.php?name=Your_Account&op=userinfo&username=$name'>$name</a>: </strong><span title='عنوان نظر : $subject'>$comment</span><br />

    </div>

";
$result2 = $db->sql_query("SELECT * FROM " . $prefix ."_stories WHERE sid='$sid' ORDER BY sid");
while ($row2 = $db->sql_fetchrow($result2)) {
$title = filter($row2['title'], "nohtml"); 
$sid = filter($row2['sid']);


}
}
echo"
    
    </div>
    
    
    </div>
    </div></div></div></div></div></div></div>
    
    
    

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

<br>






<table width=990 border=0 background=themes/KEYVANDESIGNER-Musician/images/bg1.gif class=index2 align=center>
  <tr>
    <td align=center>


<a href=# title=توضيحات target=_blank>
<img src=themes/KEYVANDESIGNER-Musician/images/banner.gif width=468 height=60>
</a>


<a href=# title=توضيحات target=_blank>
<img src=themes/KEYVANDESIGNER-Musician/images/banner.gif width=468 height=60>
</a>

&nbsp;</td>
  </tr>
</table>




<br>


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

    
    
    <table cellspacing=\"0\" cellpadding=\"0\" class=index>
    
    
    <tr>
    <td>
    <div align=\"center\">
    <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" dir=\"rtl\">
    <tr>
    <td    >
    
    <!-- -->
    
    
    </td>
    </tr>
    <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,$prefix, $multilingual, $currentlang, $db;
  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>


  </table>
  </div>  </td>
  </tr>
  </table>
  
  
  <table width=990 border=0 cellpadding=0 cellspacing=0 class=bg2 align=\"center\" height=220>
  <tr>
    <td width=258 class=foot-txt2 align=\"center\"  height=22>
    
    
<img src=themes/KEYVANDESIGNER-Musician/images/khat.gif style='margin:9px;'>
    
    </td>
    <td width=258 align=\"center\"  class=foot-txt2   height=22>

<img src=themes/KEYVANDESIGNER-Musician/images/khat3.gif style='margin:9px;'>
    </td>
    <td width=258 align=\"center\"  class=foot-txt2   height=22>


<img src=themes/KEYVANDESIGNER-Musician/images/khat2.gif style='margin:9px;'>
    </td>
  </tr>
  <tr>
    <td width=258  style='padding-right:45px'>
    

    ";
    
$result = $db->sql_query("SELECT sid, title, comments, counter FROM " . $prefix . "_stories $querylang ORDER BY sid DESC LIMIT 0,5");
while ($row = $db->sql_fetchrow($result)) {
    $sid = intval($row['sid']);
    $title = filter($row['title'], "nohtml");
    $comtotal = intval($row['comments']);
    $counter = intval($row['counter']);
    echo"<div class=foot-txt3 align=right>    <img src=themes/KEYVANDESIGNER-Musician/images/list_b.png>	<a href=\"article-$sid--0-0.html\">$title</a>  </div>";
}
echo"
    
    
    </td>
    <td width=258  style='padding-right:45px'>
    
    
    
    ";
    $result = $db->sql_query("SELECT sid, title, comments, counter FROM " . $prefix . "_stories  ORDER BY counter DESC LIMIT 0,7");

    while ($row = $db->sql_fetchrow($result)) {

    $sid = intval($row['sid']);

    $title = filter($row['title'], "nohtml");
    
    echo"<div class=foot-txt3 align=right>    <img src=themes/KEYVANDESIGNER-Musician/images/list_b.png>	<a href=\"article-$sid--0-0.html\">$title</a>  </div>";
}

echo"
    
    </td>
    <td width=258 style='padding-right:45px'>
    
    
    ";
    $result = $db->sql_query("SELECT sid, title, comments, counter FROM " . $prefix . "_stories  ORDER BY comments DESC LIMIT 0,7");
    while ($row = $db->sql_fetchrow($result)) {
    $sid = intval($row['sid']);
    $title = filter($row['title'], "nohtml");
    echo"<div class=foot-txt3 align=right>    <img src=themes/KEYVANDESIGNER-Musician/images/list_b.png> <a href=\"article-$sid--0-0.html\"> $title</a> </div>";
}
echo"
    
    
    </td>
  </tr>
</table>
<br />

  <div align=center STYLE='width:975px; margin:9px;' class=foot-txt>Theme Designed By: <a href=ymsgr:sendim?msm.sadegh  target=_blank > sadegh mohaghegh</a> || PowerBy: <a href=http://www.onlymsm.ir  target=_blank >PhpNuke</a> Farsi [V 8.3] </div>

  </div>";
}

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 $anonymous, $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 (file_exists("themes/$ThemeSel/images/articles/stars-".$rated.".gif")) {
    $scoreimage = "themes/$ThemeSel/images/articles/stars-".$rated.".gif";
  }else{
    $scoreimage = "images/articles/stars-".$score.".gif";
  }
  if($comments==0){
    $comments = "نظر دهيد!";
  }else{
    $comments = "$comments نظر";
  }
  $newsLink = newslink($sid);
  if($newsLink==""){
    $more = "<span class=\"statnews\" style=\"cursor:default;\">ادامه </span><img border=\"0\" src=\"themes/MashhadTeam-lightblue/images/more.gif\" width=\"9\" height=\"7\">";
  }else{
    $more = "<a href=\"$newsLink\"><span class=\"statnews\" title=\"اين مطلب $counter بار بازديد شده\">ادامه</span> <img border=\"0\" src=\"themes/MashhadTeam-lightblue/images/more.gif\" alt=\"اين مطلب $counter بار بازديد شده \" width=\"9\" height=\"7\"></a>";
  }
  
  $rating_code = rating_load2($sid);

  echo"
  
  
  <table border='0' width='100%' cellspacing='0' cellpadding='0' bgcolor='#ffffff' >
<tr>
<td background='themes/KEYVANDESIGNER-Musician/images/post.png' height='35'  style='border-right: 1px solid #dbdbdb;border-left: 1px solid #dbdbdb;'><table border='0' width='100%' cellspacing='0' cellpadding='4'>
  <tr>
    <td width='1'></td>
    <td><table border='0' width='100%' cellspacing='0' cellpadding='0'>
	 <tr>
	   <td   class='p_box'><span>
	   
	   
	    <a  href=\"$newsLink\">
	   $title
	   </a>
	   
	   </span></td>
	 </tr>
    </table></td>
  </tr>
</table></td>
</tr>
<tr>
<td   style='border-right: 1px solid #dbdbdb;border-left: 1px solid #dbdbdb;'><table width=173 height=18 border=0 cellpadding=0 cellspacing=0 background=themes/KEYVANDESIGNER-Musician/images/post1.gif style='margin-right:5px'>
  <tr>
    <td align=center   class='p_box2'>   موضوع: $topictext  </td>
  </tr>
</table></td>
</tr>
<tr>
  <td   style='border-right: 1px solid #dbdbdb;border-left: 1px solid #dbdbdb;'><table border='0' width='100%'>
    <tr>
	 <td style='padding:11px;' class=post>
	 
	 
	 $hometext
	 
	 
	 
	 </td>
    </tr>



  </table></td>
</tr>
<tr>
  <td   style='border-right: 1px solid #dbdbdb;border-left: 1px solid #dbdbdb;' align=center>
  
  <table width=568 border=0 cellpadding=0 cellspacing=0 align=center>
    <tr>
	 <td width=429  style='background:url(themes/KEYVANDESIGNER-Musician/images/bg_post_p.gif) no-repeat'>
	 
	 
	 <table width=410 border=0 cellpadding=0 cellspacing=0 align=center>
  <tr>
    <td align=right class=post-txt  width=131>

    $rating_code
</td>
    <td align=right class=post-txt width=131>

    <img src=themes/KEYVANDESIGNER-Musician/images/nevis.gif> نويسنده: $aid

</td>
    <td align=right class=post-txt  width=131>

    <img src=themes/KEYVANDESIGNER-Musician/images/visit.gif> بازديد: $counter

</td>
    <td align=right class=post-txt  width=111>

    <img src=themes/KEYVANDESIGNER-Musician/images/comment.gif>  

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

	 
	 
	 
	 
	 </td>
	 
	 <td width=4>&nbsp;</td>
	 
	 <td width=44>
	 
	 <a  href=\"$newsLink\">
	 <img class=more src=themes/KEYVANDESIGNER-Musician/images/more.gif width=135 >
	 
	   </a>
	   
	 </td>
    </tr>
  </table><br>

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

\n";
}

function themearticle($aid, $informant, $datetime, $title, $bodytext, $hometext, $topic, $topicname, $topicimage, $topictext, $printpage){
  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 != ""){
    $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";
  }

  $rating_code = rating_load($sid);
  echo"
  
  
  
  
  
    
  
  <table border='0' width='100%' cellspacing='0' cellpadding='0' bgcolor='#ffffff' >
<tr>
<td background='themes/KEYVANDESIGNER-Musician/images/post.png' height='35'  style='border-right: 1px solid #dbdbdb;border-left: 1px solid #dbdbdb;'><table border='0' width='100%' cellspacing='0' cellpadding='4'>
  <tr>
    <td width='1'></td>
    <td><table border='0' width='100%' cellspacing='0' cellpadding='0'>
	 <tr>
	   <td   class='p_box'><span>
	   
	   
	    <a  href=\"index.php\">
	   $title
	   </a>
	   
	   </span></td>
	 </tr>
    </table></td>
  </tr>
</table></td>
</tr>
<tr>
<td   style='border-right: 1px solid #dbdbdb;border-left: 1px solid #dbdbdb;'><table width=173 height=18 border=0 cellpadding=0 cellspacing=0 background=themes/KEYVANDESIGNER-Musician/images/post1.gif style='margin-right:5px'>
  <tr>
    <td align=center   class='p_box2'>   موضوع: $topictext  </td>
  </tr>
</table></td>
</tr>
<tr>
  <td   style='border-right: 1px solid #dbdbdb;border-left: 1px solid #dbdbdb;'><table border='0' width='100%'>
    <tr>
	 <td style='padding:11px;' class=post>
	 
	 
	 $bodytext
	 
	 
	 
	 </td>
    </tr>

  </table></td>
</tr>
<tr>
  <td   style='border-right: 1px solid #dbdbdb;border-left: 1px solid #dbdbdb;' align=center>
  
  <table width=568 border=0 cellpadding=0 cellspacing=0 align=center>
    <tr>
	 <td width=429  style='background:url(themes/KEYVANDESIGNER-Musician/images/bg_post_p.gif) no-repeat'>
	 
	 
	 <table width=410 border=0 cellpadding=0 cellspacing=0 align=center>
  <tr>
    <td align=right class=post-txt  width=131>
    $rating_code
</td>
    <td align=right class=post-txt width=131>

    <img src=themes/KEYVANDESIGNER-Musician/images/nevis.gif> نويسنده: $aid

</td>
    <td align=right class=post-txt  width=231>

    <img src=themes/KEYVANDESIGNER-Musician/images/visit.gif> تاريخ: $datetime

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

	 
	 
	 
	 
	 </td>
	 
	 <td width=4>&nbsp;</td>
	 
	 <td width=44>
	 
	 <a  href=\"$newsLink\">
	 <img class=more src=themes/KEYVANDESIGNER-Musician/images/more.gif width=135 >
	 
	   </a>
	   
	 </td>
    </tr>
  </table><br>

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

  <br>
<div class='Table'>
<div class='Contents'>
<center>
<table border='0' cellpadding='0' width='385' align=center><tr><td>
<div class='sharelink'> 
<a href='http://www.facebook.com/share.php?u=http://tanbaco.com/web/article-$sid--0-0.html\' target='_blank'><div class='face'></div></a>
<a href='http://balatarin.com/links/submit?phase=2&url=http://tanbaco.com/web/modules.php?name=News&file=article&sid=$sid' target='_blank'><div class='bala'></div></a>
<a href='http://friendfeed.com/?url=http://tanbaco.com/web/modules.php?name=News&file=article&sid=$sid'&title='Whatever this link is about' target='_blank'><div class='ff'></div></a>
<a href='http://twitter.com/home?status=http://tanbaco.com/web/modules.php?name=News&file=article&sid=$sid' target='_blank'><div class='dg'></div></a>
<a href='http://www.cloob.com/share/link/add?url=http://tanbaco.com/web/modules.php?name=News&file=article&sid=$sid' target='_blank'><div class='tu'></div></a>
<a href='http://www.google.com/bookmarks/mark?op=edit&bkmk=http://tanbaco.com/web/modules.php?name=News&file=article&sid=$sid' target='_blank'><div class='ad'></div></a>
<a href='http://www.google.com/bookmarks/mark?op=edit&bkmk=http://tanbaco.com/web/modules.php?name=News&file=article&sid=$sid' target='_blank'><div class='da'></div></a>
</div></td></tr></table></center>
</div>
</div>
  
  
";
}

function themesidebox($title, $content, $themeview=1){
    if($themeview == 0)
    {
	   $CBSB_Class = "CBSBPlus";
	   $Display_Content = " display:none;";
    }else
    {
	   $CBSB_Class = "CBSBMin";
	   $Display_Content = "";
    }
    echo"<table border=\"0\" width=\"182\" cellspacing=\"0\" cellpadding=\"0\"  bgcolor=\"#ffffff\" >
<tr>
<td background=\"themes/KEYVANDESIGNER-Musician/images/blk_sd.gif\" height=\"49\">
<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">
<tr>
<td width=\"35\">
</td>
<td>
<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td  class=\"TableTitle\"><span class=\"TableTitle\">$title</span></td>
<td width=\"10\"><img class=\"CBSB $CBSB_Class\" border=\"0\" onclick=\"BlockStatChange(this,'$title')\" src=\"themes/KEYVANDESIGNER-Musician/images/7px.gif\" width=\"9\" height=\"9\"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id=\"$title\" style=\"border-bottom: 1px solid #dbdbdb;border-right: 1px solid #dbdbdb;border-left: 1px solid #dbdbdb;$Display_Content\">
<table border=\"0\" width=\"100%\">
<tr>
<td>$content</td>
</tr>
</table>
</td>
</tr>
</table>
<br>\n";
}

function themecenterbox($title, $content, $themeview=1){
	 if($themeview == 0)
    {
	   $CBSB_Class = "CBSBPlus";
	   $Display_Content = " display:none;";
    }else
    {
	   $CBSB_Class = "CBSBMin";
	   $Display_Content = "";
    }
    echo"<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#ffffff\" >
<tr>
<td background=\"themes/KEYVANDESIGNER-Musician/images/c_box.gif\" height=\"35\"  style=\"border-right: 1px solid #dbdbdb;border-left: 1px solid #dbdbdb;\">
<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">
<tr>
<td width=\"15\">

</td>
<td>
<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=center  class=\"C_box\"><span>$title</span></td>
<td width=\"10\"><img class=\"CBSB $CBSB_Class\" border=\"0\" onclick=\"BlockStatChange(this,'$title')\" src=\"themes/KEYVANDESIGNER-Musician/images/7px.gif\" width=\"9\" height=\"9\"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id=\"$title\" style=\"border-right: 1px solid #dbdbdb;border-left: 1px solid #dbdbdb;$Display_Content\">
<table border=\"0\" width=\"100%\">
<tr>
<td>$content</td>
</tr>
</table>
</td>
</tr>
</table>
\n";
}
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."";
    }
    echo " Your Block Code";
}


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;
    }
echo " Your Block Code";
}


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> ";
    }
echo " Your Block Code";
}


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

    echo " Your Block Code";
}


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>";
    }
echo " Your Block Code";
}

?>


سامانه مجازی ارسال پیامک و امکانات نوین در مدیریت محتوای دیتالایف
www.koomeshsms.com
::::::::::::::::::::::::MSM::::::::::::::::::::::
نمایه کاربر
msm91
کاربر جدید
کاربر جدید
پست: 71
تاریخ عضویت: شنبه 26 تیر 1389, 12:00 am
محل اقامت: semnan
تشکر کرده: 6 دفعه
تشکر شده: 4 دفعه
تماس:

Re: گذاشتن بلوک برچسب ها در زیر هر مطلب

پست توسط msm91 » دو شنبه 15 اسفند 1390, 3:46 pm

یه جوابی هم بدید به ما
چه استقبال گرمی .....
سامانه مجازی ارسال پیامک و امکانات نوین در مدیریت محتوای دیتالایف
www.koomeshsms.com
::::::::::::::::::::::::MSM::::::::::::::::::::::
نمایه کاربر
reza61
کاربر خیلی فعال
پست: 2804
تاریخ عضویت: چهار شنبه 3 شهریور 1389, 12:00 am
محل اقامت: تبــــریـــــز
تشکر کرده: 427 دفعه
تشکر شده: 1596 دفعه
تماس:

Re: گذاشتن بلوک برچسب ها در زیر هر مطلب

پست توسط reza61 » دو شنبه 15 اسفند 1390, 5:03 pm

msm91 نوشته شده:یه جوابی هم بدید به ما
چه استقبال گرمی .....

جهت بالا آوردن تایپیک نیازی به فرستادن اسپم نیست میتونین بوسیله دکمه ارسال به بالا این کار رو انجام بدین

_ آموزش بالا آوردن تاپیک در بلوک تالارگفتمان بدون ارسال اسپم

شما الان میخوای واسه ادامه مطلب کلمات کلیدی داشته باشین ؟

یا فقط میخواین یه بلوک برچسب ها رو در ادامه مطلب داشته باشین ؟
نمایه کاربر
msm91
کاربر جدید
کاربر جدید
پست: 71
تاریخ عضویت: شنبه 26 تیر 1389, 12:00 am
محل اقامت: semnan
تشکر کرده: 6 دفعه
تشکر شده: 4 دفعه
تماس:

Re: گذاشتن بلوک برچسب ها در زیر هر مطلب

پست توسط msm91 » دو شنبه 15 اسفند 1390, 5:08 pm

میخوام یه بلوک برچسب ها رو در ادامه مطلب داشته باشم
سامانه مجازی ارسال پیامک و امکانات نوین در مدیریت محتوای دیتالایف
www.koomeshsms.com
::::::::::::::::::::::::MSM::::::::::::::::::::::
نمایه کاربر
reza61
کاربر خیلی فعال
پست: 2804
تاریخ عضویت: چهار شنبه 3 شهریور 1389, 12:00 am
محل اقامت: تبــــریـــــز
تشکر کرده: 427 دفعه
تشکر شده: 1596 دفعه
تماس:

Re: گذاشتن بلوک برچسب ها در زیر هر مطلب

پست توسط reza61 » دو شنبه 15 اسفند 1390, 5:13 pm

از این لینک استفاده کنین

forum-f18/topic-t7798.html
نمایه کاربر
msm91
کاربر جدید
کاربر جدید
پست: 71
تاریخ عضویت: شنبه 26 تیر 1389, 12:00 am
محل اقامت: semnan
تشکر کرده: 6 دفعه
تشکر شده: 4 دفعه
تماس:

Re: گذاشتن بلوک برچسب ها در زیر هر مطلب

پست توسط msm91 » دو شنبه 15 اسفند 1390, 5:49 pm

کامل نبود میشه مبتدی تر توضیح بدید .انجام دادم اون تاپیک رو ولی بعدش ادامه مطلبم نیومد .باز برگردوندمش
سامانه مجازی ارسال پیامک و امکانات نوین در مدیریت محتوای دیتالایف
www.koomeshsms.com
::::::::::::::::::::::::MSM::::::::::::::::::::::
موضوع جدید ارسال پست

بازگشت به “بلوک ها - phpNuke Blocks”