|
|
织梦5.7不能调用文章到前台 怎么办哪位懂感谢
下面是模板文章内容页代码 是哪里出错了吗?
<!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_basehost/}/css/style.css" rel="stylesheet" type="text/css">
<link href="{dede:global.cfg_basehost/}/css/index_black.css" rel=stylesheet type=text/css>
<link href="{dede:global.cfg_basehost/}/css/con_style.css" rel=stylesheet type=text/css>
<SCRIPT src="{dede:global.cfg_basehost/}/images/jquery.min.js"></SCRIPT>
<SCRIPT src="{dede:global.cfg_basehost/}/images/index2.js"></SCRIPT>
<STYLE type=text/css>
body {
background-image: url({dede:global.cfg_basehost/}/images/banbg_02.jpg);
background-repeat: repeat-x;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
</STYLE>
</head>
<body class="articlelist">
{dede:include filename="head.htm"/}
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%" bgColor="#f6f1c3" style="margin-top:0px;">
<TBODY>
<TR>
<TD>
<TABLE style="MARGIN-TOP: 2px" border=0 cellSpacing=0 cellPadding=0
align=center>
<TBODY>
<TR>
<TD style="BORDER-RIGHT: #eae6c5 1px solid" vAlign=top width=174>
<TABLE border=0 cellSpacing=0 cellPadding=0 width=173>
<TBODY>
<TR>
<TD width=173><IMG src="{dede:global.cfg_basehost/}/images/sub_03.jpg" width=173 height=34></TD>
</TR>
<TR>
<TD height=59 background=images/rr_05.jpg>
<div class="conleft">
{dede:channel type='son'}
<li><a href="[field:typeurl/]"><span>[field:typename/]</span></a></li>
{/dede:channel}
</div>
</TD></TR>
<TR>
<TD height=60> </TD></TR></TBODY></TABLE></TD>
<TD bgColor=#f6f1c3 vAlign=top>
<TABLE style="MARGIN-LEFT: 3px" border=0 cellSpacing=0 cellPadding=0
width=820 background={dede:global.cfg_basehost/}/images/sub_05.jpg
height=35>
<TBODY>
<TR>
<TD> </TD>
<TD style="PADDING-RIGHT: 12px; COLOR: #903f1c" align=right> </TD>
</TR></TBODY></TABLE>
<TABLE border=0 cellSpacing=0 cellPadding=0 width=820 height=489>
<TBODY>
<TR>
<TD align="left" vAlign=top bgColor=#f9f5d5 class=content style="PADDING-BOTTOM: 20px; PADDING-LEFT: 40px; PADDING-RIGHT: 20px; PADDING-TOP: 20px"><style type="text/css">
<!--
#pagelist { padding:0; width:95%; font-size:12px; list-style-type:none; margin-left:20px; margin-bottom:10px;}
#pagelist li {width:95%; height:30px; }
#pagelist li a .lbt {display:block; width:82%; float:left; text-indent:20px; text-decoration:none; white-space:nowrap; text-overflow:ellipsis; overflow: hidden; display:inline;}
#pagelist li a .ldt { font:12px Arial;display:block; width:75px; float:right; text-align:center; color:#069; text-decoration:none; display:inline; margin-top:7px;}
#pagelist li a {width:95%; height:30px; display:block; line-height:30px; color:#666; text-decoration:none; cursor:hand; background:url({dede:global.cfg_basehost/}/images/tick.gif) 5px 6px no-repeat; border-bottom:1px #ccc dashed;}
#pagelist li a:hover{ color:#96f; text-decoration:none; background:url({dede:global.cfg_basehost/}/images/tick2.gif) 5px 6px no-repeat;border-bottom:1px #96f dashed;}
#pagelist li a:hover .ldt {color:#03c;}
#pagelist h2{ font: bold 20px Arial;padding-bottom: 4px;border-bottom: 1px solid #999;margin-top:10px;background:url({dede:global.cfg_basehost/}/images/more.gif) 90% 40% no-repeat; text-decoration: none;color: #369;zoom:1;}
#pagelist a:hover h2{ font: bold 20px Arial;padding-bottom: 4px; margin-top:10px; text-decoration: none;background:url({dede:global.cfg_basehost/}/images/more1.gif) 90% 40% no-repeat;zoom:1;}
.clear{ clear:both;}
-->
</style>
<div id="newscontent">
<div id="newsconttitle">
<h1>{dede:field.title/}</h1>
<p><span>点击数:<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></span>{dede:field.pubdate function="MyDate('Y-m-d H:i',@me)"/} 来源: {dede:field.source/}</p>
</div>
<div class="clear"></div>
<div id="newcontent">
{dede:field.title/}</div>
<div id="articeBottom"><span>【责任编辑:{dede:field.adminname/}】</span><a href="#">(Top) 返回页面顶端</a></div>
</div>
<div style="border:1px dashed #999999"></div>
<div id="articleHeader">
<h4>{dede:prenext get='next'/}</h4>
<h4 >{dede:prenext get='pre'/} </h4>
</div></TD>
</TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
{dede:include filename="footer.htm"/}
</body>
</html>
|
|