SIM0001.php
1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?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>