chengkun
2025-05-12 b6bc92ec11e1e280185ce7682d17589cb45c20f3
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
<!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={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
        <link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
        <link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
        <script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script>
        <script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
 
        <link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet">
        <script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
        <script src="{yun:}$config.sy_weburl{/yun}/js/layui/custom_layer.js?v={yun:}$config.cachecode{/yun}"></script>
        <title>后台管理</title>
    </head>
 
    <body class="body_ifm">
        <div class="infoboxp">
 
            <div class="tty-tishi_top">
                
                <div class="tabs_info">
                    <ul>
                        <li><a href="index.php?m=admin_once">店铺招聘</a></li>
                        <li class="curr"><a href="index.php?m=admin_once&c=set">店铺设置</a></li>
                    </ul>
                </div>
                
                
                <div class="clear"></div>
                <div class="tag_box">
                    <div>
                        <form method="post" class="layui-form">
                            <table width="100%" class="table_form">
                                <tr class="admin_table_trbg">
                                    <th width="220" class="t_fl">前台店铺招聘发布次数:</th>
                                    <td>
                                        <div class="layui-input-block">
                                        <input class="tty_input t_w480" type="text" name="sy_once" id="sy_once" value="{yun:}$config.sy_once{/yun}"
                                         size="10" maxlength="255" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" /> 次/天&nbsp;&nbsp;&nbsp;
                                        </div>
                                        <span class="admin_web_tip">提示:0为不限。按IP限制每天发布次数</span></td>
                                </tr>
                                <tr class="admin_table_trbg">
                                    <th width="220" class="t_fl">前台店铺招聘发布总次数:</th>
                                    <td>
                                        <div class="layui-input-block">
                                        <input class="tty_input t_w480" type="text" name="sy_once_totalnum" id="sy_once_totalnum" value="{yun:}$config.sy_once_totalnum{/yun}"
                                         size="10" maxlength="255" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" /> 次/天&nbsp;&nbsp;&nbsp;
                                        </div>
                                        <span class="admin_web_tip">提示:0为不限。网站每天可以发布的店铺招聘总数量</span></td>
                                </tr>
                                <tr class="admin_table_trbg">
                                    <th width="220">查看店铺招聘联系方式:</th>
                                    <td>
                                        <div class="layui-input-block">
                                            <input type="radio" name="user_wzp_link" value="0" title="公开" {yun:}if $config.user_wzp_link!=1{/yun}checked{yun:}/if{/yun}>
                                            <input type="radio" name="user_wzp_link" value="1" title="登录查看" {yun:}if $config.user_wzp_link==1{/yun}checked{yun:}/if{/yun}>
                                        </div>
                                    </td> 
                                </tr> 
                                <tr>
                                    <th width="220">店铺招聘审核:</th>
                                    <td>
                                        <input type="checkbox" name="com_fast_status" id="com_fast_status" lay-skin="switch" lay-text="开启|关闭"
                                         {yun:}if $config.com_fast_status=="0" {/yun} checked {yun:}/if{/yun} />
                                    </td>
                                </tr>
                                <tr class="admin_table_trbg">
                                    <th width="220">店铺招聘刷新次数:</th>
                                    <td>
                                        <input class="tty_input t_w480" type="text" name="com_xin" id="com_xin" value="{yun:}$config.com_xin{/yun}"
                                         size="20" maxlength="55" onKeyUp="this.value=this.value.replace(/[^0-9.]/g,'')" />次
                                    </td>
                                </tr>
                                <tr class="admin_table_trbg once_price">
                                    <th width="220" class="t_fl">店铺招聘收费金额:</th>
                                    <td>
                                        <div class="layui-input-block">
                                            <input class="tty_input t_w480" type="text" name="once_pay_price" id="once_pay_price"
                                            maxlength="6" value="{yun:}$config.once_pay_price{/yun}" onKeyUp="this.value=this.value.replace(/[^0-9.]/g,'')" />元/天
                                        </div>
                                         <span class="admin_web_tip">提示:0为免费</span>
                                    </td>
                                </tr>
                                <tr class="admin_table_trbg">
                                    <th width="150" class="t_fr">默认店铺形象:</th>
                                    <td>
                                        <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_once_icon',imgid: 'imgicon',path:'logo'}">上传图片</button>
                                        <input type="hidden" id="layupload_type" value="2" />
                                        <img id="imgicon" src="{yun:}$config.sy_ossurl{/yun}/{yun:}$config.sy_once_icon{/yun}" width="60" height="60" {yun:}if !$config.sy_once_icon{/yun}class="none"{yun:}/if{/yun}>
                                         
                                        
 
 
                                    </td> 
                                </tr> 
                                <tr>
                                    <th style="border-bottom:none;">&nbsp;</th>
                                    <td align="left" style="border-bottom:none;">
                                        <input class="tty_sub" id="config" type="button" name="config" value="提交" />&nbsp;&nbsp;
                                        <input class="tty_cz" type="reset" value="重置" />
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>
 
                </div>
            </div>
        </div>
        <input type="hidden" name="pytoken" id='pytoken' value="{yun:}$pytoken{/yun}">
        <script>
            var weburl = '{yun:}$config.sy_weburl{/yun}';
        </script>
        <script src="{yun:}$config.sy_weburl{/yun}/js/layui.upload.js?v={yun:}$config.cachecode{/yun}" type='text/javascript'></script>
        <script>
            $(function() {
                $(".tips_class").hover(function() {
                    var msg_id = $(this).attr('id');
                    var msg = $('#' + msg_id + ' + font').html();
                    if ($.trim(msg) != '') {
                        layer.tips(msg, this, {
                            guide: 1,
                            style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC']
                        });
                        $(".xubox_layer").addClass("xubox_tips_border");
                    }
                }, function() {
                    var msg_id = $(this).attr('id');
                    var msg = $('#' + msg_id + ' + font').html();
                    if ($.trim(msg) != '') {
                        layer.closeAll('tips');
                    }
                });
                $("#config").click(function() {
                    loadlayer();
                    $.post("index.php?m=admin_once&c=onceset", {
                        sy_once: $("#sy_once").val(),
                        sy_once_totalnum:$("#sy_once_totalnum").val(),
                        com_fast_status: $("input[name=com_fast_status]").is(":checked") ? 0 : 1,
                        user_wzp_link: $("input[name=user_wzp_link]:checked").val(),
                        com_xin: $("#com_xin").val(),
                        once_pay_price: $("#once_pay_price").val(),
                        // sy_once_icon: $("#sy_once_icon").val(),
                        pytoken: $("#pytoken").val()
                    }, function(data, textStatus) {
                        parent.layer.closeAll('loading');
                        config_msg(data);
                        setTimeout(function() {
                            location.reload();
                        }, 2000);
                    });
                });
            })
        </script>
        <script type="text/javascript">
            layui.use(['layer', 'form'], function() {
                var layer = layui.layer,
                    form = layui.form,
                    $ = layui.$;
            });
        </script>
    </body>
 
</html>