<!DOCTYPE html>
<html><head>
        {literal}
        <script type="text/javascript" charset="utf-8" src="media/js/jquery.js"></script>
        <style type="text/css" title="currentStyle">
            @import "media/css/demo_page.css";
            @import "media/css/demo_table.css";
            @import "media/css/TableTools.css";
            @import "media/css/ColVis.css";
        </style>
        <script src="mqttws31.js" type="text/javascript"></script>
        {/literal}

        <script src="{$path}/js/restaurantplaystationplaysocketjs.js" type="text/javascript"></script>

        <title>برنامج البسيط للمحاسبة</title>
        <meta charset="utf-8">
        <!-- read and write any langs -->
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <link rel="shortcut icon" href="{$path}/assets/2.ico" type="image/ico" />
        <!-- Favicons
                ================================================== -->
        <!--link rel="shortcut icon" href="assets/images/favicon/favicon.ico"-->

        <link rel="apple-touch-icon" href="assets/images/favicon/apple-touch-icon.png">
        <link rel="apple-touch-icon" sizes="72x72" href="assets/images/favicon/apple-touch-icon-72x72.png">
        <link rel="apple-touch-icon" sizes="114x114" href="assets/images/favicon/apple-touch-icon-114x114.png">

        <!-- Bootstrap -->
        <!--<link href="{$path}/assets/css/bootstrap.min.css" rel="stylesheet" media="screen">-->
        <!-- Bootstrap -->
        <link href="{$path}/assets/css/bootstrap-bill.css" rel="stylesheet" media="screen">




        <!-- clock face -->
        <link href="{$path}/assets/plugins/clockface/css/clockface.css" rel="stylesheet">
        <!-- datepicker -->
        <link href="{$path}/assets/plugins/datepicker/css/datepicker.css" rel="stylesheet">
        <!-- datetimepicker -->
        <link href="{$path}/assets/plugins/datepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
        <!-- calislamic -->
        <link rel="stylesheet" href="{$path}/assets/plugins/calislamic/humanity.calendars.picker.css">
        <!-- tree -->
        <link href="{$path}/assets/plugins/bootstrap-tree/css/bootstrap-tree-rtl.css" rel="stylesheet">
        <!-- tree new-->
        <!--link href="{$path}/assets/plugins/bootstrap-tree-new/css/bootstrap-combined.min.css" rel="stylesheet"-->
        <!-- select 2 -->
        <link href="{$path}/assets/plugins/select2/select2_metro_rtl.css" rel="stylesheet">
        <!-- valadition -->
        <link href="{$path}/assets/css/validtextfield.css" rel="stylesheet">
        <link href="{$path}/assets/css/validselect.css" rel="stylesheet">
        <link href="{$path}/assets/css/validtextarea.css" rel="stylesheet">
        <!-- valadition -->

        <link href="{$path}/assets/plugins/bootstrap-switch/css/bootstrap-switch-rtl.min.css" rel="stylesheet" type="text/css" />


        <link href="{$path}/assets/plugins/datatables/datatables.min.css" rel="stylesheet" type="text/css" />
        <link href="{$path}/assets/plugins/datatables/plugins/bootstrap/datatables.bootstrap-rtl.css" rel="stylesheet" type="text/css" />

        <!-- Custom styles for project -->
        <link href="{$path}/assets/css/store.css" rel="stylesheet">

        <!--<link href="{$path}/assets/css/style.css" rel="stylesheet">-->
        <link href="{$path}/assets/css/print.css" rel="stylesheet">

        {if $colortype == 0}
        <!-- white theme -->
        <link id="dark" href="" rel="stylesheet">
        {else}
        <!-- black theme -->
        <link id="dark" href="{$path}/assets/css/default.css" rel="stylesheet">
        {/if}

        <script src="{$path}/assets/js/validtextfield.js"></script>
        <script src="{$path}/assets/js/validselect.js"></script>
        <script src="{$path}/assets/js/validtextarea.js"></script>




        <link href="{$path}/assets/css/bill.css" rel="stylesheet">
        {if isset($billjs) && $billjs == 0}
        {else}
        <script type="text/javascript" src="{$path}/assets/js/bill.js"></script>
        {/if}


        <script type="text/javascript" charset="utf-8" src="media/js/jquery.dataTables.js"></script>
        <script type="text/javascript" charset="utf-8" src="media/js/ZeroClipboard.js"></script>
        <script type="text/javascript" charset="utf-8" src="media/js/TableTools.js"></script>
        <script type="text/javascript" charset="utf-8" src="media/js/ColVis.js"></script>
        <!--script src="media/js/jquery.dataTables.columnFilter.js" type="text/javascript"></script-->
        {if $copytype eq "1"}
        <script>
            setInterval(
                    (function () {
                        $("#mac").load("{$internalcopy}/test.php", "", function ()
                        {
                            //alert('dddd');
                        }
                        );
                    }), 30000);
        </script>
        {/if}



    </head>
    <!--<div id="mac" style="display:none"></div>-->
    <body class="usedfont" onload="init();">
        <input type="hidden" name="sui" id="sui" value="{$sessionUserId}"/>
        <div class="full-container">
            <input type="hidden" id="stopsessioncheck" value="1"/>
            {if $daysremaining neq "-1" &&(!isset($itIsMachine_NoLogin) && $itIsMachine_NoLogin neq 1)}
            <div class="remaindays">هذة نسخة تجريبية  باقي من  عدد الدخول <span class="ddd">{$daysremaining}</span>
                <a style="color:#0066FF !important;" href="../exper.html"> للترخيص اضغط هنا</a> او اتصل علي 00201110070880</div>
            {/if}
            <header class="masthead st-hbg noprint">
                <!--h1>برنامج البسيط للمحاسبة</h1>
                <p class="titleft">برمجة وتصميم شركة GT4</p-->
                {if $copytype eq "1"}
                <div style="width:100%;height:20px; background-color:red; float:left; color:white;text-align:center; font-weight:bold;"> تم تفعيل الخيار المحلي</div>
                {/if}
                <!--<img src="{$path}/images/img044.png" />-->
                <div class="logbutton">
                    <!--<a  href="#" class="pull-left btn-primary mgtp3 linkpad">يومية الخزنة </a> <span class="pull-left">&nbsp;</span>
              <a  href="#" class="pull-left btn-primary mgtp3 linkpad">إضافة فاتورة </a> <span class="pull-left">&nbsp;</span>
                  <a  href="logout.php" class="pull-left btn-danger mgtp3 linkpad">خروج </a> <span class="pull-left">&nbsp;</span>-->

                    <span class="pull-left">&nbsp;</span>
            </header>
            <div class="button-print">

            </div>
            {if !isset($itIsMachine_NoLogin) && $itIsMachine_NoLogin neq 1}
            <!--stop refreshing in case of socet onConnectionLost for printkitchen printer -->
            <form id="myForm" action='?'></form>
            {/if}
            <div class="clearfix"></div>



            <div class="bg-full">


