missing file invite.php
missing file invite.php from this source
|
Re: missing file invite.php
Try this one: [code] /* // +--------------------------------------------------------------------------+ // | Project: FTS - Free Torrent Source | // +--------------------------------------------------------------------------+ // | Module: invite.php - Invite System. | // | Version: 0.1 | // +--------------------------------------------------------------------------+ // | This file is part of FTS. Fts is based on TBDev, | // | originally by RedBeard of TorrentBits, extensively modified by | // | Gartenzwerg. | // | | // | FTS 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. | // | | // | FTS 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. | // | | // | You should have received a copy of the GNU General Public License | // | along with FTS; if not, write to the Free Software Foundation, | // | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | // +--------------------------------------------------------------------------+ // | FTS IS FREE SOFTWARE, but it still can contain some encoded files. | // +--------------------------------------------------------------------------+ // | Do not remove above lines! | // +--------------------------------------------------------------------------+ */ require "include/bittorrent.php"; dbconn(); loggedinorreturn(); if($invitesys == 'no') stderr('Error!','Invite system is off'); $id = 0 + $_GET["id"]; $type = unesc($_GET["type"]); stdhead("Invites"); $res = mysql_query("SELECT invites FROM users WHERE id = $id") or sqlerr(); $inv = mysql_fetch_assoc($res); if ($inv["invites"] != 1){ $_s = "s"; } else { $_s = ""; } if ($type == 'new'){ print(" |