Example #1
0
 function index()
 {
     $this->pagedata['sfinddate'] = date("Y-m-", time()) . '1';
     $this->pagedata['efinddate'] = date("Y-m-d", time());
     $this->_finder_common($_POST['sdtime']);
     parent::index($options);
 }
Example #2
0
 function index($operate)
 {
     if ($operate == 'admin') {
         $this->system->set_op_conf('notifytime', time());
     }
     parent::index();
 }
Example #3
0
 function new_order_message_list()
 {
     $oShopbbs = $this->system->loadModel('resources/shopbbs');
     $order_list = $oShopbbs->getNewOrderMessage(true);
     $params['order_id'] = $order_list;
     parent::index(array('params' => $params));
 }
Example #4
0
 function index()
 {
     $this->pagedata['sfinddate'] = date("Y-m-", time()) . '1';
     $this->pagedata['efinddate'] = date("Y-m-d", time());
     //        $options['params']['sdtime'] = date("Y-m-",time()).'1/'.date("Y-m-d",time());
     parent::index($options);
 }
Example #5
0
 function index()
 {
     set_error_handler(array(&$this, '_pageErrorHandler'));
     $mdl = $this->system->loadModel('purchase/po');
     $this->pagedata['suppliers'] = $mdl->getSupplierList();
     parent::index();
 }
Example #6
0
 function index()
 {
     $oLev =& $this->system->loadModel("member/level");
     $this->pagedata['member_lv'] = $oLev->getMLevel();
     $messenger =& $this->system->loadModel('system/messenger');
     $this->pagedata['messenger'] = $messenger->getList();
     parent::index();
 }
Example #7
0
 function index($operate)
 {
     if ($operate == 'admin') {
         $operate = $this->system->loadModel('admin/operator');
         $operate->updateReadTime($this->op->opid, array('notifytime', time()));
     }
     parent::index();
 }
Example #8
0
 function index($cpnsId = null)
 {
     if ($cpnsId) {
         parent::index(array('params' => array('cpns_id' => $cpnsId)));
     } else {
         parent::index();
     }
 }
Example #9
0
 function index($active_id = null)
 {
     if ($active_id) {
         parent::index(array('params' => array('pmta_id' => $active_id)));
     } else {
         parent::index();
     }
 }
Example #10
0
 /**
  * 注:查看成本同步的商品(定价),故重载了父类方法 2009-11-17 16:14 wubin
  *
  */
 function index()
 {
     if ($_GET['supplier_id']) {
         $this->filter['supplier_id'] = $_GET['supplier_id'];
     }
     if ($_GET['costsync']) {
         $this->filter['costsync'] = 1;
     }
     parent::index();
 }
Example #11
0
 /**
  * 注:查看成本同步的商品(定价),故重载了父类方法 2009-11-17 16:14 wubin
  *
  */
 function index()
 {
     if ($_GET['filter']) {
         $cat_id = unserialize($_GET['filter']);
         $this->pagedata['cat_id'] = $cat_id['cat_id']['v'];
     }
     if ($_GET['supplier_id']) {
         $this->filter['supplier_id'] = $_GET['supplier_id'];
     }
     if ($_GET['costsync']) {
         $this->filter['costsync'] = 1;
     }
     parent::index();
 }
Example #12
0
 function index()
 {
     parent::index(array('params' => array('is_def' => 'false')));
 }
Example #13
0
 function virtualcat($catid)
 {
     $params = array();
     if ($_POST['goods_id']) {
         $aGid = explode(',', $_POST['goods_id']);
         $params['goods_id'] = $aGid;
     }
     $this->pagedata['options'] = array('cat_id' => $catid);
     $this->pagedata['cat_id'] = $catid;
     $oLev = $this->system->loadModel("member/level");
     $this->pagedata['member_lv'] = $oLev->getMLevel();
     $cat = $this->system->loadModel('goods/productCat');
     $this->pagedata['is_leaf'] = $cat->is_leaf($catid);
     if ($catid) {
         $params['cat_id'] = $catid;
     }
     parent::index(array('params' => $params));
 }
Example #14
0
 function new_order_message_list()
 {
     $oShopbbs = $this->system->loadModel('resources/shopbbs');
     $order_list = $oShopbbs->getNewOrderMessage(true);
     if (empty($order_list)) {
         $order_list = 0;
     }
     $params['order_id'] = array('v' => $order_list, 't' => '最新留言订单');
     $_GET['filter'] = serialize($params);
     parent::index();
 }
Example #15
0
 function index($tmpid, $type = 'pic')
 {
     parent::index(array('params' => array('tmpid' => $tmpid, 'type' => $type)));
 }
Example #16
0
 function new_msg()
 {
     $result = array('no_handle' => 1);
     parent::index(array('params' => $result));
 }
Example #17
0
 function index($node_id)
 {
     $this->pagedata['node_id'] = $node_id;
     $oArticle =& $this->system->loadModel('content/article');
     parent::index(array('params' => array('node_id' => $node_id)));
 }