(省略)
<div id="maincenter">
<b id="logintitle">属性受信の確認ページ</b><br>
<?php
//error_reporting(E_ERROR | E_WARNING | E_PARSE);
error_reporting(E_ALL ^ E_NOTICE);
print "<b id='loginname'>あなたのIdPは、<". $_SERVER['Shib-Identity-Provider']. ">です。</b><br";
?>
<br>
</div>
<?php $nowt = time(); $strNow = date("Y年m月d日", $nowt); if (!empty($_SERVER['shadowExpire'])) { $expt = intval($_SERVER['shadowExpire'])*60*60*24; $strExp = date("Y年m月d日", $expt); $zant = $expt - $nowt; $zand = floor($zant/60/60/24); print "<div style=\"position: relative; top: 85px;\">"; print "<h1>現在:$strNow ,"; print "期限:$strExp ,"; print "残日数:".intval($zand+2)."日間</h1>"; print "</div>"; if ($zand < 0) { $errmsg = "有効期限を".intval(($zand+1)*-1)."日過ぎています。"; header("HTTP/1.1 301 Moved Permanently"); header("Location: https://ex-sp-testXX.ecloudgakunin.nii.ac.jp/secure/error.php?exp=".$strExp."&errmsg=".$errmsg); //↑各自SPのホスト名 exit(); } } ?>
↑mainテーブルの前に上のphp部分を追加する <table id="main" cellspacing="0" class="chart">
<thead> <tr> <th class="chart" width="280">属性</font></th> <th class="chart" width="420">属性値</font></th> </tr>
(省略)
|