MINI Sh3ll
<?php
error_reporting(0);
include('admin/config/mysql_crud.php');
$db = new Database();
$db->connect();
$type = $_POST['type'];
$id = $_POST['id'];
if(!empty($type) && !empty($id)){
if($type == 'case study'){
$db->select('case_studies','*',NULL,"id='".$id."' AND flag=0");
$row = $db->getResult();
//print_r($case_studies);exit();
echo 'http://alpha.smartcirqls.com/case-study.php?slug='.$row[0]['slug'];
} else if($type == 'webinar'){
$db->select('webinars','*',NULL,"id='".$id."' AND flag=0");
$row = $db->getResult();
echo 'http://alpha.smartcirqls.com/registration-webinar.php?slug='.$row[0]['slug'];
} else if($type == 'press release'){
$db->select('press_releases','*',NULL,"id='".$id."' AND flag=0");
$row = $db->getResult();
echo 'http://alpha.smartcirqls.com/uploads/'.$row[0]['file_uploaded'];
} else{
}
}
?>
OHA YOOOO