bigintval(getConfig('yoomedia_id')), 'yoomedia_sid' => bigintval(getConfig('yoomedia_sid')), 'yoomedia_passwd' => getConfig('yoomedia_passwd'), 'yoomedia_tm_max_reload' => bigintval(getConfig('yoomedia_tm_max_reload')), 'yoomedia_tm_min_wait' => bigintval(getConfig('yoomedia_tm_min_wait')), 'yoomedia_tm_clicks_remain' => bigintval(getConfig('yoomedia_tm_clicks_remain')), 'yoomedia_tm_min_pay' => bigintval(getConfig('yoomedia_tm_min_pay')) ); // Erotic? switch (getConfig('yoomedia_erotic_allowed')) { case 0: // No erotic at all define('__CFG_YOOMEDIA_EROTIC_NONE' , " selected=\"selected\""); define('__CFG_YOOMEDIA_EROTIC_INCLUDE', ""); define('__CFG_YOOMEDIA_EROTIC_ONLY' , ""); break; case 1: // Include erotic define('__CFG_YOOMEDIA_EROTIC_NONE' , ""); define('__CFG_YOOMEDIA_EROTIC_INCLUDE', " selected=\"selected\""); define('__CFG_YOOMEDIA_EROTIC_ONLY' , ""); break; case 2: // Erotic only define('__CFG_YOOMEDIA_EROTIC_NONE' , ""); define('__CFG_YOOMEDIA_EROTIC_INCLUDE', ""); define('__CFG_YOOMEDIA_EROTIC_ONLY' , " selected=\"selected\""); break; } // Load template LOAD_TEMPLATE("admin_config_yoomedia", false, $content); } // ?>