Repositories (6)

U-232-V3
2 snippets stored for this repo
PHP IconPHP
if (!isset($CURUSER)) die();
$url = '';
while (list($var, $val) = each($_GET)) $url.= "&$var=$val";
if (preg_match("/([<>'\"]|&#039|&#33;|&#34|%27|%22|%3E|%3C|&#x27|&#x22|&#x3E|&#x3C|\.js)/i", $url)) header("Location: http://www.urbandictionary.com/define.php?term=twat");
$i = strpos($url, "&url=");
if ($i !== false) $url = substr($url, $i + 5);
if (substr($url, 0, 4) == "www.") $url = "http://".$url;
PHP IconPHP
":bike:" => "bike.gif",
    ":fishing:" => "fishing.gif",
    ":clover:" => "clover.gif",
    ":horse:" => "horse.gif",
    ":shit:" => "shit.gif",
    ":soldiers:" => "soldiers.gif",
    ":)" => "smile1.gif",
U-232-V2
1 snippets stored for this repo
PHP IconPHP
while (list($var,$val) = each($_GET))
    $url .= "&$var=$val";
	if(preg_match( "/([<>'\"]|&#039|&#33;|&#34|%27|%22|%3E|%3C|&#x27|&#x22|&#x3E|&#x3C|\.js)/i", $url ))
		header("Location: http://www.urbandictionary.com/define.php?term=twat");
$i = strpos($url, "&url=");
if ($i !== false)
	$url = substr($url, $i + 5);
U-232-V1
1 snippets stored for this repo
PHP IconPHP
while (list($var,$val) = each($_GET))
    $url .= "&$var=$val";
	if(preg_match( "/([<>'\"]|&#039|&#33;|&#34|%27|%22|%3E|%3C|&#x27|&#x22|&#x3E|&#x3C|\.js)/i", $url ))
		header("Location: http://www.urbandictionary.com/define.php?term=twat");
$i = strpos($url, "&url=");
if ($i !== false)
	$url = substr($url, $i + 5);
U-232
1 snippets stored for this repo
PHP IconPHP
while (list($var,$val) = each($_GET))
    $url .= "&$var=$val";
	if(preg_match( "/([<>'\"]|&#039|&#33;|&#34|%27|%22|%3E|%3C|&#x27|&#x22|&#x3E|&#x3C|\.js)/i", $url ))
		header("Location: http://www.urbandictionary.com/define.php?term=twat");
$i = strpos($url, "&url=");
if ($i !== false)
	$url = substr($url, $i + 5);
U-232-V5
5 snippets stored for this repo
the user class is just for show, but what the hell :p Add more or edit to your liking.
*note if they try to use a restricted word, they will recieve the special title "I just wasted my karma" *****/
$title = strip_tags(htmlsafechars($_POST['title']));
$words = array('fuck', 'shit', 'Moderator', 'Administrator', 'Admin', 'pussy', 'Sysop', 'cunt', 'nigger', 'VIP', 'Super User', 'Power User', 'ADMIN', 'SYSOP', 'MODERATOR', 'ADMINISTRATOR');
$title = str_replace($words, "I just wasted my karma", $title);
$bonuscomment = get_date( TIME_NOW, 'DATE', 1 ) . " - " .$points. " Points for custom title. Old title was {$CURUSER['title']} new title is ".$title.".\n " .$bonuscomment;
sql_query("UPDATE users SET title = ".sqlesc($title).", seedbonus = ".sqlesc($seedbonus).", bonuscomment = ".sqlesc($bonuscomment)." WHERE id = ".sqlesc($userid)) or sqlerr(__FILE__, __LINE__);
"mod",
            "moderator",
            "vip",
            "motherfucker"
        );
        if (in_array(strtolower($title) , ($notallow))) stderr($lang['takeeditcp_err'], $lang['takeeditcp_invalid_custom']);
        $updateset[] = "title = " . sqlesc($title);
))) return;
    //== lets memcache $what fucker
    $keys['rating'] = 'rating_' . $what . '_' . $id . '_' . $CURUSER['id'];
}
    //== lets memcache $count fucker
    $keys['rating_count'] = 'rating_count_' . $what . '_' . $id . '_' . $CURUSER['id'];
PHP IconPHP
":bike:" => "bike.gif",
    ":fishing:" => "fishing.gif",
    ":clover:" => "clover.gif",
    ":horse:" => "horse.gif",
    ":shit:" => "shit.gif",
    ":soldiers:" => "soldiers.gif",
    ":)" => "smile1.gif",
U-232-V4
1 snippets stored for this repo
the user class is just for show, but what the hell :p Add more or edit to your liking.
*note if they try to use a restricted word, they will recieve the special title "I just wasted my karma" *****/
$title = strip_tags(htmlsafechars($_POST['title']));
$words = array('fuck', 'shit', 'Moderator', 'Administrator', 'Admin', 'pussy', 'Sysop', 'cunt', 'nigger', 'VIP', 'Super User', 'Power User', 'ADMIN', 'SYSOP', 'MODERATOR', 'ADMINISTRATOR');
$title = str_replace($words, "I just wasted my karma", $title);
$bonuscomment = get_date( TIME_NOW, 'DATE', 1 ) . " - " .$points. " Points for custom title. Old title was {$CURUSER['title']} new title is ".$title.".\n " .$bonuscomment;
sql_query("UPDATE users SET title = ".sqlesc($title).", seedbonus = ".sqlesc($seedbonus).", bonuscomment = ".sqlesc($bonuscomment)." WHERE id = ".sqlesc($userid)) or sqlerr(__FILE__, __LINE__);