<div class="contain">
<div class="mainbg">
<div class="right_c">
<div class="c_t t12gray">当前栏目: <a href="http://mjcs.975game.com/index.html">首页</a> > [#list channel.nodeList as n][#if n_index!=0] <a href="${n.url}" class="t12">${n.name}</a> [#if n_has_next] » [/#if][/#if][/#list]</div>
<div class="c_m t12gray">
<div class="c_m_t">${content.title}</div>
<div class="c_m_t2">发布时间:${content.releaseDate} 作者:${content.author!'本站编辑'}</div>
<div class="c_m_c">
[#if content.mediaPath?? && content.mediaType??]
<p style="margin: 5px auto; text-align: center">
[#if content.mediaType=='FLV']
<object height="300" width="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param name="movie" value="/${res}/img/flvplayer.swf" />
<param name="quality" value="high" />
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="vcastr_file=${content.mediaPath!}&BufferTime=3" />
<embed height="300" width="400" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" flashvars="vcastr_file=${content.mediaPath!}" allowfullscreen="true" src="/${res}/img/flvplayer.swf">
</embed>
</object>
[#elseif content.mediaType=='FLASH']
<embed height="300" width="400" type="application/x-shockwave-flash" quality="high" src="${content.mediaPath}" wmode="transparent" align="center"></embed>
[#else] <embed height="300" width="400" type="video/x-ms-wmv" src="${content.mediaPath}" console="cons" controls="ImageWindow" autostart="true"></embed>[/#if]</p>
[/#if]${txt!}
</div>
<div class="otherlink">
<strong class="t12">登录:</strong><a href="http://mjcs.975game.com/" target="_blank" class="t12">http://mjcs.975game.com/</a><br />
<strong class="t12">马上注册体验:</strong><a href="http://account.975game.com/reg/register.jsp" target="_blank" class="t12">http://account.975game.com/reg/register.jsp</a>
</div>
<div class="c_m_n">
<strong class="t12">上一篇:</strong>
[@cms_content id=content.id next='1' channelId=channel.id][#if tag_bean??]<a href="${tag_bean.url}" class="t12">${tag_bean.title}</a>[#else]没有了[/#if][/@cms_content]<br /><br />
<strong class="t12">下一篇:</strong>
[@cms_content id=content.id next='0' channelId=channel.id][#if tag_bean??]<a href="${tag_bean.url}" class="t12">${tag_bean.title}</a>[#else]没有了[/#if][/@cms_content]
</div>
</div>
</div>
帮忙看下代码有问题吗?谢谢!
还是说我每次发表一篇文章都需要重新生成一下,然后再把所有文章的内容重新修改再提交一下,才会重新显示上一篇是否有文章。
上篇有文章但是总是显示没有了 |
|