$value) { $$key = addslashes(stripslashes($chs->Convert($$key))); } unset($chs); } if(in_array($action, array('home', 'login', 'register', 'search', 'stats', 'my', 'myphone', 'goto', 'forum', 'thread', 'post', 'pm'))) { require_once './include/'.$action.'.inc.php'; } else { wapmsg('undefined_action'); } wapfooter(); ?>