Esempio n. 1
0
 public function view_property()
 {
     $state = isset($_GET['state']) ? post_check($_GET['state']) : '';
     $this->smarty->assign('state', $state);
     $OrderSettingAct = new OrderSettingAct();
     $property = $OrderSettingAct->act_getPropertyList("*", "where storeId=1");
     $this->smarty->assign('property', $property);
     $navlist = array(array('url' => '', 'title' => '系统设置'), array('url' => '', 'title' => '订单属性'));
     $this->smarty->assign('navlist', $navlist);
     $toplevel = 3;
     //一级菜单的序号
     $this->smarty->assign('toplevel', $toplevel);
     $secondlevel = 36;
     //当前的二级菜单
     $this->smarty->assign('secondlevel', $secondlevel);
     $this->smarty->assign('toptitle', '订单属性列表');
     $this->smarty->assign('curusername', $_SESSION['userName']);
     $this->smarty->display('orderAttr.htm');
 }