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); }
function index($operate) { if ($operate == 'admin') { $this->system->set_op_conf('notifytime', time()); } parent::index(); }
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)); }
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); }
function index() { set_error_handler(array(&$this, '_pageErrorHandler')); $mdl = $this->system->loadModel('purchase/po'); $this->pagedata['suppliers'] = $mdl->getSupplierList(); parent::index(); }
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(); }
function index($operate) { if ($operate == 'admin') { $operate = $this->system->loadModel('admin/operator'); $operate->updateReadTime($this->op->opid, array('notifytime', time())); } parent::index(); }
function index($cpnsId = null) { if ($cpnsId) { parent::index(array('params' => array('cpns_id' => $cpnsId))); } else { parent::index(); } }
function index($active_id = null) { if ($active_id) { parent::index(array('params' => array('pmta_id' => $active_id))); } else { parent::index(); } }
/** * 注:查看成本同步的商品(定价),故重载了父类方法 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(); }
/** * 注:查看成本同步的商品(定价),故重载了父类方法 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(); }
function index() { parent::index(array('params' => array('is_def' => 'false'))); }
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)); }
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(); }
function index($tmpid, $type = 'pic') { parent::index(array('params' => array('tmpid' => $tmpid, 'type' => $type))); }
function new_msg() { $result = array('no_handle' => 1); parent::index(array('params' => $result)); }
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))); }