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
<!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>
        <script type="text/javascript">
            var weburl = '{yun:}$config.sy_weburl{/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_trainset">培训设置</a></span>
                    <li class="curr"><a href="index.php?m=admin_trainset&c=logo">头像设置</a></span>
                </ul>
            </div>
 
            <div class="clear"></div>
 
            <div id="subboxdiv" style="width:100%;height:100%;display:none;position:absolute;"></div>
 
                <div class="tag_box">
                    <div>
                        <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
                        <form class="layui-form" action="index.php?m=admin_trainset&c=logo" method="post" enctype="multipart/form-data"
                         target="supportiframe">
                            <table width="100%" class="table_form">
                                <tr class="admin_table_trbg">
                                    <th width="150" class="t_fl">默认培训LOGO:</th>
                                    <td>
 
                                        <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_px_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_px_icon{/yun}" width="250" height="90"
                                         {yun:}if !$config.sy_px_icon{/yun}class="none"{yun:}/if{/yun}>
                                    </td> 
                                </tr>
                                <tr class="admin_table_trbg">
                                    <th width="150" class="t_fl">默认培训课程图片:</th>
                                    <td>
 
                                        <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_pxsubject_icon',imgid: 'imgsubject',path:'logo'}">上传图片</button>
                                        <img id="imgsubject" src="{yun:}$config.sy_ossurl{/yun}/{yun:}$config.sy_pxsubject_icon{/yun}" width="120"
                                         height="120" {yun:}if !$config.sy_pxsubject_icon{/yun}class="none"{yun:}/if{/yun}>
                                    </td> 
                                </tr> 
                                <tr class="admin_table_trbg">
                                    <th width="150" class="t_fl">默认培训讲师头像:</th>
                                    <td>
 
                                        
                                        <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_pxteacher_icon',imgid: 'imgteacher',path:'logo'}">上传图片</button>
                                        <img id="imgteacher" src="{yun:}$config.sy_ossurl{/yun}/{yun:}$config.sy_pxteacher_icon{/yun}" width="90"
                                         height="120" {yun:}if !$config.sy_pxteacher_icon{/yun}class="none"{yun:}/if{/yun}>
                                    </td> 
                                </tr> 
                                <tr>
                                    <th width="150" class="t_fl">默认培训横幅:</th>
                                    <td>
 
                                        
                                        <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_px_banner',imgid: 'imgbanner',path:'logo'}">上传图片</button>
                                        <img id="imgbanner" src="{yun:}$config.sy_ossurl{/yun}/{yun:}$config.sy_px_banner{/yun}" width="250" height="90"
                                         {yun:}if !$config.sy_px_banner{/yun}class="none"{yun:}/if{/yun}>
                                    </td> 
                                </tr> 
                                <tr>
                                    <th width="150">&nbsp;</th>
                                    <td align="left" style="border-bottom:none;">
                                        <input class="tty_sub" type="submit" name="submit" value="提交" />&nbsp;&nbsp;
                                        <input class="tty_cz" type="reset" value="重置" />
                                    </td>
                                </tr>
                            </table>
                            <input type="hidden" name="pytoken" id='pytoken' value="{yun:}$pytoken{/yun}">
                        </form>
                    </div>
 
                </div>
            </div>
        </div>
        <script src="{yun:}$config.sy_weburl{/yun}/js/layui.upload.js?v={yun:}$config.cachecode{/yun}" type='text/javascript'></script>
        <script>
            layui.use(['layer', 'form'], function() {
                var layer = layui.layer,
                    form = layui.form,
                    $ = layui.$;
            });
        </script>
    </body>
</html>