<?php
session_start();
if(isset($ri)){echo"<script> alert('登陆成功
!')</script>";}
else {
 echo"<script> alert('请您注册登陆!')</script>";
 header("location:index.php"); 
url='index.php'>";
 }
?>