

Quote:https://prnt.sc/zv5zwr
print ("<table border='0' cellpadding='0' width='100%'><tr><td align='center' valign='middle' width='54'><a href=\"download.php?id=$id&name=" . rawurlencode($row["filename"]) . "\"><img src=\"".$site_config["SITEURL"]."/images/download_torrent.png\" border=\"0\" alt='' /></a></td>");
print ("<td valign='top'><a href=\"download.php?id=$id&name=" . rawurlencode($row["filename"]) . "\">".T_("DOWNLOAD_TORRENT")."</a><br />");
print ("<a href=\"magnet:?xt=urn:btih:" . $row['info_hash'] . "&dn=" . rawurlencode($row['name']) . "&tr=" . $row['announce'] . "\"><img src=\"".$site_config["SITEURL"]."/images/magnet.png\" border=\"0\" alt=''>".T_("MAGNET")."</a>"); 
print ("<table border='0' cellpadding='0' width='100%'><tr><td align='center' valign='middle' width='54'><a href=\"download.php?id=$id&name=" . rawurlencode($row["filename"]) . "\"><img src=\"".$site_config["SITEURL"]."/images/download_torrent.png\" border=\"0\" alt='' /></a></td>");
print ("<td valign='top'><a href=\"download.php?id=$id&name=" . rawurlencode($row["filename"]) . "\">".T_("DOWNLOAD_TORRENT")."</a><br />");
print ("<a href=\"magnet:?xt=urn:btih:" . $row['info_hash'] . "&dn=" . rawurlencode($row['name']) . "&tr=" . $row['announce'] . "?passkey=". $CURUSER ['passkey']. "\">".T_("MAGNET")."</a><br>");
case 'magnet':
$shit = @mysql_fetch_array(@SQL_Query_exec("SELECT info_hash FROM torrents WHERE id=$id"));
print ("<td class='ttable_col$x' align='center'><a href="magnet:?xt=urn:btih:" . $shit["info_hash"] . "&dn=" . rawurlencode($row['name']) . "&tr=" . $row['announce'] . "?passkey=". $CURUSER ['passkey']. ""><img src='" . $site_config['SITEURL'] . "/images/magnetique.png' border='0' width='50' height='50'title='Download via Magnet' /></a></td>");
break;
Uncaught Exception: 2020-11-27 09:13:19 - Call to undefined method Blocks::left() in file /home/xxxx/public_html/themes/u2torrents/header.php on line 32
Call Stack
[0] File: /home/xxxx/public_html/helpers/layout_helper.php Line: 27
Function: require_once
[1] File: /home/xxxx/public_html/controllers/Blocks.php Line: 24
Function: stdhead
[2] File: /home/xxxx/public_html/core/Router.php Line: 47
Function: Blocks->edit
[3] File: /home/xxxx/public_html/index.php Line: 3
Function: Router->__construct
Uncaught Exception: 2020-11-27 09:13:39 - Call to undefined method Blocks::left() in file /home/xxxx/public_html/themes/u2torrents/header.php on line 32
Call Stack
[0] File: /home/xxxx/public_html/helpers/layout_helper.php Line: 27
Function: require_once
[1] File: /home/xxxx/public_html/controllers/Blocks.php Line: 24
Function: stdhead
[2] File: /home/xxxx/public_html/core/Router.php Line: 47
Function: Blocks->edit
[3] File: /home/xxxx/public_html/index.php Line: 3
Function: Router->__construct
Uncaught Exception: 2020-11-27 09:14:41 - Call to undefined method Blocks::left() in file /home/xxxx/public_html/themes/u2torrents/header.php on line 32
Call Stack
[0] File: /home/xxxx/public_html/helpers/layout_helper.php Line: 27
Function: require_once
[1] File: /home/xxxx/public_html/controllers/Blocks.php Line: 24
Function: stdhead
[2] File: /home/xxxx/public_html/core/Router.php Line: 47
Function: Blocks->edit
[3] File: /home/xxxx/public_html/index.php Line: 3
Function: Router->__construct$sql = "INSERT INTO users (username, password, secret, email, status, added, last_access, age, country, gender, client, stylesheet, language, class, ip) VALUES (" . implode(",", array_map("sqlesc", array($wantusername, $wantpassword, $secret, $email, $status, get_date_time(), get_date_time(), $age, $country, $gender, $client, $config["default_theme"], $config["default_language"], $signupclass, getip()))) . ")";
$ins_user = DB::run($sql);
$id = DB::lastInsertId();$ins_user = DB::run("INSERT INTO users
(username, password, secret, email, status, added, last_login, last_access, age, country, gender, client, stylesheet, language, class, ip)
VALUES
(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",
[$wantusername, $wantpassword, $secret, $email, $status, get_date_time(), get_date_time(), get_date_time(), $age, $country, $gender, $client, $config["default_theme"], $config["default_language"], $signupclass, getip()]);
$id = DB::lastInsertId()