smarty- assign t_id topeg t_id smarty- assign t_title stripslashes top

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
$smarty->assign("t_id", $topeg[0]['t_id']);
$smarty->assign("t_title", stripslashes($topeg[0]['t_title']));
$smarty->assign("t_ico", "<img align=absmiddle src='/templates/images/forums/ico/".$topeg[0]['t_ico'].".gif' border=0>");
if(in_array($my_id,$forum_admin))
{
$smarty->assign("admin_mode", "on");
}
else
{
$smarty->assign("admin_mode", "off");
}