list.xml
来自「基于PHP和MYSQL的计算机辅助设备维修管理系统」· XML 代码 · 共 43 行
XML
43 行
<form>
<subtitle>Completed Tasks</subtitle>
<width>540</width>
<fields>
<_count header="No" width="30" align="center" suffix="."/>
<task_name header="Title" align="left" />
<task_date header="Scheduled date" type="date" params="m.d.Y" width="100" align="center" />
<date_completed header="Completed date" type="date" params="m.d.Y" width="100" align="center" />
</fields>
<header>
<titles>true</titles>
<buttons>
<delete onclick="" button="addnew" >
<location>index.php?sub=tasks&action=add&task_product={PRODUCT_ID}</location>
</delete>
</buttons>
</header>
<buttons>
<delete onclick="" button="delete" >
<location>javascript:if(confirm('Are you sure you want to delete this record ?')) window.location='index.php?sub=tasks&action=delete&task_id={TASK_ID}'</location>
</delete>
<details onclick="" button="details" >
<location>index.php?sub=tasks&action=det&task_id={TASK_ID}</location>
</details>
</buttons>
<sql>
<vars>
<table import="$this->tables[tasks]" type="eval" />
<product import="$_GET[product_id]" type="eval" />
</vars>
<query>SELECT * FROM {TABLE} WHERE task_product='{PRODUCT}' and date_completed > 0</query>
</sql>
<items>10</items>
</form>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?