Your IP : 10.1.73.149


Current Path : /home/bolconlineco/www/aaaaaa/demo/tutor/
Upload File :
Current File : /home/bolconlineco/www/aaaaaa/demo/tutor/header.php

<?php include('../includes/connection/func.inc.php')?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php session_cache_limiter('private_no_expire');  ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Brentwood </title>
<link rel="stylesheet" href="../css/main.css" type="text/css" />
	<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css"/>

	<script src="../js/jquery-1.8.2.min.js" type="text/javascript">
	</script>
	<script src="../js/languages/jquery.validationEngine-en.js" type="text/javascript" charset="utf-8">
	</script>
	<script src="../js/jquery.validationEngine.js" type="text/javascript" charset="utf-8">
	</script>
	<script>
		jQuery(document).ready(function(){
			// binds form submission and fields to the validation engine
			jQuery("#ID").validationEngine();
		});

		/**
		*
		* @param {jqObject} the field where the validation applies
		* @param {Array[String]} validation rules for this field
		* @param {int} rule index
		* @param {Map} form options
		* @return an error string if validation failed
		/
		function checkHELLO(field, rules, i, options){
			if (field.val() != "HELLO") {
				// this allows to use i18 for the error msgs
				return options.allrules.validate2fields.alertText;
			}
		}*/
	</script>
    	</script><link href="../tabs/styles.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="../tabs/jquery-ui-1.css" type="text/css" media="all">

<script src="../tabs/jquery-1.js" type="text/javascript"></script>
<script src="../tabs/jquery-ui-1.js" type="text/javascript"></script>
<script src="../tabs/ui_002.js" type="text/javascript"></script>


<script src="../tabs/ui_004.js" type="text/javascript"></script>
<script src="../tabs/ui_003.js" type="text/javascript"></script>
<script src="../tabs/ui.js" type="text/javascript"></script>

<link href="../tabs/jquery.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../tabs/jquery.js"></script>
<script type="text/javascript" src="../tabs/jquery_002.js"></script>
<script type="text/javascript" src="../tabs/scripts.js"></script>
<![if IE]>
<script type="text/javascript" src="../tabs/corner.js"></script>



<![endif]>
</head>
<body>
<?php 
$co=$_SESSION['tutor'];
$r=mysql_query("select * from tutor where email='$co'");
$rr=mysql_fetch_array($r);
$fn=$rr['firstname'];
$ln=$rr['lastname'];
$ttid=$rr['tutorId'];
$full=$fn.' '.$ln;
?>

<div id="header">
		<div id="header-wrap">
        	<h1><a href="#">BRENTWOOD admin</a></h1>
            	<div id="header-nav"> 
                <h6>Welcome&nbsp;&nbsp; <?php echo 'Respected '.ucwords($fn). ' '.ucwords($ln);?></h6>                                					
                                    <ul>
										<li><a href="dashbord.php">Home</a></li>
										<li><a href="logout.php">Log out</a></li>
									</ul>
				</div>
       	</div><!--end header-wrap -->
        <div id="menu">
           	<ul>
                   
                    <?php
					
						$username=$_SESSION['username'];
					   
					    $result=mysql_query("select * from  tutor where email='$username'");
						
						$row=mysql_fetch_array($result);
						
						$tid=$row['tutorId'];
						
						$query1="select * from uploadassignment where tutorId='$tid' and uploadstatus=1";
						
						$result1=mysql_query($query1) or  die(mysql_error());
						
						$num=mysql_num_rows($result1);

					
					?>
                    
                    <li><a href="courses.php">New Assignments( <?php echo $num.' New'; ?>)</a></li>
                   <!-- <li><a href="viewcourse.php">View courses & student</a></li>-->
                    <li><a href="searchstudent.php">Custom Search</a></li>
                    <li><a href="changepassword.php">Change Password</a></li>
                                   </ul>
        </div>
</div><!--end header  -->    
        <div id="wrapper">