<!--<!DOCTYPE html>
<html>
    <head>
        <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">
         Bootstrap 
        <link href="{$path}/assets/css/bootstrap.min.css" rel="stylesheet" media="screen">
         Custom styles for project 
        <link href="{$path}/assets/css/store.css" rel="stylesheet">
        <link href="{$path}/assets/css/default.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">
        <script src="../../SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
        <link href="../../SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css">
    </head>
    <body class="usedfont back_login">
        <div class="container">

            <div class="row mgtop50 logintop">
                <h3 class="text-center" style="margin-bottom:15px;margin-right:50px">البسيط للمحاسبه</h3>

                <div class="col-lg-5 col-lg-offset-4">
                    <div class="panel panel_login">
                        <div class="panel-heading loginpanel">
                            <h3 class="panel-title">تسجيل الدخول</h3>
                        </div>
                        <form class="form-horizontal" action="login.php?do=en" method="post">
                            <div class="form-group">
                                <label for="username" class="col-lg-4 control-label">اسم الدخول</label>
                                <div class="col-lg-8"> <span id="usernamevaild">
                                        <input type="text" class="form-control" id="username" name="username" placeholder="اسم الدخول">
                                        <span class="textfieldRequiredMsg">*</span></span> </div>
                            </div>
                            <div class="form-group">
                                <label for="password" class="col-lg-4 control-label">كلمة المرور</label>
                                <div class="col-lg-8"> <span id="passwordvaild">
                                        <input type="password" class="form-control" id="password" name="password" placeholder="كلمة المرور">
                                        <span class="textfieldRequiredMsg">*</span></span> </div>
                            </div>

                            <div class="form-group">
                                <label class="col-lg-4 control-label">قاعدة البيانات</label>
                                <div class="col-lg-8">
                                    <span id="spryselect1">
                                        <select name="db" id="db" class="select2 wdt100" placeholder="اختر قاعدة البيانات">
                                            {assign var=bar value=1}
                                            {section name=i loop=$databases}

                                            <option value="{$databases[i]}" {if $bar == 1}selected="selected" {/if}>{$databases[i]}</option>

                                            {assign var=bar value=$bar+1}
                                            {/section}


                                        </select>
                                        <span class="selectRequiredMsg">*</span></span></div>
                            </div>

                            <div class="form-group">
                                <div class="col-lg-offset-2 col-lg-10">
                                    <button type="submit" class="btn btn-default pull-left submit">دخول</button>
                                </div>
                            </div>
                        </form>
                    </div>
                    <span class="help-block">جميع الحقوق محفوظة لشركة GT4 للبرمجيات.</span> </div>
            </div>
        </div>

         JavaScript plugins (requires jQuery)
            <script src="http://code.jquery.com/jquery.js"></script>
        <script src="{$path}/assets/js/jquery.js"></script>
         Include all compiled plugins (below), or include individual files as needed 
        <script src="{$path}/assets/js/bootstrap.min.js"></script>

         Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) 
        <script src="{$path}/assets/js/respond.min.js"></script>

         valadition 
        <script src="{$path}/assets/js/validtextfield.js"></script>
        <script src="{$path}/assets/js/validselect.js"></script>
        <script src="{$path}/assets/js/validtextarea.js"></script>
        <script type="text/javascript">
            var usernamevaild = new Spry.Widget.ValidationTextField("usernamevaild");
            var passwordvaild = new Spry.Widget.ValidationTextField("passwordvaild");
            var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
        </script>
    </body>
</html>-->


<div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#">{$title1}</a></li>
            <li><a href="{$link}">{$title2}</a></li>
            <li class="active">{$title3}</li>
        </ol>


        <div class="panel panel-default panel-m">
            <div class="panel-heading">
                <h6 class="text-center"><strong id="show_hide"> بحث عام الصيانة <img src="{$path}/assets/img/collapse.png" alt="" style="width: 15px;height: 11px"/></strong> </h6>

            </div>
            <div class="panel-body" id="myGeneralSearch" style="display:block">
                <form class="form-inline hidden-print " action="generalSearch.php?do=all" method="post">

                    <div class="form-group">
                        <label class="sr-only"> البحث عن طريق</label>
                        <select class="select2 wdt100"  name="using" id="using">
                            <option></option>
                            <option value="1"> سيريال الفاتورة</option>
                            <option value="2"> سيريال القطعة</option>
                            <option value="3"> السيريال الخاص</option>
                            <option value="4"> اسم العميل</option>
                            <option value="5"> رقم تليفون العميل</option>
                        </select>
                    </div>

                    <div class="form-group wdt300">
                        <!--<input type="text" class="form-control" name="find" id="find" placeholder="البيانات" >-->
                        <label class="sr-only"> اختر</label>
                        <input tabindex="-1" class="wdt300" name="myList" id="myList" data-placeholder=" " type="hidden">
                    </div>

                    <div class="form-group">
                        <label class="sr-only"> النوع</label>
                        <select class="select2 wdt300"  name="type" id="type">
                            <option></option>
                            <option value="1"> مجمل</option>
                            <option value="2"> مفصل</option>
                        </select>
                    </div>

                    <div class="form-group">
                        <label class="sr-only"> اظهار المنتجات المنتهية
                            <input name="showEnded" type="checkbox" value="1" /></label>
                    </div>



                    <button type="submit" class="btn btn-primary">بحث</button>

                </form>
                <br/>
            </div>
        </div>
    </div>
</div>