$upthis = max(0, $uploaded - $self["uploaded"]);
$downthis = max(0, $downloaded - $self["downloaded"]);
if ($user["class"] == 3 || $user["class"] == 4 || $user["class"] == 5)
$downthis = 0;
<td align="center"><a href="inactiveusers.php"><img src="images/admin/inactiveusers.png" border="0" width="32" height="32" alt="" /><br /><?php echo T_("USURSINACTIVE"); ?></a><br /></td>$LANG["NUMBER0FDAYS"] = "Nombre de jours";
$LANG["JOINDATE"] = "Date d'inscription";
$LANG["SENDMAIL"] = "Envoyer un Email";
$LANG["DELETEUSERS"] = "Supprimer membres";
$LANG["DISABLED_ACCOUNTS"] = "Compte désactivé";
$LANG["LASTMAILSENTBY"] = "Dernière dépêche envoyée par";
$LANG["ON"] = "sur";
$LANG["WASSENT"] = "a été envoyé!";
$LANG["NOACOUNTINATIVE"] = "Pas de compte inactif pendant plus de";
$LANG["USURSINACTIVE"] = "Les utilisateurs inactifs";
$LANG["DAYS"] = "Jours";
$ret = SQL_Query_exec("INSERT INTO torrents (filename, owner, name, descr, image1, image2, category, added, info_hash, size, numfiles, save_as, announce, external, nfo, torrentlang, anon, last_action, allocine, vip) VALUES (".sqlesc($fname).", '".$CURUSER['id']."', ".sqlesc($name).", ".sqlesc($descr).", '".$vip."', '".$inames[0]."', '".$inames[1]."', '".$catid."', '" . get_date_time() . "', '".$infohash."', '".$torrentsize."', '".$filecount."', ".sqlesc($fname).", '".$announce."', '".$external."', '".$nfo."', '".$langid."','$anon', '".get_date_time()."', ".sqlesc($_POST['allocine']).")");
$ret = SQL_Query_exec("INSERT INTO torrents (filename, owner, name, vip, descr, image1, image2, category, added, info_hash, size, numfiles, save_as, announce, external, nfo, torrentlang, anon, allocine, last_action) VALUES (".sqlesc($fname).", '".$CURUSER['id']."', ".sqlesc($name).", ".sqlesc($descr).", '".$vip."', '".$inames[0]."', '".$inames[1]."', '".$catid."', '" . get_date_time() . "', '".$infohash."', '".$torrentsize."', '".$filecount."', ".sqlesc($fname).", '".$announce."', '".$external."', '".$nfo."', '".$langid."','$anon', '".get_date_time()."', ".sqlesc($_POST['allocine']).")");
[/TD]
[/TD]Database Error in torrents-upload.php on line 213: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'last_action) VALUES ('Piranhas.2019.FRENCH.BDRip.XviD-EXTREME.avi.torrent', '1',' at line 1. Query was: INSERT INTO torrents ( allocine, filename, owner, name, descr, image1, image2, category, added, info_hash, size, numfiles, save_as, announce, external, nfo, torrentlang, anon last_action) VALUES ('Piranhas.2019.FRENCH.BDRip.XviD-EXTREME.avi.torrent', '1', 'Piranhas.2019.FRENCH.BDRip.XviD-EXTREME.avi', 'http://www.allocine.fr/film/fichefilm_gen_cfilm=270824.html', '', '', '8', '2019-10-22 19:45:57', 'cba426f54392d0b529c028e3fd2aa09b77b2dcb2', '728158990', '1', 'Piranhas.2019.FRENCH.BDRip.XviD-EXTREME.avi.torrent', 'https://www.tigers-dl.net/announce.php', 'no', 'no', '2','no', '2019-10-22 19:45:57', '', '').