<patTemplate:tmpl name="pageoutput" unusedvars="nbsp">
	<script language="JavaScript" type="text/javascript">
		<!--
		jomresJquery(document).ready(function () {
			make_datatable('admin_list_ptypes', '{PAGETITLE}', '{LIVESITE}');
		});
		//-->
	</script>
	<h2 class="page-header">{PAGETITLE}</h2>

	<form action="{JOMRES_SITEPAGE_URL_ADMIN}" method="post" name="adminForm">
		{JOMRESTOOLBAR}
		<table id="admin_list_ptypes" class="table table-striped" width="100%">
			<thead>
			<tr>
				<th>{COMMON_EDIT}</th>
				<th><input type="checkbox" name="toggle" value="" onclick="jomres_checkAll({TOTALINLISTPLUSONE});"/> {COMMON_DELETE}</th>
				<th>ID</th>
				<th>{HPTYPE}</th>
				<th class="hidden-phone">{HPTYPE_DESC}</th>
				<th>{_JOMRES_PROPERTYTYPE_FLAG_BOTH_COLHEAD}</th>
				<th>{HAS_STARS_TITLE}</th>
				<th>{_JOMRES_PROPERTYTYPE_MARKER}</th>
			</tr>
			</thead>
			<tbody>
			<patTemplate:tmpl name="rows" unusedvars="nbsp" type="simpleCondition" requiredVars="id">
				<tr>
					<td>{EDITLINK}</td>
					<td><input type="checkbox" id="cb{COUNTER}" name="idarray[]" value="{ID}" onClick="jomres_isChecked(this.checked);"></td>
					<td>{ID}</td>
					<td>{PTYPE}</td>
					<td class="hidden-phone">{PTYPEDESC}</td>
					<td>{MRP_SRP_FLAG}</td>
					<td>{HAS_STARS}</td>
					<td><img src="{MARKER_IMAGE}" /></td>
				</tr>
			</patTemplate:tmpl>
			</tbody>
		</table>
		<input type="hidden" name="option" value="com_jomres"/>
		<input type="hidden" name="task" value="save_ptype_order"/>
		<input type="hidden" name="boxchecked" value="0">
		{CSRF_TOKEN}
	</form>
</patTemplate:tmpl>