korsygfhrtzangaiide
Elepffwdsff
/
home3
/
nmslyumy
/
public_html
/
odishaexpress
/
oe-admin
/
view
/
Upload FileeE
HOME
<div id="content" class="col-lg-10 col-sm-10"> <!-- content starts --> <div> <ul class="breadcrumb"> <li> <a href="home.php?page=dash-board">Home</a> </li> <li> <a href="#">Add New Banner</a> </li> </ul> </div> <div class="row"> <div style="text-align:center"><?php include("controller/msg.php"); ?></div> <div class="box col-md-12"> <div class="box-inner"> <div class="box-header well" data-original-title=""> <h2><i class="glyphicon glyphicon-edit"></i> Add Banner</h2> <div class="box-icon"> <a href="#" class="btn btn-setting btn-round btn-default"><i class="glyphicon glyphicon-cog"></i></a> <a href="#" class="btn btn-minimize btn-round btn-default"><i class="glyphicon glyphicon-chevron-up"></i></a> <a href="#" class="btn btn-close btn-round btn-default"><i class="glyphicon glyphicon-remove"></i></a> </div> </div> <div class="box-content"> <form role="form" method="post" enctype="multipart/form-data"> <div class="form-group"> <label for="exampleInputEmail1">Service</label> <select name="ser" class="form-control" required> <option value="">Select a Service Name</option> <option value="100000" <?php if("100000"==$edt["its_service"]){ ?> selected="selected"<?php } ?>>Home Page</option> <?php $se=$conn->query("select * from its_innermenu where its_menuid in (1,2)"); while($sed=$se->fetch_array()){ ?> <option value="<?php echo $sed["its_nid"]; ?>" <?php if($sed["its_nid"]==$edt["its_service"]){ ?> selected="selected"<?php } ?>><?php echo $sed["its_innermenuname"]; ?></option> <?php } ?> </select> </div> <div class="form-group"> <label for="exampleInputEmail1">City</label> <select name="city" class="form-control" required> <option value="">Select a City </option> <option value="100000" <?php if("100000"==$edt["its_city"]){ ?> selected="selected"<?php } ?>>Home Page</option> <?php $ct=$conn->query("select * from its_city order by its_cityn"); while($ctd=$ct->fetch_array()){ ?> <option value="<?php echo $ctd["its_cid"]; ?>"<?php if($ctd["its_cid"]==$edt["its_city"]){ ?> selected="selected"<?php } ?>><?php echo $ctd["its_cityn"]; ?></option> <?php } ?> </select> </div> <div class="form-group"> <label for="exampleInputEmail1">Upload Box Ad Image</label> <input type="file" name="image" id="image" class="form-control" style="width:250px;"> <?php if(!empty($edt['its_adimg'])){?> <img src="@upload_img/@topad@/<?php echo $edt['its_adimg'];?>" alt="lo" width="400px;" height="100px;" /><?php } ?> </div> <div class="form-group"> <label for="exampleInputEmail1">URL</label> <input type="text" name="url" class="form-control" id="tit" value="<?php echo $edt['its_url'];?>" required> </div> <?php if(!empty($_GET['eid'])){?> <button type="submit" class="btn btn-default" name="update">Submit</button> <?php } else {?> <button type="submit" class="btn btn-default" name="save">Submit</button> <?php }?> </form> </div> </div> </div> <!--/span--> </div>