30          تير                1396
'news/detail','nid'=>$newss[$i]['news_ID'])); if (empty($newss[$i]['titr'])) unset($newss[$i]); } $smarty->assign("news",$newss); $news=smartydefine("select * from news where type='news' order by news_ID desc limit 100",0,array(),"news/detail"); $smarty->assign("news",$news); $reportt=smartydefine("select report_ID,firstname,city from report join operator on (report.operator_ID=operator.operator_ID) where active='yes' order by report_ID desc limit $reportdetailnum"); $nums1=count($reportt); for ($i=0; $i<$nums1; $i++) {$reportt[$i]['reporturl']=msbox(array('usr'=>'popup/report.php','rid'=>$reportt[$i]['report_ID'])); if (empty($reportt[$i]['city'])) unset($reportt[$i]); } $smarty->assign("report",$reportt); //$bb=smartydefine("select name,body from comment where news_ID=$nid and active='yes'"); //$smarty->assign('comment',$bb); $smarty->display('arshivenews.tpl'); ?>
Powerd By: SAM آخرين بروزرساني: 1395/08/11
تعداد بازديد كننده: 375629