- // Prepare content
- $content = array(
- 'yoomedia_id' => getConfig(('yoomedia_id')),
- 'yoomedia_sid' => getConfig(('yoomedia_sid')),
- 'yoomedia_passwd' => getConfig('yoomedia_passwd'),
- 'yoomedia_tm_max_reload' => getConfig(('yoomedia_tm_max_reload')),
- 'yoomedia_tm_min_wait' => getConfig(('yoomedia_tm_min_wait')),
- 'yoomedia_tm_clicks_remain' => getConfig(('yoomedia_tm_clicks_remain')),
- 'yoomedia_tm_min_pay' => 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;