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
{yun:}include file="$comstyle/header.htm"{/yun}
<div class="w1000">
    <div class="admin_mainbody"> 
        {yun:}include file="$comstyle/left.htm"{/yun} 
        <script src="{yun:}$config.sy_weburl{/yun}/js/ueditor/ueditor.config.js?v={yun:}$config.cachecode{/yun}"></script>
        <script src="{yun:}$config.sy_weburl{/yun}/js/ueditor/ueditor.all.min.js?v={yun:}$config.cachecode{/yun}"></script> 
 
         <script language="javascript">
        UE.getEditor('description',{
            toolbars:[[ 'Source','|', 'Undo', 'Redo','Bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'fontfamily', 'fontsize',  'forecolor', 'backcolor', 'removeformat', 'autotypeset', 'pasteplain', '|','insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|','simpleupload', '|', 'indent', '|','justifyleft', 'justifycenter', 'justifyright', 'justifyjustify']],
            wordCount:false,
            elementPathEnabled:false,
            initialFrameHeight:300
        });
        </script>
        <div class="com_tit"><span class="com_tit_span">企业资料</span><div class="com_topbth_box">
            <a  href="{yun:}url m=company c=show id='`$uid`'{/yun}" target="_blank"class="com_ylbth">预览主页</a>
        </div>
        </div>
        <div class=right_box>
                    <div class=vip_boxshow>
                        <div class="vip_boxshow_c">
        <div class="zllist ">
                        <div class="report_uaer_list_h1">编辑公司信息</div>
                        <div class="report_uaer_list_p">能获得更多求职者的青睐</div>
                        <ul>
                                <li><a href="index.php?c=info">基本信息</a></li>
                                <li><a href="###">补充信息</a></li>
                                
                                <li><a href="index.php?c=show"> 公司相册</a></li>
                                <li><a href="index.php?c=uppic"> 公司LOGO</a></li>
            <li><a href="index.php?c=product">产品介绍</a></li>
            <li class="zlcur"><a href="index.php?c=news">公司资讯</a></li>
            <li><a href="index.php?c=map">公司地图</a></li>
                <li><a href="index.php?c=comtpl">个性化模板</a></li>
                <li><a  href="index.php?c=binding&act=comcert" >资质认证</a></li>
                        </ul>
                    </div>
                    <div class="vip_box" style="margin-top: 0px;;">
                    <div class="com_release_box">
                        <iframe id="supportiframe"  name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
                        <form name="MyForm" target="supportiframe" method="post" action="{yun:}$now_url{/yun}&act=save" onsubmit="return CheckPost();">
                            <input name="action" type="hidden" value="save">
                            <ul>
                                <li>
                                    <div class="com_release_name"><i class="ff0">*</i> 新闻标题 </div>
                                    <input type="text" size="45" name="title" value="{yun:}$editrow.title{/yun}"class="com_info_text" style="width:400px;">
                                </li>
                                <li>
                                    <div class="com_release_name"><i class="ff0">*</i> 新闻描述 </div>
                                     <script id="description" name="body" type="text/plain" style="width:560px; height:200px;"> {yun:}$editrow.body{/yun} </script>
                                </li>  
                                <li>
                                    <input name="id" value="{yun:}$smarty.get.id{/yun}" type="hidden"/>
                                    <input class="btn_01" type="submit" name="submitBtn" value=" 提 交 操 作 "> 
                                </li>  
                            </ul>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
 
<script language=javascript>
function CheckPost(){
    var title=$.trim($("input[name='title']").val());
    if(title==''){
        layer.msg('标题不能为空!', 2, 8);return false;
    }
    if(title.length>30){
        layer.msg('请将标题控制在30字以内!', 2, 8);return false;
    }
 
    var html = UE.getEditor('description').getContent();
    if(html==''){
        layer.msg('内容不能为空!', 2, 8);return false;
    }
}
</script> 
{yun:}include file="$comstyle/footer.htm"{/yun}