<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?= $project_title ?></title>

    <!-- Global stylesheets -->
    <!--        <link href='public_html/General/css/font.css' rel='stylesheet' type='text/css'>
    <link href='public_html/General/css/font2.css' rel='stylesheet' type='text/css'>-->
    <link href="assets/css/icons/icomoon/styles.css" rel="stylesheet" type="text/css">
    <link href="assets/css/bootstrap.css" rel="stylesheet" type="text/css">
    <link href="assets/css/core.css" rel="stylesheet" type="text/css">
    <link href="assets/css/components.css" rel="stylesheet" type="text/css">
    <link href="assets/css/colors.css" rel="stylesheet" type="text/css">
    <link href="assets/css/icons/fontawesome/styles.min.css" rel="stylesheet" type="text/css">
    <!-- /global stylesheets -->

    <!-- Core JS files -->
    <script type="text/javascript" src="assets/js/plugins/loaders/pace.min.js"></script>
    <script type="text/javascript" src="assets/js/core/libraries/jquery.min.js"></script>
    <script type="text/javascript" src="assets/js/core/libraries/bootstrap.min.js"></script>
    <script type="text/javascript" src="assets/js/plugins/loaders/blockui.min.js"></script>
    <!-- /core JS files -->

    <!-- Theme JS files -->
    <script type="text/javascript" src="assets/js/plugins/visualization/d3/d3.min.js"></script>
    <script type="text/javascript" src="assets/js/plugins/visualization/d3/d3_tooltip.js"></script>
    <script type="text/javascript" src="assets/js/plugins/forms/styling/switchery.min.js"></script>
    <script type="text/javascript" src="assets/js/plugins/forms/styling/uniform.min.js"></script>
    <script type="text/javascript" src="assets/js/plugins/forms/selects/bootstrap_multiselect.js"></script>
    <script type="text/javascript" src="assets/js/plugins/ui/moment/moment.min.js"></script>
    <script type="text/javascript" src="assets/js/core/app.js"></script>


    <!--<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.min.js"></script>-->
    <!-- /theme JS files -->
    <!-- MY FILES -->
    <script src="MyScript/main.js?a=<?= mt_rand(); ?>" type="text/javascript"></script>
    <link href="styles/main.css?a=<?= mt_rand(); ?>" rel="stylesheet" />
    <link href="assets/css/select2.min.css" rel="stylesheet" />
    <!--<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/select2.min.css" rel="stylesheet" />-->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/js/select2.min.js"></script>
    <script src="js/searchsel.js" type="text/javascript"></script>


    <script>
        $(document).ready(function () {
            //                $('[data-toggle="tooltip"]').tooltip(); 
            $(".focusfield").focus();

            <?php
            if ($addflag != 1) {
                ?>
                $('body').find('.form').attr('disabled', 'disabled');
                <?php
            }
            ?>
            $("#edit").click(function () {
                $('body').find('.form').removeAttr('disabled', 'disabled');
                $(".focusfield").focus();
                $('body').find('.buttonform').removeAttr('style');
                $('#hprevious, #hnext, #hsearch, #hprint, #hadd, #hedit, #hdelete, #hexit, #scancbill').hide();
                $('#ssubmit, #scancel').show();
                $(".remove").show();
            });

            // FOR THE DESKTOP SITE EVEN IN THE MOBILE BY DEFAULT - BY ALI .. 
            // if ($(window).width() < 768) { 
            //     $('body').addClass('desktop-mode');
            //     $('meta[name="viewport"]').attr('content', 'width=1024, initial-scale=0.1');
            // }
        });
    </script>

    <!-- Keyboard Shortcut Js File -->
    <script type="text/javascript" src="MyScript/shortkeys.js?a=<?= mt_rand(); ?>"></script>

    <style>
        .buttonsk {
            align-items: center;
            appearance: none;
            background: transparent;
            border: 3px solid #963634;
            border-radius: 6px;
            box-sizing: border-box;
            color: #963634;
            cursor: pointer;
            display: inline-flex;
            font-family: "JetBrains Mono", monospace;
            height: 38px;
            width: 150px;
            justify-content: center;
            line-height: 1;
            list-style: none;
            overflow: hidden;
            padding-left: 16px;
            padding-right: 16px;
            position: relative;
            text-align: left;
            text-decoration: none;
            transition: box-shadow .15s, transform .15s;
            user-select: none;
            -webkit-user-select: none;
            touch-action: manipulation;
            white-space: nowrap;
            will-change: box-shadow, transform;
            font-size: 18px;
        }

        .buttonsk:active {
            box-shadow: #963634 0 3px 7px inset;
            transform: translateY(2px);
        }

        a:hover {
            color: #963634;
            text-decoration: none;
        }
    </style>