MINI Sh3ll
<?php
include('admin/config/mysql_crud.php');
$db = new Database();
$db->connect();
$slug = $_GET['slug'];
$db->select('case_studies','*',NULL,"slug='".$slug."' AND flag=0");
$row = $db->getResult();
//print_r($row);
$tags = array("<p>", "</p>");
if(count($row) == '0'){
echo '<meta http-equiv="refresh" content="2;url=resources.php" />';
} else {
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include('analytics-code.php'); ?>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/ico" href="favicon.ico">
<title>SmartCirqls | Case Study</title>
<meta name="description" content="Smart Cirqls">
<meta name="keywords" content="Smart Cirqls">
<!-- Stylesheet -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
.WhatWeDid ul li:before, .DataSources ul li:before{content: ""; background: url(images/tick.png); width: 13px; height: 13px; display: block; position: absolute; left: 0px; top: 5px;}
.Benefits ul li:before, .Challenges ul li:before{ background: url(images/tick-white.png); background-size: contain;}
.SolutionDomain .arrowPanel a:before, .DataSources .arrowPanel a:before{ background: url(images/pinkArrow2.png); content: ""; width: 21px; height: 9px; background-size: contain; background-repeat: no-repeat; display: block; position:absolute; left: 0px; top: 3px;}
.DataSources ul li{ display: block; position: relative; margin-bottom: 4px; padding-left: 26px; font-size: 18px; font-family: 'poppinsbold'; color: #252a37;}
.marginBottom p{ margin-bottom: 25px; }
.caseStudyBannerText{ margin-top: 150px; font-size: 30px !important; }
</style>
</head>
<body>
<div class="wrapper">
<?php include('header.php'); ?>
<!--content start-->
<section class="content">
<div class="bgimage caseStudyBanner" style="background: url(<?php echo 'uploads/'.$row[0]['banner_image_uploaded']; ?>); bckground-position: center;">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="valign <?php echo $row[0]['banner_text_color']; ?>">
<!-- <h1>About us</h1> -->
<p class="caseStudyBannerText"> <?php echo html_entity_decode($row[0]['banner_description'],ENT_QUOTES); ?> </p>
</div>
</div>
</div>
</div>
</div>
<div class="aboutInfo greyBg ">
<div class="container">
<div class="infoContent">
<div class="row">
<div class="col-md-6 paddingRight">
<!-- <h3> <?php echo $row[0]['about_customer_heading']; ?> </h3> -->
<h6> <?php echo $row[0]['about_customer_title']; ?> </h6>
<?php echo html_entity_decode($row[0]['about_customer_description'],ENT_QUOTES);?>
</div>
<div class="col-md-6 paddingLeft WhatWeDid">
<h6><?php echo $row[0]['executive_summary_title']; ?> </h6>
<span class="marginBottom"> <?php echo html_entity_decode($row[0]['executive_summary_description'],ENT_QUOTES);?> </span>
<h6><?php echo $row[0]['what_we_did_title']; ?></h6>
<?php echo html_entity_decode($row[0]['what_we_did_description'],ENT_QUOTES);?>
</div>
</div>
</div>
</div>
</div>
<div class="textureGreyWhite">
<img src="images/texture-grey-white.png" width="100%" class="img-responsive" />
</div>
<div class="aboutInfo paddingTop solution">
<div class="container">
<div class="infoContent">
<h2><?php echo $row[0]['solution_heading']; ?></h2>
<h4><?php echo $row[0]['solution_title']; ?></h4>
<div class="row">
<div class="col-md-6 paddingRight">
<p> <?php echo html_entity_decode($row[0]['solution_left_description'],ENT_QUOTES);?> </p>
</div>
<div class="col-md-6 paddingLeft">
<p> <?php echo html_entity_decode($row[0]['solution_right_description'],ENT_QUOTES);?> </p>
</div>
</div>
</div>
</div>
</div>
<div class="textureHome2 ">
<div class="container">
<div class="blueSection">
<div class="row">
<div class="col-md-6 Challenges">
<h3> <?php echo $row[0]['challenges_title']; ?> </h3>
<?php echo html_entity_decode($row[0]['challenges_list'],ENT_QUOTES);?>
</div>
<div class="col-md-6 Benefits">
<h3><?php echo $row[0]['benefits_title'];?></h3>
<?php echo html_entity_decode($row[0]['benefits_list'],ENT_QUOTES);?>
</div>
</div>
<div class="text-center pinkInfo">
<?php echo html_entity_decode($row[0]['highlighted_text'],ENT_QUOTES);?>
</div>
</div>
</div>
</div>
<div class="whiteTextPanel">
<div class="container">
<div class="whitePanelPadding">
<div class="row">
<div class="col-md-6 DataSources">
<h5><?php echo $row[0]['data_sources_title']; ?></h5>
<div class="arrowPanel">
<ul class="list">
<?php
$db = new Database();
$db->connect();
$db->select('data_sources_lists','*',NULL,"flag=0 AND case_studies_id='".$row[0]['id']."'",'id ASC');
$row1 = $db->getResult();
foreach($row1 as $rowss){
?>
<li> <?php echo $rowss['data_sources_name']; ?> </li>
<?php } ?>
</ul>
</div>
</div>
<div class="col-md-6 SolutionDomain">
<h5><?php echo $row[0]['solution_domain_title']; ?></h5>
<div class="arrowPanel">
<?php
$db = new Database();
$db->connect();
$db->select('solution_domain_lists','*',NULL,"flag=0 AND case_studies_id='".$row[0]['id']."'",'id ASC');
$row1 = $db->getResult();
foreach($row1 as $rowss){
?>
<a href="<?php echo !empty($rowss['solution_domain_url'])?$rowss['solution_domain_url'] : 'javascript:void(0)'; ?>"><?php echo $rowss['solution_domain_name']; ?></a>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--content end-->
<?php include('footer.php'); ?>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script type="text/javascript" src="js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/custom.js"></script>
<!-- Pop up Form -->
<?php include('popupForm.php'); ?>
<!-- Pop up Form -->
</body>
</html>
<?php } ?>
OHA YOOOO