
<style type="text/css">
.modal-header .close {
    margin-top: -24px;
    float: left;
}
</style>

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

        <ol class="breadcrumb">
            <li><a href="#">زيارات المندوبين   </a></li>
            <li><a href="visitcases.php?do=show">عرض حالات الزياره </a></li>
            <li class="active">عرض   </li>
        </ol>
        <div class="panel panel-default panel-m">
            <!-- Default panel contents -->
            <div class="panel-heading" style="padding:5px 15px 15px">
                <h3 class="panel-title" style="display: inline-block;"> عرض       </h3>
                <a href="{$youtubes[210]->url}" target="_blank" class="hidden-print"><img src="../views/default/assets/img/youtube.png" class="pull-left" alt="Youtube" style="width: 2%;"></a>
                <a href="visitcases.php" class="hidden-print"><input type="button" style="margin-left: 12px" id="submit"  class="btn btn-primary pull-left " value="إضافة جديد"/></a>
            </div>
            
            <hr/>

          

            <table class="table table-black" id="getajaxdata" 
            data-controll="visitcases.php?do=showajax">
                <thead>
                  
                    <tr>
                        <th style="width:50px;">م</th>
                        <th>الحاله</th>
                       
                        <th>المستخدم</th>
                        <th class="noprint">تعديل</th>
                        <th class="noprint">حذف</th>
                    </tr>
                </thead>
                <tbody>

                </tbody>
            </table>





            <div class="clearfix"></div>


           


        </div>



    </div>

</div>

<div class="modal fade" id="Modalmaintenancecenterid" tabindex="-1" role="dialog" aria-labelledby="ModalmaintenancecenteridLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h3 class="modal-title" id="ModalmaintenancecenteridLabel"> اضافة </h3>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <form class="form-horizontal"  action="maintenances.php"  id="formmaintenancecenters" 
        method="post"  enctype="multipart/form-data" data-dosave="?do=savecenter"  data-direction="">

            <div class="form-group">
                <label for="recipient-name" class="col-form-label">  اسم المركز    </label>
                    <input    required="required"    type="text" name="centername" 
                    class="form-control checkcolumn"  placeholder="اسم المركز "  
                    data-table="maintenancecenters" data-filter=" centername = ? and conditions = 0 " 
                    data-tableid="" data-parentid="" data-parentcol="" />
            </div>
            <div class="form-group">
                <label for="recipient-name" class="col-form-label">المحمول</label>
                    <input    required="required"    type="text" name="centerphone" 
                     class="form-control checkcolumn nummbers" placeholder=" المحمول   "  
                     data-table="maintenancecenters" data-filter=" centerphone = ? and conditions = 0 "  data-tableid=""
                    data-parentid="" data-parentcol=""/>
            </div>
            <div class="form-group">
                <label for="recipient-name" class="col-form-label">الارضى</label>
                    <input    required="required"    type="text" name="centermobile" 
                     class="form-control checkcolumn nummbers" placeholder=" الارضى " 
                     data-table="maintenancecenters" data-filter=" centermobile = ? and conditions = 0 "  data-tableid=""
                    data-parentid="" data-parentcol=""/>    
            </div>
            <div class="form-group">
                <label for="recipient-name" class="col-form-label">العنوان</label>
                    <input    required="required"    type="text" name="centeraddress" 
                     class="form-control" placeholder=" العنوان   "  
                     data-table="maintenancecenters" data-filter=""  data-tableid=""
                    data-parentid="" data-parentcol=""/>
            </div>
            <div class="form-group">
                <label for="recipient-name" class="col-form-label">اسم المسئول </label>
                    <input    required="required"    type="text" name="administrator" 
                     class="form-control" placeholder=" اسم المسئول  " 
                     data-table="maintenancecenters" data-filter=""  data-tableid=""
                    data-parentid="" data-parentcol=""/>    
            </div>
            <div class="form-group">
                <label for="recipient-name" class="col-form-label">تليفونه </label>
                    <input    required="required"    type="text" name="administratorphone" 
                     class="form-control" placeholder=" تليفونه " 
                     data-table="maintenancecenters" data-filter=""  data-tableid=""
                    data-parentid="" data-parentcol=""/>    
            </div>
            <div class="form-group">
                <label for="recipient-name" class="col-form-label">الدين الحالى</label>
                    <input    required="required"    type="text" name="administratordebt" 
                     class="form-control  nummbers" placeholder=" الدين الحالى " 
                     data-table="maintenancecenters" data-filter=""  data-tableid=""
                    data-parentid="" data-parentcol=""/>    
            </div>
           
          <input id="popmaintenancecenters" type="hidden" name="maintenancecenterid" value=""  />
          <input id="itrmaintenancecenters" type="hidden" name="selectitr" value=""  />

        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">الغاء</button>
        <button type="button" class="btn btn-primary saveformajax" data-form="formmaintenancecenters"> حفظ</button>
      </div>
    </div>
  </div>
</div>




<div class="modal fade" id="Modalmaintenancecommentid" tabindex="-1" role="dialog" aria-labelledby="ModalmaintenancecommentidLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h3 class="modal-title" id="ModalmaintenancecommentidLabel"> اضافة </h3>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <form class="form-horizontal"  action="maintenances.php"  id="formmaintenancecomments" 
        method="post"  enctype="multipart/form-data" data-dosave="?do=savecomment"  data-direction="">

            <div class="form-group">
                <label for="recipient-name" class="col-form-label"> التعليق    </label>
                    <input    required="required"    type="text" name="comments" 
                    class="form-control"  placeholder="التعليق"  
                    data-table="" data-filter="" 
                    data-tableid="" data-parentid="" data-parentcol="" />
            </div>
           
          <input id="popmaintenancecomments" type="hidden" name="maintenancecommentid" value=""  />
          <input id="itrmaintenancecomments" type="hidden" name="selectitr" value=""  />

        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">الغاء</button>
        <button type="button" class="btn btn-primary saveformajax" data-form="formmaintenancecomments"> حفظ</button>
      </div>
    </div>
  </div>
</div>
