100) { $line=15; } else { $line=$showline; $search.='&showline='.$showline; } } $offset=$page*$line;//总偏移量 $and=''; if($_GET['sear']) { $keyboard=RepPostVar2($_GET['keyboard']); if($keyboard) { $show=RepPostStr($_GET['show'],1); if($show==1)//用户ID { $and.=" where userid='$keyboard'"; } elseif($show==2)//注册IP { $and.=" where regip like '%$keyboard%'"; } elseif($show==3)//最后登录IP { $and.=" where lastip like '%$keyboard%'"; } elseif($show==4)//空间名称 { $and.=" where spacename like '%$keyboard%'"; } elseif($show==5)//空间公告 { $and.=" where spacegg like '%$keyboard%'"; } elseif($show==6)//手机 { $and.=" where phone like '%$keyboard%'"; } elseif($show==7)//姓名 { $and.=" where truename like '%$keyboard%'"; } elseif($show==8)//公司名 { $and.=" where company like '%$keyboard%'"; } elseif($show==9)//联系地址 { $and.=" where address like '%$keyboard%'"; } $search.="&sear=1&keyboard=".urlencode($keyboard)."&show=$show"; } } $query="select * from {$dbtbpre}enewsmemberadd".$and; $totalquery="select count(*) as total from {$dbtbpre}enewsmemberadd".$and; $num=$empire->gettotal($totalquery);//取得总条数 $query=$query." order by userid desc limit $offset,$line"; $sql=$empire->query($query); $returnpage=page2($num,$line,$page_line,$start,$page,$search); $url="管理会员(详细)"; //----------内部组 $ingroup=''; $chingroup=''; $inmsql=$empire->query("select * from {$dbtbpre}enewsingroup order by myorder"); while($inm_r=$empire->fetch($inmsql)) { if($ingid==$inm_r['gid']) {$select=" selected";} else {$select="";} $ingroup.=""; $chingroup.=""; } ?>
位置: =$url?> |