PageRenderTime 25ms CodeModel.GetById 21ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/upload/templates/default/privmsgs.tpl

http://torrentpier2.googlecode.com/
Smarty Template | 150 lines | 132 code | 18 blank | 0 comment | 1 complexity | e7ed41c46ba89a119766f259520bb09c MD5 | raw file
  1<div class="spacer_6"></div>
  2
  3<div id="pm_header">
  4	<!-- IF PM_BOX_SIZE_INFO -->
  5	<table class="bordered pm_box_size pad_2 floatL">
  6	<tr>
  7		<td colspan="3" class="row1 med tCenter nowrap">{BOX_SIZE_STATUS}</td>
  8	</tr>
  9	<tr>
 10		<td colspan="3" class="row3">
 11			<div class="spacer_8 progress" style="width: {INBOX_LIMIT_IMG_WIDTH}px;"></div>
 12		</td>
 13	</tr>
 14	<tr class="row1 small">
 15		<td width="30%">0%</td>
 16		<td width="40%" class="tCenter">50%</td>
 17		<td width="30%" class="tRight">100%</td>
 18	</tr>
 19	</table>
 20
 21	<table class="bordered pm_box_size pad_2 floatR">
 22	<tr>
 23		<td colspan="3" class="row1 med tCenter nowrap">{BOX_SIZE_STATUS}</td>
 24	</tr>
 25	<tr>
 26		<td colspan="3" class="row3">
 27			<div class="spacer_8 progress" style="width: {INBOX_LIMIT_IMG_WIDTH}px;"></div>
 28		</td>
 29	</tr>
 30	<tr class="row1 small">
 31		<td width="30%">0%</td>
 32		<td width="40%" class="tCenter">50%</td>
 33		<td width="30%" class="tRight">100%</td>
 34	</tr>
 35	</table>
 36	<!-- ENDIF / PM_BOX_SIZE_INFO -->
 37
 38	<table class="pm_nav bCenter">
 39	<tr>
 40		<td>{INBOX_IMG}</td><td>{INBOX}</td>
 41		<td>{SENTBOX_IMG}</td><td>{SENTBOX}</td>
 42	</tr>
 43	<tr>
 44		<td>{OUTBOX_IMG}</td><td>{OUTBOX}</td>
 45		<td>{SAVEBOX_IMG}</td><td>{SAVEBOX}</td>
 46	</tr>
 47	</table>
 48
 49</div><!--/pm_header-->
 50<div class="clear"></div>
 51
 52<!-- IF BOX_EXPL -->
 53<p class="small">{BOX_EXPL}</p>
 54<!-- ENDIF -->
 55
 56<div class="spacer_6"></div>
 57
 58<form method="post" name="privmsg_list" action="{S_PRIVMSGS_ACTION}">
 59{S_HIDDEN_FIELDS}
 60
 61<table width="100%">
 62<tr>
 63	<td>{POST_PM_IMG}</td>
 64	<td width="100%" class="nav">&nbsp;<a href="{U_INDEX}">{T_INDEX}</a></td>
 65	<td class="tRight nowrap med">
 66		{L_DISPLAY_MESSAGES}:
 67		<select name="msgdays">{S_SELECT_MSG_DAYS}</select>
 68		<input type="submit" value="{L_GO}" name="submit_msgdays" class="liteoption" />
 69	</td>
 70</tr>
 71</table>
 72
 73<table class="forumline tablesorter">
 74<thead>
 75<tr>
 76	<th width="2%">&nbsp;</th>
 77	<th width="50%" class="{sorter: 'text'}"><b class="tbs-text">{L_SUBJECT}</b></th>
 78	<th width="5%" class="{sorter: 'text'}"><b class="tbs-text">{L_FROM_OR_TO}</b></th>
 79	<th width="5%" class="{sorter: 'digit'}"><b class="tbs-text">{L_DATE}</b></th>
 80	<th width="2%">&nbsp;</th>
 81</tr>
 82</thead>
 83<!-- BEGIN listrow -->
 84<tr class="{listrow.ROW_CLASS} med tCenter">
 85	<td><img src="{listrow.PRIVMSG_FOLDER_IMG}" alt="{listrow.L_PRIVMSG_FOLDER_ALT}" title="{listrow.L_PRIVMSG_FOLDER_ALT}" /></td>
 86	<td class="tLeft pad_0"><a href="{listrow.U_READ}" class="med bold block pad_4">{listrow.SUBJECT}</a></td>
 87	<td>{listrow.FROM}</td>
 88	<td>{listrow.DATE}</td>
 89	<td><input type="checkbox" name="mark[]2" value="{listrow.S_MARK_ID}" /></td>
 90</tr>
 91<!-- END listrow -->
 92<!-- BEGIN switch_no_messages -->
 93<tr>
 94	<td class="row1 pad_10 tCenter" colspan="5">{L_NO_MESSAGES_FOLDER}</td>
 95</tr>
 96<!-- END switch_no_messages -->
 97<tfoot>
 98<tr>
 99	<td class="catBottom tRight pad_4" colspan="5">
100		<div class="floatL">
101			<input type="submit" name="deleteall" value="{L_DELETE_ALL}" class="liteoption" />
102		</div>
103		<div class="floatR">
104			<input type="submit" name="save" value="{L_SAVE_MARKED}" class="mainoption" />&nbsp;&nbsp;
105			<input type="submit" name="delete" value="{L_DELETE_MARKED}" class="liteoption" />&nbsp;
106		</div>
107 </td>
108</tr>
109</tfoot>
110</table>
111
112</form>
113
114<p class="small bold tRight">
115	<a href="javascript:select_switch(true);" class="small">{L_MARK_ALL}</a>
116	::
117	<a href="javascript:select_switch(false);" class="small">{L_UNMARK_ALL}</a>
118</p>
119
120<!--bottom_info-->
121<div class="bottom_info">
122
123	<div class="spacer_6"></div>
124
125	<div class="nav">
126		<p style="float: left">{PAGE_NUMBER}</p>
127		<p style="float: right">{PAGINATION}</p>
128		<div class="clear"></div>
129	</div>
130
131	<div class="spacer_4"></div>
132
133	<div id="timezone">
134		<p>{LAST_VISIT_DATE}</p>
135		<p>{CURRENT_TIME}</p>
136		<p>{S_TIMEZONE}</p>
137	</div>
138	<div class="clear"></div>
139
140</div><!--/bottom_info-->
141
142<script type="text/javascript">
143function select_switch(status)
144{
145	for (i = 0; i < document.privmsg_list.length; i++)
146	{
147		document.privmsg_list.elements[i].checked = status;
148	}
149}
150</script>