<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js">
    <!--<![endif]-->
    <!-- BEGIN HEAD -->

    <head>
        <meta charset="utf-8"/>


        <title>{if !empty($patientName)}{$patientName}{else}Royal med  {/if}</title>

        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta content="width=device-width, initial-scale=1" name="viewport"/>
        <meta content="Aw | Admin Dashboard Template" name="description"/>
        <meta content="ahmed.arabway.net" name="author"/>
        <!-- BEGIN GLOBAL MANDATORY STYLES -->
        <!--<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&amp;subset=all" rel="stylesheet" type="text/css"/>-->
        <link href="{$path}/_assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css"/>
        <!-- END GLOBAL MANDATORY STYLES -->
        <!-- BEGIN PAGE LEVEL PLUGIN STYLES -->
        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/dropzone/css/dropzone.css"/>
        <link href="{$path}/_assets/global/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css"/>
        <!--        <link href="{$path}/_assets/global/plugins/fullcalendar/fullcalendar.min.css" rel="stylesheet" type="text/css"/>-->
        <link href="{$path}/_assets/global/plugins/fullCalendar/main.min.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/global/plugins/jqvmap/jqvmap/jqvmap.css" rel="stylesheet" type="text/css"/>
        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/select2/select2.css"/>
        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/jquery-multi-select/css/multi-select.css"/>
        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/jquery-nestable/jquery.nestable.css"/>
        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/bootstrap-toastr/toastr.min.css"/>
        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css"/>
        <!--<link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/bootstrap-datepicker/css/datepicker3.css"/>-->
        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css"/>
        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/bootstrap-select/bootstrap-select.min.css"/>

        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css"/>
        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/bootstrap-timepicker/css/bootstrap-timepicker.min.css"/>

        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/datatables/extensions/Scroller/css/dataTables.scroller.min.css"/>
        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/datatables/extensions/ColReorder/css/dataTables.colReorder.min.css"/>
        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css"/>
        <link rel="stylesheet" type="text/css" href="{$path}/_assets/global/plugins/datatables/extensions/Buttons-1.6.2/css/buttons.dataTables.css"/>

        <!-- END PAGE LEVEL PLUGIN STYLES -->
        <!-- BEGIN PAGE STYLES -->
        <link href="{$path}/_assets/admin/pages/css/tasks.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/admin/pages/css/login.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/admin/pages/css/error.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/admin/pages/css/news.css" rel="stylesheet" type="text/css"/>
        <!-- END PAGE STYLES -->
        <!-- BEGIN THEME STYLES -->
        <!-- DOC: To use 'rounded corners' style just load 'components-rounded.css' stylesheet instead of 'components.css' in the below style tag -->
        <link href="{$path}/_assets/global/css/components-md.css" id="style_components" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/global/css/plugins-md.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/admin/layout/css/layout.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/admin/layout/css/themes/grey.css" rel="stylesheet" type="text/css" id="style_color"/>
        <link href="{$path}/_assets/admin/layout/css/custom.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/custom/custom.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/_assets/custom/fonts/stylesheet.css" rel="stylesheet" type="text/css"/>
        <!-- END THEME STYLES -->
        <link rel="shortcut icon" href="{$path}/_assets/admin/img/favicon.ico"/>

        {if $controllname == 'sonar' || $controllname == 'operationreport' }
        <link href="{$path}/_assets/custom/w3.css" rel="stylesheet" type="text/css"/>
        {/if}
        <link href="{$path}/_assets/global/plugins/bootstrap-sweetalert/sweetalert.css" rel="stylesheet" type="text/css" />
        <link href="{$path}/_assets/global/plugins/icheck/skins/all.css" rel="stylesheet" type="text/css" />

        <!--aw drag to GTimage-->

        <link href="{$path}/aw/css/style.css" rel="stylesheet" type="text/css"/>
        <link href="{$path}/aw/ui/jquery-ui.css" rel="stylesheet" type="text/css"/>
        <script src="{$path}/aw/js/jquery-1.8.3.min.js"></script>
        <script src="{$path}/aw/js/jquery-ui-1.9.2.custom.min.js"></script>
        <script src="{$path}/aw/js/html2canvas.js"></script>
        <script src="{$path}/aw/js/printx.js"></script>
        <script src="{$path}/aw/ui/jquery-ui.js"></script>

        <script type="text/javascript" src="{$path}/aw/awdrag/js/awdrag.js"></script>
        <link  href="{$path}/aw/awdrag/css/awdrag.css" rel="stylesheet" type="text/css"/>

        <!-- Multi upload section -->
        <!-- Generic page styles -->
        <link rel="stylesheet" href="{$path}/_assets/global/plugins/multiupload/css/style.css">
        <!-- blueimp Gallery styles -->
        <link rel="stylesheet" href="{$path}/_assets/global/plugins/multiupload/css/blueimp-gallery.min.css">
        <!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
        <link rel="stylesheet" href="{$path}/_assets/global/plugins/multiupload/css/jquery.fileupload.css">
        <link rel="stylesheet" href="{$path}/_assets/global/plugins/multiupload/css/jquery.fileupload-ui.css">
        <!-- CSS adjustments for browsers with JavaScript disabled -->
        <noscript><link rel="stylesheet" href="{$path}/_assets/global/plugins/multiupload/css/jquery.fileupload-noscript.css"></noscript>
        <noscript><link rel="stylesheet" href="{$path}/_assets/global/plugins/multiupload/css/jquery.fileupload-ui-noscript.css"></noscript>
        <!-- end Multi upload section -->
    </head>
    <!-- END HEAD -->