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 Inner Menu</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 New Inner Menu</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">Main Menu Name</label> <select name="mnuid" id="mnuid" class="form-control" onchange="getsubmenu(this.value)"> <option value="">-select Main Menu-</option> <?php while($mainmn = $getmainmnu->fetch_array()){?> <option value="<?php echo $mainmn['its_mid'];?>" <?php if($_GET['mid']==$mainmn['its_mid']){?> selected="selected" <?php }?>><?php echo $mainmn['its_menuname'];?></option> <?php }?> </select> </div> <div class="form-group"> <label for="exampleInputEmail1">Sub Menu Name</label> <select name="subid" id="subid" class="form-control"> <option value="">-select Sub Menu-</option> <?php while($ftcsubmnu = $getsubmnu->fetch_array()){?> <option value="<?php echo $ftcsubmnu['its_sid'];?>" <?php if($_GET['sbid']==$ftcsubmnu['its_sid']){?> selected="selected" <?php }?>><?php echo $ftcsubmnu['its_submenuname'];?></option> <?php } ?> </select> </div> <div class="form-group"> <label for="exampleInputEmail1">Inner Menu Name</label> <input type="text" name="inrmnu" class="form-control" id="inrmnu" value="<?php echo $edt['its_innermenuname'];?>" placeholder="Inner Menu Name" require> </div> <div class="form-group"> <label for="exampleInputEmail1">Position</label><br/> <select name="pos" id="pos" style="width:120px; height:30px;"> <option value="">-select-</option> <?php $row=$conn->query("select * from its_innermenu"); $numrw= $row->num_rows; for($i=1; $i<=$numrw+1;$i++){?> <option value="<?php echo $i?>" <?php if($edt['its_position']==$i){?> selected="selected" <?php }?>><?php echo $i?></option> <?php } ?> </select> </div> <div class="col-md-12"> <div class="col-md-3"> <div class="form-group"> <label for="exampleInputEmail1">Page</label> <select name="pglnk" id="pglnk" class="form-control"> <option value="">-select page-</option> <?php $pgl=$conn->query("select * from its_page"); while($allpg = $pgl->fetch_array()){?> <option value="<?php echo $allpg['its_pid'];?>" <?php if($edt['its_pagelink']==$allpg['its_pid']){?> selected="selected" <?php }?> ><?php echo $allpg['its_ptitle'];?></option> <?php } ?> <option value="ServicePage" <?php if($edt['its_pagelink']=="ServicePage"){?> selected="selected" <?php }?>>Service Page</option> <option value="CityPage" <?php if($edt['its_pagelink']=="CityPage"){?> selected="selected" <?php }?>>City Page</option> </select> </div> </div> <div class="col-md-1"> <div class="form-group"> <label for="exampleInputEmail1"> <div style="padding-top:28px;">OR </div></label> </div> </div> <div class="col-md-4"> <div class="form-group"> <label for="exampleInputEmail1">External Link </label>( http://google.com ) <input type="url" name="url" class="form-control" value="<?php echo $edt['its_url'];?>"> </div> </div> <div class="col-md-1"> <div class="form-group"> <label for="exampleInputEmail1"> <div style="padding-top:28px;">OR </div></label> </div> </div> <div class="col-md-3"> <div class="form-group"> <label for="exampleInputEmail1">File Upload</label> (Upload .word or .pdf file) <input type="file" name="docc" class="form-control"> </div> </div> </div> <div class="form-group"> <label for="exampleInputEmail1">Meta Title</label> <textarea class="form-control" name="mt" rows="10"><?php echo $edt['its_mt'];?></textarea> <span style="color:green;">( Add Balasore in place of location : which will change when location change )</span> </div> <div class="form-group"> <label for="exampleInputEmail1">Meta Key Word</label> <textarea class="form-control" name="mk" rows="10"><?php echo $edt['its_mk'];?></textarea> <span style="color:green;">( Add Balasore in place of location : which will change when location change )</span> </div> <div class="form-group"> <label for="exampleInputEmail1">Meta Description</label> <textarea class="form-control" name="md" rows="10"><?php echo $edt['its_md'];?></textarea> <span style="color:green;">( Add Balasore in place of location : which will change when location change )</span> </div> <div class="form-group"> <label for="exampleInputEmail1">Footer SEO Content</label> <textarea class="form-control" name="fsc" rows="10"><?php echo $edt['its_fsc'];?></textarea> </div> <?php if(!empty($_GET['eid'])){?> <button type="submit" class="btn btn-info" name="update">Update</button> <a href="home.php?page=inner-menu" class="btn btn-danger">Cancel</a> <?php } else {?> <button type="submit" class="btn btn-info" name="save">Save</button> <a href="home.php?page=inner-menu" class="btn btn-danger">Cancel</a> <?php }?> </form> </div> </div> </div> <!--/span--> </div> <script type="text/javascript"> function getsubmenu(md){ location.href="home.php?page=add-innermenu&mid="+md; } </script>