styles/subsilver2/template/ucp_attachments.html
author indvdum (gotoindvdum[at]gmail[dot]com)
Wed, 07 Mar 2012 17:33:40 +0400
changeset 1 a633f7a37958
parent 0 ceef6d64c21d
permissions -rw-r--r--
Language RU
     1 <!-- INCLUDE ucp_header.html -->
     2 
     3 <!-- IF S_ATTACHMENT_ROWS -->
     4 
     5 	<table class="tablebg" width="100%" cellspacing="1">
     6 	<tr>
     7 		<th nowrap="nowrap">#</th>
     8 		<th nowrap="nowrap" width="15%"><a href="{U_SORT_FILENAME}">{L_FILENAME}</a></th>
     9 		<th nowrap="nowrap" width="5%"><a href="{U_SORT_POST_TIME}">{L_POST_TIME}</a></th>
    10 		<th nowrap="nowrap" width="5%"><a href="{U_SORT_FILESIZE}">{L_FILESIZE}</a></th>
    11 		<th nowrap="nowrap" width="5%"><a href="{U_SORT_DOWNLOADS}">{L_DOWNLOADS}</a></th>
    12 		<th width="2%" nowrap="nowrap">{L_DELETE}</th>
    13 	</tr>
    14 	<!-- IF TOTAL_ATTACHMENTS -->
    15 		<tr>
    16 			<td class="row3" colspan="6">
    17 				<table width="100%" cellspacing="1">
    18 				<tr>
    19 					<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
    20 					<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_ATTACHMENTS} ]&nbsp;</td>
    21 					<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
    22 				</tr>
    23 				</table>
    24 			</td>
    25 		</tr>
    26 	<!-- ENDIF -->
    27 	<!-- BEGIN attachrow -->
    28 		<!-- IF attachrow.S_ROW_COUNT is even --><tr class="row2"><!-- ELSE --><tr class="row1"><!-- ENDIF -->
    29 
    30 		<td class="genmed" style="padding: 4px;" align="center" width="2%">&nbsp;{attachrow.ROW_NUMBER}&nbsp;</td>
    31 		<td style="padding: 4px;"><a class="gen" href="{attachrow.U_VIEW_ATTACHMENT}">{attachrow.FILENAME}</a><br /><span class="gensmall"><!-- IF attachrow.S_IN_MESSAGE --><b>{L_PM}: </b><!-- ELSE --><b>{L_TOPIC}: </b><!-- ENDIF --><a href="{attachrow.U_VIEW_TOPIC}">{attachrow.TOPIC_TITLE}</a></span></td>
    32 		<td class="gensmall" style="padding: 4px;" align="center" valign="middle" nowrap="nowrap">&nbsp;{attachrow.POST_TIME}&nbsp;</td>
    33 		<td class="genmed" style="padding: 4px;" align="center" valign="middle" nowrap="nowrap">{attachrow.SIZE}</td>
    34 		<td class="genmed" style="padding: 4px;" align="center">{attachrow.DOWNLOAD_COUNT}</td>
    35 		<td style="padding: 4px;" align="center" valign="middle"><input type="checkbox" class="radio" name="attachment[{attachrow.ATTACH_ID}]" value="1" /></td>
    36 	</tr>
    37 	<!-- END attachrow -->
    38 	<tr> 
    39 		<td class="cat" colspan="6"><div style="float: {S_CONTENT_FLOW_BEGIN};"><span class="gensmall">{L_SORT_BY}: </span><select name="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select>&nbsp;<input class="btnlite" type="submit" name="sort" value="{L_SORT}" /></div><div style="float: {S_CONTENT_FLOW_END};"><input class="btnlite" type="submit" name="delete" value="{L_DELETE_MARKED}" />&nbsp;</div></td>
    40 	</tr>
    41 	</table>
    42 
    43 	<div style="float: {S_CONTENT_FLOW_END};"><b class="gensmall"><a href="#" onclick="marklist('ucp', 'attachment', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('ucp', 'attachment', false); return false;">{L_UNMARK_ALL}</a></b></div>
    44 
    45 <!-- ELSE -->
    46 
    47 	<table class="tablebg" width="100%" cellspacing="1">
    48 	<tr>
    49 		<th>{L_TITLE}</th>
    50 	</tr>
    51 	<tr class="row1">
    52 		<td align="center"><b class="genmed">{L_UCP_NO_ATTACHMENTS}</b></td>
    53 	</tr>
    54 	</table>
    55 
    56 <!-- ENDIF -->
    57 
    58 <!-- INCLUDE ucp_footer.html -->