chengkun
2025-04-18 1bb985f32f2efe0f9dd69f3cf29a1c809b1cf96d
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:24
         compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_message.htm" */ ?>
<?php /*%%SmartyHeaderCode:1713167ff75683489e6-63566947%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '56ae993870cd60af1ac02627c05814bbfd30581a' => 
    array (
      0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_message.htm',
      1 => 1634883865,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1713167ff75683489e6-63566947',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'config' => 0,
    'pytoken' => 0,
    'rows' => 0,
    'key' => 0,
    'v' => 0,
    'total' => 0,
    'pagenum' => 0,
    'pages' => 0,
    'pagenav' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_67ff756838d401_68826796',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67ff756838d401_68826796')) {function content_67ff756838d401_68826796($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\modifier.date_format.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" rel="stylesheet" type="text/css" />
<link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" rel="stylesheet" type="text/css" />
<link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" rel="stylesheet" type="text/css" />
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
"><?php echo '</script'; ?>
>
<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" rel="stylesheet" type="text/css" />
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="js/show_pub.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
"><?php echo '</script'; ?>
>
<title>后台管理</title>
</head>
<body class="body_ifm">
<div class="infoboxp"> 
<div class="tty-tishi_top">
<div id="info_div" style="display:none; width: 390px; ">
    <div class="">
        <form class="layui-form" action="index.php?m=admin_message&c=status" target="supportiframe" method="post" onsubmit="return htStatus()">
            <input name="mid" value="" type="hidden">
            <table cellspacing='1' cellpadding='1' class="admin_examine_table" width="100%">
                <tr>
                    <th width="80">处理操作:</th>
                    <td align="left">
                        <div class="layui-input-block">
                            <input name="status" id="state1" value="1" title="未处理" type="radio" />
                            <input name="status" id="state2" value="2" title="已处理" type="radio" />
                        </div>
                    </td>
                </tr>
                <tr>
                    <th class="t_fr">处理意见:</th>
                    <td align="left"> <textarea id="handlecontent" name="handlecontent" class="admin_explain_textarea"></textarea> </td>
                </tr>
                <tr>
                    <td colspan='2' align="center">
                        <input type="submit" value='确认' class="admin_examine_bth">
                        <input type="button" id="zxxCancelBtn" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'>
                    </td>
                </tr>
            </table>
            <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
">
        </form>
    </div>
</div>
<div class="admin_new_search_box"> 
   <form action="index.php" name="myform" method="get">
      <input name="m" value="admin_message" type="hidden"/>
    <div class="admin_new_search_name">搜索类型:</div>
    <div class="admin_Filter_text formselect" did='dtype'>
          <input type="button" value="<?php if ($_GET['type']=='2') {?>意见内容 <?php } else { ?>联系人<?php }?>" class="admin_Filter_but" id="btype">
         <input type="hidden" name="type" id="type" value="<?php if ($_GET['type']) {
echo $_GET['type'];
} else { ?>1<?php }?>"/>
          <div class="admin_Filter_text_box" style="display:none" id='dtype'>
            <ul> 
              <li><a href="javascript:void(0)" onClick="formselect('1','type','联系人')">联系人</a></li>
              <li><a href="javascript:void(0)" onClick="formselect('2','type','反馈内容')">反馈内容</a></li>
            </ul>
          </div>
        </div>
        <input type="text" placeholder="输入你要搜索的关键字" value="<?php echo $_GET['keyword'];?>
" name='keyword' class="admin_Filter_search">
        <input type="submit" name='search'  value="搜索" class="admin_Filter_bth">
    <a  href="javascript:void(0)" onclick="$('.admin_screenlist_box').toggle();"   class="admin_new_search_gj">高级搜索</a></form>
    <?php echo $_smarty_tpl->getSubTemplate ("admin/admin_search.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 
  </div>
<div class="clear"></div> 
</div> 
 
<div class="tty_table-bom">
  <div class="table-list">
    <div class="admin_table_border">
      <iframe id="supportiframe"  name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
      <form action="index.php" target="supportiframe" id='myform' name="myform" method="get">
        <input name="m" value="admin_message" type="hidden"/>
        <input name="c" value="del" type="hidden"/>
        <table width="100%">
          <thead>
            <tr class="admin_table_top">
              <th style="width:20px;"><label for="chkall">
                <input type="checkbox" id='chkAll'  onclick='CheckAll(this.form)'/>
                </label></th>
              <th> <?php if ($_GET['t']=="id"&&$_GET['order']=="asc") {?> <a href="index.php?m=admin_message&order=desc&t=id">编号<img src="images/sanj.jpg"/></a> <?php } else { ?> <a href="index.php?m=admin_message&order=asc&t=id">编号<img src="images/sanj2.jpg"/></a> <?php }?>
              </th>
              <th align="left">意见类型</th>
              <th align="left">联系人</th>
               <th>联系手机</th>
              <th align="left">反馈内容</th>
               <th >处理状态</th>
              <th> <?php if ($_GET['t']=="ctime"&&$_GET['order']=="asc") {?> <a href="index.php?m=admin_message&order=desc&t=ctime">意见时间<img src="images/sanj.jpg"/></a> <?php } else { ?> <a href="index.php?m=admin_message&order=asc&t=ctime">意见时间<img src="images/sanj2.jpg"/></a> <?php }?> </th>
              <th>操作</th>
            </tr>
          </thead>
          <tbody>
          <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['rows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
          <tr align="center"<?php if (($_smarty_tpl->tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg"<?php }?> id="list<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
">
            <td><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
"  name='del[]' onclick='unselectall()' rel="del_chk" /></td>
            <td align="left" class="td1" style="text-align:center;"><span><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
</span></td>
            <td class="ud" align="left"><?php if ($_smarty_tpl->tpl_vars['v']->value['infotype']==1) {?>建议<?php } elseif ($_smarty_tpl->tpl_vars['v']->value['infotype']==2) {?>意见<?php } elseif ($_smarty_tpl->tpl_vars['v']->value['infotype']==3) {?>求助<?php } elseif ($_smarty_tpl->tpl_vars['v']->value['infotype']==4) {?>投诉<?php }?></td>
            <td class="ud" align="left"><?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
</td>
            <td class="td"> <?php echo $_smarty_tpl->tpl_vars['v']->value['mobile'];?>
</td>
            <td class="td" width="400" align="left">
            <?php if ($_smarty_tpl->tpl_vars['v']->value['content']) {?> 
            <?php echo mb_substr($_smarty_tpl->tpl_vars['v']->value['content'],0,28,"utf-8");?>
 
            <?php if (strlen($_smarty_tpl->tpl_vars['v']->value['content'])>28) {?> 
            <a href="javascript:void(0);" onclick="showbox('评论内容','index.php?m=admin_message&c=content&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
','400px','auto')" class="admin_cz_sc">[更多]</a>
            <?php }?>
            <?php }?>
            </td>
            <td ><?php if ($_smarty_tpl->tpl_vars['v']->value['status']==2) {?>已处理 <?php } else { ?><span style="color:red">未处理</span> <?php }?></td>
            <td class="td"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['ctime'],"%Y-%m-%d");?>
</td>
            <td>
            <a href="javascript:;" class="admin_new_c_bth admin_new_c_bthsh check" pid="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
" status="<?php echo $_smarty_tpl->tpl_vars['v']->value['status'];?>
">处理</a>
            <a href="javascript:void(0)" onClick="layer_del('确定要删除?','index.php?m=admin_message&c=del&del=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
');" class="admin_new_c_bth admin_new_c_bth_sc">删除</a></td>
          </tr> 
          <?php } ?>
          <tr>
            <td align="center"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></td>
            <td colspan="7" ><label for="chkAll2">全选</label>
              &nbsp;
              <input class="admin_button" type="button" name="delsub" value="删除所选" onClick="return really('del[]')" /></td>
              
           </tr>
        <?php if ($_smarty_tpl->tpl_vars['total']->value>$_smarty_tpl->tpl_vars['config']->value['sy_listnum']) {?>
            <tr>
                <?php if ($_smarty_tpl->tpl_vars['pagenum']->value==1) {?>
                    <td colspan="3"> 从 1 到 <?php echo $_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
 ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
 条</td>
                <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value>1&&$_smarty_tpl->tpl_vars['pagenum']->value<$_smarty_tpl->tpl_vars['pages']->value) {?>
                    <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
 到 <?php echo $_smarty_tpl->tpl_vars['pagenum']->value*$_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
 ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
 条</td>
                <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value==$_smarty_tpl->tpl_vars['pages']->value) {?>
                    <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
 到 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
 ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
 条</td>
                <?php }?>
                <td colspan="5" class="digg"><?php echo $_smarty_tpl->tpl_vars['pagenav']->value;?>
</td>
            </tr>
        <?php }?>
          </tbody>
        </table>
        <input type="hidden" name="pytoken"  id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
">
      </form>
    </div>
  </div>
</div>
</div>
<div id="showbox"  style="display:none; width:400px; "> 
    <div id="infobox">
       
       <div class="admin_message_box" style="line-height:23px;">
          <div class="admin_message_userlist" style="margin-top:8px;"><span class="admin_message_users">姓名:</span><span class="admin_message_userw" id="showname"></span>联系手机:<span id="showmoblie"></span></div>
          <div class="admin_message_userlist" style="margin-top:8px;"><span class="admin_message_users">意见类型:</span><span class="admin_message_userw" id="showtype"></span>意见时间:<span id="showdate"></span></div>
          <div class="admin_message_userlist" style="margin-top:8px;"><span class="admin_message_users">评论内容:</span>
        <div class="admin_message_usercont_box" id="showcontent">
            </div>
            </div>
          <div class="admin_message_userbth" style="margin-top:10px;"><input style="margin-right:10px;" type="button" value="删除" id="showdelet" class="admin_message_userbth_sub"><input type="button" value="返回" onclick="javascript:layer.closeAll();"class="admin_message_userbth_sub admin_message_userbth_sub_h"></div>
        </div>
       
      </div>
</div>
<?php echo '<script'; ?>
 type="text/javascript">
    layui.use(['layer', 'form'], function() {
        var layer = layui.layer,
            form = layui.form,
            $ = layui.$;
    });
    $(document).ready(function(){
        $(".check").click(function() {
            $("input[name=pid]").val($(this).attr("pid"));
            var id = $(this).attr("pid");
            var status = $(this).attr("status");
            $("#state" + status).attr("checked", true);
            layui.use(['form'], function() {
                var form = layui.form;
                form.render();
            });
            $("input[name=mid]").val(id);
            $.get("index.php?m=admin_message&c=handlecontent&id=" + id, function(msg) {
                $("#handlecontent").val($.trim(msg));
                $.layer({
                    type: 1,
                    title: '意见处理',
                    closeBtn: [0, true],
                    border: [10, 0.3, '#000', true],
                    area: ['390px', '240px'],
                    page: {
                        dom: "#info_div"
                    }
                });
            });
        });
    });
 
<?php echo '</script'; ?>
>
</body>
</html><?php }} ?>