View file include/mresort.php
<? 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); ?>