<link rel="stylesheet" href="{SITE_URL}styles/templates/admin/dist/css/flat/_All.css">
<script src="{SITE_URL}styles/templates/admin/dist/js/icheck.js"></script>
  <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) -->


<script>
$(document).ready(function(){
  $('input').iCheck({
    checkboxClass: 'icheckbox_flat-red',
    radioClass: 'iradio_flat-red'
  });
});
</script>
<!-- IF TPL_ATTACH_EXTENSIONS -->
<!--========================================================================-->
<form method="post" action="{S_ATTACH_ACTION}">
        <section class="content-header">
          <h1 style="color:#23540b">
            {L_MANAGE_EXTENSIONS}
            <small> {L_MANAGE_EXTENSIONS_EXPLAIN}</small>
          </h1>
        </section>
<br />

        <!-- Main content -->
        <section class="content">
          <div class="row">
            <div class="col-md-12">
              <div class="box">
                <div class="box-header with-border">
                  <h3 class="box-title">{L_MANAGE_EXTENSIONS}</h3>
                </div><!-- /.box-header -->
                <div class="box-body">
                  <table class="table table-bordered">
                    <tr>
                      <td align="center"><b>{L_EXPLANATION}</b></td>
                      <td align="center"><b>{L_EXTENSION}</b></td>
                      <td align="center"><b>{L_EXTENSION_GROUP}</b></td>
                      <td align="center"><b>{L_ADD_NEW}</b></td>
                    </tr>
                    <tr>
                      <td align="center"><input type="text" size="30" maxlength="100" name="add_extension_explain" value="{ADD_EXTENSION_EXPLAIN}" /></td>
                      <td align="center"><input type="text" size="30" maxlength="100" name="add_extension" value="{ADD_EXTENSION}" /></td>
					  <td align="center">{S_ADD_GROUP_SELECT}</td>
	                  <td align="center"><input type="checkbox" name="add_extension_check" /></td>
                    </tr>
                  </table>
                </div><!-- /.box-body -->
              </div><!-- /.box -->
			  <td align="center"> {S_HIDDEN_FIELDS} <input type="submit" name="submit" class="btn btn-danger btn-xs" value="{L_SUBMIT}" /></td>
            </div><!-- /.col -->

            <div class="col-md-12">
              <div class="box">
<!-- /.box-header -->
                <div class="box-body">
                  <table class="table table-striped">
                    <tr>
                      <td align="center"><b>{L_EXPLANATION}</b></td>
                      <td align="center"><b>{L_EXTENSION}</b></td>
                      <td align="center"><b>{L_EXTENSION_GROUP}</b></td>
                      <td align="center"><b>{L_DELETE}</b></td>
                    </tr>
					<!-- BEGIN extension_row -->
					<input type="hidden" name="extension_change_list[]" value="{extension_row.EXT_ID}" />
                    <tr>
                      <td align="center"><input type="text" size="30" maxlength="100" name="extension_explain_list[]" value="{extension_row.EXTENSION_EXPLAIN}" /></td>
                      <td align="center"><b><span class="gen">{extension_row.EXTENSION}</span></b></td>
					  <td align="center">{extension_row.S_GROUP_SELECT}</td>
	                  <td align="center"><input type="checkbox" name="extension_id_list[]"  value="{extension_row.EXT_ID}" /></td>
                    </tr>
					<!-- END extension_row -->
                  </table>
                </div><!-- /.box-body -->
              </div><!-- /.box -->						                    			  
	<td align="center">
	  <input type="submit" name="{L_CANCEL}" class="btn btn-danger btn-xs" value="{L_CANCEL}" onClick="self.location.href='{S_CANCEL_ACTION}'" />
	  <input type="submit" name="submit" class="btn btn-danger btn-xs" value="{L_SUBMIT}" />
	  </td>
            </div><!-- /.col -->			
			        </section><!-- /.content -->
      </div><!-- /.content-wrapper -->
</form>
&nbsp;
<!--========================================================================-->
<!-- ENDIF / TPL_ATTACH_EXTENSIONS -->

<!-- IF TPL_ATTACH_EXTENSION_GROUPS -->
<!--========================================================================-->

{GROUP_PERMISSIONS_BOX}

        <section class="content-header">
          <h1 style="color:#23540b">
            {L_MANAGE_EXTENSION_GROUPS}
            <small> {L_MANAGE_EXTENSION_GROUPS_EXPLAIN}</small>
          </h1>
        </section>

<br />

<form method="post" action="{S_ATTACH_ACTION}">
        <!-- Main content -->
        <section class="content">
          <div class="row">
            <div class="col-md-12">
              <div class="box">
                <div class="box-header with-border">
                  <h3 class="box-title">{L_MANAGE_EXTENSIONS}</h3>
                </div><!-- /.box-header -->
                <div class="box-body">
                  <table class="table table-bordered">
                    <tr>
				<td align="center"><b>{L_EXTENSION_GROUP}</b></td>
				<td align="center"><b>{L_SPECIAL_CATEGORY}</b></td>
				<td align="center"><b>{L_ALLOWED}</b></td>
				<td align="center"><b>{L_DOWNLOAD_MODE}</b></td>
				<td align="center"><b>{L_UPLOAD_ICON}</b></td>
				<td align="center"><b>{L_MAX_FILESIZE_ATTACH}</b></td>
				<td align="center"><b>{L_ALLOWED_FORUMS}</b></td>
				<td align="center"><b>{L_ADD_NEW}</b></td>
					</tr>
					<tr>
      <td align="center"><input type="text" size="20" maxlength="100" name="add_extension_group" value="{ADD_GROUP_NAME}" /></td>
	  <td align="center">{S_SELECT_CAT}</td>
	  <td align="center"><input type="checkbox" name="add_allowed" /></td>
	  <td align="center">{S_ADD_DOWNLOAD_MODE}</td>
	  <td align="center"><input type="text" size="15" maxlength="100" name="add_upload_icon" value="{UPLOAD_ICON}" /></td>
	  <td align="center"><input type="text" size="3" maxlength="15" name="add_max_filesize" value="{MAX_FILESIZE}" /> {S_FILESIZE}</td>
	  <td align="center">&nbsp;</td>
	  <td align="center"><input type="checkbox" name="add_extension_group_check" /></td>
				</tr>
				 </table>
                </div><!-- /.box-body -->
              </div><!-- /.box -->	
	  <td align="center" class="catBottom" colspan="8"><input type="submit" name="submit" class="btn btn-danger btn-xs" value="{L_SUBMIT}" /></td>
            </div><!-- /.col -->	
&nbsp;
            <div class="col-md-12">
              <div class="box">
<!-- /.box-header -->
                <div class="box-body">
                  <table class="table table-bordered">
                    <tr>
				<td align="center"><b>{L_EXTENSION_GROUP}</b></td>
				<td align="center"><b>{L_SPECIAL_CATEGORY}</b></td>
				<td align="center"><b>{L_ALLOWED}</b></td>
				<td align="center"><b>{L_DOWNLOAD_MODE}</b></td>
				<td align="center"><b>{L_UPLOAD_ICON}</b></td>
				<td align="center"><b>{L_MAX_GROUPS_FILESIZE}</b></td>
				<td align="center"><b>{L_ALLOWED_FORUMS}</b></td>
				<td align="center"><b>{L_DELETE}</b></td>
					</tr>
					  <!-- BEGIN grouprow -->
					<tr>
					<input type="hidden" name="group_change_list[]" value="{grouprow.GROUP_ID}" />
      <td align="center">
	  <b><span class="small"><a href="{grouprow.U_VIEWGROUP}" class="small">{grouprow.CAT_BOX}</a></span></b>
	  <input type="text" size="20" maxlength="100" name="extension_group_list[]" value="{grouprow.EXTENSION_GROUP}" />
	  </td>
	  <td align="center">{grouprow.S_SELECT_CAT}</td>
	  <td align="center"><input type="checkbox" name="allowed_list[]" value="{grouprow.GROUP_ID}" {grouprow.S_ALLOW_SELECTED} /></td>
	  <td align="center">{grouprow.S_DOWNLOAD_MODE}</td>
	  <td align="center"><input type="text" size="15" maxlength="100" name="upload_icon_list[]" value="{grouprow.UPLOAD_ICON}" /></td>
	  <td align="center"><input type="text" size="3" maxlength="15" name="max_filesize_list[]" value="{grouprow.MAX_FILESIZE}" /> {grouprow.S_FILESIZE}</td>
	  <td align="center"><span class="small"><a href="{grouprow.U_FORUM_PERMISSIONS}" class="small">{L_EXT_GROUP_PERMISSIONS}</a></span></td>
	  <td align="center"><input type="checkbox" name="group_id_list[]" value="{grouprow.GROUP_ID}" /></td>
				</tr>	
				<!-- BEGIN extensionrow -->
					<td class="row2" align="center"><span class="small">{grouprow.extensionrow.EXTENSION}</span></td>
					<td class="row2" align="center"><span class="small">{grouprow.extensionrow.EXPLANATION}</span></td>
				<!-- END extensionrow -->
				<!-- END grouprow -->
				 </table>
                </div><!-- /.box-body -->
              </div><!-- /.box -->	
	  <td align="center">
	  <input type="submit" name="{L_CANCEL}" class="btn btn-danger btn-xs" value="{L_CANCEL}" onClick="self.location.href='{S_CANCEL_ACTION}'" />
	  <input type="submit" name="submit" class="btn btn-danger btn-xs" value="{L_SUBMIT}" /></td>
				</div><!-- /.col -->			  

</form>
&nbsp;
<!--========================================================================-->
<!-- ENDIF / TPL_ATTACH_EXTENSION_GROUPS -->

<!-- IF TPL_ATTACH_EXTENSION_GROUPS_PERMISSIONS -->
<!--========================================================================-->

            <div class="col-md-12">
              <div class="box box-success">
                <div class="box-header with-border">
                  <h3 class="box-title">{L_GROUP_PERMISSIONS_TITLE}</h3>
				  <p><small> {L_GROUP_PERMISSIONS_EXPLAIN}</small></p>
                  <div class="box-tools pull-right">
                    <button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
                  </div><!-- /.box-tools -->
                </div><!-- /.box-header -->
                <div class="box-body">
				<form method="post" action="{A_PERM_ACTION}">
                  <table class="table table-bordered">
				<tr>
					<td align="center"><b>{L_ALLOWED_FORUMS}</b></td>
				</tr>
								<tr>
					<td align="center">
						<select style="width:560px" name="entries[]" multiple="multiple" size="5">
						<!-- BEGIN allow_option_values -->
						<option value="{allow_option_values.VALUE}">{allow_option_values.OPTION}</option>
						<!-- END allow_option_values -->
						</select>
					</td>
				</tr>
								<tr>
					<td align="center"> <input class="btn btn-danger btn-xs" type="submit" name="del_forum" value="{L_REMOVE_SELECTED}" /> &nbsp; <input class="btn btn-danger btn-xs" type="submit" name="close_perm" value="{L_CLOSE_WINDOW}" /><input type="hidden" name="e_mode" value="perm" /></td>
				</tr>
				</table>
				</form>
				<form method="post" action="{A_PERM_ACTION}">
				<table class="table table-bordered">
				<tr>
					<td align="center"><b>{L_ADD_FORUMS}</b></td>
				</tr>
								<tr>
					<td align="center">
					<select style="width:560px" name="entries[]" multiple="multiple" size="5">
					<!-- BEGIN forum_option_values -->
					<option value="{forum_option_values.VALUE}">{forum_option_values.OPTION}</option>
					<!-- END forum_option_values -->
					</select>
					</td>
				</tr>
				<tr>
					<td align="center"> <input type="submit" name="add_forum" value="{L_ADD_SELECTED}" class="btn btn-danger btn-xs" />&nbsp; <input type="reset" value="{L_RESET}" class="btn btn-danger btn-xs" />&nbsp; <input type="hidden" name="e_mode" value="perm" /></td>
				</tr>
				</table>
				</form>
                </div><!-- /.box-body -->
              </div><!-- /.box -->
            </div><!-- /.col -->
			</section><!-- /.content -->
			</div><!-- /.content-wrapper -->
<!--========================================================================-->
<!-- ENDIF / TPL_ATTACH_EXTENSION_GROUPS_PERMISSIONS -->

<br clear="all" />

      <!-- 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>
