Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Free Torrent Source
Reply
  #1  
Old 28th May 2008, 01:39
laur88nt laur88nt is offline
Member
 
Join Date: May 2008
Posts: 7
Talking missing file invite.php
missing file invite.php from this source
Reply With Quote
  #2  
Old 28th May 2008, 04:08
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default 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("<form method=post action=takeinvite.php?id=$id>".
"<table border=1 width=750 cellspacing=0 cellpadding=5>".
"<tr class=tabletitle><td colspan=2>Invite someone to join F1RW ($inv[invites] invitation$_s left)</td></tr>".
"<tr class=tableb><td width=15%>Email Address</td><td><input type=text size=40 name=email>
<font class=small>Email Address must be valid. The invitee will receive an email about your invite.</font></td></tr>".
"<tr class=tableb><td>Message</td><td><textarea name=body rows=6 cols=80></textarea></td></tr>".
"<tr class=tableb><td align=center colspan=2><input type=submit value=Invite style='height: 20px'></td></tr>".
"</form></table>");



} else {


$rel = mysql_query("SELECT COUNT(*) FROM users WHERE invited_by = $id") or sqlerr();
$arro = mysql_fetch_row($rel);
$number = $arro[0];


$ret = mysql_query("SELECT id, username, email, uploaded, downloaded, status, warned, enabled, donor, email FROM users WHERE invited_by = $id") or sqlerr();
$num = mysql_num_rows($ret);

print("<form method=post action=takeconfirm.php?id=$id><table border=1 width=750 cellspacing=0 cellpadding=5>".
"<tr class=tabletitle><td colspan=7>Current status of invitees ($number)</td></tr>");

if(!$num){
print("<tr class=tableb><td colspan=7>No invitees yet.</tr>");
} else {


print("<tr class=tableb><td>Username</td><td>Email</td><td>Uploaded</td><td>Downloaded</td><td>Ratio</td><td>Status</td>");
if ($CURUSER[id] == $id || get_user_class() >= UC_SYSOP)
print("<td align=center>Confirm</td>");

print("</tr>");
for ($i = 0; $i < $num; ++$i)
{
$arr = mysql_fetch_assoc($ret);
if ($arr[status] == 'pending')
$user = "<td align=left><a href=checkuser.php?id=$arr[id]>$arr[username]</a></td>";
else
$user = "<td align=left><a href=userdetails.php?id=$arr[id]>$arr[username]</a>" .($arr["warned"] == "yes" ? "
Reply With Quote
  #3  
Old 31st December 2008, 12:08
ciobancai ciobancai is offline
Senior Member
 
Join Date: Mar 2008
Posts: 43
Default invite
I wanna to insert in my source(1.0.2) invite system but i wanna to use invite code not invite with e-mail , can i do this on this source? and if it`s posible I wanna to know who :D , tnx
Reply With Quote
  #4  
Old 6th January 2009, 19:52
Dragan3591's Avatar
Dragan3591 Dragan3591 is offline
Senior Member
 
Join Date: Oct 2008
United States
Posts: 168
Default
Yes it is, use the one from TBDev!
__________________
CLICK HERE FOR IMPORTANT NEWS FROM BVLIST!!

"Always do sober what you said you'd do drunk. That will teach you to keep your mouth shut."
Ernest Hemingway.

"A positive attitude will not solve all your problems, but it will annoy enough people to make it worth the effort."
Herm Albright.
Reply With Quote
Reply

Tags
file , invitephp , missing

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vip_account.php missing crztz Template Shares 4 28th January 2014 15:23
missing key info_hash mid TBDev 6 27th July 2012 10:10
welcome pm file? hellbound Template Shares 2 6th August 2009 13:35
erorr missing language!! pspmaster xBTiT 1 11th December 2008 13:40
Missing file /faqmanage.php Phogo Free Torrent Source 3 10th October 2008 20:04



All times are GMT +2. The time now is 20:25. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.