<form>
<subtitle>Aditional Images</subtitle>
<width>540</width>
<fields>
<_count header="No" suffix="." width="30" align="center" />
<title header="Title" align="left" />
</fields>
<header>
<titles>true</titles>
<buttons>
<delete onclick="" button="addnew" >
<location>index.php?sub=photos&action=add&property={PROPERTY}</location>
</delete>
</buttons>
</header>
<vars>
<property import="$_GET[id]" type="eval" />
</vars>
<buttons>
<details onclick="" button="edit" >
<location>index.php?sub=photos&action=edit&id={ID}</location>
</details>
</buttons>
<sql>
<vars>
<table import="$this->tables[photos]" type="eval" />
<product import="$_GET[id]" type="eval" />
</vars>
<query>SELECT * FROM {TABLE} WHERE property='{PRODUCT}'</query>
</sql>
<items>99999</items>
</form>