MINI Sh3ll
<?
$formtype = isset($_REQUEST['formtype']) ? $_REQUEST['formtype'] : '';
if($formtype != '')
{
switch($formtype)
{
case "add-shortcode":
print '<pre>';
$shortcode = $_REQUEST;
$exist_shortcode = $objShortcode->getActiveShortcodeByCode($shortcode['shortcode']);
if(!$exist_shortcode){
$shortcode['created_by'] = $loginUser['id'];
$shortcode['status'] = 5;
$shortcode['id'] = $objShortcode->addShortcode($shortcode);
if($shortcode['id'] > 0)
$_SESSION['notify_success'] = "Shortcode ".$shortcode['shortcode']." is blocked successfully. Admin will review and approve the shortcode shortly.";
else
$_SESSION['notify_error'] = "Unable to add the shortcode ".$shortcode['shortcode'].".";
}
else
$_SESSION['notify_success'] = "Shortcode ".$shortcode['shortcode']." is already exists.";
header("Location:".SITE_ROOT_URL."shortcodes/");
die;
break;
}
}
?>
OHA YOOOO