GetOne($sql); if(is_array($row)) $siteurl = $row['siteurl']; $sql = "SELECT fb.*,mb.userid,mb.face as mface,mb.spacesta,mb.scores FROM `#@__feedback` fb LEFT JOIN `#@__member` mb ON mb.mid = fb.mid WHERE fb.aid=$id and fb.ischeck='1' ORDER BY fb.id DESC "; $dlist = new DataListCP(); $dlist->pageSize = 6; $dlist->SetParameter('id', $id); $dlist->SetTemplet(DEDETEMPLATE.'/plus/comments_frame.htm'); $dlist->SetSource($sql); $dlist->display();