📄 list.xml
字号:
<form>
<title>{CATEGORY_NAME} - Equipment</title>
<width>540</width>
<border>true</border>
<fields>
<_count header="No" width="30" align="center" />
<product_name header="Name" align="left" />
</fields>
<header>
<titles>true</titles>
<buttons>
<return onclick="" button="return" >
<location>index.php?sub=categories&cat_parent={PRODUCT_CAT}</location>
</return>
</buttons>
</header>
<buttons>
<details onclick="" button="details" >
<location>index.php?sub=products&action=details&product_id={PRODUCT_ID}</location>
</details>
</buttons>
<vars>
<category_name import="$GLOBALS[category_name]" type="eval" />
<product_cat import="$_GET[product_cat]" type="eval" />
</vars>
<SQL>
<vars>
<sql_page type="page"/>
<sql_items type="form" var="items" />
<sql_table import="$this->tables['products']" type="eval"/>
<cat import="$_GET[product_cat]" type="eval"/>
<sql_condition import="WHERE product_cat='{CAT}'" type="var"/>
</vars>
<query>SELECT * FROM `{SQL_TABLE}` {SQL_CONDITION} LIMIT {SQL_PAGE},{SQL_ITEMS}</query>
<count table="{SQL_TABLE}" condition="{SQL_CONDITION}" />
</SQL>
<items>10</items>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -