|
@@ -88,7 +88,7 @@ class Warehouse extends Start_Controller {
|
|
|
$where .= " and title = '$title'";
|
|
$where .= " and title = '$title'";
|
|
|
}
|
|
}
|
|
|
//数据排序
|
|
//数据排序
|
|
|
- $order_str = "id asc";
|
|
|
|
|
|
|
+ $order_str = "px asc";
|
|
|
if(empty($page))
|
|
if(empty($page))
|
|
|
{
|
|
{
|
|
|
$start = 0;
|
|
$start = 0;
|
|
@@ -99,7 +99,7 @@ class Warehouse extends Start_Controller {
|
|
|
$start = ($page - 1)*$perpage;
|
|
$start = ($page - 1)*$perpage;
|
|
|
}
|
|
}
|
|
|
//取得信息列表
|
|
//取得信息列表
|
|
|
- $info_list = $this->warehouse->find_all($where,'id,title,show,zd,zdms,fpzd,wz,fpsx,express,bdcountry,yybm',$order_str,$start,$perpage);
|
|
|
|
|
|
|
+ $info_list = $this->warehouse->find_all($where,'id,title,show,zd,zdms,fpzd,wz,fpsx,express,bdcountry,px,yybm',$order_str,$start,$perpage);
|
|
|
foreach ($info_list as $key=>$value)
|
|
foreach ($info_list as $key=>$value)
|
|
|
{
|
|
{
|
|
|
if($value['show'] == 1)
|
|
if($value['show'] == 1)
|