<?php
include_once("include/main.inc.php");
$hover="careers";
$sql_latest=mysqli_query($GLOBALS['dbconn'],"select displayName,catName,catDesc from career_tbl where parentID='0' and status='Y'");
$page_metatitle = "Career Opportunities - ".COMPANY_NAME;
$page_metakey = "Career Opportunities - ".COMPANY_NAME;
$page_metadesc = "Career Opportunities - ".COMPANY_NAME;
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    
    <?php include "app_top.php"; ?>
</head>

<body>
    <?php include "app_header.php"; ?>
    <section class="heading_banner" style="background-image: url(<?= site_url; ?>/designer/images/career-banner.jpg)">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center">
                    <h1 class="cat_title">Career - <?=$admin_res['companyName'];?></h1>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </section>

    <div class="inner_breadcrumb hidden_xs">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <ul class="breadcrumb">
                        <li><a href="<?= site_url; ?>" title="Home">Home</a></li>
                        <li class="active">Careers</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <section class="testimonial_page">
    <div class="container">
        <div class="tt-bx mb-4">
            <h2 class="tt"><span>Career Opportunities</span></h2>
            <p>Start your career with a team that values innovation, precision, and growth. We offer exciting opportunities in engineering, research, and customer support. Join a collaborative environment where you can contribute to the advancement of laboratory technology. Build your skills, grow professionally, and make a meaningful impact in the field of scientific equipment.</p>
        </div>
        
        <?php if (mysqli_num_rows($sql_latest) > 0) { ?>
            <div class="row g-3 row-cols-1 row-cols-lg-2">
                <?php 
                while ($res_cats = mysqli_fetch_array($sql_latest)) { 
                ?>
                    <div class="col">
                        <div class="current-opening-bx">
                            <div class="tt">
                                <a href="<?= site_url; ?>/career/<?= getValidFileName($res_cats['catName']); ?>.htm" title="<?= $res_cats['displayName']; ?>"><?= $res_cats['displayName']; ?></a>
                            </div>
                            <div class="des">
                                <p><?= substr($res_cats['catDesc'], 0, 150); ?>...</p>
                                <a href="<?= site_url; ?>/career/<?= getValidFileName($res_cats['catName']); ?>.htm" title="View Details" class="main-btn">View Details 
                                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right" viewBox="0 0 16 16">
                                        <path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"></path>
                                    </svg>
                                </a>
                            </div>
                        </div>
                    </div>
                <?php } ?>
            </div>
        <?php } else { ?>
            <div class="alert alert-danger" style="text-align:center; margin-top: 20px;">
                <strong>Currently We have no openings</strong>
            </div>
        <?php } ?>
    </div>
</section>

    <?php include "app_footer.php"; ?>
    <?php include "app_bottom.php"; ?>
</body>

</html>