我已经发布头条文章
调用的标签:
名称{SQL_首页滑门带图片与简介}一共是6个
代码:select top 4 id,title,intro,picurl from KS_Article where verific=1 and strip=1 order by id desc
<style>
.t003399{}
.t003399 a:link,.t003399 a:visited{color:#ff6600;font-size:16px;font-weight:bold;text-decoration:none;}
.t003399 a:hover{color:#555; text-decoration:none}
.toutiao{line-height:21px; text-indent:2em; color:#555}
</style>
[loop=4]
<table style="BORDER-BOTTOM: #cccccc 0px dashed" cellSpacing=0 cellPadding=0 width="100%" border=0>
<tr>
<td width=24 rowspan="2" align=middle><img width="130" height="90"src="{$Field(picurl,Text,0,...,0,)}" border="0"></td>
<td width=326 height="26" class=t003399><a href="{$Field(id,GetInfoUrl,1,1)}" target="_blank">{$Field(title,Text,0,...,0,)}</a></td>
</tr>
<tr>
<td align=middle>{$Field(intro,Text,105,...,0,)}<a href="{$Field(id,GetInfoUrl,1,1)}" target="_blank">[全文]</td>
</tr>
</table>
[/loop]
模版滑门代码
<table style="MARGIN-TOP: 8px" cellSpacing=0 cellPadding=0 width=950 align=center border=0>
<tr>
<td width=647 height="285">
<table cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=10 height=30><img height=33 src="/images/lbg.gif" width=10></td>
<td class=indextitle align=left width="627" background=/images/mbg.gif>产品业务展示</td>
<td width=10><img height=33 src="/images/rbg.gif" width=10></td>
</tr>
<tr>
<td vAlign=top colSpan=3>
<table style="BORDER-RIGHT: #a9cee1 1px solid; BORDER-LEFT: #a9cee1 1px solid; BORDER-BOTTOM: #a9cee1 1px solid" cellSpacing=0 cellPadding=0 width="647" border=0>
<tr>
<td width="645" height=248 vAlign=top>
<script language="javascript">
var AroundInfoArray=new Array();
AroundInfoArray[0]="{SQL_首页滑门带图片与简介()}";
AroundInfoArray[1]="{SQL_首页滑门带图片与简介1()}";
AroundInfoArray[2]="{SQL_首页滑门带图片与简介2()}";
AroundInfoArray[3]="{SQL_首页滑门带图片与简介3()}";
AroundInfoArray[4]="{SQL_首页滑门带图片与简介4()}";
AroundInfoArray[5]="{SQL_首页滑门带图片与简介5()}";
AroundInfoArray[6]="{SQL_首页滑门带图片与简介6()}";
function ChangeFocus(obj)
{
for(i=0;i<document.getElementById("leftButtonTAble").rows.length;i++)
{
if(document.getElementById("leftButtonTAble").rows[i].cells[0]==obj)
{
document.getElementById("leftButtonTAble").rows[i].cells[0].className="DivAround_focus";
document.getElementById("DivAroundContent").innerHTML=AroundInfoArray[i];
}else{
document.getElementById("leftButtonTAble").rows[i].cells[0].className="DivAround_blur";
}
}
}
</script>
<table width="645" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#6271B1">
<tr bordercolor="#FFFFFF">
<td width="173" valign="top"><table cellpadding="0" cellspacing="0" border="0" height="156" width="173" id="leftButtonTAble">
<tr bordercolor="#FFFFFF">
<td width="173" height="35" align="center" background="../200801081249070.gif" class="DivAround_focus" onMouseOver="ChangeFocus(this)">固定电话业务</td>
</tr>
<tr>
<td height="35" align="center" background="../200801081249070.gif" class="DivAround_blur" onMouseOver="ChangeFocus(this)">公用电话业务</td>
</tr>
<tr>
<td height="35" align="center" background="../200801081249070.gif" class="DivAround_blur" onMouseOver="ChangeFocus(this)">卡类电话业务</td>
</tr>
<tr>
<td height="35" align="center" background="../200801081249070.gif" class="DivAround_blur" onMouseOver="ChangeFocus(this)">宽带接入业务</td>
</tr>
<tr>
<td height="35" align="center" background="../200801081249070.gif" class="DivAround_blur" onMouseOver="ChangeFocus(this)">IDC 数据中心</td>
</tr>
<tr>
<td height="35" align="center" background="../200801081249070.gif" class="DivAround_blur" onMouseOver="ChangeFocus(this)">铁通新型业务</td>
</tr>
<tr>
<td height="35" align="center" background="../200801081249070.gif" class="DivAround_blur" onMouseOver="ChangeFocus(this)">数据通信业务</td>
</tr>
</table></td>
<td width="472"><table width="472" height="246" border="0" cellpadding="0" cellspacing="0" class="DivAround_content">
<tr>
<td width="471" height="244" valign="top" bordercolor="#FFFFFF" id="DivAroundContent" style="padding:4px">信息加载中......</td>
</tr>
</table></td>
</tr>
</table>
生成首页后,提示错误,滑门也不能滑动了,什么内容也没有,提示多少多少行错误!请大家帮我解决下