Server IP : 103.53.40.154 / Your IP : 3.145.109.244 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/tmp/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
admin/ 0000755 0003520 0002544 00000000000 14642202703 012313 5 ustar thediann thediann admin/manage_seo.php 0000644 0003520 0002544 00000035404 14373672676 015155 0 ustar thediann thediann <?php ob_start(); require_once("../includes/dbsmain.inc.php"); if(isset($_POST['FeatureSubmit'])){ @extract($_POST); if($admin_is_meta_fb_id!='Yes'){ $admin_meta_fb_id=''; } if($admin_is_meta_alexa_id!='Yes'){ $admin_meta_alexa_id=''; } if($admin_is_meta_msvalidate_id!='Yes'){ $admin_meta_msvalidate_id=''; } if(is_uploaded_file($_FILES['site_map_xml']['tmp_name'])){ if($_FILES['site_map_xml']['name']=="sitemap.xml" && $_FILES['site_map_xml']['type']=="text/xml"){ $site_map_xml=$_FILES['site_map_xml']['name']; $temp=$_FILES['site_map_xml']['tmp_name']; $cur="../".$site_map_xml; move_uploaded_file($temp,$cur); }else{?> <script>alert("Please upload correct sitemap.xml file");</script> <?php } } if(is_uploaded_file($_FILES['robots_txt']['tmp_name'])){ if($_FILES['robots_txt']['name']=="robots.txt" && $_FILES['robots_txt']['type']=="text/plain"){ $robots_txt=$_FILES['robots_txt']['name']; $temp2=$_FILES['robots_txt']['tmp_name']; $cur2="../".$robots_txt; move_uploaded_file($temp2,$cur2); }else{?> <script>alert("Please upload correct robots.txt file");</script> <?php } } if(is_uploaded_file($_FILES['favicon']['tmp_name'])){ if(preg_match("/\.(gif|png|jpg|jpeg)$/",$_FILES['favicon']['name']) && $_FILES['favicon']['name']=="favicon.gif" || $_FILES['favicon']['name']=="favicon.png" || $_FILES['favicon']['name']=="favicon.jpg" || $_FILES['favicon']['name']=="favicon.jpeg"){ $old_file=db_scalar("select admin_favicon from tbl_admin where admin_user_type='Admin'"); @unlink("../$old_file"); $favicon=$_FILES['favicon']['name']; $temp3=$_FILES['favicon']['tmp_name']; $cur3="../".$favicon; move_uploaded_file($temp3,$cur3); db_query("update tbl_admin set admin_favicon='$favicon' where admin_user_type='Admin'"); }else{?> <script>alert("Please upload correct image");</script> <?php } } $sql="update tbl_admin set admin_index_follow='$admin_index_follow', admin_is_meta_fb_id='$admin_is_meta_fb_id', admin_meta_fb_id='$admin_meta_fb_id', admin_site_map_xml='$site_map_xml', admin_robots_txt='$robots_txt', admin_is_meta_alexa_id='$admin_is_meta_alexa_id', admin_meta_alexa_id='$admin_meta_alexa_id', admin_google_analytic_code='$admin_google_analytic_code', admin_site_verification_code='$admin_site_verification_code', admin_is_meta_msvalidate_id='$admin_is_meta_msvalidate_id', admin_meta_msvalidate_id='$admin_meta_msvalidate_id' where admin_user_type='Admin'"; db_query($sql); $arr_error_msgs[] = "Features Added Successfully !"; } if(isset($_POST['FollowUsUpdate'])){ @extract($_POST); db_query("update tbl_admin set admin_facebook_link='$admin_facebook_link', admin_twitter_link='$admin_twitter_link', admin_linkedin_link='$admin_linkedin_link', admin_instagram_link='$admin_instagram_link', admin_pinterest_link='$admin_pinterest_link', admin_live_chat_code='$admin_live_chat_code', admin_youtube_link='$admin_youtube_link' where admin_user_type='Admin'"); $arr_error_msgs[]="Follow Us Link updated successfully !"; } $found_del=mysqli_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 SEO 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="left" cellpadding="2" cellspacing="3" class="tableSearch" style="margin-left:20px; 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;">Enable/Disable SEO Feature's</b></td></tr> <tr><td class='tdLabel' style="font-size:12px; padding-top:15px;"><strong>1.</strong> <span style="margin-left:10px; font-weight:bold; color:#176C8C">Enable Index,Follow</span> </td> <td class='tdLabel' style=" padding-top:15px;"><input name="admin_index_follow" type="checkbox" value="Yes" <?php if($found_del['admin_index_follow']=='Yes') {?> checked="checked" <?php }?> /> </td> </tr> <tr> <td class='tdLabel' style="font-size:12px; padding-top:10px;"><strong>2.</strong> <span style="margin-left:10px; font-weight:bold; color:#176C8C">FB Page Id</span> </td> <td class='tdLabel' style=" padding-top:10px;"><input name="admin_is_meta_fb_id" type="checkbox" value="Yes" <?php if($found_del['admin_is_meta_fb_id']=='Yes') {?> checked="checked" <?php }?> /></td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:12px; padding-top:10px;"><span style="margin-left:35px; font-size:11px; font-weight:bold;">Enter Id</span> <span style="margin-left:10px;"><input name="admin_meta_fb_id" style="width:320px; height:23px; border:1px solid #DFDFDF; padding-left:5px;" type="text" value="<?=$found_del['admin_meta_fb_id']?>" /></span></td> </tr> <tr> <td class='tdLabel' style="font-size:12px; padding-top:10px;"><strong>3.</strong> <span style="margin-left:10px; font-weight:bold; color:#176C8C">Alexa Verify Id</span> </td> <td class='tdLabel' style=" padding-top:15px;"><input name="admin_is_meta_alexa_id" type="checkbox" value="Yes" <?php if($found_del['admin_is_meta_alexa_id']=='Yes') {?> checked="checked" <?php }?> /></td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:12px; padding-top:10px;"><span style="margin-left:35px; font-size:11px; font-weight:bold;">Enter Id</span> <span style="margin-left:10px;"> <input name="admin_meta_alexa_id" style="width:320px; height:23px; border:1px solid #DFDFDF; padding-left:5px;" type="text" value="<?=$found_del['admin_meta_alexa_id']?>" /> </span> </td> </tr> <tr> <td class='tdLabel' style="font-size:12px; padding-top:10px;"><strong>4.</strong> <span style="margin-left:10px; font-weight:bold; color:#176C8C">MS Validate</span> </td> <td class='tdLabel' style=" padding-top:10px;"><input name="admin_is_meta_msvalidate_id" type="checkbox" value="Yes" <?php if($found_del['admin_is_meta_msvalidate_id']=='Yes') {?> checked="checked" <?php }?> /></td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:12px;"><span style="margin-left:35px; font-size:11px; font-weight:bold;">Enter Id</span> <span style="margin-left:10px;"> <input name="admin_meta_msvalidate_id" style="width:320px; height:23px; border:1px solid #DFDFDF; padding-left:5px;" type="text" value="<?=$found_del['admin_meta_msvalidate_id']?>" /> </span> </td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:12px; padding-top:10px;"><strong>5.</strong> <span style="margin-left:10px; font-weight:bold; color:#176C8C">Site Verification Code</span> </td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:12px;"><span style="margin-left:20px; font-size:11px; font-weight:bold;">Enter Code</span> <span style="margin-left:10px;"> <input name="admin_site_verification_code" style="width:320px; height:23px; border:1px solid #DFDFDF; padding-left:5px;" type="text" value="<?=$found_del['admin_site_verification_code']?>" /></span><br /> <span style="font-size:9px; color:#FF0000; font-weight:bold; margin-left:97px;">( e.g. MIi7IWVh6w09Va41EiiYgMHxbPaG-1lOiyj8rc8t-2g )</span></td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:12px; padding-top:10px;"><strong>6.</strong> <span style="margin-left:10px; font-weight:bold; color:#176C8C">Google Analytic Code</span> </td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:11px; vertical-align:top;font-weight:bold;"><span style="margin-left:15px; vertical-align:top;">Enter Value</span> <span style="margin-left:10px;"> <textarea name="admin_google_analytic_code" style="width:322px; border:1px solid #DFDFDF; padding-left:5px;" rows="8"><?=$found_del['admin_google_analytic_code']?></textarea> </span> </td> </tr> <tr> <td class='tdLabel' style="font-size:12px; padding-top:10px;"><strong>7.</strong> <span style="margin-left:10px; font-weight:bold; color:#176C8C">Upload Sitemap XML</span> </td> <td class='tdLabel' style=" padding-top:10px;"></td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:12px; padding-top:10px;"><span style="margin-left:35px; font-size:11px; font-weight:bold;"> <input type="file" name="site_map_xml" id="site_map_xml"></span></td> </tr> <tr> <td class='tdLabel' style="font-size:12px; padding-top:10px;"><strong>8.</strong> <span style="margin-left:10px; font-weight:bold; color:#176C8C">Upload Robots.txt</span> </td> <td class='tdLabel' style=" padding-top:15px;"></td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:12px; padding-top:10px;"><span style="margin-left:35px; font-size:11px; font-weight:bold;"> <input type="file" name="robots_txt" id="robots_txt"> </span></td> </tr> <tr> <td class='tdLabel' style="font-size:12px; padding-top:10px;"><strong>9.</strong> <span style="margin-left:10px; font-weight:bold; color:#176C8C">Upload Favicon</span> </td> <td class='tdLabel' style=" padding-top:15px;"></td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:12px; padding-top:10px;"><span style="margin-left:35px; font-size:11px; font-weight:bold;"> <input type="file" name="favicon" id="favicon"> </span></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> <form name="form1" method="post" enctype="multipart/form-data"> <table border="0" width="48%"align="left" cellpadding="2" cellspacing="3" class="tableSearch" style="margin-left:20px; border:2px outset #fff; padding-bottom:133px; margin-top:15px;"> <tr><td colspan='4' bgcolor="#004080" class='tdLabel' style="padding:10px;"><b style="color:#FFFFFF; font-size:14px;">Manage Follow Us Links</b></td></tr> <tr> <td class="tdLabel" style="padding:5px; padding-top:25px;"><b>Facebook</b> :</td> <td style="padding:5px; padding-top:25px;"><input type="text" name="admin_facebook_link" class="textfield" style="width:363px; height:28px; padding-left:4px; border:1px solid #CCCCCC; color:#5D5D5D" value="<?=$found_del['admin_facebook_link']?>"> <img src="images/fac.gif" width="24" height="24" style="vertical-align:middle;"> </td> </tr> <tr> <td class="tdLabel" style="padding:5px;"><b>Twitter</b> :</td> <td style="padding:5px;"><input type="text" name="admin_twitter_link" class="textfield" style="width:363px; height:28px; padding-left:4px; border:1px solid #CCCCCC; color:#5D5D5D" value="<?=$found_del['admin_twitter_link']?>"> <img src="images/twi.gif" width="24" height="24" style="vertical-align:middle;"> </td> </tr> <!-- <tr> <td class="tdLabel" style="padding:5px;"><span style="font-weight: bold">Google Plus</span> :</td> <td style="padding:5px;"><input type="text" name="admin_gplus_link" class="textfield" style="width:363px; height:28px; padding-left:4px; border:1px solid #CCCCCC; color:#5D5D5D" value="<?=$found_del['admin_gplus_link']?>"> <img src="images/g+.gif" width="24" height="24" style="vertical-align:middle;"></td> </tr>--> <tr> <td class="tdLabel" style="padding:5px;"><span style="font-weight: bold">Linkedin</span> :</td> <td style="padding:5px;"><input type="text" name="admin_linkedin_link" class="textfield" style="width:363px; height:28px; padding-left:4px; border:1px solid #CCCCCC; color:#5D5D5D" value="<?=$found_del['admin_linkedin_link']?>"> <img src="images/in.gif" width="24" height="24" style="vertical-align:middle;"> </td> </tr> <tr> <td class="tdLabel" style="padding:5px;"><span style="font-weight: bold">Instagram</span> :</td> <td style="padding:5px;"><input type="text" name="admin_instagram_link" class="textfield" style="width:363px; height:28px; padding-left:4px; border:1px solid #CCCCCC; color:#5D5D5D" value="<?=$found_del['admin_instagram_link']?>"> <img src="images/instagram.png" width="24" height="24" style="vertical-align:middle;"> </td> </tr> <tr> <td class="tdLabel" style="padding:5px;"><span style="font-weight: bold">Pinterest</span> :</td> <td style="padding:5px;"><input type="text" name="admin_pinterest_link" class="textfield" style="width:363px; height:28px; padding-left:4px; border:1px solid #CCCCCC; color:#5D5D5D" value="<?=$found_del['admin_pinterest_link']?>"> <img src="images/pinterest.png" width="24" height="24" style="vertical-align:middle;"> </td> </tr> <tr> <td class="tdLabel" style="padding:5px;"><span style="font-weight: bold">You Tube</span> :</td> <td style="padding:5px;"><input type="text" name="admin_youtube_link" class="textfield" style="width:363px; height:28px; padding-left:4px; border:1px solid #CCCCCC; color:#5D5D5D" value="<?=$found_del['admin_youtube_link']?>"> <img src="images/youtube.gif" width="28" height="28" style="vertical-align:middle;"> </td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:12px; padding-top:10px;"><span style="margin-left:10px; font-weight:bold; color:#176C8C">Live Chat Link</span> </td> </tr> <tr> <td class='tdLabel' colspan="2" style="font-size:11px; vertical-align:top;font-weight:bold;"> <span style="margin-left:15px; vertical-align:top;">Enter Link</span> <span style="margin-left:10px;"> <input type="text" name="admin_live_chat_code" class="textfield" style="width:363px; height:28px; padding-left:4px; border:1px solid #CCCCCC; color:#5D5D5D" value="<?=$found_del['admin_live_chat_code']?>"> <!--<textarea name="admin_live_chat_code" style="width:322px; border:1px solid #DFDFDF; padding-left:5px;" rows="8"><?=$found_del['admin_live_chat_code']?></textarea>--> </span> </td> </tr> <tr> <td class="label"> </td> <td align="center"><p style="margin-top:5px;"></p> <input type="submit" class="button" style="font-size:14px; font-weight:bold; height:31px; background-color:#7F7F7F; border-radius:4px; cursor:pointer; width:105px;" value="Submit" name="FollowUsUpdate" /> </td> </tr> <tr><td class="label"> </td><td align="center"><p style="margin-top:150px;"></p></td></tr> </table> </form> <?php include ('bottom.inc.php'); ?>