File size: 6.85Kb
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel" style="height:100%;">
<div class="x_content">
<div class="row">
<div class="col-md-12">
<!-- price element -->
<div class="pricing">
<div class="title">
<h1><i class="fa fa-gears"></i> Setting</h1>
</div>
<div class="x_content">
<div class="">
<div class="pricing_features">
<form id="savesetting">
<ul class="list-unstyled text-left">
<li>
<span class="btn btn-app" id="faviconu">
<i class="fa fa-upload text-danger"></i>Upload Favicon
</span>
<span id="loadfav" style="margin-left:20px;"></span>
</li>
<li>
<span class="btn btn-app" id="logoiconu">
<i class="fa fa-upload text-danger"></i>  Upload Logo   
</span>
<span id="loadlogo" style="margin-left:20px;"></span>
</li>
</ul>
<!--<div class="x_panel">
<div class="col-md-2">
<i class="fa fa-cog text-danger"></i> <strong>Maintenance Mode:  </strong>
<label style="cursor:pointer;">
</div>
<div class="col-md-10">
<input type="radio" name="maintenance" value="1"
<?php echo maintenance($maintenance);?>> Active </label>  
<label style="cursor:pointer;">
<input type="radio" name="maintenance" value="0"
<?php echo maintenance1($maintenance);?>> Deactive </label>
</div>
</div>-->
<div class="x_panel">
<div class="col-md-2">
<i class="fa fa-photo text-danger"></i> <strong>Slider On Home:  </strong>
</div>
<div class="col-md-10">
<label style="cursor:pointer;">
<input type="radio" name="slider" value="1"
<?php echo slider($slider);?>> Active </label>  
<label style="cursor:pointer;">
<input type="radio" name="slider" value="0"
<?php echo slider1($slider);?>> Deactive </label>
</div>
</div>
<div class="x_panel">
<div class="col-md-2">
<i class="fa fa-list text-danger"></i> <strong>Post Page:  </strong>
</div>
<div class="col-md-10">
<select name="blog" class="form-control">
<option value="">--Select Page--</option>
<?php
$sql = "select * from pages where title != 'home' ORDER BY id DESC";
$data = $conn->query($sql);
while($a = $data->fetch_array()){ ?>
<option value="<?php echo$a['page_name'];?>" <?php if($blog_name == $a['page_name']){echo "selected";}?>><?php echo $a['title'];?></option>
<?php } ?>
</select>
</div>
</div>
<div class="x_panel">
<div class="col-md-2">
<i class="fa fa-list-ol text-danger"></i> <strong>Post Per Page:  </strong>
</div>
<div class="col-md-10">
<input type="number" id="post_limit" name="post_limit" class="form-control"
value="<?php echo $topic_limit;?>"><br>
</div>
</div>
<div class="x_panel">
<div class="col-md-2">
<i class="fa fa-envelope text-danger"></i> <strong>Center E-mail:  </strong>
</div>
<div class="col-md-10">
<input type="text" id="center_email" name="center_email" class="form-control"
value="<?php echo $center_email;?>"><br>
</div>
</div>
<div class="x_panel">
<div class="col-md-2">
<i class="fa fa-facebook-official text-danger"></i> <strong>Facebook:  </strong>
</div>
<div class="col-md-10">
<input type="text" id="facebook" name="face_book" class="form-control"
value="<?php echo $facebook;?>" placeholder="http://"><br>
</div>
<div class="col-md-2">
<i class="fa fa-twitter text-danger"></i> <strong>Twitter:  </strong>
</div>
<div class="col-md-10">
<input type="text" id="twitter" name="twi_tter" class="form-control"
value="<?php echo $twitter;?>" placeholder="http://"><br>
</div>
<div class="col-md-2">
<i class="fa fa-google-plus text-danger"></i> <strong>Google+:  </strong>
</div>
<div class="col-md-10">
<input type="text" id="gplus" name="g_plus" class="form-control"
value="<?php echo $gplus;?>" placeholder="http://"><br>
</div>
<div class="col-md-2">
<i class="fa fa-pinterest text-danger"></i> <strong>Pinterest:  </strong>
</div>
<div class="col-md-10">
<input type="text" id="pinterest" name="pin_terest" class="form-control"
value="<?php echo $pinterest;?>" placeholder="http://"><br>
</div>
<div class="col-md-2">
<i class="fa fa-linkedin text-danger"></i> <strong>Linkedin:  </strong>
</div>
<div class="col-md-10">
<input type="text" id="linkedin" name="link_edin" class="form-control"
value="<?php echo $linkedin;?>" placeholder="http://"><br>
</div>
</div>
<!-- Footer Contents -->
<div class="x_panel">
<div class="col-md-12">
<strong>Sub Footer Three Contents:  </strong>
</div><br>
<div class="col-md-4">
<p style="color:red;">Sub-footer one</p>
<textarea rows="5" name="content_top1" placeholder="Sub-footer one" class="form-control"><?php echo $content_top1;?></textarea>
</div>
<div class="col-md-4">
<p style="color:red;">Sub-footer two</p>
<textarea rows="5" name="content_top2" placeholder="Sub-footer two" class="form-control"><?php echo $content_top2;?></textarea>
</div>
<div class="col-md-4">
<p style="color:red;">Sub-footer three</p>
<textarea rows="5" name="content_top3" placeholder="Sub-footer three" class="form-control"><?php echo $content_top3;?></textarea>
</div>
</div>
<!-- Footer Contents -->
<!-- Footer -->
<div class="x_panel">
<div class="col-md-2">
<i class="fa fa-align-center text-danger"></i> <strong>Footer:  </strong>
</div>
<div class="col-md-10">
<input type="text" id="footer" name="footer" class="form-control"
value="<?php echo $footer;?>" placeholder="For example: 'Copyright 2016 - All Right Reserved Micromm Technology'">
</div>
</div>
</div>
</div>
<input type="hidden" name="setting">
<input type="submit" id="submit" class="btn btn-primary" value="Save Setting" style="float:right;"><br>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>