- Kód: Vybrať všetko
http://www.aardvarktopsitesphp.com/download.php?id=atsphp-5.1.2&f=zip
Moderátor: Moderátori
http://www.aardvarktopsitesphp.com/download.php?id=atsphp-5.1.2&f=zip

http://www.topsite.bagocina.com/
http://www.topsite.bones.sk
http://toplist.masters.sk/



Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/www/hostujem.sk/subdomains/topsite/sources/sql/mysql.php on line 32
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/www/hostujem.sk/subdomains/topsite/sources/sql/mysql.php on line 33
Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/www/hostujem.sk/subdomains/topsite/sources/sql/mysql.php on line 47
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/www/hostujem.sk/subdomains/topsite/sources/sql/mysql.php on line 47
Fatal error: Database error in "/home/www/hostujem.sk/subdomains/topsite/index.php" on line 43
in /home/www/hostujem.sk/subdomains/topsite/sources/sql/mysql.php on line 88

<?php
//===========================================================================\\
// Aardvark Topsites PHP 5 \\
// Copyright (c) 2003-2006 Jeremy Scheff. All rights reserved. \\
//---------------------------------------------------------------------------\\
// http://www.aardvarktopsitesphp.com/ http://www.avatic.com/ \\
//---------------------------------------------------------------------------\\
// This program is free software; you can redistribute it and/or modify it \\
// under the terms of the GNU General Public License as published by the \\
// Free Software Foundation; either version 2 of the License, or (at your \\
// option) any later version. \\
// \\
// This program is distributed in the hope that it will be useful, but \\
// WITHOUT ANY WARRANTY; without even the implied warranty of \\
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General \\
// Public License for more details. \\
//===========================================================================\\
if (!defined('ATSPHP')) {
die("This file cannot be accessed directly.");
}
$database = 'MySQL';
class sql {
var $dbl;
var $debug;
var $num_queries;
var $queries;
function connect ($host, $user, $password, $database, $debug = 0) {
$this->dbl = mysql_connect($host, $user, $password) ;
$db = mysql_select_db($database, $this->dbl);
$this->num_queries = 0;
$this->debug = $debug ? 1 : 0;
$this->queries = array();
return $db;
}
function query($query, $file, $line) {
global $queries;
if ($this->debug) { array_push($this->queries, $query); }
$result = mysql_query($query) or $this->error($file, $line);
$this->num_queries++;
return $result;
}
// Executes a normal query and fetches the array in one line
function fetch($query, $file, $line) {
$result = $this->query($query, $file, $line);
return $this->fetch_array($result);
}
function select_limit($query, $num, $offset, $file, $line) {
if ($offset) { $limit = ' LIMIT '.$offset.','.$num; }
else { $limit = ' LIMIT '.$num; }
return $this->query($query.$limit, $file, $line);
}
function fetch_array($result) {
return mysql_fetch_array($result);
}
function num_rows($result) {
return mysql_num_rows($result);
}
function escape($value, $no_html = 0) {
if (get_magic_quotes_gpc()) {
$value = stripslashes($value);
}
$value = mysql_real_escape_string($value, $this->dbl);
if ($no_html) {
$value = strip_tags($value);
}
return $value;
}
function error($file, $line) {
trigger_error('Database error in "'.$file.'" on line '.$line.'<br /><br />'."\n".@mysql_error($this->dbl), E_USER_ERROR);
}
function close() {
mysql_close($this->dbl);
}
}
?>



phpbb3 podpora
Fatal error: Database error in "/home/www/hostujem.sk/subdomains/topsite/index.php" on line 43
Table 'topsite_hostujem_sk.ats_settings' doesn't exist in /home/www/hostujem.sk/subdomains/topsite/sources/sql/mysql.php on line 88

Späť na Iné redakčné systémy a fóra
Užívatelia prezerajúci fórum: Žiadny registrovaný užívateľ nie je prítomný a 0 hostia