所有商品掌柜家内<?if (count($StationList)!=0){foreach ($StationList as $Station) {?><?echo $Station->Title?>}}?>
function StationChange(stationvalue)
{
if(stationvalue!=100000000)
{
ajaxlink('ListInforPic.php?Txt=1&biaozhi=4&stationid='+stationvalue,'InforPic');
}
else
{
ajaxlink('ListInforPic.php?Txt=1&biaozhi=1','InforPic');
}
}
第二页:'ListInforPic.php
if($_GET['Txt'] =='1')
{
$Page->Pager = 10;
try {
if($_GET['biaozhi'] =='1')//按时间排序
{
$Infor->Pic ='1';
$InforList = $BLL_Trade->PageScanInfor($Infor,$Page);
}
if($_GET['biaozhi'] =='2')//金钱升序
{
$Infor->Pic ='2';
$InforList = $BLL_Trade->PageScanInfor($Infor,$Page);
}
if($_GET['biaozhi'] =='3')//金钱降序
{
$Infor->Pic ='3';
$InforList = $BLL_Trade->PageScanInfor($Infor,$Page);
}
if($_GET['biaozhi'] =='4'&&$_GET['stationid'] !='' )//按店面查询
{
$Infor->Station->ID =$_GET['stationid'];
$InforList = $BLL_Trade->PageScanInfor($Infor,$Page);
}
}
catch (Exception $Err){
echo $Err->getMessage() ;
}
if(count($InforList) != 0){
$BLL_Member = $Factory->FactoryMember();
$BLL_Goods = $Factory->FactoryGoods();
foreach ($InforList as $Infor){
$Member = new Member();
$Member->ID = $Infor->Member->ID;
$Member = $BLL_Member->GetMember($Member);
$Station = new Station();
$Station->ID = $Infor->Station->ID;
try {
if($Station->ID !='0')
{
$Station = $BLL_Goods->GetStation($Station);
}
else
{
$Station->Title = "掌柜家内";
}
}
catch (Exception $Err)
{
echo $Err->getMessage();
}
?>
租金<?echo $Infor->Hire?>元/天
押金<?echo $Infor->Deposit?>元
现位置<?echo $Station->Title?>
}
}?>
<?echo $Page->Page+1?>页/<?echo $Page->MaxPage+1?>页
if ($Page->Page==0)
{
echo '首页';
}
else
{?>
首页
}
?>
<?if ($Page->Page>0) {?>
上一页
}
else {
echo '上一页';
}
?>
<?if ($Page->PageMaxPage) {?>
下一页
}
else {
echo '下一页';
}
?>
if ($Page->Page==$Page->MaxPage)
{
echo '尾页';
}
else
{?>
尾页
}
?>
共<?echo $Page->Sum?>条记录