$l=array("home","about","motd","oper","history","chat","faq","links"); $d = $_GET["d"]; if ( $d == '' ) { $d = 0; } $c = $_GET["c"]; $datafile = $l[$d].".db"; ?>