Server IP : 103.53.40.154 / Your IP : 3.137.198.143 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/ppcad7no/irshadwoodenscrap.com/wknadmin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php ob_start(); require_once("../includes/dbsmain.inc.php"); if(isset($_POST['MapSubmit'])){ @extract($_POST); if($admin_contactus_map!='Yes'){ $admin_contactus_map_link=''; } $sql="update tbl_admin set admin_contactus_map='$admin_contactus_map', admin_contactus_map_link='$admin_contactus_map_link' where admin_user_type='Admin'"; db_query($sql); $arr_error_msgs[] = "Record Updated Successfully !"; } $found_del=mysqli_fetch_array(db_query("select admin_contactus_map,admin_contactus_map_link from tbl_admin where admin_user_type='Admin'")); ?> <?php include ('top.inc.php'); ?> <link href="styles.css" rel="stylesheet" type="text/css"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td id="pageHead" ><div id="txtPageHead">Manage Contact Us Map </div></td> </tr> </table> <div align="center"><b> <?php include('error_msgs.inc.php');?> </b></div> <form name="form1" method="post" enctype="multipart/form-data"> <table border="0" width="80%"align="center" cellpadding="0" cellspacing="0" class="tableSearch" style=" border:2px outset #fff; margin-bottom:20px; margin-top:15px;"> <tr> <td class='tdLabel' width="15%" style="font-size:12px; padding-top:25px; color:#003871" align="right"><strong>Contact Us Map : </strong> </td> <td class='tdLabel' style="padding-top:25px;" align="left"><span> <input name="admin_contactus_map" type="checkbox" value="Yes" <?php if($found_del['admin_contactus_map']=='Yes') {?> checked="checked" <?php }?> /> </span></td> </tr> <tr> <td class='tdLabel' style="font-size:12px; padding-top:15px; color:#003871" align="right"><strong>Map Link : </strong> </td> <td class='tdLabel' style="padding-top:15px;" align="left"><span> <textarea name="admin_contactus_map_link" rows="11" cols="142"><?=$found_del['admin_contactus_map_link']?></textarea> </span></td> </tr> <tr> <td class='tdLabel'> </td> <td class='tdLabel'> </td> </tr> <tr> <td align="left" colspan="2"><input type="submit" name="MapSubmit" class="button" style="font-size:14px; font-weight:bold; height:29px; background-color:#7F7F7F; border-radius:4px; cursor:pointer; width:100px; margin-bottom:20px; margin-left:140px;" ></td> </tr> </table> </form> <?php include ('bottom.inc.php'); ?>