专注前端,专注网页设计分享 - (网页制作/模板制作/设计)755150799 织梦模板 | 网页特效 | 网站模板 | 建站教程 | Tag标签 | 联系站长

PHP两秒钟跳转页面

时间:2014-03-06 11:27:09来源:学技巧网站制作 作者:学技巧网页制作 阅读:0次 【 点评一下

function get_admin_msg2($url, $show = '操作已成功!') {
$msg = '<!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>消息提示 Powered by PHPYUN_JOB!</title>
<style>
a,a:visited{
color:#0066FF; text-decoration:none;
}
a:hover{
color:blue; text-decoration:underline;
}
</style>
</head>
<body style="font-size:12px;">
<div id="man_zone">
<table width="30%" border="0" align="center"  cellpadding="0" cellspacing="1" class="table" style="margin-top:100px; border:#dfdfdf solid 1px;">
  <tr>
    <th height="25" align="center" style="background:url(../template/admin/images/maintopbg.png) repeat-x; border:#dfdfdf solid 1px;"><font style="font-size:12px;" color="red">'.$show.'</font></th>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" height="100" align="center"><p style="line-height:20px;">
    &nbsp;2秒后窗口自动消失!<br /></td>
  </tr>
</table>
</div>
</body>
</html>';
echo $msg;
exit ();
}
}

  • 用微信  “扫一扫”

    将文章分享到朋友圈。

    关注公众号:xue-jiqiao

本文版权归原作者所有,转载请注明原文来源出处,学技巧网站制作感谢您的支持!