Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Free Torrent Source
Reply
  #1  
Old 3rd January 2009, 22:59
Ginno Ginno is offline
Member
 
Join Date: Dec 2008
P2P
Posts: 13
Default File manager
hi
i have a problem
i can't access my file manager in cp

Code:
Changelog   You don't have access here
Reply With Quote
  #2  
Old 3rd January 2009, 23:15
adrian21 adrian21 is offline
Senior Member
 
Join Date: Oct 2008
P2P
Posts: 55
Default Re:
Could you give me your log.php file?
I want to help you
Reply With Quote
  #3  
Old 3rd January 2009, 23:59
Ginno Ginno is offline
Member
 
Join Date: Dec 2008
P2P
Posts: 13
Default
Code:
<?php
/*
// +--------------------------------------------------------------------------+
// | Project:    FTS - Free Torrent Source                                    |
// +--------------------------------------------------------------------------+
// | Module: log.php - View site's activity.                                  |
// | Version: 1.4                                                             |
// +--------------------------------------------------------------------------+
// | 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(false);

loggedinorreturn();

if (get_user_class() < UC_MODERATOR)
stderr("Sorry", "Access denied.");

// delete items older than a week
$secs = 24 * 60 * 60;
stdhead("Site log");
mysql_query("DELETE FROM sitelog WHERE " . gmtime() . " - UNIX_TIMESTAMP(added) > $secs") or sqlerr(__FILE__, __LINE__);

print("<table border=1 cellspacing=0 width=605 cellpadding=5>\n");
print("<tr><td class=tabletitle align=left>Search Log</td></tr>\n");
print("<tr><td class=tableb align=left><form method=\"get\" action=searchlog.php>\n");
print("<input type=\"text\" name=\"query\" size=\"40\" value=\"" . htmlspecialchars($searchstr) . "\">\n");
print("<input type=submit value=" . SEARCH . " style='height: 20px' /></form>\n");
print("</td></tr></table>\n");

$res = mysql_query("SELECT COUNT(*) FROM sitelog");
$row = mysql_fetch_array($res);
$count = $row[0];

$perpage = 20;

list($pagertop, $pagerbottom, $limit) = pager(50, $count, "log.php?");

$res = mysql_query("SELECT added, txt FROM sitelog ORDER BY added DESC $limit") or sqlerr(__FILE__, __LINE__);
if (mysql_num_rows($res) == 0)


  print("<b>Log is empty</b>\n");
else
{

//echo $pagertop;

  print("<table border=1 cellspacing=0 cellpadding=5>\n");
  print("<tr><td class=tabletitle align=left>Date</td><td class=tabletitle align=left>Time</td><td class=tabletitle align=left>Event</td></tr>\n");
  while ($arr = mysql_fetch_assoc($res))
  {
$color = 'black';
if (strpos($arr['txt'],'was uploaded by')) $color = "green";
if (strpos($arr['txt'],'was deleted by')) $color = "red";
if (strpos($arr['txt'],'was added to the Request section')) $color = "purple";
if (strpos($arr['txt'],'was edited by')) $color = "blue";
      $date = substr($arr['added'], 0, strpos($arr['added'], " "));
      $time = substr($arr['added'], strpos($arr['added'], " ") + 1);
//   print("<tr><td>$date</td><td>$time</td><td align=left></td></tr>\n");

    print("<tr class=tableb><td>$date</td><td>$time</td><td align=left><font color='".$color."'>".$arr['txt']."</font></td></tr>\n");
  }
  print("</table>");
}
echo $pagerbottom;

print("<p>Times are in GMT.</p>\n");

stdfoot();

?>
Reply With Quote
  #4  
Old 6th January 2009, 20:11
Dragan3591's Avatar
Dragan3591 Dragan3591 is offline
Senior Member
 
Join Date: Oct 2008
United States
Posts: 168
Default
Check if the log is enabled in your admin panel!
__________________
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
  #5  
Old 6th January 2009, 20:46
Ginno Ginno is offline
Member
 
Join Date: Dec 2008
P2P
Posts: 13
Default
i change the version...
now i use 1.2 final..
it's works better
i have a question...
where i edit the disklamer block??
Reply With Quote
  #6  
Old 6th January 2009, 20:49
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
hmm quick guess index.php
Reply With Quote
  #7  
Old 6th January 2009, 21:38
Ginno Ginno is offline
Member
 
Join Date: Dec 2008
P2P
Posts: 13
Default
NOP...:unknown:
I WANT TO CHANGE THE CONTENS OF DISCLAIMER
Reply With Quote
  #8  
Old 18th January 2009, 10:20
Edgein's Avatar
Edgein Edgein is offline
Senior Member
 
Join Date: Sep 2008
Netherlands
Posts: 154
Default
Quote:
Originally Posted by Ginno View Post
NOP...:unknown:
I WANT TO CHANGE THE CONTENS OF DISCLAIMER
It's also in index.php

at line 916 til 918
Reply With Quote
The Following User Says Thank You to Edgein For This Useful Post:
Ginno (18th January 2009)
  #9  
Old 29th January 2009, 15:35
Dragan3591's Avatar
Dragan3591 Dragan3591 is offline
Senior Member
 
Join Date: Oct 2008
United States
Posts: 168
Default
Thanks for helping him man, I was kinda busy. Ta know work and fun (ya)..
__________________
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 , manager

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
No input file specified KM4 Torrent Strike 4 8th July 2012 16:27
welcome pm file? hellbound Template Shares 2 6th August 2009 13:35
[Netvision 2.0] Category Manager johnake Mods & Themes 2 2nd May 2009 15:05
[Help request] For stylesheets manager Kotafi TBDev 7 13th October 2008 06:55
Swe lang file? Swompen Yuna Scatari Edition (YSE) 8 27th July 2008 23:15



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