</div> <div class="cont"> <div class="l_cont"> <div class="box1"> <h2>Today Trip</h2> <p class="b_right">Bangkok</p> <p class="b_left">Chiang Mai</p> <span>600 THB</span> </div> <div class="box2"> <h2>How it works?</h2> <a href=""><img src="<?php echo include_img_path(); ?> /how_it_works.png" /></a> </div> </div> <div class="inner_cont"> <h1>Not a member? Register for free</h1> <form action="" method="post" class="basic-grey"> <label> <input id="first_name" type="text" name="first_name" value="<?php echo set_value('first_name'); ?> " placeholder="Your First Name" /> <?php
<button id="close-book">Close </div> <p>click to book your sheet</p> <a href="javascript:void(0);" class="button" >Contact car owner</a><br/><br/> <a href="javascript:void(0);" id="show-book" >How can i book a seat?</a><br/> </div> </div> <div class="clear"> </div> <div class='car'> <div class='head'><span>Car owner</span></div> <?php $user_img = include_img_path() . '/NoProfileImage.jpg'; if ($view_data['profile_img'] != '') { $user_img = base_url('assets/uploads/users/' . $view_data['profile_img']); } ?> <table cellspacing="0" cellpadding="0" border="0" width="96%" class="detail"> <tr> <td><img src="<?php echo $user_img; ?> " style="width:75px;height:80px"/></td> <td> <p><?php echo $view_data['first_name'] . " " . $view_data['last_name']; ?> </p>
if (count($cars)) { ?> <table> <tbody> <?php $makes = get_makes(); $models = get_models(); $types = get_types(); foreach ($cars as $car) { $img = $car['img_name'] ? 'assets/uploads/cars/' . $car['img_name'] : 'assets/frontend/images/car.png'; $btnText = $car['img_name'] ? 'Click here to Change Photo' : 'Upload Photo'; $details = '<p>'; $details .= $makes[$car['make_id']] . ' ' . $models[$car['make_id']][$car['model_id']]; $details .= '<br/>' . $car['seat_count'] . ' seats'; $details .= '<br/><a href="' . site_url('dashboard/profile/car/edit/' . $car['id']) . '"><img src="' . include_img_path() . '/edit.png" width="15px"></a>'; $details .= ' <a href="' . site_url('dashboard/profile/car/delete/' . $car['id']) . '"><img src="' . include_img_path() . '/del.png" width="15px"></a>'; echo '<tr>'; echo '<td> <img width="120px" id="car-' . $car['id'] . '" src="' . base_url($img) . '" /></td>'; echo '<td>' . $details . '</td>'; echo '</tr>'; echo '<tr>'; echo ' <td colspan="2"> <button id="' . $car['id'] . '" class="button uploadBtn">' . $btnText . '</button> <div id="div-' . $car['id'] . '" style="display:none;"></div> </td>'; echo '</tr>'; } ?> </tbody> </table>