BBnepal-Accounts/bustracking/application/views/bustracking-admin/view-bus.php
Sampanna Rimal 9cd05ef3cb commitall
2024-07-10 18:28:19 +05:45

43 lines
2.0 KiB
PHP

<main class="common_margin" id="main">
<div class="main-wrap">
<div class="dashboard-cover">
<div class="subsec_sec">
<div class="subject_r">
<div class="subject_lsec">
<a href="<?php echo base_url()?>buses">
<button class="btn btn-dark btn-sm">Back</button>
</a>
<div class="common-heading">
<h2>View Bus</h2>
</div>
<?php if (isset($result) && !empty($result)) { ?>
<div class="view-cover">
<img src="<?= base_url().''.$result['image'] ?>" class="view-bus-img">
<ul>
<li><label>Reg No :</label><?= $result['reg_no'] ?></li>
<li><label>Brand :</label><?= $result['bus_brand'] ?></li>
<li><label>No of Seats :</label><?= $result['seats'] ?></li>
<li><label>Year of Purchase :</label><?= $result['year'] ?></li>
</ul>
</div>
<a href="<?php echo base_url()?>add-edit-bus/<?php echo $result['id']; ?>">
<button type="button" class="subject_addbtn" >Edit</button>
</a>
<?php }else{ ?>
<span class="text info"> No Data Found </span>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</main>
<!--End right-top side-->
</div>
</body>
</html>