예제 #1
0
    };

    if (!Browser.Mozilla) { //redirect kung ndi firefox ang gamit
	alert("Pls use FIREFOX/SAFARI only to access this website");
        window.location="http://192.168.1.207/LOGINPAGE/module.php"; 
    }


</script>
*/
?>

<title>PLEASE LOG IN</title>

<link rel="stylesheet" type="text/css" href="http://<?php 
echo $ro->getMyUrl();
?>
/COCONUT/flow/rickyCSS1.css" />

<script type='text/javascript'>
$("#breadcrumbs a").hover(
    function () {
        $(this).addClass("hover").children().addClass("hover");
        $(this).parent().prev().find("span.arrow:first").addClass("pre_hover");
    },
    function () {
        $(this).removeClass("hover").children().removeClass("hover");
        $(this).parent().prev().find("span.arrow:first").removeClass("pre_hover");
    }
);
</script>
예제 #2
0
파일: module.php 프로젝트: rickyx12/mendero
<title>Synapse Hospital System</title>
<?php 
include "homeDatabase.php";
session_start();
$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='http://" . $ro->getMyUrl() . "/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() . "/COCONUT/Homepage/homepage.php?' width='1040' height='555'  name='welcome' border=1 frameborder=no></iframe>";
//echo "<iframe src='http://".$ro->getMyUrl()."/COCONUT/Laboratory/testDone/testDone_update.php' width='480' height='555'  name='welcome' border=1 frameborder=no></iframe>";
//}
//echo "<iframe src='http://".$ro->getMyUrl()."/COCONUT/room/listRoom1.php' width='170' height='505'  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'>