Merge pull request #6 from psenough/master

small fix on readme authors and submitprod.php
This commit is contained in:
Laurent Raufaste 2013-05-08 09:03:47 -07:00
commit 80bc3238cb
2 changed files with 8 additions and 23 deletions

View File

@ -29,13 +29,14 @@ At the same time:
## Contributors
- [Gargaj](http://www.pouet.net/user.php?who=1007)
- [Gasman](http://www.pouet.net/user.php?who=2260)
- knos
- [Redhound](http://www.pouet.net/user.php?who=784)
- [gargaj](http://www.pouet.net/user.php?who=1007)
- [gasman](http://www.pouet.net/user.php?who=2260)
- [knos](http://www.pouet.net/user.php?who=36)
- [p01](http://www.pouet.net/user.php?who=59)
- [redhound](http://www.pouet.net/user.php?who=784)
- [stil](http://www.pouet.net/user.php?who=351)
- [rez](http://www.pouet.net/user.php?who=10)
- Melwyn
- [melwyn](http://www.pouet.net/user.php?who=38)
- [psenough](http://www.pouet.net/user.php?who=177)
- [analogue](http://www.pouet.net/user.php?who=1)

View File

@ -40,7 +40,6 @@ if($name)
$shithosts = array(
"rapidshare",
"depositfiles",
"megaupload",
"filefactory",
"sendspace",
"netload",
@ -50,6 +49,8 @@ if($name)
"mirrorcreator",
"multiupload",
"speedyshare",
"wetransfer",
"dropbox"
);
foreach ($shithosts as $v)
if(strstr($myurl["host"],$v))
@ -57,9 +58,6 @@ if($name)
if(strstr($myurl["host"],"youtube") || strstr($myurl["host"],"youtu.be"))
$errormessage[] = "FUCK YOUTUBE - BINARY OR GTFO";
if(strstr($myurl["path"],".php") && !strstr($myurl["host"],"scene.org"))
$errormessage[] = "please link to the file directly";
if(strstr($myurl["path"],".txt"))
$errormessage[] = "NO TEXTFILES.";
@ -127,20 +125,6 @@ if($name)
$errormessage[]="the size of the infofile must not be greater than 32Kb";
}
}
if ((int)($_SESSION["SCENEID_ID"])==3254) // solo2
$errormessage[]="you're not allowed to submit prods right now. sorry. come back later.";
if ((int)($_SESSION["SCENEID_ID"])==27338) // solo2
$errormessage[]="you're not allowed to submit prods right now. sorry. come back later.";
if ((int)($_SESSION["SCENEID_ID"])==25511) // Roy[SAC]
$errormessage[]="you're not allowed to submit prods right now. sorry. come back later.";
if ((int)($_SESSION["SCENEID_ID"])==4627) // magic
$errormessage[]="you're not allowed to submit prods right now. sorry. come back later.";
if ((int)($_SESSION["SCENEID_ID"])==24880) // bittin
$errormessage[]="you're not allowed to submit prods right now. sorry. come back later.";
if ((int)($_SESSION["SCENEID_ID"])==58309) // fritske
$errormessage[]="you're not allowed to submit prods right now. sorry. come back later.";
// if everything is ok
if(!$errormessage)