<html>
<head>
<title>SOUTHERN Karaoke SYSTEM</title>
</head>
<body style="background-color: #ffffff;background-image:url(rail.jpg);background-repeat: repeat-y">
<table align="center" width=70% border=0>
<tr>
<td><center><img src="37.gif"></center></td>
</tr>
</table>
<form name="adminMain">
<?php	
	
	$login=mysql_connect('localhost', 'wauhaha_karaoke', 'cross123','wauhaha_karaoke');
	
	mysql_selectDB("wauhaha_karaoke",$login);
	
	$StaffID =$_GET['StaffID'];
	

	$result=mysql_query("select * from staff where StaffID='$StaffID'");
	$row = mysql_fetch_array($result);
	$Username=$row['Username'];



	
	echo "<h3 align=center> You are login as staff</h3><h4 align=center><a href=index.php>Logout</a> | <a href=staffaccdetail.php?StaffID=$StaffID>My&nbsp;Account</a></h4>";

echo "<table border='0' align=center>
<tr>
	<td width=200 align=center colspan=2><a href='http://www.wauhaha.com/karaoke/staffviewmem.php?StaffID=$StaffID'><img src=member_button.jpg width=130 height=120 border=0/><br/><h4 style='align:center; '>Member</h4></a></td>
	<td width=200 align=center colspan=2><a href='http://www.wauhaha.com/karaoke/staffviewsalary.php?StaffID=$StaffID'><img src=money_button.jpg width=130 height=120 border=0/><br/><h4 style='align:center; '>Salary</h4></a></td>
	<td width=200 align=center colspan=2><a href='http://www.wauhaha.com/karaoke/staffviewduty.php?StaffID=$StaffID'><img src=duty_button.jpg width=130 height=120 border=0/><br/><h4 style='align:center; '>Duty Time</h4></a></td>
</tr>
<tr>
	<td width=200 align=center colspan=2><a href='room1.php' target=_window><img src=room_button.jpg width=130 height=120 border=0/><br/><h4 style='align:center; '>Room</h4></a></td>
	<td width=200 align=center colspan=2><a href='credit1.php?StaffID=$StaffID'.php><img src=Money.jpg width=140 height=140 border=0/><br/><h4 style='align:center; '>Credit</h4></a></td>
	<td width=200 align=center colspan=2><a href='vleave.php?Username=$Username' target=_window><img src=leave_button.jpg width=130 height=120 border=0/><br/><h4 style='align:center; '>Leave</h4></a></td>
</tr>
</table>";
?>
</form>
</body>
</html>