G:
/
PleskVhosts
/
seeonsoft.com
/
hp.thefalconunited.com
/
up file
home
<?php include('innerpageheader.php'); include('config.php'); $cid = $_GET['cid']; ?> <script type="text/javascript"> function showsubheads(str) { if (str=="") { document.getElementById("governate").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("governate").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","show_subgovernates.php?q="+str,true); xmlhttp.send(); } function showgovsubheads(str1) { if (str1=="") { document.getElementById("location").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("location").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","show_sublocations.php?q="+str1,true); xmlhttp.send(); } function showgovsubheads1(str2, str3) { if (str2=="") { document.getElementById("hotels").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("hotels").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","show_subhotels.php?q="+str2+"&x="+str3,true); xmlhttp.send(); } </script> <section> <div class="content add-details"> <div class="in-content-wrapper"> <div class="box"> <div class="row"> <div class="col"> <div class="details-text"> <h4>Add Other Services</h4> </div><!-- end details-text --> </div><!-- End column --> </div><!-- end row --> <div class="hotel-listing-form"> <form class="text-center" method="post" action="save_otherservices.php"> <input type="hidden" value="<?php echo $cid?>" id="cid" name="cid" /> <div class="row"> <div class="col-md"> <textarea class="form-control textarea text-left p-3" id="services" name="services" rows="5" placeholder="Enter Services"></textarea> </div><!-- end form-group --> <div class="col-md"> <textarea class="form-control textarea text-left p-3" id="descr" name="descr" rows="5" placeholder="Enter Description" style="white-space:pre-wrap;"></textarea> </div><!-- end form-group --> </div><!-- end row --> <br /> <div class="row"> <div class="col-md"> <input type="text" class="form-control textarea text-left p-3" id="amount" name="amount" rows="5" placeholder="Enter Amount"></textarea> </div><!-- end form-group --> </div> <br /> <ul class="list-inline"> <li class="list-inline-item"> <button type="submit" class="btn">Submit</button> </li> <li class="list-inline-item"> <a href="view_customers.php?id=<?php echo $cid?>" style="background-color:#FF3333; border-radius:5px; color:#fff;" class="btn"><strong>Back</strong></a> </li> </ul> </form> </div><!-- end hotel-listing-form --> </div><!-- end box --> <div class="row no-gutters"> <div class="col-12 table-responsive"> <table id="example" class="table table-hover responsive listing"> <thead> <tr> <th>#</th> <th>Service</th> <th>Description</th> <th>Amount</th> <th>Action</th> </tr> </thead> <tbody> <?php $i = 1; $result1 = $js->prepare('SELECT * FROM `otherservices` WHERE custid = :cid'); $result1->execute(array(':cid' => $cid)); while($row1 = $result1->fetch(PDO::FETCH_ASSOC)) { $id = $row1['id']; $services = $row1['services']; $amount = $row1['amount']; $descr = $row1['descr']; echo "<tr>"; echo "<td>$i</td>"; echo "<td>$services</td>"; echo "<td>$descr</td>"; echo "<td align='right'>$amount</td>"; echo "<td>"; ?> <a href="delete_travelforcustomers.php?id=<?php echo $id?>&cid=<?php echo $cid?>"><i class="fa fa-times-circle" style="color:red"></i></a> <?php echo "</td>"; echo "</tr>"; $i++; } ?> </tbody> </table> </div> </div> </div><!-- end in-content-wrapper --> </div><!-- end add-details --> </section> <!-- ===========End Innerpage-wrapper============= --> </div><!-- end wrapper --> <?php include('footer.php'); ?>