<?php
require_once '../config.php';
$_settings->require_permission('projects','ver');
?>

<div class="row">

    <div class="col-lg-4 col-md-6">
        <div class="info-box bg-gradient-light shadow">
            <span class="info-box-icon bg-info"><i class="fas fa-list"></i></span>
            <div class="info-box-content">
                <span class="info-box-text">Requerimientos</span>
                <span class="info-box-number">
                    <?= $conn->query("SELECT id FROM project_list WHERE status=0")->num_rows ?>
                </span>
            </div>
        </div>
    </div>

    <div class="col-lg-4 col-md-6">
        <div class="info-box bg-gradient-light shadow">
            <span class="info-box-icon bg-danger"><i class="fas fa-star"></i></span>
            <div class="info-box-content">
                <span class="info-box-text">Alta Prioridad</span>
                <span class="info-box-number">
                    <?= $conn->query("SELECT id FROM project_list WHERE priority='ALTA'")->num_rows ?>
                </span>
            </div>
        </div>
    </div>

</div>
