View file NuclearCMS_v.1.0.0/forum/include/mresort.php

File size: 279B
<?
if($authorize)
	{

		if($order == 1)
		{
			$newOrder = 0;
		}
		else
		{
			$newOrder = 1;
		}
		mysql_query("UPDATE `users` SET `order`=".$newOrder." WHERE `username`='".$username."'");
	}
	header("Location: ".$forumdir."p=3&v=".$version."&f=".$_GET['f']."&sid=".$sid);
?>