File:cn/products.html
Method:query.scalar(columns,*where,*order)
無法打開登錄所請(qǐng)求的數(shù)據(jù)庫 "db_amt_new"。登錄失敗。
用戶 'sa' 登錄失敗。
數(shù)據(jù)庫執(zhí)行錯(cuò)誤
cn/xmls/product.xmls
...lign:center;">對(duì)不起,當(dāng)前沒有數(shù)據(jù)!</div>'];
@Pager=$empty;
}
$return($empty);
}
//產(chǎn)品類別
$function getCatalogList(format){
@querygcata=$query(catalog,goods);
@ParentId=$http.get(PId);
@querygcata[ParentId]=@ParentId;
@tablectmn=@querygcata.table(*,['ParentId={*ParentId}'],['Grade asc,CatalogId desc']);
@listta=@tablectmn.format(@format){
}
$return(@listta);
}
//產(chǎn)品數(shù)量
$sub getCount(){
@querygcata=$query(catalog,goods);
@ParentId=$http.get(PId);
@querygcata[ParentId]=@ParentId;
@countmn=@querygcata.scalar(['count(*)'],['ParentId={*ParentId}']);
$return($empty);
}
//產(chǎn)品
$sub ProductList(){
@format=[#
<li>
{@pic}
<table width="100%" border="0" class="jstable">
<tr>
<td colspan="2">{#left(EnglishName,26,...)}</td>
</tr>
<tr>
<td><p>產(chǎn)品編號(hào):</p></td>
<td>{*Goodshao}</td>
</tr>
<tr>
<td><p>CAS No:</p></td>
<td>{*CAS}</td>
</tr>
</table>
<div class="pidous">
{@ahref}
</div>
</li>
#];
@querygoods=$query(goods,goods);
@CatalogId=$http.get(CId,$null);
@...
镇远县|
三河市|
海伦市|
长春市|
北海市|
丹巴县|
特克斯县|
南川市|
台东县|
渭源县|
永昌县|
台中市|
麻栗坡县|
康马县|
崇仁县|
承德市|
天峻县|
内乡县|
乌什县|
河南省|
孟村|
双江|
富阳市|
太保市|
临猗县|
利津县|
桂阳县|
丹巴县|
永寿县|
喀什市|
台江县|
当雄县|
齐河县|
青冈县|
泾阳县|
临邑县|
正定县|
泸定县|
将乐县|
广宗县|
金阳县|