styles/subsilver2/template/ucp_attachments.html
author indvdum (gotoindvdum[at]gmail[dot]com)
Wed, 07 Mar 2012 23:05:50 +0400
changeset 5 8b13f18d7412
parent 0 ceef6d64c21d
permissions -rw-r--r--
MD5 password fix
indvdum@0
     1
<!-- INCLUDE ucp_header.html -->
indvdum@0
     2
indvdum@0
     3
<!-- IF S_ATTACHMENT_ROWS -->
indvdum@0
     4
indvdum@0
     5
	<table class="tablebg" width="100%" cellspacing="1">
indvdum@0
     6
	<tr>
indvdum@0
     7
		<th nowrap="nowrap">#</th>
indvdum@0
     8
		<th nowrap="nowrap" width="15%"><a href="{U_SORT_FILENAME}">{L_FILENAME}</a></th>
indvdum@0
     9
		<th nowrap="nowrap" width="5%"><a href="{U_SORT_POST_TIME}">{L_POST_TIME}</a></th>
indvdum@0
    10
		<th nowrap="nowrap" width="5%"><a href="{U_SORT_FILESIZE}">{L_FILESIZE}</a></th>
indvdum@0
    11
		<th nowrap="nowrap" width="5%"><a href="{U_SORT_DOWNLOADS}">{L_DOWNLOADS}</a></th>
indvdum@0
    12
		<th width="2%" nowrap="nowrap">{L_DELETE}</th>
indvdum@0
    13
	</tr>
indvdum@0
    14
	<!-- IF TOTAL_ATTACHMENTS -->
indvdum@0
    15
		<tr>
indvdum@0
    16
			<td class="row3" colspan="6">
indvdum@0
    17
				<table width="100%" cellspacing="1">
indvdum@0
    18
				<tr>
indvdum@0
    19
					<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
indvdum@0
    20
					<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_ATTACHMENTS} ]&nbsp;</td>
indvdum@0
    21
					<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
indvdum@0
    22
				</tr>
indvdum@0
    23
				</table>
indvdum@0
    24
			</td>
indvdum@0
    25
		</tr>
indvdum@0
    26
	<!-- ENDIF -->
indvdum@0
    27
	<!-- BEGIN attachrow -->
indvdum@0
    28
		<!-- IF attachrow.S_ROW_COUNT is even --><tr class="row2"><!-- ELSE --><tr class="row1"><!-- ENDIF -->
indvdum@0
    29
indvdum@0
    30
		<td class="genmed" style="padding: 4px;" align="center" width="2%">&nbsp;{attachrow.ROW_NUMBER}&nbsp;</td>
indvdum@0
    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>
indvdum@0
    32
		<td class="gensmall" style="padding: 4px;" align="center" valign="middle" nowrap="nowrap">&nbsp;{attachrow.POST_TIME}&nbsp;</td>
indvdum@0
    33
		<td class="genmed" style="padding: 4px;" align="center" valign="middle" nowrap="nowrap">{attachrow.SIZE}</td>
indvdum@0
    34
		<td class="genmed" style="padding: 4px;" align="center">{attachrow.DOWNLOAD_COUNT}</td>
indvdum@0
    35
		<td style="padding: 4px;" align="center" valign="middle"><input type="checkbox" class="radio" name="attachment[{attachrow.ATTACH_ID}]" value="1" /></td>
indvdum@0
    36
	</tr>
indvdum@0
    37
	<!-- END attachrow -->
indvdum@0
    38
	<tr> 
indvdum@0
    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>
indvdum@0
    40
	</tr>
indvdum@0
    41
	</table>
indvdum@0
    42
indvdum@0
    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>
indvdum@0
    44
indvdum@0
    45
<!-- ELSE -->
indvdum@0
    46
indvdum@0
    47
	<table class="tablebg" width="100%" cellspacing="1">
indvdum@0
    48
	<tr>
indvdum@0
    49
		<th>{L_TITLE}</th>
indvdum@0
    50
	</tr>
indvdum@0
    51
	<tr class="row1">
indvdum@0
    52
		<td align="center"><b class="genmed">{L_UCP_NO_ATTACHMENTS}</b></td>
indvdum@0
    53
	</tr>
indvdum@0
    54
	</table>
indvdum@0
    55
indvdum@0
    56
<!-- ENDIF -->
indvdum@0
    57
indvdum@0
    58
<!-- INCLUDE ucp_footer.html -->