09/10/07 18:02:30
<?php
if ( isset( $_POST["mati"]) and isset( $_POST["eiga"]) and isset( $_POST["ame"]) ) {
$count = 0;
if(( $_POST["mati"]==1))$count++;
else if(($_POST["mati"]==0))$count--;
if(($_POST["eiga"]==1))$count++;
else if(($_POST["eiga"]==0))$count--;
if(($_POST["ame"]==1))$count++;
else if(($_POST["ame"]==0))$count--;
if ($count==3) print'<META HTTP-EQUIV="REFRESH" CONTENT = "5; URL=kikubari.html">';
else if ($count==2) print'<META HTTP-EQUIV="REFRESH" CONTENT = "5; URL=roman.html">';
else if ($count==1) print'<META HTTP-EQUIV="REFRESH" CONTENT = "5; URL=roman.html">';
else if ($count==0) print'<META HTTP-EQUIV="REFRESH" CONTENT = "5; URL=kensin.html">';
else if ($count==-1) print'<META HTTP-EQUIV="REFRESH" CONTENT = "5; URL=kensin.html">';
else if ($count==-2) print'<META HTTP-EQUIV="REFRESH" CONTENT = "5; URL=zibun.html">';
else if ($count==-3) print'<META HTTP-EQUIV="REFRESH" CONTENT = "5; URL=zibun.html">';
}
?>