=$p['subject']?>
=$p['name']?>
No. =$p['id']?>
ID =strtoupper($p['capcode'])?>
=$p['time']?>
=$f['name']?>

'>
query($query);
if($files){
while($f = $files->fetchArray()){
print_file($f);
}
}
}
function validate_board_name($s){
global $db;
$result = $db->query('SELECT name FROM boards;');
$boards = array();
while($row = $result->fetchArray()){
array_push($boards, $row['name']);
}
return in_array('/'.$s.'/', $boards);
}
?>