<?php

$username = "";
$password = "";
$dbname = "";
$hostname = "";

$connect = mysqli_connect($hostname, $username, $password, $dbname);


$sql = "SELECT * FROM `discounts`";
$result = mysqli_query($connect, $sql);
if (!$result) {
    echo mysqli_error($connect);
}
$num = mysqli_num_rows($result);


while ($row = mysqli_fetch_array($result)) {
    $discount_code[] = $row['disc_code'];
    $discount_use[] = $row['disc_count'];
}


$d_code = json_encode($discount_code);
$d_use = json_encode($discount_use);

?>


<div id="section4"></div>
<div class="glass-section-scroll">
    <div class="glass-section bg-white mt-5 pt-5">
        <div class="glass-section-header text-center p-0">
            <h1 class="glass-title mega-title font-weight-bold">
                <a href="/articles/"><span class="glass-focus">Articles</span></a>
            </h1>
            <p class="glass-subtitle font-weight-normal mt-2">Get the latest global medical device news, insights and more</p>

        </div>
        <div class="glass-section-content">
            <div class="glass-row row">
                <div class="col-12 glass-col-12 glass-col-100">
                    <div class="glass-box-content pr-0 pl-1">
                        <div class="row">
                            <div class="col-3 p-0 glass-col-6">
                                <div class="bg-light shadow-sm m-1 mr-3 mb-3 p-0 rounded">
                                    <div class="pb-0 pt-0 text-center show-modal">
                                        <img src="<?php
                                                    echo $root ?>/assets/img/articles/what-is-good-clinical-practice.png" class="w-100">
                                    </div>
                                    <div class="p-3 bg-white text-left">
                                        <p class="m-0 p-0"><small><span class="font-weight-bold">What is good clinical practice (GCP)?</span></small>
                                        </p>
                                        <p class="m-0 p-0"><small>Governments use the GCP as an international quality standard to determine regulatory guidelines for ... </small></p>
                                    </div>
                                    <div class="p-3 bg-white text-left">
                                        <a href="" target="_blank" type="button" class="glass-status sm-btn sm-orange show-modal" id="" data-toggle="modal" data-target="#waitingListModal">
                                            Learn more
                                        </a>

                                    </div>
                                </div>
                            </div>
                            <div class="col-3 p-0 glass-col-6">
                                <div class="bg-light shadow-sm m-1 mr-3 mb-3 p-0 rounded">
                                    <div class="pb-0 pt-0 text-center show-modal">
                                        <img src="<?php
                                                    echo $root ?>/assets/img/articles/clinical-investigation-and-clinical-evaluation-of-medical-devices.png" class="w-100">
                                    </div>
                                    <div class="p-3 bg-white text-left">
                                        <p class="m-0 p-0"><small><span class="font-weight-bold">Clinical investigation and clinical evaluation of medical devices</span></small>
                                        </p>
                                        <p class="m-0 p-0"><small>Clinical research is compulsory ro develop new solutions for various diseases that plague humans...</small></p>
                                    </div>
                                    <div class="p-3 bg-white text-left">
                                        <a href="" target="_blank" type="button" class="glass-status sm-btn sm-orange show-modal" id="" data-toggle="modal" data-target="#waitingListModal">
                                            Learn more
                                        </a>

                                    </div>
                                </div>
                            </div>
                            <div class="col-3 p-0 glass-col-6">
                                <div class="bg-light shadow-sm m-1 mr-3 mb-3 p-0 rounded">
                                    <div class="pb-0 pt-0 text-center show-modal">
                                        <img src="<?php
                                                    echo $root ?>/assets/img/articles/the-scope-and-purpose-of-standard-operating-procedures.png" class="w-100">
                                    </div>
                                    <div class="p-3 bg-white text-left">
                                        <p class="m-0 p-0"><small><span class="font-weight-bold">The scope and purpose of standard operating procedures</span></small>
                                        </p>
                                        <p class="m-0 p-0"><small>The success of high quality of medical devices relies heavily on SOPs... </small></p>
                                    </div>
                                    <div class="p-3 bg-white text-left">
                                        <a href="" target="_blank" type="button" class="glass-status sm-btn sm-orange show-modal" id="" data-toggle="modal" data-target="#waitingListModal">
                                            Learn more
                                        </a>

                                    </div>
                                </div>
                            </div>
                            <div class="col-3 p-0 glass-col-6">
                                <div class="bg-light shadow-sm m-1 mr-3 mb-3 p-0 rounded">
                                    <div class="pb-0 pt-0 text-center show-modal">
                                        <img src="<?php
                                                    echo $root ?>/assets/img/articles/the-usability-engineering-process-and-key-terms.png" class="w-100">
                                    </div>
                                    <div class="p-3 bg-white text-left">
                                        <p class="m-0 p-0"><small><span class="font-weight-bold">The usability engineering process and key terms</span></small>
                                        </p>
                                        <p class="m-0 p-0"><small>Usability engineering refers to the comprehension of the users ability to use the device, the task of the user and the user interface...</small></p>
                                    </div>
                                    <div class="p-3 bg-white text-left">
                                        <a href="" target="_blank" type="button" class="glass-status sm-btn sm-orange show-modal" id="" data-toggle="modal" data-target="#waitingListModal">
                                            Learn more
                                        </a>

                                    </div>
                                </div>
                            </div>

                        </div>

                    </div>
                </div>

                <div class="col-6 glass-col-12 glass-col-100">
                    <div class="glass-box-content pr-0 pl-1">


                    </div>
                </div>

            </div>
        </div>
    </div>
</div>