@extends('layouts.frontapp') @section('title', 'Home') @section('content') @php function banners(){ $result=DB::table('banner_images')->where('status','1')->where('is_delete','0')->get(); return isset($result)?$result:''; } function banner_one(){ $result=DB::table('special_offers')->where('status','1')->where('position','1')->first(); return isset($result)?$result:''; } function banner_two(){ $result=DB::table('special_offers')->where('status','1')->where('position','2')->first(); return isset($result)?$result:''; } function ad_one(){ $result=DB::table('special_offers')->where('status','1')->where('position','3')->first(); return isset($result)?$result:''; } function ad_two(){ $result=DB::table('special_offers')->where('status','1')->where('position','5')->first(); return isset($result)?$result:''; } function products_with_tag(){ $result=DB::table('products')->where('status','1')->where('is_delete','0')->where('tag_id','!=','')->groupBy('tag_id')->limit('3')->get(); return isset($result)?$result:''; } function new_products(){ $result=DB::table('products')->where('status','1')->where('is_delete','0')->orderBy(DB::raw('RAND()'))->limit('15')->get(); return isset($result)?$result:''; } function top_products(){ $result=DB::table('products')->where('status','1')->where('is_delete','0')->orderBy(DB::raw('RAND()'))->limit('15')->get(); return isset($result)?$result:''; } function currency(){ $result=DB::table('membership_currency')->where('status','Active')->first(); return isset($result->currency_symbol)?$result->currency_symbol:''; } function tagname($id){ $result=DB::table('product_tags')->where('status','1')->where('id',$id)->first(); return isset($result->tag_name)?$result->tag_name:''; } $banner_one = banner_one(); $banner_two = banner_two(); $ad_one = ad_one(); $ad_two = ad_two(); $banners = banners(); $new_products = new_products(); $top_products = top_products(); @endphp @if(isset($ad_one))
@endif
Exercises Focused on Squats, Bench & Deadlifts
Integrating Bodyweight, Cardio & Resistance Movements
PLUS 6 Video Recipes To Build Muscle & Lose Weight
Melt Away Fat with Supplement Guidance & Nutrition Planning