index.html
1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后台管理系统</title>
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="stylesheet" type="text/css" href="__PUB__style/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="__PUB__style/bootstrap-responsive.min.css">
<script type="text/javascript" src="__PUB__js/bootstrap.min.js"></script>
<script type="text/javascript" src="__PUB__js/jquery.min.js"></script>
<script type="text/javascript" src="__PUB__js/common.js"></script>
<script>
function son_catid(pid,id){
if(pid.src.indexOf("1.gif")>0)
pid.src="__PUB__img/0.gif";
else
pid.src="__PUB__img/1.gif";
dqid='son_'+id;
sid='s_'+id;
$.post('<{:U("son_catid")}>',{'id':id},function(data){
dqid='son_'+id;
document.getElementById(dqid).outerHTML=data;
});
dis=document.getElementById(sid).style.display;
if(dis=='none'){
$("."+sid).show();
}else{
$("."+sid).hide();
}
}
</script>
</head>
<body style="margin: 10px 0px;">
<div style="margin:0 auto; width:98%;">
<form name="form1" method="post" action="<{:U('newsort')}>">
<table class="table table-condensed table-bordered table-hover">
<tbody><tr>
<td colspan="2">
<div style="float:left">
<strong>栏目列表</strong>
</div>
<div style="float:right;">
[<a href="<{:U('add')}>"><u>增加栏目</u></a>][<a href="<{:U('index',array('type'=>1))}>"><u>全部展开</u></a>][<a href="<{:U('index')}>"><u>全部合并</u></a>]
</div>
</td>
</tr>
<{$cat_list}>
<tr>
<td colspan="2">
<button class="btn btn-mini" id="NewSort" name="sb1" value=" " type="submit" style="cursor:pointer;"><i class="icon-random"></i> 更新排序</button>
</td>
</tr>
</tbody></table>
</form>
</div>
</body></html>