File:cn/newpage.htm
Method:query.dataScalar(sql)
該帳戶當前被鎖定,所以用戶 'sa' 登錄失敗。系統(tǒng)管理員無法將該帳戶解鎖。
數(shù)據(jù)庫執(zhí)行錯誤
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}_新聞動態(tài)_上海首豐精密儀器有限公司</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...