index.html
3.23 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理员|后台管理系统</title>
<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 chang_status(id,value,table,f)
{
var newvalue=0;
if(value == 1)
newvalue=0;
else
newvalue=1;
var submitData = {
id:id,
f:f,
status:newvalue,
table:table
};
$.post("<{:U('editattr')}>",submitData,
function(data) {
if (data.success == true) {
alert(data.msg);
setTimeout('window.location.href=location.href',10);
return;
}
else {
alert(data.msg);
return;
}
}
,'json');
}
</script>
<style>
.search {
padding:0px 8px 15px;
clear:both;
text-align:right;
}
.search .w_160 {
width:160px;
}
.search form {
padding:0;
margin:0;
}
</style>
</head>
<body style="margin: 0px 0px;min-height:500px; background:url(__ROOTPUB__img/ybbf.png) center no-repeat;background-size:contain;background-position:200px 150px;">
<div style="margin:0 auto; width:98%;">
<table class="table table-condensed table-bordered table-hover">
<tbody>
<tr>
<td colspan="4" style="padding-left:10px;"><div style="overflow:hidden">
<div style="float:left"> <b><{$page_title}>列表</b> </div>
<div style="float:right; font-weight:bold;"></div>
</div>
<div class="search">
<form action="<{:U(ACTION_NAME)}>" method="post">
<input type="text" name="title" value="<{$search.title}>" placeholder="请输入姓名" class="w_160" />
<input type="submit" value="搜 索" class="btn" />
<input type="button" value="清除搜索" onclick='window.location.href="<{:U($Think.ACTION_NAME)}>"' class="btn"/>
<?php if(in_array('maillist-download',$authlist)):?><input type="button" value="导出EXCEL" onclick='window.open("<{:U('download')}>
");' class="btn" /><?php endif;?>
</form>
</div></td>
</tr>
<tr>
<td style="text-align:center; width:10%;">序号</td>
<td style="text-align:center; width:15%;">姓名</td>
<td style="text-align:center; width:15%;">手机</td>
<td style="text-align:center; width:15%;">Email</td>
</tr>
<volist name="list" id="vo" key="k" empty="$empty">
<tr>
<td style="text-align:center"><{$k}></td>
<td style="text-align:center"><{$vo.name}></td>
<td style="text-align:center"><{$vo.tel}></td>
<td style="text-align:center"><{$vo.email}></td>
</tr>
</volist>
<notempty name="page">
<tr>
<td colspan="7">
<ul class="page">
<{$page}>
</ul>
</td>
</tr>
</notempty>
</tbody>
</table>
</div>
<include file="Common:js" />
</body>
</html>