<?php
$html = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
$headinclude
</HEAD>

<body class="skin-blue sidebar-mini">
    <div class="wrapper">
      
      $header
	  
      $navbar
	  
	  <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            Information\'s Category List
            <small>preview of all information\'s category list</small>
          </h1>
          <!--
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
            <li><a href="#">Tables</a></li>
            <li class="active">Simple</li>
          </ol>
		-->
        </section>
		
		<!-- Main content -->
        <section class="content">
          <div class="row">
            <div class="col-md-12">
              <div class="box box-primary">
                <div class="box-header">
                  <h3 class="box-title">All Of Information\'s Category List</h3>
				  <span style="float: right; visibility: hidden" id="loadingprogress"><img src="img/loading.gif" border="0" width="15" height="15"></span>
                </div><!-- /.box-header -->
                <div class="box-body">
					<form action="pagecategory.php" method="post" onsubmit="return confirm(\'Are you sure?\')">
					  <table class="table table-bordered table-hover">
						<thead>
							<tr>
								<th width="5%" height="25" align="center"></th>
								<th width="65%" height="25" align="center">
								Category Name</th>
								<th width="15%" height="25" align="center">
								Sort</th>
								<th width="15%" height="25" align="center">
								Status</th>
							</tr>
							
						</thead>
						<tbody id="ajaxlist">
						<if criteria="empty($content)">
						There are no information\'s category.
						<else>
							$content
						</if>
						</tbody>
					  </table>
						<div class="col-md-12 padding-0">
							<div class="col-xs-6 padding-0">
							  <button type="button" class="btn btn-primary" style="margin-right: 5px;" onclick="window.open(\'pagecategorydetail.php\',\'_self\')"><i class="fa fa-plus"></i> Add New</button>
							</div>
							<div class="col-xs-6 padding-0">
								<if criteria="!empty($content)">
								<br>
								<div align="right">
								With selected : 
								<select name="editingmenu" style="text-align: right" class="selectfield" onchange="showhideelement(this,\'ctgmove\',\'moveall,moveone\')">
									<option value="saveorder" selected>Save Order</option>
									<option value="show">Show on the Web</option>
									<option value="hide">Hide from the Web</option>
									<option value="moveall">Move with all subcategory to parent</option>
									<option value="moveone">Move without subcategory to parent</option>
									<option value="deleteall">Delete all with subcategory</option>
									<option value="deleteone">Delete just this category (subcategory will be raised one level)</option>
								</select>&nbsp;
								$treemv
								&nbsp;<input type="submit" value="Go" class="btn btn-success btn-sm">
								</div>
								</endif>
							</div>
						</div>
					</form>
                </div><!-- /.box-body -->
                <div class="box-footer clearfix">
					
					<div class="col-md-6 padding-0" id="recordsbottom"></div>
					<div class="col-md-6 padding-0 align-right" id="pagebottom"></div>
					
					
                </div>
				
				
              </div><!-- /.box -->
			</div><!-- /.col -->
		  </div><!-- /.row -->
		  
		</section><!-- /.content -->
      </div><!-- /.content-wrapper -->
	  
	  $footer
	 
	</div><!-- ./wrapper -->
	
	
	
</BODY>
</HTML>';
?>