Revonzy Mini Shell
<?php
include('../../config.php');
require_once(PATH_LIBRARIES.'/classes/DBConn.php');
require_once(PATH_ADMIN_INCLUDE.'/header.php');
$db = new DBConn();
//Get Here Langauge List
//$getLang=$db->ExecuteQuery("SELECT * FROM langauge");
//echo base64_encode('umax123');
//Get HEre Category naem
$category=$db->ExecuteQuery("SELECT * FROM category ORDER BY Category_Name ASC");
?>
<script type="text/javascript" src="our-works.js"></script>
<div id="loading"></div>
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Our Works Images</h3>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Add New </h2>
<ul class="nav navbar-right panel_toolbox">
<li>
<button class="btn btn-round btn-success" onclick="location.href='list.php';">View List</button>
</li>
</ul>
<div class="clearfix"></div>
</div>
<div class="x_content">
<form class="form-horizontal form-label-left" action="" method="post" id="ourworksFrm">
<div class="col-sm-12">
<!---Write here English Content Here-->
<div class="col-sm-8">
<div class="item form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="subcategory">Sub category <span class="required">*</span> </label>
<div class="col-md-6 col-sm-6 col-xs-12">
<select id="subcategory" class="form-control col-md-7 col-xs-12" name="subcategory">
<option value="">Select Sub category</option>
<option value="commercial">Commercial</option>
<option value="hospitality">Hospitality</option>
<option value="institutional">Institutional</option>
<option value="residential">Residential</option>
</select>
</div>
</div>
<div class="item form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="url">URL <span class="required">*</span> </label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" id="url" name="url" required="required" class="form-control col-md-7 col-xs-12 " placeholder="http://example.com">
</div>
</div>
<div class="item form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="fileupload">Image Upload <span class="required">*</span> </label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input type="file" id="fileupload" name="fileupload" required="required" class="form-control col-md-7 col-xs-12 " accept="image/jpg,image/png,image/jpeg,image/gif" />
<span id="errmsg"></span>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="ln_solid"></div>
<div class="form-group">
<div class="col-md-6 col-md-offset-3">
<button id="submit" type="button" class="btn btn-success">Submit</button>
</div>
</div>
</form>
</div>
<div id="dialog1" title="Message" style="display:none; text-align:left;">
<p>Image Successfully Added</p>
</div>
<div id="dialog2" title="Message" style="display:none; text-align:left;">
<p>Something is Wrong </p>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
require_once(PATH_ADMIN_INCLUDE.'/footer.php');
?>
EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com