<html>
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset={CONTENT_ENCODING}" />
	<meta http-equiv="Content-Style-Type" content="text/css" />
	<title>{L_ADMIN}</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.5 -->
    <link rel="stylesheet" href="{SITE_URL}styles/templates/admin/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="{SITE_URL}styles/templates/admin/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="{SITE_URL}styles/templates/admin/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="{SITE_URL}styles/templates/admin/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. We have chosen the skin-blue for this starter
          page. However, you can choose any other skin. Make sure you
          apply the skin class to the body tag so the changes take effect.
    -->
    <link rel="stylesheet" href="{SITE_URL}styles/templates/admin/dist/css/skins/_all-skins.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

  </head>
  </html>
  <!--
  BODY TAG OPTIONS:
  =================
  Apply one or more of the following classes to get the
  desired effect
  |---------------------------------------------------------|
  | SKINS         | skin-blue                               |
  |               | skin-black                              |
  |               | skin-purple                             |
  |               | skin-yellow                             |
  |               | skin-red                                |
  |               | skin-green                              |
  |---------------------------------------------------------|
  |LAYOUT OPTIONS | fixed                                   |
  |               | layout-boxed                            |
  |               | layout-top-nav                          |
  |               | sidebar-collapse                        |
  |               | sidebar-mini                            |
  |---------------------------------------------------------|
  -->
  <body class="hold-transition _all-skins sidebar-mini">
    <div class="wrapper">

      <!-- Main Header -->
      <header class="main-header">

        <!-- Logo -->
        <a href="index.php" class="logo">
          <!-- mini logo for sidebar mini 50x50 pixels -->
          <span class="logo-mini"><b>TP</b></span>
          <!-- logo for regular state and mobile devices -->
          <span class="logo-lg"><b>{SITENAME}</b></span>
        </a>

        <!-- Header Navbar -->
        <nav class="navbar navbar-static-top" role="navigation">
          <!-- Sidebar toggle button-->
          <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">Toggle navigation</span>
          </a>
		         <form class="navbar-form navbar-left" role="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="navbar-search-input" placeholder="Поиск">
                </div>
              </form>
          <!-- Navbar Right Menu -->
          <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
              <!-- Messages: style can be found in dropdown.less-->
              <li class="dropdown messages-menu">
                <!-- Menu toggle button -->
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <i class="fa fa-envelope-o"></i>
                  <span class="label label-success">4</span>
                </a>
                <ul class="dropdown-menu">
                  <li class="header">You have 4 messages</li>
                  <li>
                    <!-- inner menu: contains the messages -->
                    <ul class="menu">
                      <li><!-- start message -->
                        <a href="#">
                          <div class="pull-left">
                            <!-- User Image -->
                            <img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                          </div>
                          <!-- Message title and timestamp -->
                          <h4>
                            Support Team
                            <small><i class="fa fa-clock-o"></i> 5 mins</small>
                          </h4>
                          <!-- The message -->
                          <p>Why not buy a new awesome theme?</p>
                        </a>
                      </li><!-- end message -->
                    </ul><!-- /.menu -->
                  </li>
                  <li class="footer"><a href="#">See All Messages</a></li>
                </ul>
              </li><!-- /.messages-menu -->

              <!-- Notifications Menu -->
              <li class="dropdown notifications-menu">
                <!-- Menu toggle button -->
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <i class="fa fa-bell-o"></i>
                  <span class="label label-warning">10</span>
                </a>
                <ul class="dropdown-menu">
                  <li class="header">You have 10 notifications</li>
                  <li>
                    <!-- Inner Menu: contains the notifications -->
                    <ul class="menu">
                      <li><!-- start notification -->
                        <a href="#">
                          <i class="fa fa-users text-aqua"></i> 5 new members joined today
                        </a>
                      </li><!-- end notification -->
                    </ul>
                  </li>
                  <li class="footer"><a href="#">View all</a></li>
                </ul>
              </li>
              <!-- Tasks Menu -->
              <li class="dropdown tasks-menu">
                <!-- Menu Toggle Button -->
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <i class="fa fa-flag-o"></i>
                  <span class="label label-danger">9</span>
                </a>
                <ul class="dropdown-menu">
                  <li class="header">You have 9 tasks</li>
                  <li>
                    <!-- Inner menu: contains the tasks -->
                    <ul class="menu">
                      <li><!-- Task item -->
                        <a href="#">
                          <!-- Task title and progress text -->
                          <h3>
                            Design some buttons
                            <small class="pull-right">20%</small>
                          </h3>
                          <!-- The progress bar -->
                          <div class="progress xs">
                            <!-- Change the css width attribute to simulate progress -->
                            <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                              <span class="sr-only">20% Complete</span>
                            </div>
                          </div>
                        </a>
                      </li><!-- end task item -->
                    </ul>
                  </li>
                  <li class="footer">
                    <a href="#">View all tasks</a>
                  </li>
                </ul>
              </li>

              <!-- Control Sidebar Toggle Button -->
              <li>
                <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
              </li>
            </ul>
          </div>
        </nav>
      </header>

      <!-- Left side column. contains the logo and sidebar -->
      <aside class="main-sidebar">

        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
		  
          <!-- Sidebar Menu -->
          <ul class="sidebar-menu">
            <li class="header">{L_ADMIN}</li>
            <!-- Optionally, you can add icons to the links -->
            <li class="active"><a href="index.php?pane=right"><i style="color:#1b9ccf" class="fa fa-home"></i> <span>{L_ADMIN_INDEX}</span></a></li>
            <li><a href="../index.php"><i style="color:#1b9ccf" class="fa fa-link"></i><span> {L_MAIN_INDEX}</span></a></li>
            <li>
              <a href="#"><i style="color:#1b9ccf" class="fa fa-th-large"></i> <span>{L_ATTACHMENTS}</span> <i class="fa fa-angle-left pull-right"></i></a>
              <ul class="treeview-menu">
                    <li class="active"><a href="admin_attach_cp.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_CONTROL_PANEL}</a></li>
					<li><a href="admin_extensions.php?mode=extensions"><i style="color:#429646" class="fa fa-map-marker"></i> {L_EXTENSION_CONTROL}</a></li>
					<li><a href="admin_extensions.php?mode=groups"><i style="color:#429646" class="fa fa-map-marker"></i> {L_EXTENSION_GROUP_MANAGE}</a></li>
					<li><a href="admin_attachments.php?mode=manage"><i style="color:#429646" class="fa fa-map-marker"></i> {L_MANAGE}</a></li>
					<li><a href="admin_attachments.php?mode=quota"><i style="color:#429646" class="fa fa-map-marker"></i> {L_QUOTA_LIMITS}</a></li>
					<li><a href="admin_attachments.php?mode=cats"><i style="color:#429646" class="fa fa-map-marker"></i> {L_SPECIAL_CATEGORIES}</a></li>
              </ul>
            </li>
			        <li>
              <a href="#"><i style="color:#1b9ccf" class="fa fa-comments"></i> <span>{L_FORUMS}</span> <i class="fa fa-angle-left pull-right"></i></a>
              <ul class="treeview-menu">
                    <li class="active"><a href="admin_forums.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_MANAGE}</a></li>
					<li><a href="admin_forumauth.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_PERMISSIONS}</a></li>
					<li><a href="admin_forumauth_list.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_PERMISSIONS_LIST}</a></li>
					<li><a href="admin_forum_prune.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_PRUNE}</a></li>
              </ul>
            </li>
					<li>
              <a href="#"><i style="color:#1b9ccf" class="fa fa-wrench"></i> <span>{L_GENERAL}</span> <i class="fa fa-angle-left pull-right"></i></a>
              <ul class="treeview-menu">
                    <li class="active"><a href="admin_board.php?mode=config"><i style="color:#429646" class="fa fa-map-marker"></i> {L_CONFIGURATION}</a></li>
					<li><a href="admin_phpinfo.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_PHP_INFO}</a></li>
					<li><a href="admin_rebuild_search.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_REBUILD_SEARCH_INDEX}</a></li>
					<li><a href="admin_smilies.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_EMOTICONS}</a></li>
					<li><a href="admin_terms.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_TERMS}</a></li>
					<li><a href="admin_words.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_WORD_CENSOR}</a></li>
              </ul>
            </li>
					<li>
              <a href="#"><i style="color:#1b9ccf" class="fa fa-group"></i> <span>{L_GROUPS}</span> <i class="fa fa-angle-left pull-right"></i></a>
              <ul class="treeview-menu">
                    <li class="active"><a href="admin_groups.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_MANAGE}</a></li>
					<li><a href="admin_ug_auth.php?mode=group"><i style="color:#429646" class="fa fa-map-marker"></i> {L_PERMISSIONS}</a></li>
              </ul>
            </li>
					<li>
              <a href="#"><i style="color:#1b9ccf" class="fa fa-qrcode"></i> <span>{L_MODS}</span> <i class="fa fa-angle-left pull-right"></i></a>
              <ul class="treeview-menu">
                    <li class="active"><a href="admin_board.php?mode=config_mods"><i style="color:#429646" class="fa fa-map-marker"></i> {L_CONFIGURATION}</a></li>
					<li><a href="admin_mass_email.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_MASS_EMAIL}</a></li>
					<li><a href="admin_sitemap.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_SITEMAP}</a></li>
              </ul>
            </li>
					<li>
              <a href="#"><i style="color:#1b9ccf" class="fa fa-sitemap"></i> <span>{L_TP}</span> <i class="fa fa-angle-left pull-right"></i></a>
              <ul class="treeview-menu">
                    <li class="active"><a href="admin_cron.php?mode=list"><i style="color:#429646" class="fa fa-map-marker"></i> {L_CRON}</a></li>
					<li><a href="admin_bt_forum_cfg.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_FORUM_CONFIG}</a></li>
					<li><a href="admin_bt_tracker_cfg.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_TRACKER_CONFIG}</a></li>
              </ul>
            </li>
					<li>
              <a href="#"><i style="color:#1b9ccf" class="fa fa-users"></i> <span>{L_MEMBERLIST}</span> <i class="fa fa-angle-left pull-right"></i></a>
              <ul class="treeview-menu">
                    <li class="active"><a href="admin_log.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_ACTIONS_LOG}</a></li>
					<li><a href="admin_user_ban.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_BAN_MANAGEMENT}</a></li>
					<li><a href="admin_disallow.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_DISALLOW}</a></li>
					<li><a href="admin_ug_auth.php?mode=user"><i style="color:#429646" class="fa fa-map-marker"></i> {L_PERMISSIONS}</a></li>
					<li><a href="admin_ranks.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_RANKS}</a></li>
					<li><a href="admin_user_search.php"><i style="color:#429646" class="fa fa-map-marker"></i> {L_SEARCH}</a></li>
              </ul>
            </li>			
          </ul><!-- /.sidebar-menu -->
        </section>
        <!-- /.sidebar -->
      </aside>

      <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->

        <section class="content-header">
          <h1 style="color:#23540b">
            {L_CONTROL_PANEL_TITLE}
            <small> {L_CONTROL_PANEL_EXPLAIN}</small>
          </h1>
        </section>
<!-- IF TPL_ATTACH_STATISTICS -->
<!--========================================================================-->

        <!-- Main content -->
        <section class="content">
		<form method="post" action="{S_MODE_ACTION}">
		<table width="100%">
<tr>
	<td align="right" nowrap="nowrap">{L_VIEW}:&nbsp;{S_VIEW_SELECT}&nbsp;&nbsp;
		<input type="submit" name="submit" value="{L_SUBMIT}" class="liteoption" />
	</td>
</tr>
</table>
		
		          <div class="row">
            <div class="col-md-12">
              <!-- Custom Tabs -->
              <div class="nav-tabs-custom">
                <ul class="nav nav-tabs">
                  <li class="active"><a href="#tab_1" data-toggle="tab">{L_STATISTICS}</a></li>
                  <li class="pull-right"><a href="#" class="text-muted"><i class="fa fa-gear"></i></a></li>
                </ul>
                <div class="tab-content">
                  <div class="tab-pane active" id="tab_1">
                  <table class="table table-condensed">
                    <tr>
                      <th>{L_NUMBER_OF_ATTACHMENTS}:</th>
					  <th><span class="badge bg-red">{NUMBER_OF_ATTACHMENTS}</span></th>
                    </tr>
                    <tr>
                      <td>{L_TOTAL_FILESIZE}:</td>
                      <td><span class="badge bg-green">{TOTAL_FILESIZE}</span></td>
                    </tr>
                    <tr>
                      <td>{L_ATTACH_QUOTA}:</td>
                      <td><span class="badge bg-aqua">{ATTACH_QUOTA}</span></td>
                    </tr>
                    <tr>
                      <td>{L_NUMBER_POSTS_ATTACH}:</td>
                      <td><span class="badge bg-yellow">{NUMBER_OF_POSTS}</span></td>
                    </tr>
                    <tr>
                      <td>{L_NUMBER_PMS_ATTACH}:</td>
                      <td><span class="badge bg-blue">{NUMBER_OF_PMS}</span></td>
                    </tr>
					<tr>
                      <td>{L_NUMBER_TOPICS_ATTACH}:</td>
                      <td><span class="badge bg-green">{NUMBER_OF_TOPICS}</span></td>
                    </tr>
					<tr>
                      <td>{L_NUMBER_USERS_ATTACH}:</td>
                      <td><span class="badge bg-yellow">{NUMBER_OF_USERS}</span></td>
                    </tr>
					                  
                  </table>
				  </div><!-- /.tab-pane -->
				                    <div class="tab-pane" id="tab_2">

			  </div><!-- /.tab-pane -->
                </div><!-- /.tab-content -->
              </div><!-- nav-tabs-custom -->
            </div><!-- /.col -->
			</div> <!-- /.row --></form>
<!--========================================================================-->
<!-- ENDIF / TPL_ATTACH_STATISTICS -->		
<!-- IF TPL_ATTACH_SEARCH -->
<!--========================================================================-->

<form method="post" action="{S_MODE_ACTION}">
	<table width="100%">
	<tr>
	  <td align="right" nowrap="nowrap"><span class="med">{L_VIEW}:&nbsp;{S_VIEW_SELECT}&nbsp;&nbsp;
		<input type="submit" name="submit" value="{L_SUBMIT}" class="liteoption" />
		</span></td>
	</tr>
  </table>
              <!-- general form elements disabled -->
			  <div class="col-md-6">
              <div class="box box-warning">
                <div class="box-header with-border">
                  <h3 class="box-title" style="color:#23540b">{L_ATTACH_SEARCH_QUERY}</h3>
                </div><!-- /.box-header -->
                <div class="box-body">
                    <!-- text input -->
                    <div class="form-group">
                      <label>{L_FILENAME}:</label>
                      <input type="text" name="search_keyword_fname" size="20" class="form-control" placeholder="{L_SEARCH_WILDCARD_EXPLAIN}">
                    </div>
					<div class="form-group">
                      <label>{L_FILE_COMMENT}:</label>
                      <input type="text" name="search_keyword_comment" size="20" class="form-control" placeholder="{L_SEARCH_WILDCARD_EXPLAIN}">
                    </div>
					<div class="form-group">
                      <label>{L_SEARCH_AUTHOR}:</label>
                      <input type="text" name="search_author" size="20" class="form-control" placeholder="{L_SEARCH_WILDCARD_EXPLAIN}">
                    </div>
					<div class="form-group">
                      <label>{L_SIZE_SMALLER_THAN}:</label>
                      <input type="text" name="search_size_smaller" size="20" class="form-control">
                    </div>
										<div class="form-group">
                      <label>{L_SIZE_GREATER_THAN}:</label>
                      <input type="text" name="search_size_greater" size="20" class="form-control">
                    </div>
										<div class="form-group">
                      <label>{L_COUNT_SMALLER_THAN}:</label>
                      <input type="text" name="search_count_smaller" size="20" class="form-control">
                    </div>
										<div class="form-group">
                      <label>{L_COUNT_GREATER_THAN}:</label>
                      <input type="text" name="search_count_greater" size="20" class="form-control">
                    </div>
										<div class="form-group">
                      <label>{L_MORE_DAYS_OLD}:</label>
                      <input type="text" name="search_days_greater" size="20" class="form-control">
                    </div>
                <div class="box-header with-border">
                  <h3 class="box-title" style="color:#23540b">{L_SEARCH_OPTIONS}</h3>
                </div>
                    <!-- select -->
                    <div class="form-group">
                      <label>{L_FORUM}:</label>
                      <select class="form-control" name="search_forum">
						{S_FORUM_OPTIONS}
                      </select>
                    </div>
					<!-- Select multiple-->
					 <div class="form-group">
                      <label>{L_SORT_BY}:</label>
<td class="row2" colspan="2">{S_SORT_OPTIONS}</td>
                    </div>
					                    <div class="form-group">
                      <label>{L_SORT}:</label>
<td class="row2" colspan="2">{S_SORT_ORDER}</td>
                    </div>
	<tr>
		<td class="catBottom" colspan="4">{S_HIDDEN_FIELDS}<input class="liteoption" type="submit" name="search" value="{L_SEARCH}" /></td>
                  </form>
                </div><!-- /.box-body -->
              </div><!-- /.box -->	
			              </div><!--/.col (right) -->
		  
		<!--========================================================================-->
<!-- ENDIF / TPL_ATTACH_SEARCH -->
		
		
		
		



<!-- IF TPL_ATTACH_USER -->
<!--========================================================================-->

<form method="post" action="{S_MODE_ACTION}">
	<table width="100%">
	<tr>
	  <td align="right" nowrap="nowrap">
		<span class="med">{L_VIEW}:&nbsp;{S_VIEW_SELECT}&nbsp;&nbsp;{L_SORT_BY}:&nbsp;{S_MODE_SELECT}&nbsp;&nbsp;{L_ORDER}&nbsp;{S_ORDER_SELECT}&nbsp;&nbsp;
		<input type="submit" name="submit" value="{L_SUBMIT}" class="liteoption" />
		</span>
	  </td>
	</tr>
  </table>
	<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
		<tr>
	  <th>#</th>
	  <th>{L_USERNAME}</th>
	  <th>{L_ATTACHMENTS}</th>
	  <th>{L_SIZE_IN_KB}</th>
	</tr>
	<!-- BEGIN memberrow -->
	<tr>
	  <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen">&nbsp;{memberrow.ROW_NUMBER}&nbsp;</span></td>
	  <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"><a href="{memberrow.U_VIEW_MEMBER}" class="gen">{memberrow.USERNAME}</a></span></td>
	  <td class="{memberrow.ROW_CLASS}" align="center">&nbsp;<b>{memberrow.TOTAL_ATTACHMENTS}</b>&nbsp;</td>
	  <td class="{memberrow.ROW_CLASS}" align="center">&nbsp;<b>{memberrow.TOTAL_SIZE}</b>&nbsp;</td>
	</tr>
	<!-- END memberrow -->
  </table>

<table width="100%">
  <tr>
	<td><span class="nav">{PAGE_NUMBER}</span></td>
	<td align="right"><span class="nav">{PAGINATION}&nbsp;</span></td>
  </tr>
</table>
</form>

<!--========================================================================-->
<!-- ENDIF / TPL_ATTACH_USER -->

<!-- IF TPL_ATTACH_ATTACHMENTS -->
<!--========================================================================-->

<!-- BEGIN switch_user_based -->
<b>{L_STATISTICS_FOR_USER}</b>
<!-- END switch_user_based -->

<script type="text/javascript">
	//
	// Should really check the browser to stop this whining ...
	//
	function select_switch(status)
	{
		for (i = 0; i < document.attach_list.length; i++)
		{
			document.attach_list.elements[i].checked = status;
		}
	}
</script>

<form method="post" name="attach_list" action="{S_MODE_ACTION}">
<table width="100%">
	<tr>
		<td align="right" nowrap="nowrap">
			<span class="med">{L_VIEW}:&nbsp;{S_VIEW_SELECT}&nbsp;&nbsp;{L_SORT_BY}:&nbsp;{S_MODE_SELECT}&nbsp;&nbsp;{L_ORDER}&nbsp;{S_ORDER_SELECT}&nbsp;&nbsp;
				<input type="submit" name="submit" value="{L_SUBMIT}" class="liteoption" />
			</span>
		</td>
	</tr>
</table>
<table class="forumline">
	<tr>
		<th>#</th>
		<th>{L_FILENAME}</th>
		<th>{L_FILE_COMMENT}</th>
		<th>{L_EXTENSION}</th>
		<th>{L_SIZE}</th>
		<th>{L_DOWNLOADS}</th>
		<th>{L_POST_TIME}</th>
		<th>{L_POSTED_IN_TOPIC}</th>
		<th>{L_DELETE}</th>
	</tr>
	<!-- BEGIN attachrow -->
	<tr>
		<td class="{attachrow.ROW_CLASS}" align="center"><span class="gen">&nbsp;{attachrow.ROW_NUMBER}&nbsp;</span></td>
		<td class="{attachrow.ROW_CLASS}" align="center"><span class="gen"><a href="{attachrow.U_VIEW_ATTACHMENT}" class="gen" target="_blank">{attachrow.FILENAME}</a></span></td>
		<td class="{attachrow.ROW_CLASS}" align="center"><span class="gen"><input type="text" size="40" maxlength="200" name="attach_comment_list[]" value="{attachrow.COMMENT}" class="post" /></span></td>
		<td class="{attachrow.ROW_CLASS}" align="center"><span class="gen">{attachrow.EXTENSION}</span></td>
		<td class="{attachrow.ROW_CLASS}" align="center"><span class="gen"><b>{attachrow.SIZE}</b></span></td>
		<td class="{attachrow.ROW_CLASS}" align="center"><span class="gen"><input type="text" size="5" maxlength="10" name="attach_count_list[]" value="{attachrow.DOWNLOAD_COUNT}" class="post" /></span></td>
		<td class="{attachrow.ROW_CLASS}" align="center"><span class="small">{attachrow.POST_TIME}</span></td>
		<td class="{attachrow.ROW_CLASS}" align="center"><span class="gen">{attachrow.POST_TITLE}</span></td>
		<td class="{attachrow.ROW_CLASS}" align="center">{attachrow.S_DELETE_BOX}</td>
		{attachrow.S_HIDDEN}
	</tr>
	<!-- END attachrow -->
	<tr>
		<td class="catBottom" colspan="9">
			<input type="submit" name="submit_change" value="{L_SUBMIT_CHANGES}" class="mainoption" />
			&nbsp;
			<input type="submit" name="delete" value="{L_DELETE_MARKED}" class="liteoption" />
		</td>
	</tr>
</table>

<!-- BEGIN switch_user_based -->
	{S_USER_HIDDEN}
<!-- END switch_user_based -->

<table width="100%">
<tr>
	<td align="right" valign="top" nowrap="nowrap"><b><span class="small"><a href="javascript:select_switch(true);" class="small">{L_MARK_ALL}</a> :: <a href="javascript:select_switch(false);" class="small">{L_UNMARK_ALL}</a></span></b></td>
</tr>
</table>

<table width="100%">
<tr>
	<td><span class="nav">{PAGE_NUMBER}</span></td>
	<td align="right"><span class="nav">{PAGINATION}&nbsp;</span></td>
</tr>
</table>
</form>

<!--========================================================================-->
<!-- ENDIF / TPL_ATTACH_ATTACHMENTS -->
        </section><!-- /.content -->
      </div><!-- /.content-wrapper -->

      <!-- Main Footer -->
      <footer class="main-footer">
        <!-- To the right -->
        <div class="pull-right hidden-xs">
          Anything you want
        </div>
        <!-- Default to the left -->
        <strong>Copyright &copy; 2015 <a href="#">Company</a>.</strong> All rights reserved.
      </footer>

      <!-- Control Sidebar -->
      <aside class="control-sidebar control-sidebar-dark">
        <!-- Create the tabs -->
        <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
          <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
          <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
        </ul>
        <!-- Tab panes -->
        <div class="tab-content">
          <!-- Home tab content -->
          <div class="tab-pane active" id="control-sidebar-home-tab">
            <h3 class="control-sidebar-heading">Recent Activity</h3>
            <ul class="control-sidebar-menu">
              <li>
                <a href="javascript::;">
                  <i class="menu-icon fa fa-birthday-cake bg-red"></i>
                  <div class="menu-info">
                    <h4 class="control-sidebar-subheading">Langdon's Birthday</h4>
                    <p>Will be 23 on April 24th</p>
                  </div>
                </a>
              </li>
            </ul><!-- /.control-sidebar-menu -->

            <h3 class="control-sidebar-heading">Tasks Progress</h3>
            <ul class="control-sidebar-menu">
              <li>
                <a href="javascript::;">
                  <h4 class="control-sidebar-subheading">
                    Custom Template Design
                    <span class="label label-danger pull-right">70%</span>
                  </h4>
                  <div class="progress progress-xxs">
                    <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
                  </div>
                </a>
              </li>
            </ul><!-- /.control-sidebar-menu -->

          </div><!-- /.tab-pane -->
          <!-- Stats tab content -->
          <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div><!-- /.tab-pane -->
          <!-- Settings tab content -->
          <div class="tab-pane" id="control-sidebar-settings-tab">
            <form method="post">
              <h3 class="control-sidebar-heading">General Settings</h3>
              <div class="form-group">
                <label class="control-sidebar-subheading">
                  Report panel usage
                  <input type="checkbox" class="pull-right" checked>
                </label>
                <p>
                  Some information about this general settings option
                </p>
              </div><!-- /.form-group -->
            </form>
          </div><!-- /.tab-pane -->
        </div>
      </aside><!-- /.control-sidebar -->
      <!-- Add the sidebar's background. This div must be placed
           immediately after the control sidebar -->
      <div class="control-sidebar-bg"></div>
    </div><!-- ./wrapper -->

    <!-- REQUIRED JS SCRIPTS -->

    <!-- jQuery 2.1.4 -->
    <script src="plugins/jQuery/jQuery-2.1.4.min.js"></script>
    <!-- Bootstrap 3.3.5 -->
    <script src="{SITE_URL}styles/templates/admin/bootstrap/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="{SITE_URL}styles/templates/admin/plugins/fastclick/fastclick.min.js"></script>
    <!-- AdminLTE App -->
    <script src="{SITE_URL}styles/templates/admin/dist/js/app.min.js"></script>
    <!-- AdminLTE for demo purposes -->
    <script src="{SITE_URL}styles/templates/admin/dist/js/demo.js"></script>

    <!-- Optionally, you can add Slimscroll and FastClick plugins.
         Both of these plugins are recommended to enhance the
         user experience. Slimscroll is required when using the
         fixed layout. -->
  </body>

