Server IP : 103.53.40.154 / Your IP : 3.145.76.159 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/sainicraneservice.in/wknadmin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php ob_start(); require_once("../includes/dbsmain.inc.php"); if(isset($_POST['FeatureSubmit'])){ @extract($_POST); if($admin_etrust_option!='Yes'){ $admin_etrust_link=''; } $sql="update tbl_admin set admin_search_option='$admin_search_option', admin_language_option='$admin_language_option', admin_video_option='$admin_video_option', admin_etrust_option='$admin_etrust_option', admin_visitor_counter_option='$admin_visitor_counter_option', admin_product_option='$admin_product_option', admin_etrust_link='$admin_etrust_link', admin_flipbook_option='$admin_flipbook_option' where admin_user_type='Admin'"; db_query($sql); $arr_error_msgs[] = "Features Added Successfully !"; } $found_del=mysql_fetch_array(db_query("select * from tbl_admin where 1 and 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 Setting </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="2" cellspacing="3" class="tableSearch" style=" border:2px outset #fff; margin-bottom:20px; margin-top:15px;"> <tr> <td colspan='4' bgcolor="#004080" class='tdLabel' style="padding:10px;"><b style="color:#FFFFFF; font-size:14px;">Select Site Feature's</b></td> </tr> <tr> <td class='tdLabel' style="font-size:12px; padding-top:15px;"><strong>1.</strong><span style="margin-left:10px;"> Search option</span> </td> <td width="17%" class='tdLabel' style="padding-top:15px;"><input name="admin_search_option" type="checkbox" value="Yes" <?php if($found_del['admin_search_option']=='Yes') {?> checked="checked" <?php }?> /></td> </tr> <tr> <td class='tdLabel' style="font-size:12px;"><strong>2.</strong> <span style="margin-left:10px;">E-Trust</span> </td> <td class='tdLabel'><input name="admin_etrust_option" type="checkbox" value="Yes" <?php if($found_del['admin_etrust_option']=='Yes') {?> checked="checked" <?php }?> /> </td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:12px;"><span style="margin-left:10px; font-size:11px; font-weight:bold;">Enter E-Trust Link</span> <span style="margin-left:7px;"><input name="admin_etrust_link" style="width:320px; height:23px; border:1px solid #DFDFDF; padding-left:5px;" type="text" value="<?=$found_del['admin_etrust_link']?>" /></span> </td> </tr> <tr> <td class='tdLabel' style="font-size:12px;"><strong>3.</strong> <span style="margin-left:10px;">Visitor Counter</span> </td> <td class='tdLabel'><input name="admin_visitor_counter_option" type="checkbox" value="Yes" <?php if($found_del['admin_visitor_counter_option']=='Yes') {?> checked="checked" <?php }?> /></td> </tr> <tr> <td class='tdLabel' style="font-size:12px;"><strong>4.</strong> <span style="margin-left:10px;">Products</span> </td> <td class='tdLabel'><input name="admin_product_option" type="radio" value="Yes" <?php if($found_del['admin_product_option']=='Yes') {?> checked="checked" <?php }?> /> </td> </tr> <tr> <td class='tdLabel' style="font-size:12px;"><strong>5.</strong> <span style="margin-left:10px;">Services</span> </td> <td class='tdLabel'><input name="admin_product_option" type="radio" value="No" <?php if($found_del['admin_product_option']=='No') {?> checked="checked" <?php }?> /></td> </tr> <tr> <td class='tdLabel' style="font-size:12px;"><span style="font-weight: bold">6.</span> <span style="margin-left:10px;">Language Converter</span> </td> <td class='tdLabel'><input name="admin_language_option" type="checkbox" value="Yes" <?php if($found_del['admin_language_option']=='Yes') {?> checked="checked" <?php }?> /></td> </tr> <tr> <td class='tdLabel' style="font-size:12px;"><strong>7.</strong> <span style="margin-left:10px;">Video</span> </td> <td class='tdLabel'><input name="admin_video_option" type="checkbox" value="Yes" <?php if($found_del['admin_video_option']=='Yes') {?> checked="checked" <?php }?> /> </td> </tr> <tr> <td class='tdLabel' style="font-size:12px;"><strong>8.</strong> <span style="margin-left:10px; font-weight:bold; color:#244800">Flip Book</span> </td> <td class='tdLabel'><input name="admin_flipbook_option" type="checkbox" value="Yes" <?php if($found_del['admin_flipbook_option']=='Yes') {?> checked="checked" <?php }?> /> </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'); ?>