<?php require_once('./global.php'); if ($bbuserinfo['userid'] == 0) { print_no_permission(); } ?> ## Rest of file here.