list.xml
来自「基于PHP和MYSQL的计算机辅助设备维修管理系统」· XML 代码 · 共 49 行
XML
49 行
<form>
<title>Categories</title>
<width>540</width>
<border>true</border>
<fields>
<_count header="No" width="30" align="center" />
<cat_name header="Name" align="left" />
</fields>
<header>
<titles>true</titles>
<buttons>
<delete onclick="" button="addnew" >
<location>index.php?sub=categories&action=add</location>
</delete>
</buttons>
</header>
<buttons>
<browse onclick="" button="browse" >
<location>index.php?sub=cats&cat_parent={CAT_ID}</location>
</browse>
<delete onclick="" button="delete" >
<location>javascript:if(confirm('Are you sure you want to delete this record ?')) window.location='index.php?sub=categories&action=delete&cat_id={CAT_ID}'</location>
</delete>
<details onclick="" button="edit" >
<location>index.php?sub=categories&action=edit&cat_id={CAT_ID}</location>
</details>
</buttons>
<sql>
<vars>
<table import="$this->tables[categories]" type="eval" />
<category import="$_GET[cat_parent]" type="eval" />
</vars>
<query>SELECT * FROM {TABLE} WHERE cat_parent=0</query>
</sql>
<items>20</items>
</form>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?