bookfeedback_js.php 677 B

1234567891011121314151617181920212223
  1. <?php
  2. require_once(dirname(__FILE__)."/../include/common.inc.php");
  3. require_once(DEDEINC."/datalistcp.class.php");
  4. if(isset($arcID))
  5. {
  6. $aid = $arcID;
  7. }
  8. $arcID = $aid = (isset($aid) && is_numeric($aid)) ? $aid : 0;
  9. if($aid==0)
  10. {
  11. exit(" Request Error! ");
  12. }
  13. $querystring = "select fb.*,mb.userid,mb.face as mface,mb.spacesta,mb.scores from `#@__bookfeedback` fb
  14. left join `#@__member` mb on mb.mid = fb.mid
  15. where fb.aid='$aid' and fb.ischeck='1' order by fb.id desc";
  16. $dlist = new DataListCP();
  17. $dlist->pageSize = 6;
  18. $dlist->SetTemplet(DEDETEMPLATE.'/plus/bookfeedback_templet_js.htm');
  19. $dlist->SetSource($querystring);
  20. $dlist->display();
  21. ?>