切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
Karson
7 years ago
提交
87c12d6847146a58d373828459ccfd8aac7c8cfe
1 个父辈
c42f0792
修复TP5升级到5.0.13后一键生成菜单的BUG
完善安装脚本模块注释 增加安装脚本BUG打印
隐藏空白字符变更
内嵌
并排对比
正在显示
8 个修改的文件
包含
35 行增加
和
26 行删除
application/admin/command/Install/fastadmin.sql
application/admin/command/Menu.php
application/admin/controller/Addon.php
application/admin/controller/general/Config.php
application/admin/view/addon/index.html
application/common/view/tpl/think_exception.tpl
public/assets/js/backend/addon.js
public/install.php
application/admin/command/Install/fastadmin.sql
查看文件 @
87c12d6
...
...
@@ -166,14 +166,14 @@ CREATE TABLE `fa_auth_rule` (
-- Records of fa_auth_rule
-- ----------------------------
BEGIN
;
INSERT
INTO
`fa_auth_rule`
VALUES
(
1
,
'file'
,
0
,
'dashboard'
,
'Dashboard'
,
'fa fa-dashboard
\r
'
,
''
,
'Dashboard tips'
,
1
,
1497429920
,
1497429920
,
143
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
1
,
'file'
,
0
,
'dashboard'
,
'Dashboard'
,
'fa fa-dashboard'
,
''
,
'Dashboard tips'
,
1
,
1497429920
,
1497429920
,
143
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
2
,
'file'
,
0
,
'general'
,
'General'
,
'fa fa-cogs'
,
''
,
''
,
1
,
1497429920
,
1497430169
,
137
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
3
,
'file'
,
0
,
'category'
,
'Category'
,
'fa fa-list
\r
'
,
''
,
'Category tips'
,
1
,
1497429920
,
1497429920
,
119
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
3
,
'file'
,
0
,
'category'
,
'Category'
,
'fa fa-list'
,
''
,
'Category tips'
,
1
,
1497429920
,
1497429920
,
119
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
4
,
'file'
,
0
,
'addon'
,
'Addon'
,
'fa fa-rocket'
,
''
,
'Addon tips'
,
1
,
1502035509
,
1502035509
,
0
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
5
,
'file'
,
0
,
'auth'
,
'Auth'
,
'fa fa-group'
,
''
,
''
,
1
,
1497429920
,
1497430092
,
99
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
6
,
'file'
,
2
,
'general/config'
,
'Config'
,
'fa fa-cog'
,
''
,
'Config tips'
,
1
,
1497429920
,
1497430683
,
60
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
7
,
'file'
,
2
,
'general/attachment'
,
'Attachment'
,
'fa fa-file-image-o'
,
''
,
'Attachment tips'
,
1
,
1497429920
,
1497430699
,
53
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
8
,
'file'
,
2
,
'general/profile'
,
'Profile'
,
'fa fa-user
\r
'
,
''
,
''
,
1
,
1497429920
,
1497429920
,
34
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
8
,
'file'
,
2
,
'general/profile'
,
'Profile'
,
'fa fa-user'
,
''
,
''
,
1
,
1497429920
,
1497429920
,
34
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
9
,
'file'
,
5
,
'auth/admin'
,
'Admin'
,
'fa fa-user'
,
''
,
'Admin tips'
,
1
,
1497429920
,
1497430320
,
118
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
10
,
'file'
,
5
,
'auth/adminlog'
,
'Admin log'
,
'fa fa-list-alt'
,
''
,
'Admin log tips'
,
1
,
1497429920
,
1497430307
,
113
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
11
,
'file'
,
5
,
'auth/group'
,
'Group'
,
'fa fa-group'
,
''
,
'Group tips'
,
1
,
1497429920
,
1497429920
,
109
,
'normal'
);
...
...
@@ -188,7 +188,7 @@ INSERT INTO `fa_auth_rule` VALUES (19, 'file', 6, 'general/config/add', 'Add', '
INSERT
INTO
`fa_auth_rule`
VALUES
(
20
,
'file'
,
6
,
'general/config/edit'
,
'Edit'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
50
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
21
,
'file'
,
6
,
'general/config/del'
,
'Delete'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
49
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
22
,
'file'
,
6
,
'general/config/multi'
,
'Multi'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
48
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
23
,
'file'
,
7
,
'general/attachment/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
59
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
23
,
'file'
,
7
,
'general/attachment/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
'
Attachment tips
'
,
0
,
1497429920
,
1497429920
,
59
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
24
,
'file'
,
7
,
'general/attachment/select'
,
'Select attachment'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
58
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
25
,
'file'
,
7
,
'general/attachment/add'
,
'Add'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
57
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
26
,
'file'
,
7
,
'general/attachment/edit'
,
'Edit'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
56
,
'normal'
);
...
...
@@ -200,27 +200,27 @@ INSERT INTO `fa_auth_rule` VALUES (31, 'file', 8, 'general/profile/add', 'Add',
INSERT
INTO
`fa_auth_rule`
VALUES
(
32
,
'file'
,
8
,
'general/profile/edit'
,
'Edit'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
30
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
33
,
'file'
,
8
,
'general/profile/del'
,
'Delete'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
29
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
34
,
'file'
,
8
,
'general/profile/multi'
,
'Multi'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
28
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
35
,
'file'
,
3
,
'category/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
142
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
35
,
'file'
,
3
,
'category/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
'
Category tips
'
,
0
,
1497429920
,
1497429920
,
142
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
36
,
'file'
,
3
,
'category/add'
,
'Add'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
141
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
37
,
'file'
,
3
,
'category/edit'
,
'Edit'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
140
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
38
,
'file'
,
3
,
'category/del'
,
'Delete'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
139
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
39
,
'file'
,
3
,
'category/multi'
,
'Multi'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
138
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
40
,
'file'
,
9
,
'auth/admin/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
117
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
40
,
'file'
,
9
,
'auth/admin/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
'
Admin tips
'
,
0
,
1497429920
,
1497429920
,
117
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
41
,
'file'
,
9
,
'auth/admin/add'
,
'Add'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
116
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
42
,
'file'
,
9
,
'auth/admin/edit'
,
'Edit'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
115
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
43
,
'file'
,
9
,
'auth/admin/del'
,
'Delete'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
114
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
44
,
'file'
,
10
,
'auth/adminlog/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
112
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
44
,
'file'
,
10
,
'auth/adminlog/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
'
Admin log tips
'
,
0
,
1497429920
,
1497429920
,
112
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
45
,
'file'
,
10
,
'auth/adminlog/detail'
,
'Detail'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
111
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
46
,
'file'
,
10
,
'auth/adminlog/del'
,
'Delete'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
110
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
47
,
'file'
,
11
,
'auth/group/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
108
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
47
,
'file'
,
11
,
'auth/group/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
'
Group tips
'
,
0
,
1497429920
,
1497429920
,
108
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
48
,
'file'
,
11
,
'auth/group/add'
,
'Add'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
107
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
49
,
'file'
,
11
,
'auth/group/edit'
,
'Edit'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
106
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
50
,
'file'
,
11
,
'auth/group/del'
,
'Delete'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
105
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
51
,
'file'
,
12
,
'auth/rule/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
103
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
51
,
'file'
,
12
,
'auth/rule/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
'
Rule tips
'
,
0
,
1497429920
,
1497429920
,
103
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
52
,
'file'
,
12
,
'auth/rule/add'
,
'Add'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
102
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
53
,
'file'
,
12
,
'auth/rule/edit'
,
'Edit'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
101
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
54
,
'file'
,
12
,
'auth/rule/del'
,
'Delete'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1497429920
,
1497429920
,
100
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
55
,
'file'
,
4
,
'addon/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1502035509
,
1502035509
,
0
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
55
,
'file'
,
4
,
'addon/index'
,
'View'
,
'fa fa-circle-o'
,
''
,
'
Addon tips
'
,
0
,
1502035509
,
1502035509
,
0
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
56
,
'file'
,
4
,
'addon/add'
,
'Add'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1502035509
,
1502035509
,
0
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
57
,
'file'
,
4
,
'addon/edit'
,
'Edit'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1502035509
,
1502035509
,
0
,
'normal'
);
INSERT
INTO
`fa_auth_rule`
VALUES
(
58
,
'file'
,
4
,
'addon/del'
,
'Delete'
,
'fa fa-circle-o'
,
''
,
''
,
0
,
1502035509
,
1502035509
,
0
,
'normal'
);
...
...
application/admin/command/Menu.php
查看文件 @
87c12d6
...
...
@@ -270,7 +270,7 @@ class Menu extends Command
$ruleArr
[]
=
array
(
'id'
=>
$id
,
'pid'
=>
$pid
,
'name'
=>
$name
.
"/"
.
strtolower
(
$n
->
name
),
'icon'
=>
'fa fa-circle-o'
,
'title'
=>
$title
,
'ismenu'
=>
0
,
'status'
=>
'normal'
);
}
$this
->
model
->
saveAll
(
$ruleArr
);
$this
->
model
->
isUpdate
(
false
)
->
saveAll
(
$ruleArr
);
}
//获取主键
...
...
@@ -278,9 +278,10 @@ class Menu extends Command
{
if
(
!
empty
(
$name
))
{
return
$this
->
model
->
where
(
'name'
,
$name
)
->
value
(
'id'
);
$id
=
$this
->
model
->
where
(
'name'
,
$name
)
->
value
(
'id'
);
return
$id
?
$id
:
null
;
}
}
...
...
application/admin/controller/Addon.php
查看文件 @
87c12d6
...
...
@@ -12,6 +12,7 @@ use think\Exception;
* 插件管理
*
* @icon fa fa-circle-o
* @remark 可在线安装、卸载、禁用、启用插件,同时支持添加本地插件。FastAdmin已上线插件商店 ,你可以发布你的免费或付费插件:<a href="http://www.fastadmin.net/store.html" target="_blank">http://www.fastadmin.net/store.html</a>
*/
class
Addon
extends
Backend
{
...
...
application/admin/controller/general/Config.php
查看文件 @
87c12d6
...
...
@@ -11,6 +11,7 @@ use think\Exception;
* 系统配置
*
* @icon fa fa-circle-o
* @remark 可以在此增改系统的变量和分组,也可以自定义分组和变量,如果需要删除请从数据库中删除
*/
class
Config
extends
Backend
{
...
...
application/admin/view/addon/index.html
查看文件 @
87c12d6
<style
type=
"text/css"
>
.item-addon
{
margin-left
:
15px
;
margin-bottom
:
15px
;}
.item-addon
img
.img-responsive
,
.item-addon
.noimage
{
width
:
300px
;
height
:
200px
;}
.noimage
{
line-height
:
200px
;
text-align
:
center
;
background
:
#18bc9c
;
color
:
#fff
;}
.noimage
{
width
:
100%
;
text-align
:
center
;
background
:
#18bc9c
;
color
:
#fff
;
padding-bottom
:
66.66%
;
position
:
relative
;}
.noimage
>
div
{
position
:
absolute
;
top
:
48%
;
width
:
100%
;
text-align
:
center
;}
.addon
{
position
:
relative
;}
.addon
>
span
{
position
:
absolute
;
left
:
15px
;
top
:
15px
;}
.layui-layer-pay
.layui-layer-content
{
padding
:
0
;
height
:
600px
!important
;}
...
...
@@ -9,6 +8,7 @@
.payimg
{
position
:
relative
;
width
:
800px
;
height
:
600px
;}
.payimg
.alipaycode
{
position
:
absolute
;
left
:
265px
;
top
:
442px
;}
.payimg
.wechatcode
{
position
:
absolute
;
left
:
660px
;
top
:
442px
;}
.thumbnail
img
{
width
:
100%
;}
</style>
<div
id=
"warmtips"
class=
"alert alert-dismissable alert-danger hide"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"alert"
>
×
</button>
...
...
@@ -25,8 +25,10 @@
{:build_toolbar('refresh')}
<button
type=
"button"
id=
"plupload-addon"
class=
"btn btn-danger plupload"
data-url=
"addon/local"
data-mimetype=
"application/zip"
data-multiple=
"false"
><i
class=
"fa fa-upload"
></i>
{:__('Offline install')}
</button>
<a
class=
"btn btn-success btn-ajax"
href=
"addon/refresh"
><i
class=
"fa fa-refresh"
></i>
{:__('Refresh addon cache')}
</a>
<a
class=
"btn btn-info btn-switch btn-store"
href=
"javascript:;"
data-url=
"{$config.fastadmin.api_url}/addon/index"
><i
class=
"fa fa-cloud"
></i>
{:__('Online store')}
</a>
<a
class=
"btn btn-info btn-switch"
href=
"javascript:;"
data-url=
"addon/downloaded"
><i
class=
"fa fa-laptop"
></i>
{:__('Local addon')}
</a>
<div
class=
"btn-group"
>
<a
href=
"#"
class=
"btn btn-info btn-switch active"
data-url=
"{$config.fastadmin.api_url}/addon/index"
><i
class=
"fa fa-cloud"
></i>
{:__('Online store')}
</a>
<a
href=
"#"
class=
"btn btn-info btn-switch"
data-url=
"addon/downloaded"
><i
class=
"fa fa-laptop"
></i>
{:__('Local addon')}
</a>
</div>
<a
class=
"btn btn-primary btn-userinfo"
href=
"javascript:;"
><i
class=
"fa fa-user"
></i>
{:__('Userinfo')}
</a>
</div>
<table
id=
"table"
class=
"table table-striped table-hover"
width=
"100%"
>
...
...
@@ -110,7 +112,7 @@
<
/table
>
</script>
<script
id=
"itemtpl"
type=
"text/html"
>
<
div
class
=
"
item-addon
"
>
<
div
class
=
"
col-xs-12 col-sm-6 col-md-4 col-lg-3 mt-4
"
>
<%
var
labelarr
=
[
'primary'
,
'success'
,
'info'
,
'danger'
,
'warning'
];
%>
<%
var
label
=
labelarr
[
item
.
id
%
5
];
%>
<%
var
addon
=
typeof
addons
[
item
.
name
]
!=
'undefined'
?
addons
[
item
.
name
]
:
null
;
%>
...
...
@@ -120,7 +122,7 @@
<%
if
(
item
.
image
){
%>
<
img
src
=
"<%=item.image%>"
class
=
"img-responsive"
alt
=
"<%=item.title%>"
>
<%
}
else
{
%>
<
div
class
=
"noimage"
>
{:
__
(
'No image'
)}
<
/div
>
<
div
class
=
"noimage"
>
<
div
>
{:
__
(
'No image'
)}
<
/div>
</
div
>
<%
}
%>
<
/a
>
<
div
class
=
"caption"
>
...
...
application/common/view/tpl/think_exception.tpl
查看文件 @
87c12d6
...
...
@@ -66,8 +66,8 @@
</div>
<div
class=
"buttons-container"
>
<a
href=
"<?php echo url('/');?>"
>
返回主页
</a>
<a
href=
"<?php echo url('/');?>"
>
反馈错误
</a>
<a
href=
"<?php echo function_exists('url') ? url('/') : '/';?>"
>
返回主页
</a>
<a
href=
"<?php echo function_exists('url') ? url('/') : '/';?>"
>
反馈错误
</a>
</div>
</div>
</body>
...
...
public/assets/js/backend/addon.js
查看文件 @
87c12d6
...
...
@@ -57,6 +57,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
//切换URL
$
(
document
).
on
(
"click"
,
".btn-switch"
,
function
()
{
$
(
".btn-switch"
).
removeClass
(
"active"
);
$
(
this
).
addClass
(
"active"
);
table
.
bootstrapTable
(
'refresh'
,
{
url
:
$
(
this
).
data
(
"url"
),
pageNumber
:
1
});
});
// 会员信息
...
...
public/install.php
查看文件 @
87c12d6
...
...
@@ -6,6 +6,8 @@
* @author Karson
* @website http://www.fastadmin.net
*/
// error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
// ini_set('display_errors', '1');
// 定义目录分隔符
define
(
'DS'
,
DIRECTORY_SEPARATOR
);
...
...
@@ -332,11 +334,11 @@ if (!$errInfo && isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD']
<!--<p>
<?php
echo
$sitename
;
?>
还支持在命令行php think install一键安装</p>-->
<form
method=
"post"
>
<?php
if
(
$errInfo
)
:
?>
<?php
if
(
$errInfo
)
:
?>
<div
class=
"error"
>
<?php
echo
$errInfo
;
?>
<?php
echo
$errInfo
;
?>
</div>
<?php
endif
;
?>
<?php
endif
;
?>
<div
id=
"error"
style=
"display:none"
></div>
<div
id=
"success"
style=
"display:none"
></div>
...
...
请
注册
或
登录
后发表评论