hjkhhrteuiluiliuuiluiluiluilrtrt
bnmbertsdfsdfluiluiluiluiluiluiltdfg
/
home
/
kairalir
/
alnajidtransport.com
/
Upload FileeE
HOME
<?php include 'layouts/header.php'; ?> <style> .block-20 { width: 100%; } .what-we-active { background: #ede02d00; color: #f5e724 !important; border-bottom: 3px solid; } .blog-entry .text .heading a { color: #000000; font-size: 30px; font-weight: 700; } </style> <section class="hero-wrap hero-wrap-2" style="background-image: url('images/bg_2_portfolio.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>Projects <i class="fa fa-chevron-right"></i></span> </p> <h1 class="mb-0 bread">Projects</h1> </div> </div> </div> </section> <section class="ftco-section"> <div class="container"> <div class="row"> <?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; $page = $_GET['page']; if ($page) $start = ($page - 1) * $limit; else $start = 0; $services = ORM::for_table("portfolio") ->limit($limit) ->offset($start) ->order_by_asc('portfolio.id') ->find_array(); ?> <?php if (!empty($services)): ?> <?php foreach ($services as $row): ?> <div class="col-md-3 d-flex ftco-animate"> <div class="blog-entry align-self-stretch"> <a> <img class="block-20 rounded" src="uploads/<?php echo $row['file']; ?>"> </a> <div class="text mt-3"> <h3 class="heading"><a> <?php echo $row['services_title']; ?> </a></h3> <p class="p-heading"> <?php echo strip_tags(substr($row['services_detail'], 0, 300)); ?>... </p> <!-- <p><a 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'; ?>