MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.135.204.43
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/biocareaqua.org/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/biocareaqua.org/admin/manage_seo.php
<?php 
ob_start();
require_once("../includes/dbsmain.inc.php"); 
if(isset($_POST['FeatureSubmit'])){
@extract($_POST);


  
$site_map_xml=$_FILES['site_map_xml']['name'];
$temp=$_FILES['site_map_xml']['tmp_name'];
$cur="../".$site_map_xml;
move_uploaded_file($temp,$cur);

  $robots_txt=$_FILES['robots_txt']['name'];
$temp2=$_FILES['robots_txt']['tmp_name'];
$cur2="../".$robots_txt;
move_uploaded_file($temp2,$cur2);
  
  if($admin_is_meta_msvalidate_id!='Yes'){
    $admin_meta_msvalidate_id='';
  }
  
  $sql="update tbl_admin set 
			admin_index_follow='$admin_index_follow',
			
			admin_site_map_xml='$site_map_xml',
			admin_robots_txt='$robots_txt',
			
			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">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>3.</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>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 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>&nbsp;:</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']?>">&nbsp;<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>&nbsp;:</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']?>">&nbsp;<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">Linkedin</span>&nbsp;:</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']?>">&nbsp;<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>&nbsp;:</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']?>">&nbsp;<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>&nbsp;:</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']?>">&nbsp;<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">YouTube</span>&nbsp;:</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']?>">&nbsp;<img src="images/youtube.gif" width="28" height="28" style="vertical-align:middle;"> </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 Live Chat Code</span> <span style="margin-left:10px;">
<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">&nbsp;</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">&nbsp;</td><td align="center"><p style="margin-top:0px;"></p></td></tr>
  </table>
</form>
<?php include ('bottom.inc.php'); ?>

MMCT - 2023