Server IP : 103.53.40.154 / Your IP : 3.145.7.253 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/sssktrust.com/wknadmin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php ob_start(); require_once("../includes/dbsmain.inc.php"); if(isset($_POST['FeatureSubmit'])){ @extract($_POST); if($admin_site_down!='Yes'){ $admin_site_down_message=''; } $sql="update tbl_admin set admin_site_down='$admin_site_down', admin_site_down_message='$admin_site_down_message' where admin_user_type='Admin'"; db_query($sql); $arr_error_msgs[] = "Record Updated Successfully !"; } $found_del=mysqli_fetch_array(db_query("select admin_site_down,admin_site_down_message 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 Site Down </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="42%"align="center" cellpadding="0" cellspacing="0" class="tableSearch" style=" border:2px outset #fff; margin-bottom:20px; margin-top:15px;"> <tr> <td class='tdLabel' width="39%" style="font-size:12px; padding-top:25px; color:#003871"><strong style="margin-left:50px;">Down Site : </strong> </td> <td class='tdLabel' style="padding-top:25px;" align="left"><span> <input name="admin_site_down" type="checkbox" value="Yes" <?php if($found_del['admin_site_down']=='Yes') {?> checked="checked" <?php }?> /> </span></td> </tr> <tr> <td class='tdLabel' style="font-size:12px; padding-top:15px; color:#003871"><strong style="margin-left:50px;">Down Site Message : </strong> </td> <td class='tdLabel' style="padding-top:15px;" align="left"><span> <textarea name="admin_site_down_message" rows="4" cols="50"><?=$found_del['admin_site_down_message']?> </textarea> </span></td> </tr> <tr> <td class='tdLabel'> </td> <td class='tdLabel'> </td> </tr> <tr> <td align="center" colspan="4"> </td> </tr> <tr> <td align="center" colspan="4"><input type="submit" name="FeatureSubmit" class="button" style="font-size:14px; font-weight:bold; height:29px; background-color:#7F7F7F; border-radius:4px; cursor:pointer; width:100px; margin-bottom:20px;" ></td> </tr> </table> </form> <?php include ('bottom.inc.php'); ?>