SIM0001.php 1.3 KB
<?PHP 
//*****************************************************************************
//* プログラム名:外部リンクからのグループログイン処理
//* プログラムID:SIM0001.php
//* 機能        :外部リンクからのグループログイン
//*****************************************************************************
header("Content-type: text/html; charset=EUC-JP");
include("./inc/session_start.inc");
include('./inc/const.inc');

$cookGroupID = $_COOKIE["cookie_GroupID"];
$cookGroupPW = $_COOKIE["cookie_GroupPW"];

include('./inc/smarty.conf');

$gid = $_POST["gid"];
$gpw = $_POST["gpw"];

?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; cahrset=euc-jp">
<meta http-equiv="content-style-type" content="text/css">
<meta name="robots" content="noindex, nofollow">
<title></title>
<script language="javascript">
function trans(){

	if (document.frm.gid.value == false
		&& document.frm.gpw.value == false) {
		location.href = "<?PHP  echo $DEFARR[1] ?>";
	}else{
		document.frm.action = "SIM0010.php";
		document.frm.method="POST";
		document.frm.submit();
	}

}
</script>
</head>
<body onload="trans();">
<form name="frm">
<input type="hidden" name="gid" value="<?PHP  echo $gid ?>">
<input type="hidden" name="gpw" value="<?PHP  echo $gpw ?>">
<input type="hidden" name="backurl" value="hp">
</form>
</body>
</html>