D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
realadss
/
public_html
/
partymaker.in
/
application
/
views
/
front
/
Filename :
home.php
back
Copy
<?php $base_url_assets = $base_url.'assets/front_end/'; $common_setting = $this->common_model->common_setting; $menu_arr = $this->common_model->get_menu(); $home_content = $this->common_model->get_count_data_manual('home_content','',1); //print_r($home_content); $slider_img_arr = $this->common_model->get_count_data_manual('home_slider_master','',2,'','id desc'); ?> <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" id="onload"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h4 class="modal-title" style="text-align:center;">Enquiry Now</h4> </div> <div class="modal-body"> <form action="popup-process.php" method="post"> <div class="row clearfix"> <div class="form-group col-md-6 col-sm-6 col-xs-12"> <label>Name <span class="red">*</span></label> <input type="text" name="yourname" id="yourname" class="form-control" onKeyUp="checkName(this);" required /> </div> <div class="form-group col-md-6 col-sm-6 col-xs-12"> <label> Mobile <span class="red">*</span></label> <input type="text" name="yourmobile" id="yourmobile" class="form-control" onKeyUp="checkNumber(this);" required/> </div> </div> <div class="row clearfix"> <div class="form-group col-md-6 col-sm-6 col-xs-12"> <label>Email <span class="red">*</span></label> <input type="email" name="youremail" id="youremail" class="form-control" required/> </div> <div class="form-group col-md-6 col-sm-6 col-xs-12"> <label>Location <span class="red">*</span></label> <select name="Location" id="Location" class="form-control" required> <option value=""></option> <option value="Delhi">Delhi</option> <option value="Noida">Noida</option> <option value="Gurgaon">Gurgaon</option> <option value="Faridabad">Faridabad</option> <option value="Ghaziabad">Ghaziabad</option> <option value="Others">Others</option> </select> </div> </div> <div class="row clearfix"> <div class="form-group col-md-6 col-sm-6 col-xs-12"> <label>Budget Idea <span class="red">*</span></label> <select name="Budgetidea" name="Budgetidea" class="form-control" required> <option value=""></option> <option value="10-15k">10-15k</option> <option value="15-20k">15-20k</option> <option value="20-30k">20-30k</option> <option value="30-40k">30-40k</option> <option value="40-50k">40-50k</option> <option value="Above 50+">Above 50+</option> </select> </div> <div class="form-group col-md-6 col-sm-6 col-xs-12"> <label>Looking For <span class="red">*</span></label> <select name="LookingFor" id="LookingFor" class="form-control" required> <option value=""></option> <option value="Bday Boy">Bday Boy</option> <option value="Bday Girl">Bday Girl</option> <option value="1st-Bday">1st-Bday</option> <option value="Baby Shower">Baby Shower</option> <option value="Corp Activity">Corp Activity</option> </select> </div> </div> <div class="row clearfix"> <div class="form-group col-md-6 col-sm-6 col-xs-12"> <label>Event Date<span class="red">*</span></label> <input type="date" id="eventdate" class="form-control" name="eventdate" value="<?php echo date('d-m-Y'); ?>" required> </div> </div> <div class="row clearfix btn-row" style="padding-left: 144px;padding-bottom:10px;"> <input type="submit" name="submit" id="submit" value="Submit"> </div> </form> </div> </div> </div> </div> <script> $(window).load(function() { setTimeout(function(){ // $('#onload').modal('show') }, 30000); }); </script> <div class="clearfix"></div> <?php if(isset($slider_img_arr) && $this->common_model->is_array_count($slider_img_arr)) { ?> <div id="myCarousel" class="carousel slide" data-ride="carousel" style="top:140px;"> <!-- Indicators --> <!-- Wrapper for slides --> <div class="carousel-inner"> <?php $count_slider = 0; $first_active = 'active'; foreach($slider_img_arr as $slider_img_arr_val) { if($slider_img_arr_val['image'] !='' && file_exists($this->common_model->path_slider_image.$slider_img_arr_val['image'])) { ?> <div class="item <?php echo $first_active;?>"> <img src="<?php echo $base_url.$this->common_model->path_slider_image.$slider_img_arr_val['image']; ?>" title="<?php echo $slider_img_arr_val['title_text'];?>" alt="<?php echo $slider_img_arr_val['alt_text'];?>"> </div> <?php $first_active = ''; $count_slider++; } } ?> </div> <ol class="carousel-indicators"> <?php for($ij =0; $ij < $count_slider;$ij ++) { ?> <li data-target="#myCarousel" data-slide-to="<?php echo $ij; ?>" class="<?php echo $ij ==0 ? 'active' : ''; ?>"></li> <?php } ?> </ol> <!-- Left and right controls --> <a class="left carousel-control" href="#myCarousel" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#myCarousel" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> <span class="sr-only">Next</span> </a> </div> <?php } ?> <div id="main" class="inner-page clearfix" style="margin-top: 40px;"> <!-- <div class="section-info our_parties-section2 text-center clearfix" style="background-image: url('<?php //echo $base_url.$this->common_model->path_home.$home_content['home_page_banner']; ?>');background-size: cover;background-position: top center;background-repeat: no-repeat;height: 100%;"> <div class="container"> <div class="col-md-6 col-sm-6 col-xs-12"> <div class="hero" style="text-align: left;color: #fff;"> <div class="hgroup"> <h1 class="animated fadeInDown scroll-time5"><?php echo $home_content['top_title1']; ?></h1> <div class="animated fadeInDown scroll-time6" style="background:white;border-radius:15px;padding:15px"><?php echo $home_content['top_description']; ?></div> </div> <div class="btn-box animated fadeIn scroll-time9 clearfix"> <a href="<?php echo $base_url; ?>contact" class="filled-btn happykiddo-btn">BOOK NOW</a> <br/><br/> </div> </div> </div> <div class="col-md-6 col-sm-6 col-xs-12"> <?php if(isset($home_content['top_image']) && $home_content['top_image'] !='' && file_exists($this->common_model->path_home.$home_content['top_image'])) { ?> <img src="<?php echo $base_url.$this->common_model->path_home.$home_content['top_image']; ?>" alt=""> <?php } ?> </div> </div> </div> --> <div class="section-info our_parties-section2 text-center clearfix" style="background:none"> <div class="container"> <h2 class="section-heading"><?php echo $home_content['theme_title']; ?></h2> <div> <?php echo $home_content['theme_description']; ?> </div> </div> </div> <div class="section-info our_team2 section-padding container text-center clearfix"> <div class="container clearfix"> <h2 class="section-heading"><?php echo $home_content['our_services_title']; ?></span></h2> <div> <?php echo $home_content['our_services_content']; ?> </div> </div> <?php $our_services_cms_pages = $home_content['our_services_cms_pages']; if($our_services_cms_pages !='') { $our_services_cms_pages_arr = explode(',',$our_services_cms_pages); $this->db->where_in('id',$our_services_cms_pages_arr); $cms_theme_arr = $this->common_model->get_count_data_manual('cms_page',array('status'=>'Active'),2,"title,alias,short_description,image,image_alt_title_text"); // print_r($cms_theme_arr); if(isset($cms_theme_arr) && $this->common_model->is_array_count($cms_theme_arr)) { ?> <div class="team2 margint-50 clearfix"> <?php foreach($cms_theme_arr as $cms_theme_arr_val) { ?> <div class=" col-md-4 col-sm-4 col-xs-12"> <a href="<?php echo $cms_theme_arr_val['alias'];?>"> <img class="img-responsive" style="height:300px" src="<?php echo $base_url.$this->common_model->path_banner.$cms_theme_arr_val['image']; ?>" alt="<?php echo $cms_theme_arr_val['image_alt_title_text']; ?>" title="<?php echo $cms_theme_arr_val['image_alt_title_text']; ?>"> <h3 style="color:#ff0000"><?php echo $cms_theme_arr_val['title']; ?></h3> <br/> </a> <!-- <div class="team2-circle clearfix"> <div class="team2-img scroll-zoomIn"> <div class="team2-border"> <div class="team2-img_box" style="background-image: url('<?php // echo $base_url.$this->common_model->path_banner.$cms_theme_arr_val['image']; ?>');"> <div class="mask text-center"> <a href="<?php echo $cms_theme_arr_val['alias'];?>"></a> <div class="mask-btn"> <h3><?php echo $cms_theme_arr_val['title'];?></h3> <a href="<?php echo $cms_theme_arr_val['alias'];?>"><i class="fa fa-eye" aria-hidden="true"></i></a> </div> </div> </div> </div> <a href="<?php echo $cms_theme_arr_val['alias'];?>"><?php echo $cms_theme_arr_val['title'];?></a> </div> </div> --> </div> <?php } ?> </div> <?php } } ?> </div> <div class="section-info section-events section-padding row-height clearfix" style="padding: 30px 0 30px 0;"> <div class="container"> <?php $cms_data['gallery_id'] = $home_content['our_gallery']; $cms_data['video'] = $home_content['video']; ?> <h2 class="section-heading text-upper text-center"> <?php echo $home_content['our_gallery_title']; ?> </h2> <?php include('page_part/gallery.php');?> <div style="margin:0 auto;padding:20px;text-align:center"> <br/><br/> <a href="<?php echo $base_url; ?>image-gallery" class="btn btn-info">View More</a> </div> </div><!-- END .container --> </div><!-- END .section-events --> <div class="section-info our_team2 section-padding container text-center clearfix"> <div class="container clearfix"> <h2 class="section-heading"><span class="red"><?php echo $home_content['package_title']; ?></span></h2> <div><?php echo $home_content['package_description']; ?></div> </div> <div class="pricing-table margint-20 marginb-20 section-column text-center clearfix"> <?php $this->db->join('cms_page',"cms_page.id = our_package.cms_page_id",'left'); $our_package_arr = $this->common_model->get_count_data_manual('our_package',array('our_package.status'=>'Active'),2,"our_package.*,cms_page.alias"); if(isset($our_package_arr) && $this->common_model->is_array_count($our_package_arr)) { $ijk=0; foreach($our_package_arr as $our_package_arr_val) { $ijk++; if($ijk%4==0) { ?> </div> <div class="pricing-table margint-50 marginb-40 section-column text-center clearfix"> <?php } ?> <!-- most-popular --> <div class="pricing-column column col-md-3 col-sm-6 col-xs-12 scroll-bounceIn scroll-time1 clearfix hidden visible animated bounceIn"> <div class="pricing-table-plan"> <div class="pricing-table_head clearfix"> <h2 class="pricing-table_title"><?php echo $our_package_arr_val['package_name'];?></h2> <div class="pricing-table_price clearfix"> <div class="price"> <p class="price"> <span class="unit">Rs</span> <span class="amount"><?php echo $our_package_arr_val['price'];?></span> </p> </div> </div> </div> <div class="pricing-table_features"> <?php echo $our_package_arr_val['package_detail'];?> </div> <div class="pricing-table_cta"> <div class="cta-btn"> <a href="<?php echo $base_url.$our_package_arr_val['alias']; ?>" class="btn icon-arrow"> <span>+</span> </a> </div> </div> </div> </div><!-- end pricing-column --> <?php } } ?> </div> </div> <!-- END section-team2 --> <!-- <div class="section-info our_parties-section2 text-center clearfix" style="background:none"> <div class="blog-layout3-section container clearfix "> <?php $theme_cms_page = $home_content['theme_cms_page']; if($theme_cms_page !='') { $theme_cms_page_arr = explode(',',$theme_cms_page); $this->db->where_in('id',$theme_cms_page_arr); $cms_theme_arr = $this->common_model->get_count_data_manual('cms_page',array('status'=>'Active'),2,"title,alias,short_description,image,image_alt_title_text"); // print_r($cms_theme_arr); if(isset($cms_theme_arr) && $this->common_model->is_array_count($cms_theme_arr)) { $is_stiky = ''; foreach($cms_theme_arr as $cms_theme_arr_val) { $is_stiky = $is_stiky ? '':'sticky-post'; ?> <div class="col-blog-layout3"> <div class="blog-layout3 <?php echo $is_stiky; ?> clearfix"> <div class="col-blog-layout3-img"> <div class="blog-layout3-img cover-fix clearfix" style="background-image: url('<?php echo $base_url.$this->common_model->path_banner.$cms_theme_arr_val['image']; ?>');"> <div class="mask text-center"> <a href="<?php echo $base_url.$cms_theme_arr_val['alias']; ?>"> <div class="mask-btn"> <i class="fa fa-eye" aria-hidden="true"></i> <span>view more</span> </div> </a> </div> </div> </div> <div class="blog-layout3-info clearfix text-center"> <img src="<?php echo $base_url_assets; ?>images/happykiddo_services-icon.png" alt=""> <h2 class="text-upper"><a href="<?php echo $cms_theme_arr_val['alias']; ?>"><?php echo $cms_theme_arr_val['title']; ?></a></h2> <p> <?php echo substr(strip_tags($cms_theme_arr_val['short_description']),0,80); ?></p> <a href="<?php echo $base_url.$cms_theme_arr_val['alias']; ?>" class="transparent-btn happykiddo-btn">VIEW MORE</a> </div> </div> </div> <?php } } } ?> </div> </div> --> <div class="cta blue-bg margint-30 clearfix"> <div class="container clearfix"> <div class="row-height"> <div class="col-md-9 col-sm-9 col-xs-12 col-height"> <h2><?php echo $home_content['middle_line']; ?></h2> </div> <div class="col-md-3 col-sm-3 col-xs-12 col-height"> <a href="<?php echo $base_url.'contact';?>" class="happykiddo-btn">BOOK NOW</a> </div> </div> </div> </div> <div class="who-we-are-section2 section-padding paddingb-0 clearfix"> <div class="container clearfix"> <div class="row-height"> <div class="col-md-8 col-sm-8 col-xs-12 col-height"> <?php echo $home_content['who_we_description']; ?> </div> <div class="col-md-3 col-sm-3 col-xs-12 col-height"> <?php if(isset($home_content['who_we_image']) && $home_content['who_we_image'] !='' && file_exists($this->common_model->path_home.$home_content['who_we_image'])) { ?> <img src="<?php echo $base_url.$this->common_model->path_home.$home_content['who_we_image']; ?>" class="img-responsive center-block" alt=""> <?php } ?> </div> </div> </div><!-- END .container --> </div><!-- END .who-we-are-section --> <?php if(1== 2) { ?> <div class="section-info section-padding paddingb-80 our_entertaiment text-center clearfix bg-image" style="background-image: url('images/e1.png');"> <div class="container"> <h2 class="section-heading paddingt-80"><?php echo $home_content['our_entertaiment_title']; ?></h2> <div> <?php echo $home_content['our_entertaiment_description']; ?> </div> <?php $our_entertaiment_cms = $home_content['our_entertaiment_cms']; if($our_entertaiment_cms !='') { ?> <div class="features2 margint-50 marginb-50 clearfix"> <?php // new pages $our_entertaiment_cms_arr = explode(',',$our_entertaiment_cms); $this->db->where_in('id',$our_entertaiment_cms_arr); $entertaiments_arr = $this->common_model->get_count_data_manual('cms_page',array('status'=>'Active'),2,"title,alias,short_description,image,image_alt_title_text"); // print_r($cms_theme_arr); if(isset($entertaiments_arr) && $this->common_model->is_array_count($entertaiments_arr)) { $ijk=0; $color_arr = array('green-bg','orange-bg','yellow-bg','blue-bg','red-bg'); foreach($entertaiments_arr as $entertaiments_arr_val) { $color_set = $color_arr[array_rand($color_arr)]; ?> <div class="col-md-3 col-sm-3 col-xa-12"> <div class="col-features2 marginb-30 text-center clearfix"> <div class="article-icon"> <div class="icon clearfix"> <a href="<?php echo $base_url.$entertaiments_arr_val['alias']; ?>"> <i class="fa fa-star-o fa-icon <?php echo $color_set; ?>"></i></a> </div> </div> <div class="article-body"> <h3><a href="<?php echo $base_url.$entertaiments_arr_val['alias']; ?>"><?php echo $entertaiments_arr_val['title']; ?></a></h3> <div> <?php if($entertaiments_arr_val['short_description'] !='') { echo substr(strip_tags($entertaiments_arr_val['short_description']),0,150).'..'; } ?></div> </div> </div><!-- END .col-features2 --> </div><!-- END .col-md-3 --> <?php } } ?> </div><!-- END .features2 --> <?php } ?> </div> </div> <?php } ?> <div class="cta blue-bg marginb-20 clearfix"> <div class="container clearfix"> <div class="row-height"> <div class="col-md-9 col-sm-9 col-xs-12 col-height"> <h2><?php echo $home_content['bottom_line']; ?></h2> </div> <div class="col-md-3 col-sm-3 col-xs-12 col-height"> <a href="<?php echo $base_url.'contact';?>" class="happykiddo-btn">BOOK NOW</a> </div> </div> </div> </div><!-- END CTA --> <!-- <div class="section-info section-info2 margint-10 row-height text-center clearfix"> <div class="circle-line circle-line-top circle-line1"></div> <div class="container clearfix"> <div class="col-md-7 col-sm-7 col-xs-12 col-height"> <h2 class="text-upper scroll-fadeInDown"><?php echo $home_content['above_gallery_title']; ?></h2> <div class="text-center btn-box clearfix scroll-fadeInUp"> <a href="<?php echo $base_url.'contact';?>" class="filled-btn happykiddo-btn">BOOK NOW</a> </div> </div> <?php if($home_content['above_gallery_image'] !='') { ?> <div class="col-md-5 col-sm-5 col-xs-12 col-height paddingt-30"> <img src="<?php echo $base_url.$this->common_model->path_home.$home_content['above_gallery_image']; ?>" width="400" alt="" class="img-responsive center-block"> </div> <?php } ?> </div> </div> --> <?php include('page_part/faq.php');?> <div class="section-info section-events margint-20 section-padding row-height clearfix"> <div class="container"> <h2 class="section-heading text-upper text-center"> <?php // echo $home_content['our_gallery_title']; ?> Video Gallery </h2> <?php include('page_part/video.php');?> </div><!-- END .container --> </div><!-- END .section-events --> <!-- <div class="section-info testimonials2-section_in yellow-bg section-padding margint-0 clearfix cover"> <div class="circle-line circle-line-top circle-line1"></div> <div class="section-info margint-30 testimonials-section clearfix"> <div class="container clearfix"> <h2 class="section-heading clearfix text-center"><?php echo $home_content['testimonail_title']; ?></h2> <div class="description clearfix col-md-8 col-md-offset-2 col-sm-8 col-sm-offset-2 col-xs-12 text-center"> <?php echo $home_content['testimonail_description']; ?></div> </div> <div class="testimonials1-section container margint-40 clearfix"> <?php $testimonial_arr = $this->common_model->get_count_data_manual('testimonial',array('status'=>'Active'),2,'','id desc'); if(isset($testimonial_arr) && $this->common_model->is_array_count($testimonial_arr)) { foreach($testimonial_arr as $testimonial_arr_val) { ?> <div class="col-testimonials1 col-md-4 col-sm-4 col-xs-12"> <div class="testimonials1 scroll-fadeIn"> <div class="tesimonials1-head"> <p><img src="<?php echo $base_url_assets; ?>images/happykiddo_tesimonials1-quote.png" class="img-responsive" alt=""> <?php echo $testimonial_arr_val['content']; ?> </p> </div> <div class="tesimonials1-foot"> <img width="50" src="<?php echo $base_url.$this->common_model->path_gallery.$testimonial_arr_val['photo']; ?>" class="img-responsive" alt=""> <div class="name"><?php echo $testimonial_arr_val['name']; ?> </div> <div class="type-party"><?php echo $testimonial_arr_val['event']; ?></div> </div> </div> </div> <?php } } ?> </div> </div> </div> --> <div class="map-section clearfix"> <span class="anchor" id="map-canvas-anchor"></span> <?php if(isset($common_setting['map_address']) && $common_setting['map_address'] !='') { echo html_entity_decode($common_setting['map_address']); } ?> </div> <?php // include('page_part/footer-form.php');?> </div> <!-- END #main -->