include_once ("session.php");
$pagg = 2;
if (!array_key_exists("id", $_GET)) {
header("Location: business_index8arabic.php?id=11397");
/
}
$prodpramss = array("business" => $_GET['id'] , "adv_type" => 1 );
$productadv = $core -> getbussiness_adv($prodpramss);
$prodpramss = array("business" => $_GET['id'] , "adv_type" => 2 );
$fixedadv = $core -> getbussiness_adv($prodpramss);
$prodpramss = array("business" => $_GET['id'] , "adv_type" => 3 );
$servicesadv = $core -> getbussiness_adv($prodpramss);
$prodpramss = array("business" => $_GET['id'] , "adv_type" => 4 );
$halfadv = $core -> getbussiness_adv($prodpramss);
$messagesss = NULL;
if(@$_POST["sendemail"] && ($_POST["sendemail"] != null)) {
$prodprams = array("email" => $_POST['sendemail'] , "business" => $_GET['id'] );
$visitors = $core -> addbusiness_visitors($prodprams);
$messagesss = "Successfully registered";
}
?>