			<div class="innerBanner">
                <<?php if($partyDetails['event_video']!=''){ ?>
                <div class="video">
                  <iframe src="<?php echo $partyDetails['event_video']; ?>" frameborder="0" width="100%" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
                </div>
              <?php }else{ ?> 
                <div class="scrollable" style=" background: url(<?php if($partyDetails){ echo base_url().'assets/userfiles/'.$partyDetails['path'].'/'.$partyDetails['filename'].'.'.$partyDetails['extension']; }?>) no-repeat center center/cover;"></div>
              <?php } ?> 
            </div>
  <section class="content_wrapper innerPage clearfix">
             <div class="partyBookingWrapper clearfix">

                <div class="box_boking">
                 <div class="inner">
                  <h4 class="text_white"><?php if($partyDetails){ echo date('d, M Y',$partyDetails['time_from']); }?> - <?php if($partyDetails){ echo eventDetails($partyDetails['id']); ; }?></h4>
                  <h1><?php if($partyDetails){ echo $partyDetails['title']; }?></h1>
                  <hr class="bold">
                  <h2 class="clearfix"><?php if($partyDetails){ echo $partyDetails['sub_title']; }?></h2>
                  <p><?php if($partyDetails){ echo strip_tags($partyDetails['teasertext']); }?></p>
                 <?php if($this->session->userdata('user_id')){ ?>
                  <div class="text-center">
                    <p id="message_error" style="color:red"></p>               
                    <button class="hotshotBtn hotshot_party" data-id="<?php echo $partyDetails['id']; ?>"><img src="images/hotspot-icon.png"> <?php echo getLang('Hotshot'); ?></button>
                  </div>
				          <?php } ?>
                  <?php if($partyDetails['video_url']!='' && $this->session->userdata('user_id')){ ?>
                  <div class="video">
                    <iframe src="<?php echo $partyDetails['video_url']; ?>" frameborder="0" width="100%" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
                  </div>
                  <?php } ?>
                  
                  
                 </div>
                 <p class="text_white margin_top30"><?php echo getLang('Archiv__similar_parties_from_the_past'); ?></p>

                 <div class="inner pastParty">
                   <?php if(!empty($pastParties)){ 
                              foreach ($pastParties as $past) { ?>
                  <a href="<?php echo  base_url().'reviews/'.$past['alias']; ?>">            
                    <div class="pastpartyList">

                     <div class="pastLeft">
                        <h4><?php echo $past['title']; ?></h4>
                         <p><span class="time"><?php echo date('d, M Y',$past['time_from']); ?></span> - <span class="place"><?php echo eventDetails($past['id']); ; ?></span></p>
                      </div>

                      <div class="pastRight">
                        
        							<img src="<?php if(!empty($past) && $past['filename']!='' && file_exists(FCPATH.'assets/userfiles/'.$past['path'].'/250/'.$past['filename'].'.'.$past['extension'])){ echo base_url().'assets/userfiles/'.$past['path'].'/250/'.$past['filename'].'.'.$past['extension']; } else { echo base_url().'assets/images/default-avatar.jpg'; }?>" alt="" srcset="<?php if(!empty($past['filename']) && file_exists(FCPATH.'assets/userfiles/'.$past['path'].'/250/'.$past['filename'].'.'.$past['extension'])){ echo  base_url().'assets/userfiles/'.$past['path'].'/250/'.$past['filename'].'.'.$past['extension']; } else { echo base_url().'assets/images/default-avatar.jpg'; } ?> 1x, <?php if(!empty($past['filename']) && file_exists(FCPATH.'assets/userfiles/'.$past['path'].'/500/'.$past['filename'].'.'.$past['extension'])){ echo  base_url().'assets/userfiles/'.$past['path'].'/500/'.$past['filename'].'.'.$past['extension']; } else { echo base_url().'assets/images/default-avatar.jpg'; } ?> 2x" >
        										
        				 
                              </div>
                     
                        </div>
                      </a>
                      <?php   }
                                }
                            ?>
                     </div>
                   </div>  
                    <div id="partyEntry" class="rightBlock" style="">
                      <form class="side_event_choose_frm" method="post">
                      <div id="sideeventStep1">
                        <div class="chooseOne"><p><?php echo  getLang('Please_chose_one_of_the_following_side_events'); ?></p></div>
                        
                        <?php if(!empty($side_events)){ 
                             foreach ($side_events as $side_event) { 
                              ?>
                        <div class="entryBox side_event_box1" id="" data-id="">
                          <?php if($is_booked==1){ ?>
                          <p class="custm_check"><input type="checkbox" class="side_event_checkbox" id="side_events_ids_<?php echo $side_event['side_event_id']; ?>" name="side_events_ids" value="<?php echo $side_event['side_event_id']; ?>" style=""><label for="side_events_ids_<?php echo $side_event['side_event_id']; ?>"></label></p>
                          <?php } ?>
                          <a href="<?php if($side_event['link']){ echo $side_event['link'];}else{ echo 'javascript:void(0)'; } ?>" target="_blank">
                            <img src="<?php echo base_url().$side_event['image']; ?>" alt="" srcset="<?php echo base_url().$side_event['image']; ?> 1x">
                          </a>
                          <div class="entrycontent">
                            <h4><?php echo $side_event['title']; ?> </h4>
                            <p><?php echo strip_tags($side_event['sub_title']); ?></p>
                            <p><?php echo $side_event['description']; ?></p>

                             <?php if($side_event['link']){ ?>
                             <p class="party-link text_gold"><?php echo $side_event['link']; ?> <img src="<?php echo  base_url().'assets/images/link-symbol.svg'; ?>" width="20"></p>
                             <?php } ?>
                             <?php if($is_booked==0){ ?>
                                <p class="party-link text_gold"><?php echo getLang('Book_after_check_in'); ?></p>
                              <?php } ?>
                          </div>
                        </div>
                      <?php } } ?>
                       </div>
                       <input type="hidden" name="event_id" id="event_id" value="<?php echo $partyDetails['id']; ?>">
                      </form>
                       <div class="sideeventStep2" style="display:none; float: right;">
                        <span id="terms-error" style="color:red"></span>  
                        <p id="terms" style="display:none"><label><input type="checkbox" name="terms"> <?php echo getLang('I_have_read__understood_and_agree_the'); ?> <a href="<?php echo base_url().'terms'; ?>" target="_blank"><?php echo getLang('terms_and_conditions'); ?>.</a></label></p>                 
                        <button type="button" id="cancel" class="btn_grey margin_top30"><?php echo getLang('cancel'); ?></button>                  
                        <button type="button" id="side_event_choose" class="btn_gold margin_top30"><?php echo getLang('add_interest'); ?></button>
                       </div>
                       <div id="sideeventStep3" style="display:none">
                         <div class="entryBox thikGoldBorder">                   
                          <div class="entrycontent">
                            <h4 class="text_white"><?php echo getLang('Thanks_For_your_interest'); ?></h4>
                            <p class="bold_text text_gold"><?php echo getLang('Thanks_For_your_interest'); ?></p>
                          </div>
                        </div>
                      </div>  
                    </div> 
               
             </div>

</section>
   
