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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>{yun:}$title{/yun}</title>
<meta name="keywords" content="{yun:}$keywords{/yun}"/>
<meta name="description" content="{yun:}$description{/yun}"/>
<link rel="stylesheet" href="{yun:}$style{/yun}/style/css.css?v={yun:}$config.cachecode{/yun}" type="text/css"/>
<link rel="stylesheet" href="{yun:}$style{/yun}/style/news.css?v={yun:}$config.cachecode{/yun}" type="text/css"/>
</head>
<body  class="body_bg">
{yun:}include file="$tplstyle/header.htm"{/yun}
<div class="yun_content">
<div class="current_Location  png"> 
您当前的位置:<a href="{yun:}$config.sy_weburl{/yun}">首页</a> > <a href="{yun:}url m=article{/yun}">职场资讯</a> > 
{yun:}if $classname{/yun}{yun:}$classname{/yun}{yun:}else{/yun}搜索{yun:}/if{/yun}
</div>
<div class="n_list_box">
 
<div class="n_list_box_cont">
<div class="news_index_today_h1" style="margin-top:10px;"> <span class="news_index_today_h1_s">{yun:}if $classname{/yun}{yun:}$classname{/yun}
    {yun:}else{/yun}搜索{yun:}/if{/yun} </span></div>
<ul class="news_index_box_list">
{yun:}article nid='auto.nid' kid='auto.kid' keyword='auto.keyword' ispage=1 urlstatic=1 limit=20  t_len=30 item=item{/yun}
          <dl>
          
            <dd>
              <div class="zx_part_bt"> <a href="{yun:}$item.url{/yun}" target="_blank" class="fl" title="{yun:}$item.title{/yun}">{yun:}$item.title{/yun}</a>
                <div class="clear"></div>
              </div>
              <div class="zx_part_nr">{yun:}$item.description|mb_substr:0:100:'utf-8'{/yun}</div>
              <div class="zx_part_nr-date"> {yun:}$item.starttime|date_format:"%Y-%m-%d"{/yun}<span class="zx_part_nr-date_s">{yun:}$item.author{/yun}</span></div>
            </dd>
          </dl>
          {yun:}/article{/yun}
    </ul>
          <div class="clear"></div>
          <div class="pages">{yun:}$pagenav{/yun}</div>
          
          
</div>
 
<div class="news_index_box_right">
<form method="get" action="index.php">
    <div class="news_index_box_search">
    <input name='m' value="article" type="hidden"/>
    <input name='c' value="search" type="hidden">
    
    <input type="text" id="keyword" name="keyword" value="{yun:}$smarty.get.keyword{/yun}" placeholder="搜索文章" class="news_index_box_search_text"/>
    <input type="submit" value="" class="news_index_box_search_bth"/>
    </div>
    </form>
    <div class="clear"></div>
            <div class="news_index_today_h1" > <span class="news_index_today_hot_s">热门话题</span></div>
                <div class="clear"></div>
    <div class="n_list_box_left"id="news_nav" style="margin-top:25px;">
 {yun:}articleclass r_list=1 item=v{/yun}
            <div class="zx_fl_list">
            <a href="{yun:}$v.url{/yun}" class="zx_fl_list_a" title="{yun:}$v.name{/yun}">{yun:}$v.name{/yun}</a>
            <div class="zx_fl_list_box">
            <div class="zx_fl_list_t_fl">
            <div class="zx_fl_list_box_h1">  <a href="{yun:}$v.url{/yun}" title="{yun:}$v.name{/yun}">{yun:}$v.name{/yun}</a></div>
            {yun:}foreach item=val from=$v.r_list{/yun}
            <a href="{yun:}$val.url{/yun}"  class="zx_fl_list_t_fl_a" title="{yun:}$val.name{/yun}">{yun:}$val.name{/yun}</a>
            {yun:}/foreach{/yun}
            </div>
            </div>
              </div>
             {yun:}/articleclass{/yun}
 
</div>
 <div class="clear"></div>
  <div class="zx_article">
 
 <div class="news_index_today_h1"> <span class="news_index_today_tj_s">推荐文章</span></div>
  <div class="clear"></div>
 
          <div class="zx_art_hot mt20">
           {yun:}article limit=1 type=tj pic=1 t_len=7 urlstatic=1 item=news_jian{/yun}
            <dl>
              <dt><a href="{yun:}$news_jian.url{/yun}" target="_blank" title="{yun:}$news_jian.title{/yun}"><img src="{yun:}$news_jian.picurl{/yun}" width="84" height="63" alt="{yun:}$news_jian.title{/yun}"/></a></dt>
              <dd>
                <div class="art_fanfu"><a href="{yun:}$news_jian.url{/yun}" target="_blank" title="{yun:}$news_jian.title{/yun}">{yun:}$news_jian.title{/yun}</a></div>
                <div class="art_xq">{yun:}$news_jian.description|mb_substr:0:22:'utf-8'{/yun}</div>
              </dd>
            </dl>
            {yun:}/article{/yun}
            <div class="clear"></div>
          </div>
          <div class="zx_art_list">
            <ul>
              {yun:}article limit=7 type=tj t_len=17 urlstatic=1 item=news_hits{/yun}
              {yun:}if $news_hits.id!=$news_jian.id{/yun}
              <li><a href="{yun:}$news_hits.url{/yun}" target="_blank" title="{yun:}$news_hits.title{/yun}">{yun:}$news_hits.title{/yun}</a></li>
              {yun:}/if{/yun}
              {yun:}/article{/yun}
            </ul>
          </div>
          <div class="clear"></div>
        </div>         <div class="news_index_today_h1"> <span class="news_index_today_news_s">最新文章</span></div>
  <div class="clear"></div>
        <div class="zx_article mt20">
 
          {yun:}article limit=1 pic=1 t_len=7 d_len=24 urlstatic=1 item=indexnews1 key=key{/yun}
            <div class="zx_art_hot">
              <dl>
                <dt><a href="{yun:}$indexnews1.url{/yun}" target="_blank" title="{yun:}$indexnews1.title{/yun}"><img src="{yun:}$indexnews1.picurl{/yun}" width="84" height="63" alt="{yun:}$indexnews1.title{/yun}"/></a></dt>
                <dd>
                  <div class="art_fanfu"><a href="{yun:}$indexnews1.url{/yun}" target="_blank" title="{yun:}$indexnews1.title{/yun}">{yun:}$indexnews1.title{/yun}</a></div>
                  <div class="art_xq">{yun:}$indexnews1.description{/yun}..</div>
                </dd>
              </dl>
              <div class="clear"></div>
            </div>
              {yun:}/article{/yun}
              
            <div class="zx_art_list">
              <ul>
                  {yun:}article limit=7 t_len=16 d_len=24 urlstatic=1   item=indexnews2{/yun}
                  {yun:}if $indexnews2.id!=$indexnews1.id{/yun}
                   <li><a href="{yun:}$indexnews2.url{/yun}" target="_blank" title="{yun:}$indexnews2.title{/yun}">{yun:}$indexnews2.title{/yun}</a></li>
                  {yun:}/if{/yun}
                  {yun:}/article{/yun}
              </ul>
            </div>
            <div class="clear"></div>   
</div>
</div>
</div>
</div>
<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.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" type="text/css" />
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/custom_layer.js?v={yun:}$config.cachecode{/yun}"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/lazyload.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<!--[if IE 6]>
<script src="{yun:}$config.sy_weburl{/yun}/js/png.js?v={yun:}$config.cachecode{/yun}"></script>
<script>
DD_belatedPNG.fix('.png');
</script>
<![endif]-->
<script type="text/javascript"> 
    $(function() {
        var $keyword = $("#keyword").val();
        setHeightKeyWord('fontshow', $keyword, 'Red', true);
        //分类浏览
         var sfEls = $("#news_nav").find("div");
         for (var i=0; i<sfEls.length; i++) {
              sfEls[i].onmouseover=function() {
              this.className+=(this.className.length>0? " ": "") + "zx_fl_list_hover";
              }
              sfEls[i].onMouseDown=function() {
              this.className+=(this.className.length>0? " ": "") + "zx_fl_list_hover";
              }
              sfEls[i].onMouseUp=function() {
              this.className+=(this.className.length>0? " ": "") + "zx_fl_list_hover";
              }
              sfEls[i].onmouseout=function() {
              this.className=this.className.replace(new RegExp("( ?|^)zx_fl_list_hover\\b"),"");
              }
         }
    });
    function setHeightKeyWord(id, keyword, color, bold) {
        if (keyword == "")
            return;
        var tempHTML = $("#" + id).html();
        var htmlReg = new RegExp("\<.*?\>", "i");
        var arrA = new Array();
        for (var i = 0; true; i++) {
            var m = htmlReg.exec(tempHTML);
            if (m) {
                arrA[i] = m;
            } else {
                break;
            }
            tempHTML = tempHTML.replace(m, "[[[[" + i + "]]]]");
        }
        var replaceText
        if (bold)
            replaceText = "<b style='color:" + color + ";'>$1</b>";
        else
            replaceText = "<font style='color:" + color + ";'>$1</font>";
        var arrayWord = keyword.split(',');
        for (var w = 0; w < arrayWord.length; w++) {
            var r = new RegExp("("+ arrayWord[w].replace(/[(){}.+*?^$|\\\[\]]/g, "\\$&")+ ")", "ig");
            tempHTML = tempHTML.replace(r, replaceText);
        }
        for (var i = 0; i < arrA.length; i++) {
            tempHTML = tempHTML.replace("[[[[" + i + "]]]]", arrA[i]);
        }
        $("#" + id).html(tempHTML);
    }
</script>
{yun:}include file="$tplstyle/public_search/login.htm"{/yun}
{yun:}include file="$tplstyle/footer.htm"{/yun}