-$INC = sprintf(PATH."inc/modules/guest/what-%s.php", $GLOBALS['what']);
-$IS_VALID = WHAT_IS_VALID(GET_ACTION("guest", $GLOBALS['what']), $GLOBALS['what'], "guest");
-
-if ((file_exists($INC)) && (is_readable($INC)) && ($IS_VALID))
-{
+$inc = sprintf("inc/modules/guest/what-%s.php", getWhat());
+if (isIncludeReadable($inc)) {