lib = $lib; $this->db = $this->lib->game->db; } // Modifies an alliance forum function run($id, $name, $userPost, $description) { $this->db->query( "UPDATE af_forum SET title='".addslashes($name)."',user_post=".($userPost?'TRUE':'FALSE').",description='".addslashes($description) ."' WHERE id=$id" ); } } ?>