{php} include_once(Core.'/class/pages_ajax_class_phpapp.php'); $did=intval($this->GET['did']); $order='ORDER BY cid DESC'; $ajaxpage=new AjaxPages(5,$this->GET['page'],$did,$this->GET['sqlorder'],$this->GET['iforder'],'AjaxComment',"SELECT a.*,b.username FROM ".$this->GetTable('task_draft_comment')." AS a LEFT JOIN ".$this->GetTable('member')." AS b ON a.uid=b.uid WHERE a.did='$did' $order"); $list=$ajaxpage->ShowResult(); $total=$ajaxpage->GetTotal(); {/php} {if !empty($list)}
交流 ({echo $total})
{for $list $value}
{echo $value['username']} {echo $this->Date("Y/m/d H:i:s",$value['dateline'])}