| @@ -10,7 +10,7 @@ require_once(dirname(__FILE__)."/config.php"); | |||||
| $gourl = RemoveXSS($gourl); | $gourl = RemoveXSS($gourl); | ||||
| if($cfg_ml->IsLogin()) | if($cfg_ml->IsLogin()) | ||||
| { | { | ||||
| ShowMsg('你已经登陆系统,无需重新注册!', 'index.php'); | |||||
| ShowMsg('你已经登录系统,无需重新注册!', 'index.php'); | |||||
| exit(); | exit(); | ||||
| } | } | ||||
| require_once(dirname(__FILE__)."/templets/login.htm"); | require_once(dirname(__FILE__)."/templets/login.htm"); | ||||
| @@ -1,157 +0,0 @@ | |||||
| <!-- //主模板必须要引入{dede:global.cfg_cmsurl/}/static/js/dedeajax2.js --> | |||||
| <a name='postform'></a> | |||||
| <div class="mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt> | |||||
| <strong>发表评论</strong> | |||||
| <span class="more"></span> | |||||
| </dt> | |||||
| <dd> | |||||
| <div class="dede_comment_post"> | |||||
| <form action="#" method="post" name="feedback"> | |||||
| <input type="hidden" name="dopost" value="send" /> | |||||
| <input type="hidden" name="comtype" value="comments"> | |||||
| <input type="hidden" name="aid" value="{dede:field name="id"/}" /> | |||||
| <input type="hidden" name="fid" id='feedbackfid' value="0" /> | |||||
| <div class="dcmp-title"> | |||||
| <small>请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。</small> | |||||
| </div><!-- /dcmp-title --> | |||||
| <div class="dcmp-stand"> | |||||
| <strong>评价:</strong> | |||||
| <input type="radio" name="feedbacktype" checked="1" value="feedback" id="dcmp-stand-neu" /><label for="dcmp-stand-neu"><img src="{dede:global.cfg_templets_skin/}/images/cmt-neu.gif" />中立</label> | |||||
| <input type="radio" name="feedbacktype" value="good" id="dcmp-stand-good" /><label for="dcmp-stand-good"><img src="{dede:global.cfg_templets_skin/}/images/cmt-good.gif" />好评</label> | |||||
| <input type="radio" name="feedbacktype" value="bad" id="dcmp-stand-bad" /><label for="dcmp-stand-bad"><img src="{dede:global.cfg_templets_skin/}/images/cmt-bad.gif" />差评</label> | |||||
| </div><!-- /dcmp-stand --> | |||||
| <div class="clr"></div> | |||||
| <div class="dcmp-mood"> | |||||
| <strong>表情:</strong> | |||||
| <ul> | |||||
| {dede:php} | |||||
| for ($i = 1; $i < 12; $i++) | |||||
| { | |||||
| $isecheck = ($i == 1) ? 'checked="1" ' : ''; | |||||
| echo '<li><input type="radio" name="face" value="'.$i.'" '.$isecheck.'/><img src="'.$cfg_templets_skin.'/images/mood/ico-mood-'.$i.'.gif" /></li>'; | |||||
| } | |||||
| {/dede:php} | |||||
| </ul> | |||||
| </div><!-- /dcmp-mood --> | |||||
| <div class="dcmp-content"> | |||||
| <textarea cols="60" name="msg" rows="5" class="ipt-txt"></textarea> | |||||
| </div><!-- /dcmp-content --> | |||||
| <div class="dcmp-post"><!--未登陆--> | |||||
| <div class="dcmp-userinfo" id="_ajax_feedback"> | |||||
| 用户名:<input type="text" name="username" size="16" class="ipt-txt" style="text-transform: uppercase;"/> | |||||
| 验证码:<input type="text" name="validate" size="4" class="ipt-txt" style="text-transform:uppercase;"/><img src= "{dede:global.cfg_cmspath/}/plus/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src=this.src+\'?\'" title="点击我更换图片" alt="点击我更换图片" /> | |||||
| <input type="checkbox" name="notuser" id="dcmp-submit-guest" /><label for="dcmp-submit-guest" />匿名? </label> | |||||
| </div> | |||||
| {dede:php} | |||||
| if($cfg_mb_open=='Y') { | |||||
| echo '<script language="javascript" type="text/javascript">CheckLogin();</script>'; | |||||
| } | |||||
| {/dede:php} | |||||
| <div class="dcmp-submit"> | |||||
| <button type="button" onClick='PostComment()'>发表评论</button> | |||||
| </div> | |||||
| </div> | |||||
| </form> | |||||
| </div> | |||||
| </dd> | |||||
| </dl> | |||||
| </div><!-- //评论表单区结束 --> | |||||
| <!-- //评论内容区 --> | |||||
| <a name='commettop'></a> | |||||
| <div class="mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt> | |||||
| <strong>最新评论</strong> | |||||
| <span class="more"><a href="{dede:field name='phpurl'/}/feedback.php?aid={dede:field.id/}">进入详细评论页>></a></span> | |||||
| </dt> | |||||
| <!-- //这两个ID的区块必须存在,否则JS会出错 --> | |||||
| <dd id='commetcontentNew'></dd> | |||||
| <dd id='commetcontent'></dd> | |||||
| </dl> | |||||
| </div> | |||||
| <!-- | |||||
| //由于评论载入时使用异步传输,因此必须在最后一步加载(DIGG和评论框须放在评论内容前面) | |||||
| //如果一定需要提前的把myajax.SendGet改为myajax.SendGet2,但可能会引起页面阻滞 | |||||
| --> | |||||
| <script language='javascript'> | |||||
| function LoadCommets(page) | |||||
| { | |||||
| var taget_obj = document.getElementById('commetcontent'); | |||||
| var waithtml = "<div style='line-height:50px'><img src='{dede:global.cfg_cmsurl/}/images/loadinglit.gif' />评论加载中...</div>"; | |||||
| var myajax = new DedeAjax(taget_obj, true, true, '', 'x', waithtml); | |||||
| myajax.SendGet2("{dede:global.cfg_phpurl /}/feedback_ajax.php?dopost=getlist&aid={dede:field.id/}&page="+page); | |||||
| DedeXHTTP = null; | |||||
| } | |||||
| function PostComment() | |||||
| { | |||||
| var f = document.feedback; | |||||
| var nface = '6'; | |||||
| var nfeedbacktype = 'feedback'; | |||||
| var nvalidate = ''; | |||||
| var nnotuser = ''; | |||||
| var nusername = ''; | |||||
| var npwd = ''; | |||||
| var taget_obj = $DE('commetcontentNew'); | |||||
| var waithtml = "<div style='line-height:30px'><img src='{dede:global.cfg_cmsurl/}/images/loadinglit.gif' />正在发送中...</div>"; | |||||
| if(f.msg.value=='') | |||||
| { | |||||
| alert("评论内容不能为空!"); | |||||
| return; | |||||
| } | |||||
| if(f.validate) | |||||
| { | |||||
| if(f.validate.value=='') { | |||||
| alert("请填写验证码!"); | |||||
| return; | |||||
| } | |||||
| else { | |||||
| nvalidate = f.validate.value; | |||||
| } | |||||
| } | |||||
| if(f.msg.value.length > 500) | |||||
| { | |||||
| alert("你的评论是不是太长了?请填写500字以内的评论。"); | |||||
| return; | |||||
| } | |||||
| if(f.feedbacktype) { | |||||
| for(var i=0; i < f.feedbacktype.length; i++) | |||||
| if(f.feedbacktype[i].checked) nfeedbacktype = f.feedbacktype[i].value; | |||||
| } | |||||
| if(f.face) { | |||||
| for(var j=0; j < f.face.length; j++) | |||||
| if(f.face[j].checked) nface = f.face[j].value; | |||||
| } | |||||
| if(f.notuser.checked) nnotuser = '1'; | |||||
| if(f.username) nusername = f.username.value; | |||||
| if(f.pwd) npwd = f.pwd.value; | |||||
| var myajax = new DedeAjax(taget_obj, false, true, '', '', waithtml); | |||||
| myajax.sendlang = '{dede:global.cfg_soft_lang/}'; | |||||
| myajax.AddKeyN('dopost', 'send'); | |||||
| myajax.AddKeyN('aid', '{dede:field.id/}'); | |||||
| myajax.AddKeyN('fid', f.fid.value); | |||||
| myajax.AddKeyN('face', nface); | |||||
| myajax.AddKeyN('feedbacktype', nfeedbacktype); | |||||
| myajax.AddKeyN('validate', nvalidate); | |||||
| myajax.AddKeyN('notuser', nnotuser); | |||||
| myajax.AddKeyN('username', nusername); | |||||
| myajax.AddKeyN('pwd', npwd); | |||||
| myajax.AddKeyN('msg', f.msg.value); | |||||
| myajax.SendPost2('{dede:global.cfg_phpurl/}/feedback_ajax.php'); | |||||
| f.msg.value = ''; | |||||
| f.fid.value = 0; | |||||
| if(f.validate) | |||||
| { | |||||
| if($DE('validateimg')) $DE('validateimg').src = "{dede:global.cfg_cmsurl/}/plus/vdimgck.php?"+f.validate.value; | |||||
| f.validate.value = ''; | |||||
| } | |||||
| } | |||||
| function quoteCommet(fid) | |||||
| { | |||||
| document.feedback.fid.value = fid; | |||||
| } | |||||
| LoadCommets(1); | |||||
| </script><!-- //评论内容区结束 --> | |||||
| @@ -1,151 +0,0 @@ | |||||
| <!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={dede:global.cfg_soft_lang/}" /> | |||||
| <title>{dede:field.title/}_{dede:global.cfg_webname/}</title> | |||||
| <meta name="keywords" content="{dede:field.keywords/}" /> | |||||
| <meta name="description" content="{dede:field.description function='html2text(@me)'/}" /> | |||||
| <meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}"> | |||||
| <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script> | |||||
| <link href="{dede:global.cfg_templets_skin/}/style/dedecms.css" rel="stylesheet" media="screen" type="text/css" /> | |||||
| <script language="javascript" type="text/javascript"> | |||||
| <!-- | |||||
| function checkSubmit(){ | |||||
| if(document.feedback.msg.value!='') document.feedback.submit(); | |||||
| else alert("评论内容不能为空!"); | |||||
| } | |||||
| --> | |||||
| </script> | |||||
| </head> | |||||
| <body class="articleview"> | |||||
| {dede:include filename="head2.htm"/} | |||||
| <!-- /header --> | |||||
| <div class="channel-nav w960 center clear"> | |||||
| <div class='sonnav'> {dede:channel type='self' currentstyle="<span><a href='~typelink~' class='thisclass'>~typename~</a></span>"} <span><a href='[field:typeurl/]'>[field:typename/]</a></span>{/dede:channel} </div> | |||||
| </div> | |||||
| <!-- /channel-nav --> | |||||
| <div class="w960 center clear mt1"> | |||||
| <div class="pleft"> | |||||
| <div class="place"> <strong>当前位置:</strong> {dede:field name='position'/} </div> | |||||
| <!-- /place --> | |||||
| <div class="viewbox"> | |||||
| <div class="title"> | |||||
| <h2>{dede:field.title/}</h2> | |||||
| </div> | |||||
| <!-- /title --> | |||||
| <div class="info"> <small>时间:</small>{dede:field.pubdate function="MyDate('Y-m-d H:i',@me)"/}<small>来源:</small>{dede:field.source/} <small>作者:</small>{dede:field.writer/} <small>点击:</small> | |||||
| <script src="{dede:field name='phpurl'/}/count.php?view=yes&aid={dede:field name='id'/}&mid={dede:field name='mid'/}" type='text/javascript' language="javascript"></script> | |||||
| 次</div> | |||||
| <!-- /info --> | |||||
| {dede:field.description runphp='yes'} | |||||
| if(@me<>'' )@me = ' | |||||
| <div class="intro">'.@me.'</div> | |||||
| '; | |||||
| {/dede:field.description} | |||||
| <div class="content"> | |||||
| <div id="contentMidPicAD" style="float:right; clear:both; top:0; vertical-align:top;">{dede:myad name='contentMidPicAD'/}</div> | |||||
| {dede:field.body/} </div> | |||||
| <!-- /content --> | |||||
| <div class="dede_pages"> | |||||
| <ul class="pagelist"> | |||||
| {dede:pagebreak/} | |||||
| </ul> | |||||
| </div> | |||||
| <!-- /pages --> | |||||
| <iframe src="{dede:global.cfg_phpurl/}/digg_frame.php?id={dede:field.id/}" width="98%" height="100" style="overflow:hidden;" frameborder="0"></iframe> | |||||
| <div class="boxoff"> <strong>------分隔线----------------------------</strong> </div> | |||||
| <div class="handle"> | |||||
| <div class="context"> | |||||
| <ul> | |||||
| <li>{dede:prenext get='pre'/}</li> | |||||
| <li>{dede:prenext get='next'/}</li> | |||||
| </ul> | |||||
| </div> | |||||
| <!-- /context --> | |||||
| <div class="actbox"> | |||||
| <ul> | |||||
| <li id="act-fav"><a href="{dede:field name='phpurl'/}/stow.php?aid={dede:field.id/}" target="_blank">收藏</a></li> | |||||
| <li id="act-err"><a href="{dede:field name='phpurl'/}/erraddsave.php?aid={dede:field.id/}&title={dede:field.title/}" target="_blank">挑错</a></li> | |||||
| <li id="act-pus"><a href="{dede:field name='phpurl'/}/recommend.php?aid={dede:field.id/}" target="_blank">推荐</a></li> | |||||
| <li id="act-pnt"><a href="#" onClick="window.print();">打印</a></li> | |||||
| </ul> | |||||
| </div> | |||||
| <!-- /actbox --> | |||||
| </div> | |||||
| <!-- /handle --> | |||||
| </div> | |||||
| <!-- /viewbox --> | |||||
| <iframe id="frame_content" name="frame_content" src="{dede:field name='phpurl'/}/comments_frame.php?id={dede:field.id/}" | |||||
| width="100%" height="0" scrolling="auto" onload="resizeFrame()" frameborder="0"></iframe> | |||||
| <script language='javascript'> | |||||
| var h = -1; | |||||
| var frameName = 'frame_content'; | |||||
| var _frame = document.getElementById(frameName); | |||||
| function resizeFrame() | |||||
| { | |||||
| if(document.all) { | |||||
| _frame.height = _frame.document.body.scrollHeight; | |||||
| } | |||||
| else { | |||||
| t = setTimeout(timeCall, 20); | |||||
| } | |||||
| } | |||||
| function timeCall() | |||||
| { | |||||
| if(h > -1) | |||||
| { | |||||
| _frame.style.height = h + 'px'; | |||||
| clearTimeout(t); | |||||
| } | |||||
| else | |||||
| { | |||||
| try{ | |||||
| h = window.frames[frameName].frames['xclient'].location.hash.substring(1); | |||||
| }catch(e){} | |||||
| setTimeout(timeCall, 20); | |||||
| } | |||||
| } | |||||
| </script> | |||||
| </div> | |||||
| <!-- /pleft --> | |||||
| <div class="pright"> | |||||
| <div class="infos_userinfo"> {dede:memberinfos} | |||||
| <dl class="tbox"> | |||||
| <dt><strong>发布者资料</strong></dt> | |||||
| <dd> <a href="[field:spaceurl /]" class="userface"><img src="[field:face/]" width="52" height="52" /></a> <a href='[field:spaceurl /]' class="username">[field:uname/]</a> <span class="useract"> <a href="[field:spaceurl /]" class="useract-vi">查看详细资料</a> <a href="[field:spaceurl /]&action=guestbook" class="useract-pm">发送留言</a> <a href="[field:spaceurl /]&action=newfriend" class="useract-af">加为好友</a> </span> <span class="userinfo-sp"><small>用户等级:</small>[field:rankname /]</span> <span class="userinfo-sp"><small>注册时间:</small>[field:jointime function="MyDate('Y-m-d H:m',@me)"/]</span> <span class="userinfo-sp"><small>最后登录:</small>[field:logintime function="MyDate('Y-m-d H:m',@me)"/]</span> </dd> | |||||
| </dl> | |||||
| {/dede:memberinfos} </div> | |||||
| <div class="commend mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>推荐内容</strong></dt> | |||||
| <dd> | |||||
| <ul class="d4"> | |||||
| {dede:arclist flag='c' titlelen=42 row=6} | |||||
| <li><a href="[field:arcurl/]">[field:title/]</a> | |||||
| <p>[field:description function='cn_substr(@me,80)'/]...</p> | |||||
| </li> | |||||
| {/dede:arclist} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div> | |||||
| <!-- /commend --> | |||||
| <div class="hot mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>热点内容</strong></dt> | |||||
| <dd> | |||||
| <ul class="c1 ico2"> | |||||
| {dede:arclist row=10 orderby=click} | |||||
| <li><a href="[field:arcurl/]">[field:title/]</a></li> | |||||
| {/dede:arclist} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div> | |||||
| </div> | |||||
| <!-- /pright --> | |||||
| </div> | |||||
| {dede:include filename="footer.htm"/} | |||||
| <!-- /footer --> | |||||
| </body> | |||||
| </html> | |||||
| @@ -1,261 +0,0 @@ | |||||
| <!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={dede:global.cfg_soft_lang/}" /> | |||||
| <title>{dede:field.title/}_{dede:global.cfg_webname/}</title> | |||||
| <meta name="keywords" content="{dede:field.keywords/}" /> | |||||
| <meta name="description" content="{dede:field.description function='html2text(@me)'/}" /> | |||||
| <link href="{dede:global.cfg_templets_skin/}/style/dedecms.css" rel="stylesheet" media="screen" type="text/css" /> | |||||
| <link href="{dede:global.cfg_templets_skin/}style/picture.css" rel="stylesheet" type="text/css" /> | |||||
| <meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}"> | |||||
| <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script> | |||||
| <script language="javascript" type="text/javascript"> | |||||
| var shortname = "{dede:global.art_shortname/}"; | |||||
| var npage = {dede:field name='nowpage'/}; | |||||
| var totalpage = {dede:field name='totalpage'/}; | |||||
| var namehand = '{dede:field name='namehand'/}'; | |||||
| var displaytype = '{dede:field name='displaytype'/}'; | |||||
| var gtimer = null; | |||||
| //大图 | |||||
| function dPlayBig() | |||||
| { | |||||
| var imgObj = document.getElementById("bigimg"); | |||||
| window.open(imgObj.src); | |||||
| } | |||||
| //停止幻灯 | |||||
| function dStopPlay() | |||||
| { | |||||
| if(gtimer) clearTimeout(gtimer); | |||||
| else dPlayNext(); | |||||
| } | |||||
| //开始幻灯 | |||||
| function dStartPlay() | |||||
| { | |||||
| if(npage!=totalpage) { | |||||
| gtimer = setTimeout("dPlayNext()",10000); | |||||
| } | |||||
| } | |||||
| //上一张 | |||||
| function dPlayPre(){ | |||||
| if(npage<2) | |||||
| { | |||||
| alert("这是第一页"); | |||||
| } | |||||
| else | |||||
| { | |||||
| if(npage==2) { | |||||
| if(namehand!='') location.href = namehand+shortname; | |||||
| else location.href = "view.php?aid={dede:field name='id'/}"; | |||||
| } else if(displaytype=='st' && namehand!='') { | |||||
| location.href = namehand+"_"+(npage-1)+shortname; | |||||
| } else { | |||||
| location.href = "view.php?aid={dede:field name='id'/}&pageno="+(npage-1); | |||||
| } | |||||
| } | |||||
| } | |||||
| //下一张 | |||||
| function dPlayNext() | |||||
| { | |||||
| if(npage==totalpage) { alert("没有了哦"); } | |||||
| else | |||||
| { | |||||
| if(displaytype=='st' && namehand!='') location.href = namehand+"_"+(npage+1)+shortname; | |||||
| else location.href = "view.php?aid={dede:field name='id'/}&pageno="+(npage+1); | |||||
| } | |||||
| } | |||||
| --> | |||||
| </script> | |||||
| </head> | |||||
| <body class="picboxview"> | |||||
| {dede:include filename="head2.htm"/} | |||||
| <!-- /header --> | |||||
| <div class="channel-nav w960 center clear"> | |||||
| <div class='sonnav'> | |||||
| {dede:channel type='self' currentstyle="<span><a href='~typelink~' class='thisclass'>~typename~</a></span>"} | |||||
| <span><a href='[field:typeurl/]'>[field:typename/]</a></span>{/dede:channel} | |||||
| </div> | |||||
| </div><!-- /channel-nav --> | |||||
| <div class="w960 center clear mt1"> | |||||
| <div class="pleft"> | |||||
| <div class="place"> | |||||
| <strong>当前位置:</strong> {dede:field name='position'/} | |||||
| </div><!-- /place --> | |||||
| <div class="viewbox"> | |||||
| <div class="title"> | |||||
| <h2>{dede:field.title/}</h2> | |||||
| </div><!-- /title --> | |||||
| <div class="info"> | |||||
| <small>时间:</small>{dede:field.pubdate function="MyDate('Y-m-d H:i',@me)"/}<small>来源:</small>{dede:field.source/} <small>作者:</small>{dede:field.writer/} <small>点击:</small><script src="{dede:field name='phpurl'/}/count.php?view=yes&aid={dede:field name='id'/}&mid={dede:field name='mid'/}" type='text/javascript' language="javascript"></script>次 | |||||
| </div><!-- /info --> | |||||
| <div class="picbox"> | |||||
| {dede:field name='pagestyle' alt='根据不同的页面风格输出不同的头信息' runphp='yes'} | |||||
| if(@me==3) { | |||||
| @me = '<ul class="e8">'; | |||||
| } | |||||
| else if(@me==2) { | |||||
| @me = " | |||||
| <center> | |||||
| <a href='javascript:dPlayBig();' class='c1'>原始图片</a>\r\n | |||||
| <a href='javascript:dPlayPre();' class='c1'>上一张</a>\r\n | |||||
| <a href='javascript:dPlayNext();' class='c1'>下一张</a>\r\n | |||||
| <a href='javascript:dStopPlay();' class='c1'>自动 / 暂停播放</a>\r\n | |||||
| </center> | |||||
| "; | |||||
| } | |||||
| else { | |||||
| @me = ''; | |||||
| } | |||||
| {/dede:field} | |||||
| {dede:field name='imgurls' alt='图片输出区'} | |||||
| [field:pagestyle runphp='yes'] @me= (@me==3 ? '<li>' : '');[/field:pagestyle] | |||||
| <a href='[field:linkurl/]' target='_blank' [field:pagestyle runphp='yes'] @me= (@me==3 ? 'class="pic"' : ''); [/field:pagestyle]> | |||||
| <img src='[field:imgsrc/]' id='bigimg' [field:imgwidth /] alt='[field:alttext /]' border='0' /> | |||||
| </a> | |||||
| <!-- 如果使用的是多页单图模式(幻灯),把href里的链接改为 javascript:dPlayNext(); 表示点击看下一页 --> | |||||
| <a href="[field:linkurl/]" [field:pagestyle runphp='yes']@me = (@me==3 ? 'class="title"' : '');[/field:pagestyle]> | |||||
| [field:alttext /] | |||||
| </a> | |||||
| [field:pagestyle runphp='yes'] @me = (@me==3 ? '</li>' : ''); [/field:pagestyle] | |||||
| {/dede:field} | |||||
| {dede:field name='pagestyle' alt='根据不同的风格输出不同的结尾信息' runphp='yes'} | |||||
| if(@me==3) { | |||||
| @me = '</ul>'; | |||||
| } | |||||
| else if(@me==2) { | |||||
| @me = "<script language='javascript'>dStartPlay();</script>\r\n"; | |||||
| } | |||||
| else { | |||||
| @me = ''; | |||||
| } | |||||
| {/dede:field} | |||||
| </div> | |||||
| <div class="intro"><div id="contentMidPicAD" style="float:right; clear:both; top:0; vertical-align:top; display:block">{dede:myad name='contentMidPicAD'/}</div>{dede:field.body/} | |||||
| <div style="clear:both"></div> | |||||
| </div> | |||||
| <div class="dede_pages"> | |||||
| <ul class="pagelist"> | |||||
| {dede:pagebreak/} | |||||
| </ul> | |||||
| </div><!-- /pages --> | |||||
| <iframe src="{dede:global.cfg_phpurl/}/digg_frame.php?id={dede:field.id/}" width="98%" height="100" style="overflow:hidden;" frameborder="0"></iframe> | |||||
| <div class="boxoff"> | |||||
| <strong>------分隔线----------------------------</strong> | |||||
| </div> | |||||
| <div class="handle"> | |||||
| <div class="context"> | |||||
| <ul> | |||||
| <li>{dede:prenext get='pre'/}</li> | |||||
| <li>{dede:prenext get='next'/}</li> | |||||
| </ul> | |||||
| </div><!-- /context --> | |||||
| <div class="actbox"> | |||||
| <ul> | |||||
| <li id="act-fav"><a href="{dede:field name='phpurl'/}/stow.php?aid={dede:field.id/}" target="_blank">收藏</a></li> | |||||
| <li id="act-err"><a href="{dede:field name='phpurl'/}/erraddsave.php?aid={dede:field.id/}&title={dede:field.title/}" target="_blank">挑错</a></li> | |||||
| <li id="act-pus"><a href="{dede:field name='phpurl'/}/recommend.php?aid={dede:field.id/}" target="_blank">推荐</a></li> | |||||
| <li id="act-pnt"><a href="#" onClick="window.print();">打印</a></li> | |||||
| </ul> | |||||
| </div><!-- /actbox --> | |||||
| </div><!-- /handle --> | |||||
| </div><!-- /viewbox --> | |||||
| <iframe id="frame_content" name="frame_content" src="{dede:field name='phpurl'/}/comments_frame.php?id={dede:field.id/}" | |||||
| width="100%" height="0" scrolling="auto" onload="resizeFrame()" frameborder="0"></iframe> | |||||
| <script language='javascript'> | |||||
| var h = -1; | |||||
| var frameName = 'frame_content'; | |||||
| var _frame = document.getElementById(frameName); | |||||
| function resizeFrame() | |||||
| { | |||||
| if(document.all) { | |||||
| _frame.height = _frame.document.body.scrollHeight; | |||||
| } | |||||
| else { | |||||
| t = setTimeout(timeCall, 20); | |||||
| } | |||||
| } | |||||
| function timeCall() | |||||
| { | |||||
| if(h > -1) | |||||
| { | |||||
| _frame.style.height = h + 'px'; | |||||
| clearTimeout(t); | |||||
| } | |||||
| else | |||||
| { | |||||
| try{ | |||||
| h = window.frames[frameName].frames['xclient'].location.hash.substring(1); | |||||
| }catch(e){} | |||||
| setTimeout(timeCall, 20); | |||||
| } | |||||
| } | |||||
| </script> | |||||
| </div><!-- /pleft --> | |||||
| <div class="pright"> | |||||
| <div class="infos_userinfo"> | |||||
| {dede:memberinfos} | |||||
| <dl class="tbox"> | |||||
| <dt><strong>发布者资料</strong></dt> | |||||
| <dd> | |||||
| <a href="[field:spaceurl /]" class="userface"><img src="[field:face/]" width="52" height="52" /></a> | |||||
| <a href='[field:spaceurl /]' class="username">[field:uname/]</a> | |||||
| <span class="useract"> | |||||
| <a href="[field:spaceurl /]" class="useract-vi">查看详细资料</a> | |||||
| <a href="[field:spaceurl /]&action=guestbook" class="useract-pm">发送留言</a> | |||||
| <a href="[field:spaceurl /]&action=newfriend" class="useract-af">加为好友</a> | |||||
| </span> | |||||
| <span class="userinfo-sp"><small>用户等级:</small>[field:rankname /]</span> | |||||
| <span class="userinfo-sp"><small>注册时间:</small>[field:jointime function="MyDate('Y-m-d H:m',@me)"/]</span> | |||||
| <span class="userinfo-sp"><small>最后登录:</small>[field:logintime function="MyDate('Y-m-d H:m',@me)"/]</span> | |||||
| </dd> | |||||
| </dl> | |||||
| {/dede:memberinfos} | |||||
| </div> | |||||
| <div class="mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>热点图集</strong></dt> | |||||
| <dd> | |||||
| <ul class="e3"> | |||||
| {dede:arclist row='5' type='image.' orderby=click} | |||||
| <li> | |||||
| <a href="[field:arcurl/]" class="preview"><img src="[field:litpic/]" alt="[field:title function='html2text(@me)'/]"/></a> | |||||
| <a href="[field:arcurl/]" class="title">[field:title/]</a> | |||||
| <span class="intro">更新:[field:pubdate function="GetDateMK(@me)"/]</span> | |||||
| </li> | |||||
| {/dede:arclist} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div> | |||||
| <div class="mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>推荐图集</strong></dt> | |||||
| <dd> | |||||
| <ul class="e9"> | |||||
| {dede:arclist row='8' type='image.commend.'} | |||||
| <li><a href="[field:arcurl/]"><img src="[field:litpic/]" alt="[field:title function='html2text(@me)'/]"/><span class="title">[field:title/]</span></a></li> | |||||
| {/dede:arclist} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div> | |||||
| </div><!-- /pright --> | |||||
| </div> | |||||
| {dede:include filename="footer.htm"/} | |||||
| <!-- /footer --> | |||||
| </body> | |||||
| </html> | |||||
| @@ -1,201 +0,0 @@ | |||||
| <!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={dede:global.cfg_soft_lang/}" /> | |||||
| <title>{dede:field.title/}_{dede:global.cfg_webname/}</title> | |||||
| <meta name="keywords" content="{dede:field.keywords/}" /> | |||||
| <meta name="description" content="{dede:field.description function='html2text(@me)'/}" /> | |||||
| <link href="{dede:global.cfg_templets_skin/}/style/dedecms.css" rel="stylesheet" media="screen" type="text/css" /> | |||||
| <meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}"> | |||||
| <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script> | |||||
| </head> | |||||
| <body class="downlist"> | |||||
| {dede:include filename="head2.htm"/} | |||||
| <!-- /header --> | |||||
| <div class="channel-nav w960 center clear"> | |||||
| <div class='sonnav'> | |||||
| {dede:channel type='self' currentstyle="<span><a href='~typelink~' class='thisclass'>~typename~</a></span>"} | |||||
| <span><a href='[field:typeurl/]'>[field:typename/]</a></span>{/dede:channel} | |||||
| </div> | |||||
| <span class="back"> | |||||
| <a href="{dede:global.cfg_cmsurl/}/">返回首页</a> | |||||
| </span> | |||||
| </div><!-- /channel-nav --> | |||||
| <div class="w960 center clear mt1"> | |||||
| <div class="pleft"> | |||||
| <div class="place"> | |||||
| <strong>当前位置:</strong> {dede:field name='position'/} | |||||
| </div><!-- /place --> | |||||
| <div class="viewbox"> | |||||
| <div class="title"> | |||||
| <h2>{dede:field.title /}</h2> | |||||
| </div><!-- /title --> | |||||
| <div class="infolist"> | |||||
| <small>软件类型:</small><span>{dede:field.softtype/}</span> | |||||
| <small>授权方式:</small><span>{dede:field.accredit/}</span> | |||||
| <small>界面语言:</small><span>{dede:field.language/}</span> | |||||
| <small>软件大小:</small><span>{dede:field.softsize/}</span> | |||||
| <small>文件类型:</small><span>{dede:field.filetype/}</span> | |||||
| <small>运行环境:</small><span>{dede:field.os/}</span> | |||||
| <small>软件等级:</small><span>{dede:field.softrank function='GetRankStar(@me)'/}</span> | |||||
| <small>发布时间:</small><span>{dede:field.pubdate function="GetDateMk('@me')"/}</span> | |||||
| <small>官方网址:</small><span>{dede:field.officialurl/}</span> | |||||
| <small>演示网址:</small><span>{dede:field.officialdemo/}</span> | |||||
| <small>下载次数:</small><span><script src="{dede:field.phpurl/}/disdls.php?aid={dede:field.id/}" language="javascript"></script></span> | |||||
| </div><!-- /info --> | |||||
| <div class="picview"> | |||||
| {dede:field name='image'/} | |||||
| </div><!-- /info --> | |||||
| <div class="labeltitle"> | |||||
| <strong>软件介绍</strong> | |||||
| </div> | |||||
| <div class="content"> | |||||
| <div id="contentMidPicAD" style="float:right; clear:both; top:0; vertical-align:top;">{dede:mda name='250x250'/}</div> | |||||
| {dede:field.introduce/} | |||||
| </div> | |||||
| <div class="labeltitle"> | |||||
| <strong>下载地址</strong> | |||||
| </div> | |||||
| <div class="content"> | |||||
| <ul class="downurllist"> | |||||
| {dede:field name='softlinks'/} | |||||
| </ul> | |||||
| </div> | |||||
| <div class="labeltitle"> | |||||
| <strong>下载说明</strong> | |||||
| </div> | |||||
| <div class="intro"> | |||||
| {dede:softmsg/} | |||||
| </div> | |||||
| <iframe src="{dede:global.cfg_phpurl/}/digg_frame.php?id={dede:field.id/}" width="98%" height="100" style="overflow:hidden;" frameborder="0"></iframe> | |||||
| <div class="boxoff"> | |||||
| <strong>------分隔线----------------------------</strong> | |||||
| </div> | |||||
| <div class="handle"> | |||||
| <div class="context"> | |||||
| <ul> | |||||
| <li>{dede:prenext get='pre'/}</li> | |||||
| <li>{dede:prenext get='next'/}</li> | |||||
| </ul> | |||||
| </div><!-- /context --> | |||||
| <div class="actbox"> | |||||
| <ul> | |||||
| <li id="act-fav"><a href="{dede:global name='cfg_phpurl'/}/stow.php?aid={dede:field.id/}" target="_blank">收藏</a></li> | |||||
| <li id="act-err"><a href="{dede:global name='cfg_phpurl'/}/erraddsave.php?aid={dede:field.id/}&title={dede:field.title/}" target="_blank">挑错</a></li> | |||||
| <li id="act-pus"><a href="{dede:global name='cfg_phpurl'/}/recommend.php?aid={dede:field.id/}" target="_blank">推荐</a></li> | |||||
| <li id="act-pnt"><a href="#" onClick="window.print();">打印</a></li> | |||||
| </ul> | |||||
| </div><!-- /actbox --> | |||||
| </div><!-- /handle --> | |||||
| </div><!-- /viewbox --> | |||||
| <iframe id="frame_content" name="frame_content" src="{dede:global name='cfg_phpurl'/}/comments_frame.php?id={dede:field.id/}" | |||||
| width="100%" height="0" scrolling="auto" onload="resizeFrame()" frameborder="0"></iframe> | |||||
| <script language='javascript'> | |||||
| var h = -1; | |||||
| var frameName = 'frame_content'; | |||||
| var _frame = document.getElementById(frameName); | |||||
| function resizeFrame() | |||||
| { | |||||
| if(document.all) { | |||||
| _frame.height = _frame.document.body.scrollHeight; | |||||
| } | |||||
| else { | |||||
| t = setTimeout(timeCall, 20); | |||||
| } | |||||
| } | |||||
| function timeCall() | |||||
| { | |||||
| if(h > -1) | |||||
| { | |||||
| _frame.style.height = h + 'px'; | |||||
| clearTimeout(t); | |||||
| } | |||||
| else | |||||
| { | |||||
| try{ | |||||
| h = window.frames[frameName].frames['xclient'].location.hash.substring(1); | |||||
| }catch(e){} | |||||
| setTimeout(timeCall, 20); | |||||
| } | |||||
| } | |||||
| </script> | |||||
| </div><!-- /pleft --> | |||||
| <div class="pright"> | |||||
| <div class="infos_userinfo"> | |||||
| {dede:memberinfos} | |||||
| <dl class="tbox"> | |||||
| <dt><strong>发布者资料</strong></dt> | |||||
| <dd> | |||||
| <a href="[field:spaceurl /]" class="userface"><img src="[field:face/]" width="52" height="52" /></a> | |||||
| <a href='[field:spaceurl /]' class="username">[field:uname/]</a> | |||||
| <span class="useract"> | |||||
| <a href="[field:spaceurl /]" class="useract-vi">查看详细资料</a> | |||||
| <a href="[field:spaceurl /]&action=guestbook" class="useract-pm">发送留言</a> | |||||
| <a href="[field:spaceurl /]&action=newfriend" class="useract-af">加为好友</a> | |||||
| </span> | |||||
| <span class="userinfo-sp"><small>用户等级:</small>[field:rankname /]</span> | |||||
| <span class="userinfo-sp"><small>注册时间:</small>[field:jointime function="MyDate('Y-m-d H:m',@me)"/]</span> | |||||
| <span class="userinfo-sp"><small>最后登录:</small>[field:logintime function="MyDate('Y-m-d H:m',@me)"/]</span> | |||||
| </dd> | |||||
| </dl> | |||||
| {/dede:memberinfos} | |||||
| </div> | |||||
| <div class="downrange mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>推荐软件</strong></dt> | |||||
| <dd> | |||||
| <ul class="f1"> | |||||
| {dede:arclist flag='c' titlelen=42 row=8} | |||||
| <li> | |||||
| <a href="[field:arcurl/]">[field:title/]</a> | |||||
| <span><small>好评:</small>[field:scores/]</span> | |||||
| <span><small>人气:</small>[field:click/]</span> | |||||
| </li> | |||||
| {/dede:arclist} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div><!-- /downrange --> | |||||
| <div class="hot mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>热门软件</strong></dt> | |||||
| <dd> | |||||
| <ul class="c1 ico2"> | |||||
| {dede:arclist row=10 orderby=click} | |||||
| <li><a href="[field:arcurl/]">[field:title/]</a></li> | |||||
| {/dede:arclist} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div> | |||||
| </div><!-- /pright --> | |||||
| </div> | |||||
| {dede:include filename="footer.htm"/} | |||||
| <!-- /footer --> | |||||
| <script src="{dede:global name='cfg_phpurl'/}/count.php?aid={dede:field name='id'/}&mid={dede:field name='mid'/}" language="javascript"></script> | |||||
| <script type="text/javascript"> | |||||
| var contentRtPicAD2 = document.getElementById("contentRtPicAD2"); | |||||
| var stop = contentRtPicAD2.offsetTop - 60, | |||||
| docBody = document.documentElement || document.body.parentNode || document.body, | |||||
| hasOffset = window.pageYOffset !== undefined, | |||||
| scrollTop; | |||||
| window.onscroll = function (e) { | |||||
| // cross-browser compatible scrollTop. | |||||
| scrollTop = hasOffset ? window.pageYOffset : docBody.scrollTop; | |||||
| if (scrollTop >= stop) { | |||||
| contentRtPicAD2.className = 'stick'; | |||||
| } else { | |||||
| contentRtPicAD2.className = ''; | |||||
| } | |||||
| } | |||||
| </script> | |||||
| </body> | |||||
| </html> | |||||
| @@ -1,83 +0,0 @@ | |||||
| <!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={dede:global.cfg_soft_lang/}" /> | |||||
| <title>{dede:field.title/}_{dede:global.cfg_webname/}</title> | |||||
| <meta name="keywords" content="{dede:field.keywords/}" /> | |||||
| <meta name="description" content="{dede:field.description function='html2text(@me)'/}" /> | |||||
| <link href="{dede:global.cfg_templets_skin/}/style/dedecms.css" rel="stylesheet" media="screen" type="text/css" /> | |||||
| <meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}"> | |||||
| <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script> | |||||
| </head> | |||||
| <body > | |||||
| {dede:include filename="head2.htm"/} | |||||
| <!-- /header --> | |||||
| <div class="w960 center clear mt1"> | |||||
| <div class="pleft"> | |||||
| <div class="place"> | |||||
| <strong>当前位置:</strong> {dede:field name='position'/}专题 | |||||
| </div><!-- /place --> | |||||
| <div class="viewbox"> | |||||
| <div class="title"> | |||||
| <h2>{dede:field name="title"/}</h2> | |||||
| </div><!-- /title --> | |||||
| <div class="info"> | |||||
| <small>时间:</small>{dede:field.pubdate function="MyDate('Y-m-d H:i',@me)"/}<small>责任编辑:</small>{dede:field.writer/} <small>点击:</small><script src="{dede:field name='phpurl'/}/count.php?view=yes&aid={dede:field name='id'/}&mid={dede:field name='mid'/}" type='text/javascript' language="javascript"></script>次 | |||||
| </div><!-- /info --> | |||||
| <div class="specialpic"> | |||||
| <img src="{dede:field name='litpic'/}" /> | |||||
| </div> | |||||
| <div class="content"> | |||||
| {dede:field name='description'/} | |||||
| </div><!-- /content --> | |||||
| <div class="boxoff"> | |||||
| <strong>------分隔线----------------------------</strong> | |||||
| </div> | |||||
| </div><!-- /viewbox --> | |||||
| <div class="speciallist"> | |||||
| {dede:field name='note' noteid='aaa' /} | |||||
| {dede:field name='note' noteid='bbb' /} | |||||
| {dede:field name='note' noteid='ccc' /} | |||||
| {dede:field name='note' noteid='ddd' /} | |||||
| </div> | |||||
| </div><!-- /pleft --> | |||||
| <div class="pright"> | |||||
| <div class="commend"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>推荐专题</strong></dt> | |||||
| <dd> | |||||
| <ul class="d4"> | |||||
| {dede:arclist flag='c' channelid='-1' titlelen=42 row=6} | |||||
| <li><a href="[field:arcurl/]">[field:title/]</a> | |||||
| <p>[field:description function='cn_substr(@me,80)'/]...</p> | |||||
| </li>{/dede:arclist} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div><!-- /commend --> | |||||
| <div class="hot mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>热点内容</strong></dt> | |||||
| <dd> | |||||
| <ul class="c1 ico2"> | |||||
| {dede:arclist row=10 orderby=click} | |||||
| <li><a href="[field:arcurl/]">[field:title/]</a></li> | |||||
| {/dede:arclist} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div> | |||||
| </div><!-- /pright --> | |||||
| </div> | |||||
| {dede:include filename="footer.htm"/} | |||||
| <!-- /footer --> | |||||
| </body> | |||||
| </html> | |||||
| @@ -1,49 +0,0 @@ | |||||
| <div class="header_top"> | |||||
| <div class="w960 center"> | |||||
| <span id="time" class="time">织梦CMS - 轻松建站从此开始!</span> | |||||
| <div class="toplinks"><a href="{dede:global.cfg_cmsurl/}/plus/heightsearch.php" target="_blank">高级搜索</a>|<a href="{dede:global.cfg_cmsurl/}/data/sitemap.html" target="_blank">网站地图</a>|<a href="{dede:global.cfg_cmsurl/}/tags.php">TAG标签</a><a href="{dede:global.cfg_dataurl/}/rssmap.html" class="rss">RSS订阅</a><span>[<a href=""onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('{dede:global.cfg_basehost/}');">设为首页</a>] [<a href="javascript:window.external.AddFavorite('{dede:global.cfg_basehost/}','{dede:global.cfg_webname/}')">加入收藏</a>]</span></div> | |||||
| </div> | |||||
| </div> | |||||
| <div class="header"> | |||||
| <div class="top w960 center"> | |||||
| <div class="title"> | |||||
| <h1><a href="{dede:global.cfg_basehost/}"><img src="{dede:global.cfg_templets_skin/}/images/logo.gif" height="54" width="216" alt="{dede:global.cfg_webname/}"/></a> </h1> | |||||
| </div> | |||||
| </div><!-- //top --> | |||||
| <!-- //菜单 --> | |||||
| <div class="module blue mT10 wrapper w963"> | |||||
| <div class="top"> | |||||
| <!-- //如果不使用currentstyle,可以在channel标签加入 cacheid='channeltoplist' 属性提升性能 --> | |||||
| <div id="navMenu"> | |||||
| <ul> | |||||
| <li><a href='{dede:global.cfg_cmsurl/}/'><span>主页</span></a></li> | |||||
| {dede:channel type='top' row='10' currentstyle="<li class='hover'><a href='~typelink~' ~rel~><span>~typename~</span></a></li>"} | |||||
| <li><a href='[field:typeurl/]' [field:rel/]><span>[field:typename/]</span></a></li> | |||||
| {/dede:channel} | |||||
| </ul> | |||||
| </div> | |||||
| <div class="search"> | |||||
| <form name="formsearch" action="{dede:global.cfg_cmsurl/}/plus/search.php"> | |||||
| <div class="form"> | |||||
| <h4>搜索</h4> | |||||
| <input type="hidden" name="kwtype" value="0" /> | |||||
| <input name="q" type="text" class="search-keyword" id="search-keyword" value="在这里搜索..." onfocus="if(this.value=='在这里搜索...'){this.value='';}" onblur="if(this.value==''){this.value='在这里搜索...';}" /> | |||||
| <select name="searchtype" class="search-option" id="search-option"> | |||||
| <option value="title" selected='1'>检索标题</option> | |||||
| <option value="titlekeyword">智能模糊</option> | |||||
| </select> | |||||
| <button type="submit" class="search-submit">搜索</button> | |||||
| </div> | |||||
| </form> | |||||
| <div class="tags"> | |||||
| <h4>热门标签:</h4> | |||||
| <ul> | |||||
| {dede:tag row='10' getall='1' sort='month'} | |||||
| <li><a href='[field:link/]'>[field:tag /]</a></li> | |||||
| {/dede:tag} | |||||
| </ul> | |||||
| </div> | |||||
| </div><!-- //search --> | |||||
| </div> | |||||
| </div> | |||||
| </div><!-- //header --> | |||||
| @@ -1,121 +0,0 @@ | |||||
| <!DOCTYPE html> | |||||
| <html> | |||||
| <head lang="en"> | |||||
| <meta charset="{dede:global.cfg_soft_lang/}"> | |||||
| <title>{dede:field.title/}_{dede:global.cfg_webname/}</title> | |||||
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |||||
| <meta name="format-detection" content="telephone=no"> | |||||
| <meta name="renderer" content="webkit"> | |||||
| <meta http-equiv="Cache-Control" content="no-siteapp" /> | |||||
| <link rel="alternate icon" type="image/png" href="assets/i/favicon.png"> | |||||
| <link rel="stylesheet" href="assets/css/amazeui.min.css" /> | |||||
| <style> | |||||
| @media only screen and (min-width: 1200px) { | |||||
| .blog-g-fixed { | |||||
| max-width: 1200px; | |||||
| } | |||||
| } | |||||
| @media only screen and (min-width: 641px) { | |||||
| .blog-sidebar { | |||||
| font-size: 1.4rem; | |||||
| } | |||||
| } | |||||
| .intro{ | |||||
| margin-top: 10px; | |||||
| font-size: 12px; | |||||
| color: #757575; | |||||
| } | |||||
| .blog-main { | |||||
| padding: 20px 0; | |||||
| } | |||||
| .blog-title { | |||||
| margin: 10px 0 20px 0; | |||||
| } | |||||
| .blog-meta { | |||||
| font-size: 14px; | |||||
| margin: 10px 0 20px 0; | |||||
| color: #222; | |||||
| } | |||||
| .blog-meta a { | |||||
| color: #27ae60; | |||||
| } | |||||
| .blog-pagination a { | |||||
| font-size: 1.4rem; | |||||
| } | |||||
| .blog-team li { | |||||
| padding: 4px; | |||||
| } | |||||
| .blog-team img { | |||||
| margin-bottom: 0; | |||||
| } | |||||
| .blog-footer { | |||||
| padding: 10px 0; | |||||
| text-align: center; | |||||
| } | |||||
| </style> | |||||
| </head> | |||||
| <body>{dede:include filename="header_m.htm"/} | |||||
| <div class="am-g am-g-fixed blog-g-fixed"> | |||||
| <div class="am-u-md-8"> | |||||
| <div data-am-widget="list_news" class="am-list-news am-list-news-default"> | |||||
| {dede:channelartlist} | |||||
| <div data-am-widget="list_news" class="am-list-news am-list-news-default"> | |||||
| <!--列表标题--> | |||||
| <div class="am-list-news-hd am-cf"> | |||||
| <!--带更多链接--> | |||||
| <h2>{dede:field name='typename'/}</h2> | |||||
| </div> | |||||
| <div class="am-list-news-bd"> | |||||
| <ul class="am-list">{dede:arclist titlelen='60' row='8'} | |||||
| <li class="am-g"> <a href="view.php?aid=[field:id/]" class="am-list-item-hd">[field:title /]</a> | |||||
| </li>{/dede:arclist}</ul> | |||||
| </div> | |||||
| <!--更多在底部--> | |||||
| <div class="am-list-news-ft"> <a class="am-list-news-more am-btn am-btn-default" href="list.php?tid={dede:field name='id'/}">查看更多 »</a> | |||||
| </div> | |||||
| </div>{/dede:channelartlist} | |||||
| </div> | |||||
| </div> | |||||
| <div class="am-u-md-4 blog-sidebar"> | |||||
| <div class="am-panel-group"> | |||||
| <section class="am-panel am-panel-default"> | |||||
| <div class="am-panel-hd">最近关注</div> | |||||
| <ul class="am-list blog-list">{dede:arclist row='5' orderby='pubdate' titlelen=40} | |||||
| <li><a href="view.php?aid=[field:id/]">[field:title/]</a> | |||||
| </li>{/dede:arclist}</ul> | |||||
| </section> | |||||
| <section class="am-panel am-panel-default"> | |||||
| <div class="am-panel-hd">热点内容</div> | |||||
| <ul class="am-list blog-list">{dede:arclist row='5' orderby='hot' titlelen=40} | |||||
| <li><a href="view.php?aid=[field:id/]">[field:title/]</a> | |||||
| </li>{/dede:arclist}</ul> | |||||
| </section> | |||||
| </div> | |||||
| </div> | |||||
| </div>{dede:include filename="footer_m.htm"/} | |||||
| <!--[if lt IE 9]> | |||||
| <script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script> | |||||
| <script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script> | |||||
| <script src="assets/js/polyfill/rem.min.js"></script> | |||||
| <script src="assets/js/polyfill/respond.min.js"></script> | |||||
| <script src="assets/js/amazeui.legacy.js"></script> | |||||
| <![endif]--> | |||||
| <!--[if (gte IE 9)|!(IE)]> | |||||
| <!--> | |||||
| <script src="assets/js/jquery.min.js"></script> | |||||
| <script src="assets/js/amazeui.min.js"></script> | |||||
| <!--<![endif]--> | |||||
| </body> | |||||
| </html> | |||||
| @@ -1,95 +0,0 @@ | |||||
| <!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={dede:global.cfg_soft_lang/}" /> | |||||
| <title>{dede:field.title/}_{dede:global.cfg_webname/}</title> | |||||
| <meta name="keywords" content="{dede:field name='keywords'/}" /> | |||||
| <meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" /> | |||||
| <link href="{dede:global.cfg_templets_skin/}/style/dedecms.css" rel="stylesheet" media="screen" type="text/css" /> | |||||
| </head> | |||||
| <body class="channel"> | |||||
| {dede:include filename="head.htm"/} | |||||
| <!-- /header --> | |||||
| <div class="w960 center clear mt1"> | |||||
| <div class="pleft"> | |||||
| <div class="picnews mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>图文资讯</strong></dt> | |||||
| <dd> | |||||
| <ul class="e1"> | |||||
| {dede:arclistsg row=5 orderby=pubdate flag='p'} | |||||
| <li><a href="[field:arcurl/]"><img src='[field:litpic/]' width='124px' height='94px'/><span class="title">[field:title/]</span></a></li>{/dede:arclistsg} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div><!-- /picnews --> | |||||
| <div class="listbox"> | |||||
| {dede:channelartlist} | |||||
| <dl class="tbox"> | |||||
| <dt><strong><a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a></strong><span class="more"><a href="{dede:field name='typeurl'/}">更多...</a></span></dt> | |||||
| <dd> | |||||
| <ul class="d1 ico3"> | |||||
| {dede:arclistsg titlelen='60' row='8'} | |||||
| <li><a href="[field:arcurl /]">[field:title /]</a></li> | |||||
| {/dede:arclistsg} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| {/dede:channelartlist} | |||||
| </div><!-- /listbox --> | |||||
| </div><!-- /pleft --> | |||||
| <div class="pright"> | |||||
| <div class="infos_search"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>信息搜索</strong></dt> | |||||
| <dd> | |||||
| {dede:infoguide} | |||||
| <form name='infoguide' method='get' action='/plus/list.php'> | |||||
| [field:nativeplace /] | |||||
| [field:infotype /] | |||||
| <input type='hidden' name='tid' value='[field:typeid /]' /> | |||||
| <input type='hidden' name='channelid' value='-8' /> | |||||
| <input type='text' name='keyword' value='' class="ipt-txt" /> | |||||
| <input type='submit' value='搜索信息' class="btn-2" /> | |||||
| </form> | |||||
| {/dede:infoguide} | |||||
| </dd> | |||||
| </dl> | |||||
| </div> | |||||
| <div class="strongrange mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>推荐内容</strong></dt> | |||||
| <dd> | |||||
| <ul class="d1 ico2"> | |||||
| {dede:arclistsg flag='c' titlelen=42 row=6} | |||||
| <li><span>[[field:typename/]]</span><a href="[field:arcurl/]">[field:title/]</a></li> | |||||
| {/dede:arclistsg} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div><!-- /commend --> | |||||
| <div class="strongrange mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>热点内容</strong></dt> | |||||
| <dd> | |||||
| <ul class="d1 ico2"> | |||||
| {dede:arclistsg row=10 orderby=click} | |||||
| <li><span>[[field:typename/]]</span><a href="[field:arcurl/]">[field:title/]</a></li> | |||||
| {/dede:arclistsg} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div> | |||||
| </div><!-- /pright --> | |||||
| </div> | |||||
| {dede:include filename="footer.htm"/} | |||||
| <!-- /footer --> | |||||
| </body> | |||||
| </html> | |||||
| @@ -1,93 +0,0 @@ | |||||
| <!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={dede:global.cfg_soft_lang/}" /> | |||||
| <title>{dede:field.title/}_{dede:global.cfg_webname/}</title> | |||||
| <meta name="keywords" content="{dede:field name='keywords'/}" /> | |||||
| <meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" /> | |||||
| <link href="{dede:global.cfg_templets_skin/}/style/dedecms.css" rel="stylesheet" media="screen" type="text/css" /> | |||||
| </head> | |||||
| <body class="infoslist"> | |||||
| {dede:include filename="head.htm"/} | |||||
| <!-- /header --> | |||||
| <div class="channel-nav w960 center clear"> | |||||
| <ul> | |||||
| {dede:channel currentstyle="<li class='thisclass'><a href='~typelink~'><span>~typename~</span></a> </li>"} | |||||
| <li><a href='[field:typeurl/]'><span>[field:typename/]</span></a></li>{/dede:channel} | |||||
| </ul> | |||||
| </div><!-- /channel-nav --> | |||||
| <div class="w960 center clear mt1"> | |||||
| <div class="pleft"> | |||||
| <div class="place"> | |||||
| <strong>当前位置:</strong> {dede:field name='position'/} | |||||
| </div><!-- /place --> | |||||
| <div class="listbox"> | |||||
| <ul class="d5"> | |||||
| {dede:list pagesize='20'} | |||||
| <li><a href="[field:arcurl/]" class="title">[field:title/]</a><span class="date">[field:pubdate function="GetDateTimeMK(@me)"/]</span></li> | |||||
| {/dede:list} | |||||
| </ul> | |||||
| </div><!-- /listbox --> | |||||
| <div class="dede_pages"> | |||||
| <ul class="pagelist"> | |||||
| {dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/} | |||||
| </ul> | |||||
| </div><!-- /pages --> | |||||
| </div><!-- /pleft --> | |||||
| <div class="pright"> | |||||
| <div class="infos_search"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>信息搜索</strong></dt> | |||||
| <dd> | |||||
| {dede:infoguide} | |||||
| <form name='infoguide' method='get' action='/plus/list.php'> | |||||
| [field:nativeplace /] | |||||
| [field:infotype /] | |||||
| <input type='hidden' name='tid' value='[field:typeid /]' /> | |||||
| <input type='hidden' name='channelid' value='-8' /> | |||||
| <input type='text' name='keyword' value='' class="ipt-txt" /> | |||||
| <input type='submit' value='搜索信息' class="btn-2" /> | |||||
| </form> | |||||
| {/dede:infoguide} | |||||
| </dd> | |||||
| </dl> | |||||
| </div> | |||||
| <div class="strongrange mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>最新信息</strong></dt> | |||||
| <dd> | |||||
| <ul class="d1 ico2"> | |||||
| {dede:arclistsg orderby='id' titlelen='60' row='10'} | |||||
| <li><span>[field:typename/]</span><a href="[field:arcurl/]">[field:title/]</a></li> | |||||
| {/dede:arclistsg} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div><!-- /strongrange --> | |||||
| <div class="strongrange mt1"> | |||||
| <dl class="tbox"> | |||||
| <dt><strong>热门信息</strong></dt> | |||||
| <dd> | |||||
| <ul class="d1 ico2"> | |||||
| {dede:arclistsg sort='click' titlelen='30' row='10'} | |||||
| <li><span>[field:typename/]</span><a href="[field:arcurl/]">[field:title/]</a></li> | |||||
| {/dede:arclistsg} | |||||
| </ul> | |||||
| </dd> | |||||
| </dl> | |||||
| </div><!-- /strongrange --> | |||||
| </div><!-- /pright --> | |||||
| </div> | |||||
| {dede:include filename="footer.htm"/} | |||||
| <!-- /footer --> | |||||
| </body> | |||||
| </html> | |||||
| @@ -1,133 +0,0 @@ | |||||
| <!DOCTYPE html> | |||||
| <html> | |||||
| <head lang="en"> | |||||
| <meta charset="{dede:global.cfg_soft_lang/}"> | |||||
| <title>{dede:field.title/}_{dede:global.cfg_webname/}</title> | |||||
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |||||
| <meta name="format-detection" content="telephone=no"> | |||||
| <meta name="renderer" content="webkit"> | |||||
| <meta http-equiv="Cache-Control" content="no-siteapp" /> | |||||
| <link rel="alternate icon" type="image/png" href="assets/i/favicon.png"> | |||||
| <link rel="stylesheet" href="assets/css/amazeui.min.css" /> | |||||
| <style> | |||||
| @media only screen and (min-width: 1200px) { | |||||
| .blog-g-fixed { | |||||
| max-width: 1200px; | |||||
| } | |||||
| } | |||||
| @media only screen and (min-width: 641px) { | |||||
| .blog-sidebar { | |||||
| font-size: 1.4rem; | |||||
| } | |||||
| } | |||||
| .intro{ | |||||
| margin-top: 10px; | |||||
| font-size: 12px; | |||||
| color: #757575; | |||||
| } | |||||
| .blog-main { | |||||
| padding: 20px 0; | |||||
| } | |||||
| .blog-title { | |||||
| margin: 10px 0 20px 0; | |||||
| } | |||||
| .blog-meta { | |||||
| font-size: 14px; | |||||
| margin: 10px 0 20px 0; | |||||
| color: #222; | |||||
| } | |||||
| .blog-meta a { | |||||
| color: #27ae60; | |||||
| } | |||||
| .blog-pagination a { | |||||
| font-size: 1.4rem; | |||||
| } | |||||
| .blog-team li { | |||||
| padding: 4px; | |||||
| } | |||||
| .blog-team img { | |||||
| margin-bottom: 0; | |||||
| } | |||||
| .blog-footer { | |||||
| padding: 10px 0; | |||||
| text-align: center; | |||||
| } | |||||
| </style> | |||||
| </head> | |||||
| <body>{dede:include filename="header_m.htm"/} | |||||
| <div class="am-g am-g-fixed blog-g-fixed"> | |||||
| <div class="am-u-md-8"> | |||||
| <div data-am-widget="list_news" class="am-list-news am-list-news-default"> | |||||
| <!--列表标题--> | |||||
| <div class="am-list-news-bd"> | |||||
| <ul class="am-list"> | |||||
| <!--缩略图在标题左边-->{dede:list pagesize='10'} | |||||
| <li class="am-g am-list-item-desced am-list-item-thumbed am-list-item-thumb-left"> | |||||
| <div class="am-u-sm-4 am-list-thumb"> | |||||
| <a href="view.php?aid=[field:id/]"> | |||||
| <img src="[field:litpic/]" width="75px" height="75px"> | |||||
| </a> | |||||
| </div> | |||||
| <div class=" am-u-sm-8 am-list-main"> | |||||
| <h3 class="am-list-item-hd"> | |||||
| <a href="view.php?aid=[field:id/]" class="">[field:title/]</a> | |||||
| </h3> | |||||
| <div class="am-list-item-text"><b>日期:</b>[field:pubdate function="GetDateTimeMK(@me)"/] <b>点击:</b>[field:click/] <b>好评:</b>[field:scores/]</div> | |||||
| <p class="intro">[field:description/]...</p> | |||||
| </div> | |||||
| </li>{/dede:list}</ul> | |||||
| </div> | |||||
| <div class="dede_pages"> | |||||
| <ul data-am-widget="pagination" class="am-pagination am-pagination-default">{dede:pagelist listitem="info,index,end,pre,next,pageno,option" listsize="5"/}</ul> | |||||
| </div> | |||||
| </div> | |||||
| </div> | |||||
| <div class="am-u-md-4 blog-sidebar"> | |||||
| <div class="am-panel-group"> | |||||
| <section class="am-panel am-panel-default"> | |||||
| <div class="am-panel-hd">最近关注</div> | |||||
| <ul class="am-list blog-list">{dede:arclistsg row='5' orderby='pubdate' titlelen=40} | |||||
| <li><a href="view.php?aid=[field:id/]">[field:title/]</a> | |||||
| </li>{/dede:arclistsg}</ul> | |||||
| </section> | |||||
| <section class="am-panel am-panel-default"> | |||||
| <div class="am-panel-hd">热点内容</div> | |||||
| <ul class="am-list blog-list">{dede:arclistsg row='5' orderby='hot' titlelen=40} | |||||
| <li><a href="view.php?aid=[field:id/]">[field:title/]</a> | |||||
| </li>{/dede:arclistsg}</ul> | |||||
| </section> | |||||
| </div> | |||||
| </div> | |||||
| </div>{dede:include filename="footer_m.htm"/} | |||||
| <!--[if lt IE 9]> | |||||
| <script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script> | |||||
| <script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script> | |||||
| <script src="assets/js/polyfill/rem.min.js"></script> | |||||
| <script src="assets/js/polyfill/respond.min.js"></script> | |||||
| <script src="assets/js/amazeui.legacy.js"></script> | |||||
| <![endif]--> | |||||
| <!--[if (gte IE 9)|!(IE)]> | |||||
| <!--> | |||||
| <script src="assets/js/jquery.min.js"></script> | |||||
| <script src="assets/js/amazeui.min.js"></script> | |||||
| <!--<![endif]--> | |||||
| </body> | |||||
| </html> | |||||