news_view.html.php的代码是这样的:- <?exit?>
- <!--{if empty($_SGLOBAL['inajax'])}-->
- <!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=$_SC[charset]" />
- <meta name="keywords" content="$keywords $_SCONFIG[seokeywords]" />
- <meta name="description" content="$description $_SCONFIG[seodescription]" />
- <meta name="generator" content="SupeSite 7.5" />
- <meta name="author" content="mimipigs" />
- <meta name="copyright" content="2001-2010 Comsenz Inc." />
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
- $_SCONFIG[seohead]
- <title>$title $_SCONFIG[seotitle] </title>
- <script type="text/javascript" src="{S_URL}/templates/$_SCONFIG[template]/js/common.js"></script>
- <script type="text/javascript">
- var siteUrl = "{S_URL}";
- </script>
- <script src="{S_URL}/include/js/menu.js" type="text/javascript" language="javascript"></script>
- <script src="{S_URL}/include/js/ajax.js" type="text/javascript" language="javascript"></script>
- <script src="{S_URL}/include/js/common.js" type="text/javascript" language="javascript"></script>
-
- <!-- open notice start-->
-
- <!-- open notice end-->
- <link href="css/layout.css" rel="stylesheet" type="text/css">
- <link rel="stylesheet" type="text/css" href="{S_URL}/templates/$_SCONFIG[template]/css/layout.css" />
- </head>
- <body>
- <div id="append_parent"></div>
- <div id="ajaxwaitid"></div>
- <!-- header -->
- <div id="header">
- <div class='chn_logo'><h1><a href='http://chn.chosun.com/'><img src='http://chn.chosun.com/images/logo.gif' alt='chn.chosun.com'></a></h1></div>
- <div class='wl'>
-
- <div id='search'><form name='search' method='post' target='_top' action='{S_URL}/batch.search.php'>
- <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
- <input type="hidden" name="searchname" id="searchname" value="subject" />
- <input type='text' name='keyword' class='input_form' value='站内搜索' onFocus="this.value=''">
- <input type='image' src='http://chn.chosun.com/images/btn_search.gif' alt=''></form></div>
- <ul class='lang'>
-
- </ul>
- </div> <!--{eval $ads3 = getad('system', $channel, '3'); }-->
- <!--{if !empty($ads['pageheadad']) }-->
- <div class='top_banner'>$ads[pageheadad]</div>
- <!--{/if}-->
- <!--1-->
- <div class='gnb'>
- <ul>
- <li><a href="{S_URL}/">首页</a></li>
- <!--{loop $channels['menus'] $key $value}-->
- <li class='bar'><img src='http://chn.chosun.com/images/gbar.gif' alt=''></li>
- <li><a href="$value[url]">$value[name]</a></li>
- <!--{/loop}-->
-
- </ul>
- </div> <!--1 end-->
- <!--2-->
- <!--2 end-->
- <!--3-->
-
- <!--3 end-->
-
- </div>
- <!-- // header -->
-
- <!-- container -->
- <div id="container">
- <!-- snb -->
- <div id='snb'>
- <p class='sec_dep'><a href="{S_URL}/">首页</a></p>
- <!--{loop $channels['menus'] $key $value}-->
- <!--{if $key == 'news' || $value['upnameid']=='news'}-->
- <!--{block name="category" parameter="type/$key/isroot/1/order/c.displayorder/limit/0,12/cachetime/80800/cachename/category"}-->
- <ul class='dep2'>
- <li class='sec_dep'><a href="$value[url]">$value['name']</a></li>
- <!--{loop $_SBLOCK['category'] $value}-->
- <li class='snb_off'><a href="$value[url]">$value[name]</a></li>
- <!--{/loop}-->
- </ul>
- <!--{elseif $key == 'bbs'}-->
- <!--{if $forumarr}-->
- <ul class='dep2'>
- <li class='sec_dep'><a href="$value[url]">$value['name']</a></li>
- <!--{loop $forumarr $value}-->
- <li class='snb_off'><a href="$value[url]">$value[name]</a></li>
- <!--{/loop}-->
- </ul>
- <!--{/if}-->
- <!--{elseif $value['type'] == 'model'}-->
- <!--{eval @include S_ROOT.'./cache/model/model_'.$value['nameid'].'.cache.php';}-->
- <!--{if !empty($cacheinfo['categories'])}-->
- <ul class='dep2'>
- <li class='sec_dep'><a href="$value[url]">$value['name']</a></li>
- <!--{loop $cacheinfo['categories'] $key $value}-->
- <li class='snb_off'> <a href="$siteurl/m.php?name=$cacheinfo[models][modelname]&mo_catid=$key" title="$value">$value</a></li>
- <!--{/loop}-->
- </ul>
- <!--{/if}-->
- <!--{/if}-->
- <!--{/loop}-->
-
-
- <ul id='snb8' class='snb_bot'>
- <li class='sec_dep_gr'>服务中心</li>
- <li class='snb2_off'><a href="#action/site/type/map#">站点地图</a></li>
- <li class='snb2_off'><a href="#action/site/type/link#">友情链接</a></li>
- <li class='snb2_off'><a href="mailto:$_SCONFIG[adminemail]">联系我们</a></li>
-
- </ul>
- <p class='rss'><a href='http://chn.chosun.com/etc/rss.html'><img src='http://chn.chosun.com/images/btn_rss.gif' alt='RSS'></a></p>
- <div id='left_ban'><a href='http://chn.chosun.com/html/chn_guidegb.html'><img src='http://chn.chosun.com/images/china_banner_gb.gif' alt='guide'></a></div>
- </div>
- <!-- // snb -->
-
- <!-- content -->
- <div id="sub_cont">
-
- <!-- sub_center -->
- <div class="sub_center">
-
-
- <!-- article -->
- <div class="art_top">
- <div class="navi_ctrl">
- <a href="{S_URL}">$_SCONFIG[sitename]</a><!--{loop $guidearr $value}--> > <span class="current"><a href="$value[url]">$value[name]</a></span><!--{/loop}-->
- <div class="text_ctrl"><span class="kor_art"><span class=kor_art><!----></span></span><span class="bar">|</span><script type="text/javascript" src="http://chn.chosun.com/js_new/font_bt.js"></script></div>
- </div>
- <div class="art_title"><!!--S014FHA***--><!!--titlestart-->$news[subject]<!!--titleend--></div>
- <div class="art_subtitle"><!!--subtitlestart--><!!--subtitleend--></div>
- <div class="art_date"><!!--newswriterstart--><!--{if !empty($news['newsfrom'])}--><!--{if !empty($news[newsfromurl])}--><a href="$news[newsfromurl]" target="_blank" title="$news[newsfrom]">$news[newsfrom]</a><!--{else}-->$news[newsfrom]<!--{/if}--><!--{/if}--> <a href="{S_URL}/space.php?uid=$news[uid]&op=news">$news[newsauthor]</a> (#date('Y-n-d H:i', $news["dateline"])#)<!!--newswriterend--></div>
- </div>
-
- <div class="article">
-
-
- <div class="article_text" id="fontsize">
- <!!--bodystart-->
- $news[message]
- <!--{if empty($multipage)}-->
- <!--{loop $news['attacharr'] $attach}-->
- <!--{if $attach['isimage']}-->
- <br /><div class=art_photo><dl class=center><dd><a href="$attach[url]" target="_blank"><img src="$attach[thumbpath]" alt="$attach[subject]" /></a></dd>
- <dt><br />$attach[subject]</dt></dl></div><br />
- <!--{else}-->
- <br /><a href="$attach[url]" target="_blank"><img src="{S_URL}/images/base/attachment.gif" alt="$attach[subject]" /><br />$attach[filename](<!--{eval echo formatsize($attach[size]);}-->)</a><br />
- <!--{/if}-->
- <!--{/loop}-->
- <!--{/if}-->
- <br />
-
- <!!--bodyend-->
-
- <!-- paginate --><!--{if !empty($multipage)}-->
- <div class="paginate" id="list_page">
-
- $multipage
-
- </div><!--{/if}-->
- <!-- paginate -->
- <dl class="right_text">
- <dt><!--{if !empty($relativetagarr)}--><strong>TAG:</strong> <!--{loop $relativetagarr $value}-->
- <!--{eval $svalue = rawurlencode($value);}-->
- <a href="#action/tag/tagname/$svalue#" target="_blank">$value</a>
- <!--{/loop}--><!--{/if}--></dt>
- <dd>本文未经许可,不得摘编</dd>
- </dl>
-
- <div id="click_div">
- <!--{template news_click}-->
- </div>
-
- </div>
- </div>
- <!-- // article -->
-
- <!-- rel_article --><!--相关资讯-->
- <!--{if !empty($news[relativeitemids])}-->
- <!--{block name="spacenews" parameter="itemid/$news[relativeitemids]/order/i.dateline DESC/limit/0,6/cachetime/17680/cachename/relativeitem/tpl/data"}-->
-
- <div class=rel_artlist>
- <p>相关新闻</p>
- <ul>
- <!--{loop $_SBLOCK['relativeitem'] $ikey $value}-->
- <li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a><span>#date('Y-m-d H:i', $value['dateline'])#</span>
- </li>
- <!--{/loop}-->
- </ul>
- </div>
- <!--{/if}-->
- <!-- // rel_article -->
-
- <ul class="bot_ctrl">
-
- <script language=javascript>
- <!--
- function mailOpen(url) {
- mailWin=window.open(url, 'pbml_win','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrolling=no,width=570,height=620');
- }
- //-->
- </script>
-
- <script language=javascript>
- <!--
- function printOpen(url) {
- printWin=window.open(url, 'pbml_win','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,scrollbars=yes,width =585,height=620');
- }
- //-->
- </script>
- <li><a href="javascript:;" class="send_frinend" onclick="showajaxdiv('{S_URL}/batch.common.php?action=emailfriend&itemid=$news[itemid]', 400);"><img src=http://chn.chosun.com/images/btn_email.gif alt=''></a></li><li><a href="javascript:doPrint();"><img src=http://chn.chosun.com/images/btn_print.gif alt=''></a></li>
-
- <li><a href="{S_URL}/cp.php?ac=news&op=add&type=$channel"><img src="http://chn.chosun.com/images/btn_email2.gif" alt=''></a></li>
- <li class="btn_top"><a href='#'><img src="http://chn.chosun.com/images/btn_top.gif" alt=''></a></li>
- </ul>
- </div>
- <!-- // sub_center -->
-
- <!-- sub_aside -->
- <div class="sub_aside">
- <!-- r_box_gray -->
- <div class="r_box_gray">
- <p class="r_tit">精华推荐</p>
- <ul class="grr_li2">
- <!--{block name="spacenews" parameter="type/$channel/catid/$thecat[subcatid]/digest/1,2,3/order/i.viewnum DESC,i.dateline DESC/limit/0,3/cachetime/89877/subjectlen/32/subjectdot/0/cachename/hotnews2"}-->
- <!--{loop $_SBLOCK['hotnews2'] $value}-->
- <li><a href="$value[url]" target=_top>$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <!-- // r_box_gray -->
-
- <!-- r_box_gray -->
- <div class="r_box_gray">
- <p class="r_tit">热门标签</p>
- <!--<div class="r_thum"></div>-->
- <dl class="r_thum_desc">
- <!--<dt class="eme_13_bo"></dt>-->
- </dl>
- <ul class="grr_li"><!--{block name="tag" parameter="order/spacenewsnum DESC/limit/0,30/cachetime/88008/cachename/hottag/tpl/data"}-->
- <!--{loop $_SBLOCK['hottag'] $value}--><a href="$value[url]">$value[tagname]</a>($value[spacenewsnum])
- <!--{/loop}-->
- </ul>
- </div>
- <!-- // r_box_gray -->
-
- <!-- right_photo -->
- <div class="r_box_gray2">
- <script type="text/javascript">
- var vnum;
- function photo_ct(){
- var v_view, v_name ;
- for (i=1; i<=2; i++) {
- v_view = 'photo_com' + i ;
- document.getElementById(v_view).style.display = 'none' ;
- }
- if (arguments[0]=='R') {
- vnum = vnum + 1 ;
- if (vnum > 2) vnum = 1 ;
- v_name = 'photo_com' + vnum ;
- document.getElementById(v_name).style.display = 'block' ;
- }else if (arguments[0]=='L'){
- vnum = vnum - 1 ;
- if (vnum < 1) vnum = 2 ;
- v_name = 'photo_com' + vnum ;
- document.getElementById(v_name).style.display = 'block' ;
- }else {
- v_name = 'photo_com' + eval(arguments[0]) ;
- document.getElementById(v_name).style.display = 'block' ;
- vnum = eval(arguments[0]) ;
- }
- }
- </script>
- <p class="r_tit"><a href="#" target="_top">今日图片</a></p>
- <ul id="photo_com1" class="photo_common">
- <!--{block name="spacenews" parameter="type/$channel/catid/$thecat[subcatid]/haveattach/2/showattach/1/showdetail/1/order/i.dateline DESC/limit/0,1/subjectlen/16/subjectdot/0/cachetime/11930/cachename/picnews"}-->
- <!--{loop $_SBLOCK['picnews'] $value}-->
- <li class="photo_left"><a href="$value[url]" target=_top><img src="$value[a_thumbpath]" height=76 width=101 border=0 ALT="" align=no></a></li>
- <!--{/loop}-->
- <!--{block name="spacenews" parameter="type/$channel/catid/$thecat[subcatid]/haveattach/2/showattach/1/showdetail/1/order/i.dateline DESC/limit/1,1/subjectlen/16/subjectdot/0/cachetime/11930/cachename/picnews"}-->
- <!--{loop $_SBLOCK['picnews'] $value}-->
- <li class="photo_right"><a href="$value[url]" target=_top><img src="$value[a_thumbpath]" height=76 width=101 border=0 ALT="" align=no></a></li> <!--{/loop}-->
- </ul>
-
-
-
- <ul id="photo_com2" class="photo_common">
- <!--{block name="spacenews" parameter="type/$channel/catid/$thecat[subcatid]/haveattach/2/showattach/1/showdetail/1/order/i.dateline DESC/limit/2,1/subjectlen/16/subjectdot/0/cachetime/11930/cachename/picnews"}-->
- <!--{loop $_SBLOCK['picnews'] $value}-->
- <li class="photo_left"><a href="$value[url]" target=_top><img src="$value[a_thumbpath]" height=76 width=101 border=0 ALT="" align=no></a></li>
- <!--{/loop}-->
- <!--{block name="spacenews" parameter="type/$channel/catid/$thecat[subcatid]/haveattach/2/showattach/1/showdetail/1/order/i.dateline DESC/limit/3,1/subjectlen/16/subjectdot/0/cachetime/11930/cachename/picnews"}-->
- <!--{loop $_SBLOCK['picnews'] $value}-->
- <li class="photo_right"><a href="$value[url]" target=_top><img src="$value[a_thumbpath]" height=76 width=101 border=0 ALT="" align=no></a></li> <!--{/loop}-->
- </ul>
- <ul class="photo_ctrl">
- <li class="l_ctrl"><img src="http://chn.chosun.com/images/btn_pre.gif" alt="pre" onClick="photo_ct('L')"></li>
- <li class="r_ctrl"><img src="http://chn.chosun.com/images/btn_next.gif" alt="next" onClick="photo_ct('R')"></li>
- </ul>
- <script type="text/javascript">
- video_randomNum = Math.floor(Math.random()*2+1);
- photo_ct(video_randomNum);
- </script>
- </div>
- <!-- // right_photo -->
-
- <!-- google_ad --><!--{if !empty($ads3['siderad'])}-->
- <div class="main_google">
- $ads3[siderad]
- </div> <!--{/if}--> <!-- // google_ad -->
-
- <!-- r_box_gray -->
- <!--<div class="r_box_gray"></div>-->
- <!-- // r_box_gray -->
-
- <!-- rank -->
- <div class="rank_box">
- <ul class="rank_tab">
- <li id="ranktab1" class="l_on" onmouseover="chrank_layer('1')"><a href="http://chn.chosun.com/rank/index.html?scode=chn" target="_top">热门新闻排行榜</a></li>
- <li id="ranktab2" class="r_off" onmouseover="chrank_layer('2')"><a href="http://chn.chosun.com/rank/index.html?scode=entertainment" target="_top">最新文章评论</a></li>
- </ul>
- <div id="rank_list1" style="display:block;"><ol class='rank_list'>
- <!--{block name="spacenews" parameter="order/i.viewnum DESC,i.dateline DESC/limit/0,10/cachetime/900/subjectlen/28/subjectdot/1/cachename/hot/tpl/data"}--><!--news-->
- <!--{eval $i=1;}-->
- <!--{loop $_SBLOCK['hot'] $value}-->
- <li><img src='{S_URL}/images/tpl_sample/num($i).gif' alt='$i'> <a href="$value[url]">$value[subject]</a></li>
- <!--{eval $i++;}-->
- <!--{/loop}-->
- </ol></div>
- <div id="rank_list2" style="display:none;"><ol class='rank_list'>
- <!--{block name="spacenews" parameter="type/news/order/i.replynum DESC,i.dateline ASC/limit/0,10/cachetime/900/subjectlen/28/subjectdot/1/cachename/pl/tpl/data"}--><!--news-->
- <!--{eval $i=1;}-->
- <!--{loop $_SBLOCK['pl'] $value}-->
- <li><img src='{S_URL}/images/tpl_sample/num($i).gif' alt='$i'> <a href="$value[url]">$value[subject]</a></li>
- <!--{eval $i++;}-->
- <!--{/loop}-->
- </ol>
- </div>
- </div>
- <script type="text/javascript">
- function chrank_layer(n){
- if (n == '1'){
- document.getElementById('rank_list2').style.display = 'none';
- document.getElementById('rank_list1').style.display = 'block';
- document.getElementById('ranktab1').className = 'l_on'
- document.getElementById('ranktab2').className = 'r_off'
- } else if (n == '2'){
- document.getElementById('rank_list1').style.display = 'none';
- document.getElementById('rank_list2').style.display = 'block';
- document.getElementById('ranktab1').className = 'l_off'
- document.getElementById('ranktab2').className = 'r_on'
- }
- }
- tab_random = Math.floor(Math.random()*2+1);
- chrank_layer(tab_random) ;
- </script>
- <!-- // rank -->
- </div>
- <!-- // sub_aside -->
-
- </div>
- <!-- // content -->
- </div>
- <!-- // container -->
- <script type="text/javascript">
- <!--
- function clearcommentmsg() {
- if($('message').value == '$_SCONFIG[commdefault]') $('message').value = '';
- }
- function addcommentmsg() {
- if($('message').value == '') $('message').value = '$_SCONFIG[commdefault]';
- }
- //-->
- </script>
- <script language="javascript" type="text/javascript">
- <!--
- addMediaAction('article_body');
- addImgLink("article_body");
- //-->
- </script>
- <!--{if !empty($ads3['pagemovead']) || !empty($ads3['pageoutad'])}-->
- <!--{if !empty($ads3['pagemovead'])}-->
- <div id="coupleBannerAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
- <div style="position: absolute; left: 6px; top: 6px;">
- $ads3[pagemovead]
- <br />
- <img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
- </div>
- <div style="position: absolute; right: 6px; top: 6px;">
- $ads3[pagemovead]
- <br />
- <img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
- </div>
- </div>
- <!--{/if}-->
- <!--{if !empty($ads3['pageoutad'])}-->
- <div id="floatAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
- <div id="floatFloor" style="position: absolute; right: 6px; bottom:-700px">
- $ads3[pageoutad]
- </div>
- </div>
- <!--{/if}-->
- <script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
- <script type="text/javascript">
- <!--{if !empty($ads3['pageoutad'])}-->
- var lengthobj = getWindowSize();
- lsfloatdiv('floatAdv', 0, 0, 'floatFloor' , -lengthobj.winHeight).floatIt();
- <!--{/if}-->
- <!--{if !empty($ads3['pagemovead'])}-->
- lsfloatdiv('coupleBannerAdv', 0, 0, '', 0).floatIt();
- <!--{/if}-->
- </script>
- <!--{/if}-->
- <!-- footer -->
- <div id='footer'>
- <p class='f_logo'><a href='/'><img src='http://chn.chosun.com/images/foot_logo.gif' alt='朝鲜日报中文网'></a></p>
- <div>
- <ul class='rel_site'>
- <li><a href="{S_URL}/index.php">$_SCONFIG[sitename]</a> <span>|</span></li>
- <li><a href="#action/site/type/map#">站点地图</a> <span>|</span></li>
- <li><a href="#action/site/type/link#">友情链接</a> <span>|</span></li>
- <li><a href="mailto:$_SCONFIG[adminemail]">联系我们</a> <span>|</span></li>
- <li><a href='http://chn.chosun.com/etc/rss.html'>RSS</a></li>
- </ul>
- <p class='fcopyright'>Powered by <a href="http://www.supesite.com" target="_blank">SupeSite</a> <em title="<?=S_RELEASE?>"><?=S_VER?></em> © 2001-2009 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a> <!--{eval debuginfo();}--></p>
- </div>
- </div>
- <!-- MAIN CONTENT end -->
- <!-- // footer -->
- </body>
- </html>
-
-
-
-
-
-
-
-
-
-
复制代码 |