<span>City</span>: <span><?php echo arrIndex($evt, 'city'); ?> </span> </div> <div> <button class="btn btn-success" onclick="eventbooking(this,<?php echo arrIndex($evt, 'event_id'); ?> )">Book This Event</button> </div> <br/> </div> <div class="col-lg-5 top-20"> <img src="<?php echo site_url1(base_url()) . '/upload/events/' . arrIndex($evt, 'event_img'); ?> " class="col-lg-12"/> </div> <?php } ?> <div class="clearfix"></div> <header class="panel-heading"> <div class="row"> <div class="col-sm-6"> <h3 style="margin: 0">My Bookings</h3> </div> </div> </header> <div class="col-lg-12 padding-0" style="padding-top: 15px;">
<div class="row content-bg col-lg-8"> <div class='col-lg-12 padding-0'> <div class="close1 pull-right">X</div> </div> <div class="col-lg-6 pad-right0" style="border-right: 1px solid #aaa;"> <h4>Click <a href="<?php echo site_url1(base_url()) . 'terms-and-conditions'; ?> ">here</a> to read terms and conditions </h4> </div> <?php $edit_url = ''; if ($this->aauth->isAdmin()) { $edit_url = createUrl('user/edit/' . curUsrId()); } else { $edit_url = createUrl('company/edit/' . curUsrId()); } ?> <div class="col-lg-6"> <h4>Click <a href="<?php echo $edit_url; ?> ">here</a> to reset your password</h4> </div> <div class="col-lg-7"> <form> <input type="checkbox" name='dont_show_again' style="vertical-align: top"> Don't show this message again.<br> <input type='submit' name="submit" value='Save' class="btn btn-primary mar-top10"> </form> </div> </div>
$this->load->view(THEME . 'layout/inc-menu-customer-dashboard'); ?> </div> <?php $this->load->view(THEME . 'layout/inc-notifications'); ?> <?php $this->load->view(THEME . 'layout/in-social-links'); ?> </div> </div> <script> function eventbooking(elm, eid) { var top = $(elm).position().top; $.post('<?php echo createUrl('franchisee/eventdetail', site_url1(base_url())); ?> ', {eid: eid, small: true}, function (data) { $('div.event-popup').html(data.event); $('div.event-popup').bPopup({ closeClass: 'close1', follow: [false, false], //x, y position: ["10%", top + 'px'] //x, y }); }, 'json'); } function addtocart(eid) { var qty = 1; // var url = 'http://localhost/desktopdeli/booking/cart/add'; $.post('<?php echo createUrl('customer/cart/add');
"> <input type="hidden" name="currency_code" value="<?php echo DWS_CURRENCY_CODE; ?> "> <input type="hidden" name="custom" value="<?php echo $order['id'] . ':' . curUsrId(); ?> "> <input type="hidden" name="return" value="<?php echo base_url() . "customer/checkout/success/{$order['unique_id']}"; ?> "> <input type="hidden" name="cancel_return" value="<?php echo base_url() . "customer/checkout/failed/{$order['unique_id']}"; ?> "> <input type="hidden" name="notify_url" value="<?php echo base_url() . "checkout/payment/index"; ?> "> </form> <p align="center"><img src="<?php echo site_url1(base_url()); ?> images/horizontal_solution_PPeCheck.png" width="166" height="42" /></p> <script> $(document).ready(function () { $('#payment_form').submit(); }); </script>