File:cn/newpage.htm
Method:query.dataScalar(sql)
该帐户当前被锁定,所以用户 'sa' 登录失败。系统管理员无法将该帐户解锁。
数据库执行错误
cn/xmls/new.xmls
...["<meta name="description" content="{@Name}。">;"];
$return(@Description);
}
$sub retkeywords(){
@querycontent=$query(content,content);
@querycontent[ContentId]=$argv(0,$null);
@Keywords=$string;
@Name=@querycontent.dataScalar(['select top 1 Title from {#0} where {*ContentId =}']);
@keywords=["<meta name="keywords" content="{@Name}。">;"];
$return(@keywords);
}
$sub retTitle(){
@querycontent=$query(content,content);
@querycontent[ContentId]=$argv(0,$null);
@Keywords=$string;
@Name=@querycontent.dataScalar(['select top 1 Title from {#0} where {*ContentId =}']);
@title=["<title>{@Name}_新闻动态_上海首丰精密仪器有限公司</title>;"];
$return(@title);
}
//新闻列表
$sub newList(){
@format=[#
<li>
<div class="new_pic defo_img2">
<img src="{*Background}" onclick="window.location.href=('{~../newpage/*ContentId}')">
</div>
<div class="new_tetx">
<h1>{@dateTime}</h1>
<h2 class="ellipsis cursor" onclick="window.location.href=('{~../newpage/*ContentId}')">{*Title}</h2>
<p class="ell...