예제 #1
0
$ro = new synapse();
//unset($_SESSION['username']);
//unset($_SESSION['module']);
//session_destroy();
//setcookie ("username", "",time()-60);
//setcookie ("module", "",time()-60);
//$ua = strtolower($_SERVER['HTTP_USER_AGENT']);
//if( stripos($ua,'iPad') !== false  ) {
//header("Location: /COCONUT/android/homepage.php");
//}
//else {
echo "<table id='headz' border=0 bgcolor='#3b5998' width='100%'>\n<td>&nbsp;&nbsp;<a href='../COCONUT/Homepage/homepage.php' target='welcome' style='text-decoration:none;'><font size=5 color=white><b>Synapse</b></font></a></td></table>";
$ro->coconutUpperMenuStart();
$ro->coconutUpperMenu_headingStart("Staff Login");
$ro->getSynapseModule();
$ro->coconutUpperMenu_headingStop();
$ro->coconutUpperMenuStop();
//echo "<iframe src='http://".$ro->getMyUrl()."/MainPage.php' width='73%' height='555'  name='welcome' border=1 frameborder=no></iframe>";
echo "<iframe src='../COCONUT/ADMIN/census/census-new.php' width='100%' height='510'  name='welcome' border=1 frameborder=no></iframe>";
//echo "<iframe src='http://".$ro->getMyUrl()."/COCONUT/Laboratory/testDone/testDone_update.php' width='27%' height='555'  name='welcome' border=1 frameborder=no></iframe>";
//}
//echo "<iframe src='http://".$ro->getMyUrl()."/COCONUT/room/listRoom1.php' width='20%' height='510'  name='welcome' border=1 frameborder=no></iframe>";
//echo "<hr><center><font size=1.5>Email me at <b>aizekrysler@gmail.com</b> | Facebook <b>aizekrysler@yahoo.com.ph</b></font>";
//$ro->getSynapseModule();
/*
echo "<form method='get' action='http://".$ro->getMyUrl()."/COCONUT/opdRegistration.php'>
<input type=hidden name='module' value='REGISTRATION'>
<input type=submit value='Registration'>
</form>";
echo "<form method='get' action='loginpage.php'>
<input type=hidden name='module' value='BILLING'>