示例#1
0
 /**
  * 城市管理
  */
 public function city()
 {
     parent::_initalize();
     $systemConfig = $this->systemConfig;
     $this->assign("systemConfig", $systemConfig);
     $id = $_GET['id'];
     $cmod = new CityModel();
     $list = $cmod->citylist($id);
     $this->assign("list", $list);
     $sjid = $cmod->getprovinceid($id);
     if (!empty($sjid)) {
         $this->assign("shilieb", "<a href='" . U('Index/city', array('id' => $sjid)) . "' class='a1'>返回上级</a>");
     }
     $this->assign("c_id", $id);
     $this->display();
 }