All pastes #169689 Raw Edit

Anonymous

public php v1 · immutable
·published 2006-09-14 03:19 UTC
rendered paste body
<?php if(isset($_GET['report'])){	if($_COOKIE['itsAcookieYUM$id'] != "0"){				if($_GET['report'] == "1"){$vote = "You have reported this mirror to be fast speed!<br>Thank you for your vote!";$rep = "FastRep";} else if($_GET['report'] == "2"){$vote = "You have reported this mirror to be slow speed!<br>Thank you for your vote!";$rep = "SlowRep";} else if($_GET['report'] == "3"){$vote = "You have reported this mirror to be dead!<br>Thank you for your vote!";$rep = "DeadRep";}$vote .= "<br><br>";$sql = "UPDATE v3_videos_mirrors SET $rep = $rep + 1 WHERE ID = $id;";            $sqlres = mysql_query($sql);	} else {		$vote = "You have already voted!<br>Blame it on Reidon";}}echo $vote;?>