hjkhhrteuiluiliuuiluiluiluilrtrt
bnmbertsdfsdfluiluiluiluiluiluiltdfg
/
home
/
kairalir
/
alnajidtransport.com
/
Upload FileeE
HOME
<?php include 'layouts/header.php'; ?> <style> .block-20 { width: 100%; } .service-active a { background: #ede02d00; color: #f5e724 !important; border-bottom: 3px solid; } </style> <section class="hero-wrap hero-wrap-2" style="background-image: url('images/bg_2_service.jpg');" data-stellar-background-ratio="0.5"> <div class="overlay"></div> <div class="container"> <div class="row no-gutters slider-text align-items-end"> <div class="col-md-9 ftco-animate pb-5"> <p class="breadcrumbs mb-2"><span class="mr-2"><a href="index.php">Home <i class="fa fa-chevron-right"></i></a></span> <span><a href="services.php">Services <i class="fa fa-chevron-right"></i></a></span></p> <h1 class="mb-0 bread">Road Transport</h1> </div> </div> </div> </section> <section class="ftco-section"> <div class="container"> <div class="row justify-content-center pb-5 mb-3"> <div class="col-md-7 heading-section text-center ftco-animate"> <span class="subheading">Al Najid Transport Trading & Contracting Co. L.L.C</span> <h2>Road Transport</h2> <p>We provide service to the petroleum exploration and marketing industry across Oman and other GCC countries.</p> </div> </div> <div class="row d-flex"> <?php if (!isset($_GET["page"])) { $_GET["page"] = 1; } $tbl_name = "services"; $adjacents = 3; $get_services = ORM::for_table("$tbl_name") ->find_array(); $total_pages = count($get_services); $targetpage = "pagination.php"; //$limit = 25; $min_limit = 1; $max_limit = 6; $limit = max($min_limit, min($max_limit, $total_pages)); $page = $_GET['page']; if ($page) $start = ($page - 1) * $limit; else $start = 0; $services = ORM::for_table("services") ->limit($limit) ->offset($start) ->order_by_asc('services.id') ->find_array(); ?> <?php if (!empty($services)): ?> <?php foreach ($services as $row): ?> <div class="col-md-4 d-flex ftco-animate"> <div class="blog-entry align-self-stretch"> <a href="service-details.php?id=<?php echo $row['id']; ?>"> <img class="block-20 rounded" src="uploads/<?php echo $row['file']; ?>"> </a> <div class="text mt-3"> <h3 class="heading"><a href="service-details.php?id=<?php echo $row['id']; ?>"> <?php echo $row['services_title']; ?> </a></h3> <p class="p-heading"> <?php echo strip_tags(substr($row['services_detail'], 0, 150)); ?>... </p> <p><a href="service-details.php?id=<?php echo $row['id']; ?>" class="btn btn-primary">Read more</a></p> </div> </div> </div> <?php endforeach; ?> <?php else: ?> <p>Not available</p> <?php endif; ?> </div> </div> </section> <?php include 'layouts/footer.php'; ?>