<?php /* Smarty version Smarty-3.1.11, created on 2025-06-10 15:27:14
         compiled from "../views/obgy/instruction/add.html" */ ?>
<?php /*%%SmartyHeaderCode:490416289684824a22fc3f6-74998227%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '71653b16e03a209498060854bb19d4a2af315145' => 
    array (
      0 => '../views/obgy/instruction/add.html',
      1 => 1477471866,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '490416289684824a22fc3f6-74998227',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'patientId' => 0,
    'hosturl' => 0,
    'controllname' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_684824a2420751_29965037',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_684824a2420751_29965037')) {function content_684824a2420751_29965037($_smarty_tpl) {?>
<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-user"></i>instruction
                        </div>
                    </div>
                    <div class="portlet-body">

                        <!--Begin Semen-->

                        <div class="row">


                            <div class="portlet-title tbox">
                                <div class="caption font-blue-haze col-md-6">
                                    <span class="caption-subject bold uppercase">Add instruction</span>
                                </div>

                            </div>

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

                            <?php if ($_smarty_tpl->tpl_vars['patientId']->value){?>
                            <form action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=addit&patientid=<?php echo $_smarty_tpl->tpl_vars['patientId']->value;?>
" method="post" class="clinick">
                                <?php }else{ ?>
                                <form action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=addit" method="post" class="clinick">
                                    <?php }?>
                                    <div class="form-body">


                                        <div class="form-group ">
                                            <label class="col-md-2 txtl" for="form_control_1">File Name</label>
                                            <div class="col-md-10">
                                                <input type="text" class="form-control" id="form_control_1" placeholder="Enter Name" name="name" required>
                                                <div class="form-control-focus">
                                                </div>

                                            </div>
                                        </div>

                                        <div class="form-group ">
                                            <label class="col-md-2 txtl" for="form_control_1">Content</label>
                                            <div class="col-md-10">
                                                <textarea class="form-control has-info ckeditor" rows="3" placeholder="Enter more text" name="content" required></textarea>
                                                <div class="form-control-focus">
                                                </div>
                                            </div>
                                        </div>

                                    </div>




                                    <div class="form-actions">
                                        <div class="row">
                                            <div class="col-md-offset-2 col-md-10">
                                                <?php if ($_smarty_tpl->tpl_vars['patientId']->value){?>
                                                <a class="btn default" href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=show&patientid=<?php echo $_smarty_tpl->tpl_vars['patientId']->value;?>
">Cancel</a>
                                                <?php }else{ ?>
                                                <a class="btn default" href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=show">Cancel</a>
                                                <?php }?>

                                                <button type="submit" class="btn blue">Submit</button>

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

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

            <div class="bootbox modal fade bootbox-alert in" tabindex="-1" role="dialog" aria-hidden="false"  id="edit_model">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                            <h4 class="modal-title"> Edit </h4>
                        </div>
                        <div class="modal-body">
                            <div class="portlet-body form">
                                <form action="" id="" method="post" class="form-horizontal  emptyform" >
                                    <div class="form-body all" >
                                        <!------===========================================------->
                                        <div class="form-group">
                                            <label class="col-md-1 control-label"> </label>
                                            <div class="col-md-10">
                                                <div id="alldatadiv" class="" > </div>
                                            </div>
                                            <label class="col-md-1 control-label"> </label>
                                        </div>

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

                                        <!------===========================================------->
                                        <div class="modal-footer">

                                            <button type="button" id="amountcloseinput"   class="btn default" data-dismiss="modal">Close</button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                        <!-- /.modal-content -->
                    </div>
                </div>
            </div>



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


<?php }} ?>