  <div class="col-md-12" id="cat_form" style="display: none;">
			<div class="col-md-12">
	<div class="panel panel-piluku">
		<div class="panel-heading">
                <h3 class="panel-title">
                    <i class="ion-edit"></i> 
                    	Category Information						<small>(Fields in red are required)</small><i class="ion-close" id="closecatform" style="float: right; background: #dc1919; color: white; padding: 4px; border-radius: 3px;"></i>
                </h3>
        </div>

			<div class="panel-body">
				<div class="item_navigation clearfix text-center">
					<ul class="list-inline">
						<li>
													</li>
						<li>
													</li>
					</ul>
				</div>

				<div class="form-group">
					<label for="name" class="col-sm-3 col-md-3 col-lg-2 control-label required wide">Category Name :</label>					<div class="col-sm-9 col-md-9 col-lg-10">
						<input type="text" name="cname" autofocus="on" value="<?php echo @$editrow['name'];  ?>" list="listcat" id="cname" class="form-control form-inps">
						<datalist id="listcat">
						<?php
							$listCat = $db->query("SELECT * FROM categories");
							while($listrow = $listCat->fetchArray()){
						?>
							<option value="<?php echo $listrow['name']; ?>"><?php echo $listrow['name']; ?></option>
						<?php } ?>	
						</datalist>
					</div>
				</div>
				<a href="categories.php" class="submit_button btn btn-success">View Categories</a>
 		<div class="form-actions pull-right">
										&nbsp;

					<input type="submit" name="submitf" value="Submit" id="catsubmit" class="submit_button btn btn-primary">

				</div>

							</div><!--/panel-body -->
		</div><!-- /panel-piluku -->

	</div>
			</div>