Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/look/styles/forum/main/templates/usercp_options_attach.tpl
<script language="JavaScript">
<!--
function checkAll(form){
  for (var i = 0; i < form.elements.length; i++){
    eval("form.elements[" + i + "].checked = form.elements[0].checked");
  }
}
-->
</script>
</head>
<body>

<title> {$lang['Your_attach']} -
{$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&amp;index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
 {$lang['Your_attach']}
{template}address_bar_part2{/template}


<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
	<tr>
		<td width="20%" valign="top">{template}usercp_menu{/template}</td>
		<td width="80%" valign="top">

<form action="index.php?page=usercp&amp;attach=1&amp;del=1&amp;options=1" name="form1" method="post">
<div align="center">
<table border="0" cellspacing="1" class="border" width="100%">
	<tr align="center">
  		<td class="tcat" colspan="5">
 {$lang['Your_attach']}:
  <strong>({$member_Attachment_num})</strong>
     	</td>
    </tr>
	<tr>
	   <td class="thead" width="3%">
			<input type="checkbox" name="check_all" onClick="checkAll(this.form)"/>
		</td>
		<td width="20%" class="thead" align="center" >
{$lang['File_Name']}
		</td>
		<td width="10%" class="thead" align="center">
{$lang['Total_Downloads_attach']}
		</td>
		<td width="10%" class="thead" align="center">
{$lang['Filesize']}
		</td>
		<td width="20%" class="thead" align="center">
{$lang['Stretch']}
		</td>
	</tr>
    {Des::while}{MemberAttachList}
		<tr>
			<td width="3%" class="row1" align="center">
				<input type="checkbox" name="check[]" value="{$MemberAttachList['id']}" />
			</td>
			<td width="20%" class="row2">
			<a href="index.php?page=download&amp;attach=1&amp;id={$MemberAttachList['id']}">{$MemberAttachList['filename']}</a>
			</td>
			<td width="8%" class="row2" align="center">
				{$MemberAttachList['visitor']}
			</td>
			<td width="8%" class="row1" align="center">
(<?php echo $PowerBB->_CONF['template']['while']['MemberAttachList'][$this->x_loop]['filesize'] / 1000; ?>)
KB
			</td>
			<td width="20%" class="row2" align="center">
            {$MemberAttachList['extension']}
			</td>
		</tr>
    {/Des::while}
        	 {if {$member_attach_nm}}
<tr valign="top" align="center">
<td class="row1" colspan="5">
{$lang['no_Attachments']}
</td>
</tr>
{/if}
<tr valign="top" align="center">
<td class="row1" colspan="5">
<input class="button" name="delet" type="submit" value="{$lang['del_Attachments']}" /></td>
</tr>
</table>
</div>
</form>
<span class="pager-left">{$pager} </span>
		</td>
	</tr>
</table>



<br />
Return current item: PBBoard