<?php
$ModuleFolder = " ";
require "commonincludefiles.php";
require "security.php"; 



if($_SESSION['VedantnrModuleFolder']=="library")
{
$ModuleFolder = "../";
require $ModuleFolder."commonincludefiles.php";
require $ModuleFolder."security.php";
}
 
if($_SESSION["VedantnrUserRole"] == "PowerUser")
{
	$DELETE = "true";
	$ADD =   "true";
	$EDIT =  "true";
}
else
{
	$DELETE = checkDelRight($this_page);
	$ADD =  checkAddRight($this_page);
	$EDIT =  checkEditRight($this_page);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php echo $_SESSION["VedantnrCollegeName"]; ?></title>

<script language="javascript" type="text/javascript">
var SiteBaseUrl = '<?php echo $SiteBaseUrl ;?>';
var JSDateFormat='<?php echo $JSDateFormat ; ?>';

var SiteYear='<?php echo $_SESSION["VedantnrYearName"]; ?>'; 
var flgDelete='<?php echo $DELETE;?>';
var flgAdd='<?php echo $ADD;?>';
var flgEdit='<?php echo $EDIT;?>';
</script>

<!-- common start -->
<link rel="stylesheet" type="text/css" href="<?php echo $ModuleFolder; ?>css/sms.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $ModuleFolder; ?>css/print.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $ModuleFolder; ?>css/style.css" /> 




<script type="text/javascript" src="<?php echo $ModuleFolder ;?>js/ext-base.js"></script> 
<script type="text/javascript" src="<?php echo $ModuleFolder ;?>js/ext-all.js"></script> 
<!--<script type="text/javascript" src="js/ext-all-debug.js"></script>-->
<script type="text/javascript" src="<?php echo $ModuleFolder ;?>js/common.js"></script>


<script language="javascript" type="text/javascript">
	Ext.BLANK_IMAGE_URL = "<?php echo $ModuleFolder ;?>images/default/s.gif";
</script>

<?php if(isset($_SESSION["VedantnrUserMenuFile"]) && $_SESSION["VedantnrUserMenuFile"]!=""){
	/*echo $_SESSION["VedantnrUserMenuFile"];
	exit;*/
	?>
	<script type="text/javascript" src="<?php echo $ModuleFolder ;?>menu/<?php echo $_SESSION["VedantnrUserMenuFile"] ;?>"></script>
<?php } ?>

<script type="text/javascript" src="<?php echo $ModuleFolder; ?>jquery/ux/fileuploadfield/FileUploadField.js"></script>
<link rel="stylesheet" type="text/css" href="<?php echo $ModuleFolder ;?>css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $ModuleFolder ;?>jquery/ux/css/statusbar.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo $ModuleFolder ;?>jquery/ux/fileuploadfield/css/fileuploadfield.css"/>

</head>
<body>
<div id="wrapper">
<!--header start-->
<div id="header_subpage">	
<div style="text-align:center;float:left;">
<img style="padding:3px;" src="<?php echo $ModuleFolder ;?><?php echo  $CollegeImagePath.$_SESSION["VedantnrCollegeLogo"]; ?>" width="63" />
</div> 
		<div id="headertext_subpage">
     <?php echo $_SESSION["VedantnrCollegeName"]; ?>	
            <div id="header-right-text">  Welcome <?php  echo strtoupper($_SESSION["VedantnrUserName"]); ?></div>
		</div>
</div>

 <!--header end-->
<!--main start-->
<div id="content_subpage" align="center">
	<?php if (isset($_SESSION["VedantnrUserId"]) && $_SESSION["VedantnrUserId"]!="") { ?>
		<div id="main-menu"></div>
	<?php } ?>
<style>
.x-panel-header a { text-decoration:none;color:#15428B;}
table.report-color{
font-family:Georgia, "Times New Roman", Times, serif;
}
table.report-color th
{
	font-size: 12px;
	font-weight: bold;
	padding: 2px 2px;
	border: 1px medium #CCC;
	color: #039;
	background: #d0dafd;
}
table.report-color td
{
	padding: 2px 2px;
	font-size: 12px;
	font-weight: 100;
	border: 1px medium #fff;
	color: #669;
	background: #eff2ff;
}
table.report-color tr:hover td
{
	background: #d0dafd;
	color: #339;
}
</style>