<?php
$spec = $_SESSION["spltype_" . $dbname];
?>
<!DOCTYPE html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php Echo $project_title; ?></title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <!-- Favicon -->
    <link rel="icon" type="image/x-icon" href="images/evalogo.ico">

    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="assets_msg/plugins/bootstrap/css/bootstrap.min.css">
    <!-- Font Icons -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="assets_msg/css/simple-line-icons.css">
    <!-- CSS Animate -->
    <link rel="stylesheet" href="assets_msg/css/animate.css">
    <!-- Switchery -->
    <link rel="stylesheet" href="assets_msg/plugins/switchery/switchery.min.css">
    <!-- Custom styles for this theme -->
    <link rel="stylesheet" href="assets_msg/css/main.css">
    <!-- Fonts -->
    <!--    <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'>-->
    <!-- JQUERY CDN -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <!-- SELECT2 -->
    <link href="assets_msg/plugins/select2/select2.min.css" rel="stylesheet" />
    <script src="assets_msg/plugins/select2/select2.full.min.js"></script>
    <!-- DataTables-->
    <link rel="stylesheet" href="assets_msg/plugins/dataTables/css/dataTables.css">
    <!-- MY FILES -->
    <script src="MyScript/main.js" type="text/javascript"></script>
    <script src="MyScript/shortkeys.js" type="text/javascript"></script>
    <link href="MyStyle/main-css.css" rel="stylesheet" />
    <?php
    $bgclr = "#6c757d";
    ?>

    <style>

        #header .brand {
            float: left;
            width: 240px;
            min-height: 80px;
            padding: 0 0 0 10px;
            position: relative;
            background: <?= $bgclr; ?> 25px 26px;
        }
        .mySearchTr{
            background-color: <?= $bgclr; ?>;
        }
    </style>
    <script>
        $(document).ready(function () {

            $('form').on('keyup keypress', function (e) {
                var keyCode = e.keyCode || e.which;
                if (keyCode === 13) {
                    e.preventDefault();
                    return false;
                }
            });
<?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, #sdelotp').hide();
                $('#ssubmit, #scancel').show();
                $(".remove").show();
            });
        });
    </script>
<input type="hidden" name="menutype" class="menutype" value="<?= $_SESSION["menutype"] ?>">
