自制html

//$this->_red('账号或密码有误','/student/stureg/add');
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
echo '<center><div style="color:#ffffff;width:200px;text-align:center;margin-top:200px;background:#aaaaaa;line-height:200px;height:200px;">账号或密码有误</div></center>';
echo '<script>function hidePop(){window.location.href="/student/stureg/add"};setTimeout(hidePop,3000)</script>';
exit;

 

posted @ 2014-03-18 18:16  TBHacker  阅读(348)  评论(0编辑  收藏  举报