MINI Sh3ll
<?php
include('include/session.php');
include('config/mysql_crud.php');
$db = new Database();
$db->connect();
if(!empty($_POST['team_heading'])){
$db->update('about_us_page',array('team_heading'=>$_POST['team_heading'])," id='".$_POST['id']."'");
$_SESSION["message"] = "Team heading updated successfully.";
echo "<meta http-equiv=\"refresh\" content=\"2; URL=about_us_team.php\">";
} else if(!empty($_POST['technology_partners_heading'])){
$db->update('about_us_page',array('technology_partners_heading'=>$_POST['technology_partners_heading'])," id='".$_POST['id']."'");
$_SESSION["message"] = "Team heading updated successfully.";
echo "<meta http-equiv=\"refresh\" content=\"2; URL=technology_partners.php\">";
} else {
$db->update('about_us_page',array('banner_name'=>$_POST['banner_name'], 'banner_description'=>$_POST['banner_description'], 'banner_text_color'=>$_POST['banner_text_color'], 'image_uploaded'=>$_POST['image_uploaded'], 'heading'=>htmlentities($_POST['heading']), 'description'=>htmlentities($_POST['description']), 'career_image_uploaded'=>$_POST['career_image_uploaded'], 'careers_title'=>htmlentities($_POST['careers_title']), 'careers_heading'=>htmlentities($_POST['careers_heading']), 'careers_description'=>htmlentities($_POST['careers_description']), 'careers_url_text'=>htmlentities($_POST['careers_url_text']), 'careers_url'=>htmlentities($_POST['careers_url']), 'address_heading'=>htmlentities($_POST['address_heading']), 'address_description'=>htmlentities($_POST['address_description']))," id='".$_POST['id']."'");
//print_r($db->getResult());
$_SESSION["message"] = "About us page updated successfully.";
echo "<meta http-equiv=\"refresh\" content=\"2; URL=about_us_page.php\">";
}
?>
<!DOCTYPE html>
<html lang="en">
<?php include('header.php');?>
<body class="nav-md">
<div class="container body">
<div class="main_container">
<?php include('nav.php');?>
<?php include('top_navigation.php');?>
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<!--main content start-->
<section id="main-content">
<section class="wrapper site-min-height">
<!-- page start-->
<div class="row">
<div class="col-lg-12">
<section class="panel">
<header class="panel-heading"> Update About Us Page </header>
<div class="panel-body">
<div class="col-lg-12 text-center">
<img src="images/loading.gif" />
</div>
<div class="col-lg-12 text-center">
<h3>PROCESSING...</h3>
</div>
</div>
</section>
</div>
</div>
<!-- page end-->
</section>
</section>
<!--main content end-->
</div>
</div>
</div>
</div>
<!-- /page content -->
<!-- footer content -->
<?php include('footer.php');?>
<!-- /footer content -->
</div>
</div>
</body>
</html>
OHA YOOOO