public function addPosition()
 {
     import("@.Util.PositionCategory");
     import("@.Util.City");
     $data = $this->get('data') ? $this->get('data') : array();
     /** 职位类别 **/
     $data['positionCates'] = PositionCategory::getSubCatesInArr();
     /** 工作城市 **/
     $data['city'] = City::getCities();
     $this->assign("data", $data);
     $this->display();
 }
 protected function _after_select(&$resultSet, $options)
 {
     $resultSet = PositionCategory::getSubCatesInArr(PositionCategory::sort(null, 'order', SORT_ASC));
     if (ACTION_NAME == 'index') {
         $str = "<tr class='tr'>\r\n\t\t\t\t    <td align='center'><input type='text' value='\$order' size='3' name='order[\$id]'></td>\r\n\t\t\t\t    <td align='center'>\$id</td>\r\n\t\t\t\t    <td >\$spacer \$name</td>\r\n\t\t\t\t    <td align='center'>\$status_html</td>\r\n\t\t\t\t\t<td align='center'>\r\n\t\t\t\t\t\t\$submenu | \$edit | \$delete\r\n\t\t\t\t\t</td>\r\n\t\t\t\t  </tr>";
         $Tree = new Tree();
         $Tree->icon = array('&nbsp;&nbsp;&nbsp;│ ', '&nbsp;&nbsp;&nbsp;├─ ', '&nbsp;&nbsp;&nbsp;└─ ');
         $Tree->nbsp = '&nbsp;&nbsp;&nbsp;';
         $Tree->init($resultSet);
         $html_tree = $Tree->get_tree(0, $str);
         $resultSet['html_tree'] = $html_tree;
     }
 }