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

        <ol class="breadcrumb">
            <li><a href="#">العيادات</a></li>
            <li><a href="rb_doc_kashf.php?do=">كشف</a></li>
            <li class="active"> عرض الكشوفات</li>
        </ol>


        <div class="panel panel-default panel-m">
            <div class="panel-heading">
                <h3 class="panel-title"> تفاصيل الكشف</h3>
            </div>
            <div class="panel-body">


                <form class="nameToBeChecked form-horizontal" enctype="multipart/form-data" role="form" action="rb_doc_kashf.php?do=edit" method="post" >






                    <div class="form-group">




                        <div class="form-group">
                            <label class="col-lg-6 control-label">اسم العميل : {$custname->clientname} </label>
                        </div>

                        <div class="form-group">
                            <label class="col-lg-6 control-label">اسم الطبيب : {$docName->username} </label>
                        </div>
                        <!-- =================== input hidden ==============================   -->

                        <input type="hidden" name="kasfid" value=" {$myalldata->id} "/>

                        <!-- =================== input hidden ==============================   -->



                        <div class="form-group">

                            <div class="col-lg-6">


                                <table class="table-black">
                                    <tr>

                                        <td style="padding-right: 259px;padding-top: 30px;font-size: 20px;padding-bottom: 13px;" colspan="6"> <label class="sr-only">Left Eye</label> </td>

                                    </tr>
                                    <tr>

                                        <td></td>
                                        <td style="padding-right: 36px;" > <label class="sr-only">L-va</label> </td>

                                        <td style="padding-right: 36px;" > <label class="sr-only">L-prism</label> </td>

                                        <td style="padding-right: 36px;" > <label class="sr-only">L-axis</label> </td>

                                        <td style="padding-right: 22px;" > <label class="sr-only">L-cylinder</label> </td>

                                        <td style="padding-right: 22px;" >   <label class="sr-only">L-sphere</label> </td>


                                    </tr>
                                    <tr>


                                        <td> <label class="sr-only">المسافة</label> </td>

                                        <td> <input value="{if $myalldata->ldva >0}{/if}{$myalldata->ldva}" disabled  type="text" name="D_Lva" id="customer_name"   class="form-control" /></td>

                                        <td> <input value="{if $myalldata->ldprism >0}{/if}{$myalldata->ldprism}" disabled  type="text" name="D_Lprism" id="customer_name"   class="form-control" /></td>

                                        <td> <input value="{$myalldata->ldaxis}" disabled  type="text" name="D_Laxis" id="customer_name"    class="form-control" /></td>

                                        <td> <input value="{if $myalldata->ldcylinder >0}{/if}{$myalldata->ldcylinder}" disabled  type="text" name="D_Lcylinder" id="customer_name"  class="form-control" /></td>

                                        <td> <input value="{if $myalldata->ldsphere >0}{/if}{$myalldata->ldsphere}" disabled type="text" name="D_Lsphere"  class="form-control" /></td>

                                    </tr>
                                    <tr>


                                        <td> <label class="sr-only">القراءة</label> </td>




                                        <td> <input value="{if $myalldata->lnva >0}{/if}{$myalldata->lnva}" disabled   type="text" name="N_Lva" id="customer_name"    class="form-control" /></td>

                                        <td> <input value="{if $myalldata->lnprism >0}{/if}{$myalldata->lnprism}" disabled   type="text" name="N_Lprism" id="customer_name"   class="form-control" /></td>

                                        <td> <input value="{$myalldata->lnaxis}" disabled   type="text" name="N_Laxis" id="customer_name"   class="form-control" /></td>

                                        <td> <input value="{if $myalldata->lncylinder >0}{/if}{$myalldata->lncylinder}" disabled   type="text" name="N_Lcylinder" id="customer_name"   class="form-control" /></td>

                                        <td> <input  value="{if $myalldata->lnsphere >0}{/if}{$myalldata->lnsphere}" disabled   type="text" name="N_Lsphere" id="customer_name"  class="form-control" /></td>

                                    </tr>
                                </table>
                            </div>


                            <!-- Left table -->


                            <div class="col-lg-6">



                                <table class="table-black">
                                    <tr>

                                        <td  style="padding-right: 194px;padding-top: 30px;font-size: 20px;padding-bottom: 13px;" colspan="6"> <label class="sr-only">Right Eye</label>  </td>

                                    </tr>
                                    <tr>


                                        <td style="padding-right: 36px;" > <label class="sr-only">R-va</label> </td>
                                        <td style="padding-right: 36px;" > <label class="sr-only">R-prism</label> </td>

                                        <td style="padding-right: 36px;" > <label class="sr-only">R-axis</label> </td>

                                        <td style="padding-right: 22px;" > <label class="sr-only">R-cylinder</label> </td>

                                        <td style="padding-right: 22px;" > <label class="sr-only">R-sphere</label> </td>

                                        <td></td>

                                    </tr>
                                    <tr>


                                        <td>  <input value="{if $myalldata->rdva >0}{/if}{$myalldata->rdva}" disabled  type="text" name="D_Rva" id="customer_name"   class="form-control" /></td>


                                        <td> <input value="{if $myalldata->rdprism >0}{/if}{$myalldata->rdprism}" disabled  type="text" name="D_Rprism" id="customer_name"   class="form-control" /></td>

                                        <td> <input  value="{$myalldata->rdaxis}" disabled type="text" name="D_Raxis" id="customer_name"   class="form-control" /></td>

                                        <td>  <input value="{if $myalldata->rdcylinder >0}{/if}{$myalldata->rdcylinder}" disabled  type="text" name="D_Rcylinder" id="customer_name"   class="form-control" /></td>

                                        <td> <input  value="{if $myalldata->rdsphere >0}{/if}{$myalldata->rdsphere}" disabled  type="text" name="D_Rsphere" id="customer_name"  class="form-control" /></td>

                                        <td> <label style="    margin-left: 21px;" class="sr-only">Distance</label> </td>
                                    </tr>
                                    <tr>


                                        <td>   <input  value="{if $myalldata->rnva >0}{/if}{$myalldata->rnva}" disabled type="text" name="N_Rva" id="customer_name"   class="form-control" /></td>
                                        <td> <input value="{if $myalldata->rnprism >0}{/if}{$myalldata->rnprism}" disabled  type="text" name="N_Rprism" id="customer_name"    class="form-control" /></td>

                                        <td> <input value="{$myalldata->rnaxis}" disabled  type="text" name="N_Raxis" id="customer_name"    class="form-control" /></td>

                                        <td>  <input value="{if $myalldata->rncylinder >0}{/if}{$myalldata->rncylinder}" disabled  type="text" name="N_Rcylinder" id="customer_name"  class="form-control" /></td>

                                        <td>  <input value="{if $myalldata->rnsphere >0}{/if}{$myalldata->rnsphere}" disabled  type="text" name="N_Rsphere" id="customer_name"    class="form-control" /></td>

                                        <td> <label style="    margin-right: 24px;" class="sr-only">Near</label> </td>

                                    </tr>
                                </table>



                            </div>


                            <div class="col-lg-5" style="padding-left: 0px;">
                                <table style="border: 1px solid black;margin-right:52px;width: 85%;" class="table-black">
                                    <tr>
                                        <td style="padding-right: 70px;padding-top: 10px;border: 1px solid black;" ><label class="sr-only">Add</label> </td>
                                        <td style="padding-right: 70px;padding-top: 10px;border: 1px solid black;" > <label class="sr-only">Biofocal</label> </td>
                                    </tr>
                                    <tr>
                                        <td style="border: 1px solid black;"> <input   type="text" name="ladd" disabled value="{if $myalldata->ladd >0}{/if}{$myalldata->ladd}"   class="form-control" /></td>
                                        <td style="border: 1px solid black;"> <input   type="text" name="lbiofocal" disabled  value="{if $myalldata->lbiofocal >0}{/if}{$myalldata->lbiofocal}"   class="form-control" /></td>
                                    </tr>
                                </table>
                            </div>

                            <div class="col-lg-3">
                                <table style="border: 1px solid black; margin-top: 5px;width: 100%;" class="table-black">
                                    <tr>
                                        <td style="border: 1px solid black;">  <input   type="text" name="pd" disabled value="{$myalldata->pd}"   class="form-control" /></td>
                                        <td style="border: 1px solid black;text-align: left;"> <label style="margin: 5px;" class="sr-only">PD</label> </td>
                                    </tr>
                                    <tr>
                                        <td style="border: 1px solid black;">  <input   type="text" name="bvd" disabled value="{$myalldata->bvd}"   class="form-control" /></td>
                                        <td style="border: 1px solid black; text-align: left;"> <label style="margin: 5px;" class="sr-only">BVD</label> </td>
                                    </tr>
                                </table>
                            </div>

                            <div class="col-lg-4">
                                <table style="border: 1px solid black;margin-left: 76px;margin-right: -5px;" class="table-black">
                                    <tr>
                                        <td style="padding-right: 45px;padding-top: 10px;border: 1px solid black;" ><label class="sr-only">Add</label> </td>
                                        <td style="padding-right: 45px;padding-top: 10px;border: 1px solid black;" > <label class="sr-only">Biofocal</label> </td>
                                    </tr>
                                    <tr>
                                        <td style="border: 1px solid black;"> <input   type="text" name="radd" disabled value="{if $myalldata->radd >0}{/if}{$myalldata->radd}"   class="form-control" /></td>
                                        <td style="border: 1px solid black;"> <input   type="text" name="rbiofocal" disabled value="{if $myalldata->rbiofocal >0}{/if}{$myalldata->rbiofocal}"    class="form-control" /></td>
                                    </tr>
                                </table>
                            </div>

                            <div class="col-lg-12">
                                <table style="margin-top: 5px;width: 100%;border: 1px solid black;" class="table-black">
                                    <tr>
                                        <td style="border: 1px solid black;"> <label style="margin: 5px;" class="sr-only">ملاحظات</label> </td>
                                        <td style="border: 1px solid black;">  <input   type="text" disabled name="notes" value="{$myalldata->notes}"    class="form-control" /></td>
                                    </tr>

                                </table>
                            </div>
                        </div>


                        <!-- =================================================   -->


                        <!--
                                            <div class="form-group">
                                                <div class="col-lg-offset-2 col-lg-4">
                                                    <button type="submit"  class="btn btn-primary pull-left">تعديل </button>
                                                </div>
                                            </div>-->

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




    </div>
</div>



{literal}

<script type="text/javascript">
    var name = new Spry.Widget.ValidationTextField("name");
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "real");
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {invalidValue: "-1"});



</script>
<script type="text/javascript">
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
</script>
{/literal}


