getStoreById($storeid); $GLOBALS['frames'] = $this->getNaveMenu($storeid, $action); //$GLOBALS['frames'] = $this->getMainMenu2(); if(checksubmit('submit')){ $op=$_GPC['keywords']; $where="%$op%"; }else{ $where='%%'; } if(!$_GPC['page']){ $_GPC['page']=1; } //echo $_GPC['page'];die; $pageindex = max(1, intval($_GPC['page'])); $pagesize=10; $sql="select * from " . tablename("wpdc_user") ." WHERE name LIKE :name and uniacid=:uniacid"; $select_sql =$sql." LIMIT " .($pageindex - 1) * $pagesize.",".$pagesize; $list = pdo_fetchall($select_sql,array(':uniacid'=>$_W['uniacid'],':name'=>$where)); $total=pdo_fetchcolumn("select count(*) from " . tablename("wpdc_user") ." WHERE name LIKE :name and uniacid=:uniacid",array(':uniacid'=>$_W['uniacid'],':name'=>$where)); $pager = pagination($total, $pageindex, $pagesize); for($i=0;$i