www.gusucode.com > 仿51.com的php源码 1.1 > User/SetSelfPhoto.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>形象照,跳转页面</title> <meta http-equiv="Refresh" content="7;URL=../Photo/PhotoList.php" /> <style type="text/css"> <!-- body { font-size: 14px;font-weight:bold; } .gd{line-height:22px;} --> </style> </head> <body> <br /> <br /> <br /> <br /> <table width="391" border="0" align="center" cellpadding="10" cellspacing="1" bgcolor="#999999"> <tr> <td bgcolor="#EFEFEF" class="gd"><span id="leave">15</span> 秒之后,自动进入<a href="../Photo/PhotoList.php">相册</a>。<br /> 在<a href="../Photo/PhotoList.php">相册</a>中,您可以将任意一张照片设为形象照。 <br /><span style="color:#FF0000">(如果没有照片,请先上传。)</td> </tr> <tr> <td bgcolor="#FFFFFF"><img src="../images/sl.gif" width="391" height="216" /></td> </tr> </table> <script> var leaveSecond = 15; function showTimeBefore() { leaveSecond -= 3; if (leaveSecond <= 0) { location.href="../Photo/PhotoList.php"; } else { setTimeout("showTimeBefore()", 3000); } } setTimeout("showTimeBefore()", 3000); </script> </body> </html>