Skip to content

Commit

Permalink
UI Added
Browse files Browse the repository at this point in the history
  • Loading branch information
TedaLIEz committed Apr 28, 2015
1 parent 681d10d commit e9f9596
Show file tree
Hide file tree
Showing 45 changed files with 8,360 additions and 1,304 deletions.
734 changes: 512 additions & 222 deletions .idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion App/Admin/Conf/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'USER_AUTH_KEY' =>'uid', //session用户识别号
'NOT_AUTH_MODULE' =>'Index,Download', //无需验证的控制器
'NOT_AUTH_ACTION' =>'rbac_index,logout,addUserHandle,addNodeHandle,addRoleHandle,setAccess,editpwd,editpwdHandle,delNode,ueditor,
runAddCate,sortCate,runAddAttr,editpwdByUser,editpwdByUserHandle,addForecastHandle,forecast_index,help',
runAddCate,sortCate,runAddAttr,editpwdByUser,editpwdByUserHandle,addForecastHandle,forecast_index,help,advise_handle',
'RBAC_ROLE_TABLE' =>'aunet_role',
'RBAC_USER_TABLE' =>'aunet_role_user',
'RBAC_ACCESS_TABLE' =>'aunet_access',
Expand Down
12 changes: 0 additions & 12 deletions App/Admin/Controller/AdviseController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,6 @@ public function deladvise(){
$this->error('删除失败');
}
}
public function advise_handle(){
$data=array();
$data['name']=I('info_name');
$data['content']=I('text');
$data['phone']=I('info_phone');
$data['qq']=I('info_qq');
$data['feedback']=I('ReceiveFeedback',0,'intval');
$data['title']=I('subject');
if(M('advise')->add($data)){
$this->redirect('/Home/Other/advice');
}

}

}
4 changes: 3 additions & 1 deletion App/Home/Controller/AUController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public function regulation(){
public function event(){
$this->display();
}

public function weizai(){
$this->display();
}

}
15 changes: 15 additions & 0 deletions App/Home/Controller/OtherController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,20 @@ public function contact(){
public function member(){
$this->display();
}
public function advise_handle(){
$data=array();
$data['name']=I('info_name');
$data['content']=I('text');
$data['phone']=I('info_phone');
$data['qq']=I('info_qq');
$data['feedback']=I('ReceiveFeedback',0,'intval');
$data['title']=I('subject');
if(M('advise')->add($data)){
$this->success('您的建议已经被接受');
}else{
$this->error('提交错误');
}

}

}
31 changes: 31 additions & 0 deletions App/Home/Controller/WeiZaiController.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2015/4/28
* Time: 19:30
*/

namespace Home\Controller;


use Think\Controller;

class WeiZaiController extends Controller{
public function index(){
layout('WeiZai/weizailayout');
$this->display();
}
public function bumen(){
layout('WeiZai/weizailayout');
$this->display();
}
public function shetuan(){
layout('WeiZai/weizailayout');
$this->display();
}
public function heci(){
layout('WeiZai/weizailayout');
$this->display();
}
}
215 changes: 0 additions & 215 deletions App/Home/View/AU/au_weizai.html

This file was deleted.

Loading

0 comments on commit e9f9596

Please sign in to comment.