0 ? count($_SESSION['clipped_coupons']) : 0; $business_id = isset($_GET['business_id']) && is_numeric((int)$_GET['business_id']) ? $_GET['business_id']: '' ; $sBusiness_id = isset($_SESSION['businessId']) ? $_SESSION['businessId']:0; $neighbor_id = isset($_SESSION['neighborId']) ? $_SESSION['neighborId']:0; $view_live_page = isset($_GET['live']) && $_GET['live']==1?1:0; if ($business_id != '') { $business = getBusinessInfo($business_id); extract($business); if ( $view_live_page == 1 && $sBusiness_id == 0 ) { $x = SITE_URL; // header("Location: $x"); } } else { $x = SITE_URL; //header("Location: $x"); } if (($business['business_live']==0 && $view_live_page==0) || ($view_live_page==1 && $sBusiness_id==0) ) { $x = SITE_URL; header("Location: $x"); } //get all coupons $couponInfo = getCouponInfo(0,$business_id,$neighbor_id); $noOfCoupons = count ($couponInfo); //get business details :about us, overview, services, etc $businessDetails = getBusinessDetails($business_id); $proper_url = make_business_url($business['industry_name'],$business['business_name'],$business_id); //fix_business_url($proper_url); countNrOfViews($business_id); ?> | | , | Specials and Deals, Local coupons, Mobile Coupons, Business Videos, Virginia, Washington, DC and Maryland businesses
0) { $no_slash_video = remSlash($business_video); echo $no_slash_video; //echo $business_video; } else { ?>