Ejemplo n.º 1
0
<?php 
$schoolinfo = $this->session->userdata('schoolinfo');
echo SITE_TITLE . ": " . $schoolinfo['schoolname'] . " School Dashboard";
?>

</title>
<link rel="shortcut icon" type="image/x-icon" href="<?php 
echo BASE_URL;
?>
favicon.ico">
<?php 
print "<script src='" . base_url() . "js/jquery-1.8.3.min.js' type='text/javascript'></script>";
print "<script src='" . base_url() . "js/jquery.dataTables.min.js' type='text/javascript'></script>";
print minimize_code($this, 'javascript');
print get_AJAX_constructor(TRUE);
print minimize_code($this, 'stylesheets');
?>

<script type="text/javascript" src="<?php 
echo base_url();
?>
js/ajaxupload.3.5.js" ></script>
<script type="text/javascript">
   $(document).ready(initClientDashboard);    
</script>
<style>
.fancybox-opened .fancybox-title {
    visibility: hidden;
	display:none;
}
</style>
Ejemplo n.º 2
0
<title><?php 
echo SITE_TITLE . " : Stream Data";
?>
</title>
<link rel="shortcut icon" type="image/x-icon" href="<?php 
echo BASE_URL;
?>
favicon.ico">
<?php 
echo "<script src='" . base_url() . "js/jquery.min.js' type='text/javascript'></script>";
echo minimize_code($this, 'javascript');
echo get_AJAX_constructor(TRUE);
?>

<?php 
echo minimize_code($this, 'stylesheets');
?>

<style type="text/css">@import "<?php 
echo base_url();
?>
css/jquery.datepick.css";</style>
<script language="JavaScript" type="text/javascript" src="<?php 
echo base_url();
?>
js/jquery.datepick.js"></script>
<script>
$(document).ready(function() {
	// date picker fields for many years
	$(".manyyearsdatefield").datepick({dateFormat: 'yyyy-mm-dd'});
});
Ejemplo n.º 3
0
<?php

$ajax_HTML = "<script src='" . base_url() . "js/jquery.min.js' type='text/javascript'></script>";
$javascript_HTML = "<script type='text/javascript' src='" . base_url() . "js/nyppex.js'></script>" . get_AJAX_constructor(TRUE);
$combined_js_HTML = minimize_code($this, 'javascript');
$css_HTML = "<link href='" . base_url() . "css/nyppex.css' rel='stylesheet' type='text/css' />";
$combined_css_HTML = minimize_code($this, 'stylesheets');
$table_HTML = "";
#*********************************************************************************
# Displays forms used in AJAX when get_stocked_rentalsprocessing data on other forms without
# reloading the whole form.
#*********************************************************************************
#===============================================================================================
# Display for simple message results
#===============================================================================================
if (!empty($area) && in_array($area, array('verify_link_result', 'upload_user_photo', 'document_doesnt_exist', 'update_mark_sheet'))) {
    $table_HTML .= $msg;
} else {
    if (!empty($area) && $area == 'add_student') {
        if (!empty($msg)) {
            $table_HTML .= format_notice($msg) . "<BR>";
        }
        if (!empty($status) && $status == 'SUCCESS') {
            $table_HTML .= '<input style="display:none" onchange="alert(\'hello\');" type="text" value="' . $status . '" />';
        }
    } else {
        if (!empty($area) && $area == 'stock_details') {
            $table_HTML .= $combined_js_HTML;
            if (!empty($stockdata)) {
                if (!empty($msg)) {
                    $table_HTML .= format_notice($msg) . "<BR>";