# require header ;
print <<ENDOFTEXT;
<!DOCTYPE html>
<html lang="en">
<head>    
    <meta charset="utf-8">
    <title>$useropts{title}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <!-- The styles -->
    <link href="$useropts{'css'}/bootstrap-itv.min.css" rel="stylesheet">
    <link href="$useropts{'css'}/custom-itv.css" rel="stylesheet">
    $extra_css
    <link href="$useropts{'css'}/charisma-app.css" rel="stylesheet">
    <link href="$useropts{'bower_components'}/fullcalendar/dist/fullcalendar.css" rel='stylesheet'>
    <link href="$useropts{'bower_components'}/fullcalendar/dist/fullcalendar.print.css" rel='stylesheet' media='print'>
    <link href="$useropts{'bower_components'}/chosen/chosen.min.css" rel='stylesheet'>
    <link href="$useropts{'bower_components'}/colorbox/example3/colorbox.css" rel='stylesheet'>
    <link href="$useropts{'bower_components'}/responsive-tables/responsive-tables.css" rel='stylesheet'>
    <link href="$useropts{'bower_components'}/bootstrap-tour/build/css/bootstrap-tour.min.css" rel='stylesheet'>
    <link href="$useropts{'css'}/jquery.noty.css" rel='stylesheet'>
    <link href="$useropts{'css'}/noty_theme_default.css" rel='stylesheet'>
    <link href="$useropts{'css'}/elfinder.min.css" rel='stylesheet'>
    <link href="$useropts{'css'}/elfinder.theme.css" rel='stylesheet'>
    <link href="$useropts{'css'}/jquery.iphone.toggle.css" rel='stylesheet'>
    <link href="$useropts{'css'}/uploadify.css" rel='stylesheet'>
    <link href="$useropts{'css'}/animate.min.css" rel='stylesheet'>
    <link href="$useropts{'css'}/bootstrap-dialog.css" rel='stylesheet'>
	<link href="$useropts{'css'}/bootstrap-datetimepicker.min.css" rel='stylesheet'>
    <link href="$useropts{'css'}/datepicker.css" rel='stylesheet'>
    $typeahead_css

    <!-- jQuery -->
    <script src="$useropts{'bower_components'}/jquery/jquery.min.js"></script>    
    
    <!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- The fav icon -->
    <link rel="shortcut icon" href="$useropts{'img'}/favicon.ico">
    
    <style>
        $useropts{'common'}{'css'}
    </style>
    
    <script>
        $fullcalendar_events
    </script>

</head>

<body $onload>


ENDOFTEXT
#

print <<ENDOFTEXT;

    <div id="content" class="col-lg-12 col-sm-12">
        <!-- content starts -->
       
        $alert

        $print_box_content_rows
		
    </div><!--/#content.col-md-0-->
	
	$print_more_boxes
</div><!--/fluid-row-->    

ENDOFTEXT

require footer ;

print <<ENDOFTEXT;

$print_footer_jscript

</body>

$print_footer_forms

</html>
ENDOFTEXT
#