Location: PHPKode > projects > Real Estate Management > admin/forms/admin/photos/list.xml
<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>

		<delete onclick="" button="delete" >
			<location>javascript:if(confirm('Are you sure you want to delete this record ?')) window.location='index.php?sub=photos&action=delete&id={ID}&returnURL={CURRENT_PAGE}'</location>
		</delete>

		<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>
Return current item: Real Estate Management