⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 signsuc.php

📁 简单实现网上选课
💻 PHP
字号:
<?php 
session_start();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<Meta http-equiv="Refresh" Content="10; url=./home.php">

<title>注册成功</title>
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
</head>

<body>
<table width="730" border="0">
  <tr>
    <th width="66" height="112" scope="row">&nbsp;</th>
    <td width="9">&nbsp;</td>
    <td width="459" bgcolor="#99CCFF"><p class="style1">恭喜您!注册成功!</p>
    <p>您的帐号为:<?php echo "$_SESSION[session_var1]";
	session_unset();//删除会话
    //session_destroy();
	?></p>
	<form name="form1" method="post" action="logon.php">
    <p>点击进入登录页面:            
      <input type="submit" name="Submit" value="登录">
    </p></form>
    <form name="form" method="post" action="signup.php">
    </form></td>
    <td width="112">&nbsp;</td>
    <td width="62">&nbsp;</td>
  </tr>
  <tr>
    <th height="77" scope="row">&nbsp;</th>
    <td>&nbsp;</td>
    <td><div align="center" class="style1" ><div id="Timer">10</div>
<script language="javascript">
var divTimer = document.getElementById("Timer");

function SetSomething()
{
	if(divTimer)
	{
		var iTimer = divTimer.innerHTML;
		if(iTimer != 0)
		{
			iTimer--;
			divTimer.innerHTML = iTimer;
		}else{
			clearInterval(iInterval);
		}
	}
}

var iInterval = setInterval("SetSomething();", 1000);
</script> 秒后自动返回主页,若不能返回,请<a href="home.php">点击</a>这里</div></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope="row">&nbsp;</th>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope="row">&nbsp;</th>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope="row">&nbsp;</th>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -