core->cache['config']['ban_names'] ) ); $banned_emails = explode( "\r\n", strtolower( $ifthd->core->cache['config']['ban_emails'] ) ); $banned_ips = explode( "\r\n", strtolower( $ifthd->core->cache['config']['ban_ips'] ) ); if ( in_array( strtolower( $ifthd->member['name'] ), $banned_users ) || ( $ifthd->member['email'] && in_array( strtolower( $ifthd->member['email'] ), $banned_emails ) ) || in_array( strtolower( $ifthd->input['ip_address'] ), $banned_ips ) ) { $ifthd->skin->error('no_perm_banned'); } #============================= # Other Junk #============================= $choice = array( 'article' => 'article', 'kb' => 'article', 'myaccount' => 'account', 'feed' => 'feed', 'portal' => 'portal', 'pages' => 'pages', 'news' => 'news', 'register' => 'register', 'tickets' => 'tickets', ); #============================= # Require & Run #============================= $required = $choice[ $ifthd->input['act'] ]; if ( ! isset( $required ) ) { $required = 'portal'; } require_once HD_SRC . $required .".php"; $run = new $required(); $run->ifthd =& $ifthd; $run->auto_run(); ?>