<a class="yykf11" href="{:U('House/yuyue',array('esfid'=>$house['esfid']))}" datatitle="预约看房">预约看房</a>
$().((e){ usertel=.(usertel)(!usertel){ e.()domain=...(domain)..=+domain+} })
/**
* 提示
* @param int $types
* @param string $error_str
* @param $url
*/
public static function alert_error($types = 1,$error_str = '非法操作',$url){
$str_msg = $error_str ;
switch ($types){
Case 1;
echo "<script language='javascript'>alert('".$str_msg."');history.back();</script>";
exit;
Case 2;
echo("<script language='javascript'>alert('".$str_msg."');self.location='".$url."';</script>");
exit;
Case 3;
echo("<script language='javascript'>alert('".$str_msg."');window.close();</script>");
exit;
Case 4;
echo("<script language='javascript'>alert('".$str_msg."');</script>");
exit;
Case 5;
echo("<script language='javascript'>alert('".$str_msg."');top.location='".$url."';</script>");
exit;
Case 6;
echo("<script language='javascript'>alert('".$str_msg."');self.location.reload();</script>");
exit;
Case 16;
echo("<script language='javascript'>alert('".$str_msg."');window.opener.parent.location.reload();self.close()</script>");
exit;
Case 17;
echo("<script language='javascript'>window.opener.parent.location.reload();self.close()</script>");
exit;
Case 18;
echo("<script language='javascript'>window.close();</script>");
exit;
Case 19;
echo("<script language='javascript'>alert('".$str_msg."');window.opener.location='".$url."';window.close();</script>");
exit;
Case 7;
echo("<script language='javascript'>top.location='".$url."';</script>");
exit;
Case 8;
echo("<script language='javascript'>top.leftFrame.location.reload();alert('".$str_msg."');self.location='".$url."';</script>");
exit;
Case 9;
echo("<script language='javascript'>alert('".$str_msg."');parent.location='".$url."';</script>");
exit;
Case 10;
echo("<script language='javascript'>self.location='".$url."';</script>");
exit;
Case 11;
echo("<script language='javascript'>alert('".$str_msg."'); window.opener.location.reload(); window.close(); </script>");
exit;
Case 12;
echo("<script language='javascript'>alert('".$str_msg."'); window.close(); </script>");
exit;
Case 13;
echo("<script language='javascript'>top.location.reload();</script>");
exit;
Case 14;
echo("<script language='javascript'>parent.location.reload();</script>");
exit;
Case 15;
echo("<script language='javascript'>parent.location=top.location.href;</script>");
}
}
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。