<script type="text/javascript">

    $(document).ready(function() {
        $("#date, #date2,#date3,#date4").datepicker();
        $("#date,#date2,#date3,#date4 ").datepicker("option", "dateFormat", "yy/mm/dd");

        var d = new Date();
        var twoDigitMonth = (d.getMonth() + 1) + "";
        if (twoDigitMonth.length == 1)
            twoDigitMonth = "0" + twoDigitMonth;
        var twoDigitDate = d.getDate() + "";
        if (twoDigitDate.length == 1)
            twoDigitDate = "0" + twoDigitDate;
        var todaysM = d.getFullYear() + "/" + twoDigitMonth + "/" + twoDigitDate;
        if ($("#date,#date2,#date3,#date4").val() == "") {
            $("#date,#date2,#date3,#date4").val(todaysM);
        }
    });

</script>
<!-- Form Start -->
<div class="block">
    <div class="title lightTextShadow">تقرير الإستمارات الطبية</div>
    <div class="content">
        <?php echo form_open('users/admin_users/search_adv', array('id' => 'user_new')) ?>
        <fieldset class="form boxStyle">
            <?php echo $this->template->flash_msg(); ?>
            <div class="inlineBlock">
                <label for="user_full_name" class="label" >اسم الموظف :</label>
                <input id="user_full_name" class="textBox med2 rnd5" name="user_full_name" value="<?= set_value('user_full_name') ?>"/><br />

                <label for="user_email" class="label">  البريد الإلكتروني :</label>
                <input id="user_email" class="textBox med2 rnd5" name="user_email" value="<?= set_value('user_email') ?>"/><br />
                <label for="user_phone" class="label">رقم الهاتف :</label>
                <input id="user_phone" class="textBox med2 rnd5" name="user_phone" value="<?= set_value('user_phone') ?>"/><br />

                <label class="label">الفرع :</label>
                <?php echo form_dropdown('user_branch_id', $branch_category, '', 'class="select med3 rnd5"'); ?> <br />
                <?php echo form_error('user_branch_id'); ?>


            </div>
            <div class="center">
                <input id="submit" type="reset" value="تفريغ الحقول" class="button sub inlineBlock rnd3 lightTextShadow" />
                <input id="submit2" type="submit" value="طباعة" class="button sml inlineBlock rnd5 drkTextShadow" />
            </div>
        </fieldset>
        </form>
    </div>
</div><!-- Form End -->