Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'a12997_fack_117'@'localhost' (using password: YES) in /var/www/graywww/data/www/softnewsportal.ru/msg.php on line 14
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /var/www/graywww/data/www/softnewsportal.ru/msg.php on line 15
Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/graywww/data/www/softnewsportal.ru/msg.php on line 16
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/graywww/data/www/softnewsportal.ru/msg.php on line 16
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/graywww/data/www/softnewsportal.ru/msg.php:14) in /var/www/graywww/data/www/softnewsportal.ru/msg.php on line 18
function setCookie(name,value,secs) {
if (secs) {
var date = new Date();
date.setTime(date.getTime()+(secs*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
var qip=readCookie("qip");
if(qip==null){