Location: PHPKode > projects > Network Management Center > modules/myprofile/forms/pm/inbox.list.xml
<form>
	
	<title>INBOX</title>
	<width>580</width>
	<border>true</border>

	<formtag>true</formtag>
	<action>index.php?mod=myprofile&sub=myprofile.delete&returnurl={CURRENT_PAGE}</action>

	<fields>
		<_count header="No" suffix="." width="20" align="center" />
		<msg field="msg_id" value="msg_id" align="center" title="T" width="20" type="multiple" />
		<msg_new type="relation" width="10" align="center">
			<options>
				<option name="1">N</option>
			</options>
		</msg_new>
		<msg_title header="Title" align="left" />
		
		<msg_from type="relation" header="From">
			<relation table="users" id="user_id">
				<text>
					<user_name>user_name</user_name>
					<user_surname>user_surname</user_surname>
				</text>
			</relation>
		</msg_from>
		<msg_date width="130" header="Date" type="date" params="j M Y g:i a" align="center" />

<!--
		<delete type="button" width="20" align="center" button="ac_delete" title="Delete Message">
			<location>javascript:if(confirm('Are you sure you want to delete this record ?')) window.location='index.php?mod=myprofile&sub=myprofile.delete&msg_id={MSG_ID}&returnURL={CURRENT_PAGE}'</location>
		</delete>
-->
		<reply type="button" width="20" align="center" button="ac_reply" title="Reply Message">
			<location>index.php?mod=myprofile&sub=myprofile.compose&user_id={ORIGINAL_MSG_FROM}&msg_id={MSG_ID}&returnurl={CURRENT_PAGE}</location>
		</reply>

		<forward type="button" width="20" align="center" button="ac_forward" title="Forward Message">
			<location>index.php?mod=myprofile&sub=myprofile.compose&msg_id={MSG_ID}&returnurl={CURRENT_PAGE}</location>
		</forward>

		<details type="button" width="20" align="center" button="ac_details" title="View Message">
			<location>index.php?mod=myprofile&sub=myprofile.inbox&action=details&msg_id={MSG_ID}&returnurl={CURRENT_PAGE}</location>
		</details>		
	</fields>

	<header>
		<titles>true</titles>

		<buttons>
			<delete type="button" width="20" align="center" button="ac_delete" title="Delete Message">
				<location>javascript:if(confirm('Are you sure you want to delete selected records ?')) document.forms[0].submit();</location>
			</delete>
		</buttons>

	</header>
	<SQL>
		<vars>
			<sql_page type="page"/>
			<sql_items type="form" var="items" />
			<sql_table import="$this->tables['mb_msg']" type="eval"/>
			<user import="$_SESSION['minibase']['raw']['user_id']" type="eval" />
			<sql_condition import="WHERE msg_type=1 AND msg_user='{USER}' AND msg_delete=0" type="var" />
	
		</vars>
		<query>SELECT * FROM `{SQL_TABLE}` {SQL_CONDITION} ORDER BY msg_date desc LIMIT {SQL_PAGE},{SQL_ITEMS} </query>
		<count table="{SQL_TABLE}" condition="{SQL_CONDITION}" />
	</SQL>

	<items>25</items>

</form>
Return current item: Network Management Center