Deprecated: Required parameter $length follows optional parameter $start in /www/wwwroot/yxbaoku.com/e/class/connect.php on line 1407
Deprecated: Required parameter $stb follows optional parameter $type in /www/wwwroot/yxbaoku.com/e/class/connect.php on line 2581
Deprecated: Required parameter $r follows optional parameter $haveclass in /www/wwwroot/yxbaoku.com/e/class/connect.php on line 3073
Deprecated: Required parameter $field follows optional parameter $haveclass in /www/wwwroot/yxbaoku.com/e/class/connect.php on line 3073
Warning: Undefined array key "HTTP_REFERER" in /www/wwwroot/yxbaoku.com/e/class/connect.php on line 4153
Warning: Undefined array key "doaction" in /www/wwwroot/yxbaoku.com/e/extend/infocomment/commentajax.php on line 5
var http_request = false;
function CommentMakeRequest(url, functionName, httpType, sendData) {
http_request = false;
if (!httpType) httpType = "GET";
if (window.XMLHttpRequest) { // Non-IE...
http_request = new XMLHttpRequest();
if (http_request.overrideMimeType) {
http_request.overrideMimeType('text/plain');
}
} else if (window.ActiveXObject) { // IE
try {
http_request = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
http_request = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}
}
if (!http_request) {
alert('Cannot send an XMLHTTP request');
return false;
}
var changefunc="http_request.onreadystatechange = "+functionName;
eval (changefunc);
//http_request.onreadystatechange = alertContents;
http_request.open(httpType, url, true);
http_request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
http_request.send(sendData);
}
//评论分页提交
function CommentToPage(page){
CommentMakeRequest('
Fatal error: Uncaught Error: Undefined constant "newsurl" in /www/wwwroot/yxbaoku.com/e/extend/infocomment/commentajax.php:57
Stack trace:
#0 {main}
thrown in /www/wwwroot/yxbaoku.com/e/extend/infocomment/commentajax.php on line 57