function index() { if (!$this->system->getConf("app.tb_order_ctl.nick")) { $this->display("view/set_nick.html"); } else { if ($_GET['top_appkey']) { $this->save_sess($_GET); } if ($_GET['nick']) { echo "<script>window.location.href='" . $this->system->base_url() . "shopadmin/index.php#ctl=plugins/order_ctl&act=index&redirect=1'</script>"; exit; } $this->template_dir = CORE_DIR . '/admin/view/'; $this->order_sync_yb(); parent::index(); } }
function index($order_id, $selecttype = false) { $this->pagedata['_MAIN_'] = CORE_DIR . '/shop/view/order/index.html'; parent::index($order_id, $selecttype); }