View Single Post
  #1  
Old 8th September 2009, 08:36
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default remove EDK link "upload"
is this right upload.php i suck at coding so make shure
PHP Code:
<?php 
if (!eregi("upload.php",$_SERVER["PHP_SELF"])) die("You cannot include this file"); 
include(
"header.php"); 
if(!
checkaccess("upload")){ 
OpenErrTable(_btaccdenied); 
echo 
"<p>"._btnoperms."</p>"
CloseErrTable(); 
die(); 

 
switch (
$upload_level) { 
        case 
"user": { 
                if (!
$user->userloginrequired("user"); 
                break; 
        } 
        case 
"premium": { 
                if (!
$user->premiumloginrequired("premium"); 
                break; 
        } 

 
if (
$op != "taketorrent") include ("upload/torrent.php");

if (
$op == "taketorrent")
 {
  include_once(
"upload/taketorrent.php");
  } 
include(
"footer.php"); 
?>
Reply With Quote