<?php
 defined('MYARCADE_VERSION') or die(); function F1EC1B948C7A3FB2D2179FE9D8AF70AD6() { $R9C65084CFC54EB0D266E6D073B818630 = get_option('myarcade_general'); if ( $R9C65084CFC54EB0D266E6D073B818630 && isset($R9C65084CFC54EB0D266E6D073B818630['allow_user']) && $R9C65084CFC54EB0D266E6D073B818630['allow_user'] ) { $R4FCBC0C02C134E27059D7393C89E9E7E = 'edit_posts'; } else { $R4FCBC0C02C134E27059D7393C89E9E7E = 'manage_options'; } add_menu_page('MyArcade', 'MyArcade', $R4FCBC0C02C134E27059D7393C89E9E7E , basename(__FILE__), 'FEFB9CE5F018B58517B8DCC4E9789C7A6', MYARCADE_CORE_URL . '/images/arcade.png'); add_submenu_page(basename(__FILE__), __('Dashboard', MYARCADE_TEXT_DOMAIN), __('Dashboard', MYARCADE_TEXT_DOMAIN), $R4FCBC0C02C134E27059D7393C89E9E7E, basename(__FILE__), 'FEFB9CE5F018B58517B8DCC4E9789C7A6'); if ( F8D7A841BE2BAF925673E60D5753C8806() ) { add_submenu_page( basename(__FILE__), __("Fetch Games", MYARCADE_TEXT_DOMAIN), __("Fetch Games", MYARCADE_TEXT_DOMAIN), 'manage_options', 'myarcade-fetch', 'FD024B19046AC13DD27057269DBAEF188'); $R06D0E47D63075A67755B7AFEDC47A1C2 = add_submenu_page( basename(__FILE__), __("Import Games", MYARCADE_TEXT_DOMAIN), __("Import Games", MYARCADE_TEXT_DOMAIN), $R4FCBC0C02C134E27059D7393C89E9E7E, 'myarcade-import-games', 'F415314D4CA21D08BF57AB39A6A25DBCC'); add_action('load-'.$R06D0E47D63075A67755B7AFEDC47A1C2, 'F65AC98D6DD4754968422AD28C9409C18'); add_submenu_page( basename(__FILE__), __("Publish Games", MYARCADE_TEXT_DOMAIN), __("Publish Games", MYARCADE_TEXT_DOMAIN), 'manage_options', 'myarcade-add-games-to-blog', 'F5F9EB2BD2DA652CBF122EEF75C2BE581'); add_submenu_page( basename(__FILE__), __("Manage Games", MYARCADE_TEXT_DOMAIN), __("Manage Games", MYARCADE_TEXT_DOMAIN), 'manage_options', 'myarcade-manage-games', 'F4F412E56D4C4976F6399DDA6C31857F2'); } add_submenu_page( basename(__FILE__), __("Settings"), __("Settings"), 'manage_options', 'myarcade-edit-settings', 'F24949A9DE2C9030AECCEEE99BA501566'); } function F65AC98D6DD4754968422AD28C9409C18() { wp_enqueue_script('myarcade_ajax_forms', MYARCADE_JS_URL.'/jquery.form.js', '', '', false); } function F14C8D668D77CDAFA7584AAE140F6A539() { global $pagenow; wp_register_script( 'myarcade_writepanel', MYARCADE_JS_URL . '/writepanel.js', array('jquery') ); if ($pagenow == 'post.php') { wp_enqueue_script('myarcade_writepanel'); } } function F46136D6CEA14BA0541949124EA854C0A($RA4735645E8334E0AD08EE2583BF53CF9) { if ( isset($_POST['type'] ) ) { switch ( $_POST['type'] ) { case 'myarcade_image': { $RA4735645E8334E0AD08EE2583BF53CF9['subdir'] = '/thumbs'; $RA4735645E8334E0AD08EE2583BF53CF9['path'] = $RA4735645E8334E0AD08EE2583BF53CF9['basedir'] . $RA4735645E8334E0AD08EE2583BF53CF9['subdir']; $RA4735645E8334E0AD08EE2583BF53CF9['url'] = $RA4735645E8334E0AD08EE2583BF53CF9['baseurl'] . $RA4735645E8334E0AD08EE2583BF53CF9['subdir']; } break; case 'myarcade_game': { $RA4735645E8334E0AD08EE2583BF53CF9['subdir'] = '/games'; $RA4735645E8334E0AD08EE2583BF53CF9['path'] = $RA4735645E8334E0AD08EE2583BF53CF9['basedir'] . $RA4735645E8334E0AD08EE2583BF53CF9['subdir']; $RA4735645E8334E0AD08EE2583BF53CF9['url'] = $RA4735645E8334E0AD08EE2583BF53CF9['baseurl'] . $RA4735645E8334E0AD08EE2583BF53CF9['subdir']; } } } return $RA4735645E8334E0AD08EE2583BF53CF9; } function F1BBEDD76DDE9C6107F496702F16A2AC1() { do_action('media_upload_file'); } function F076446FB1E7DEC168E6A8771468CA551( $R31AD26ABE9EF2491A7C61A57BEBC5023=array() ) { $R31AD26ABE9EF2491A7C61A57BEBC5023['dcr'] = 'mime/type'; return $R31AD26ABE9EF2491A7C61A57BEBC5023; } function F400730142F3D7B4F2FCEB8C0DA77AEC5() { wp_enqueue_script('jquery'); wp_enqueue_script('thickbox'); $R1955A96AF13FC806283F9886B1B1CDFE = get_option('siteurl')."/".WPINC."/js/thickbox/thickbox.css"; wp_enqueue_style('thickbox_css', $R1955A96AF13FC806283F9886B1B1CDFE, false, false, 'screen'); $R9FE924CE58937699504671B3D23E4D93 = MYARCADE_CORE_URL."/myarcadeplugin.css"; wp_enqueue_style('myarcade_css', $R9FE924CE58937699504671B3D23E4D93, false, false, 'screen'); } function F199ADB8444B48B6D0568328CBD93BF08() { global $RB0B67211D8336990FD66EAF68E92E9BA; if (F8D7A841BE2BAF925673E60D5753C8806() !== true) { ?>
    <form method="post" name="myabp_lk" class="mabp_error mabp_95" action="?page=myarcade_admin.php">
      <div style="margin:5px 0">
        <?php
 if ( get_option( $RB0B67211D8336990FD66EAF68E92E9BA('bXlhcmNhZGVfc3RhdHVz') ) == -1 ) { echo $RB0B67211D8336990FD66EAF68E92E9BA('TXlBcmNhZGVCbG9nIGxpY2Vuc2Ugc2VydmVyIGNvdWxkIG5vdCBiZSByZWFjaGVkISBDaGVjayB5b3VyIG91dGJvdW5kIGNvbm5lY3Rpb24hPGJyIC8+PGJyIC8+UGxlYXNlIHRyeSBhZ2FpbiBsYXRlci4uLg=='); } echo $RB0B67211D8336990FD66EAF68E92E9BA('TXlBcmNhZGVQbHVnaW4gUHJvIG5lZWRzIHRvIGJlIGFjdGl2YXRlZC4gUGxlYXNlIGVudGVyIHlvdXIgcGVyc29uYWwgbGljZW5zZSBrZXku'); ?>
      </div>

      <input type="text" size="40"  name="myarcade_schluessel" /> <input id="submit" type="submit" name="submit" value="Activate Plugin" />
      <div style="margin:5px 0">
        <?php
 echo $RB0B67211D8336990FD66EAF68E92E9BA('PGEgaHJlZj0iaHR0cDovL215YXJjYWRlcGx1Z2luLmNvbSIgdGFyZ2V0PSJfYmxhbmsiPkJ1eSBhIGxlZ2FsIGxpY2Vuc2UgcGxlYXNlICZyYXJyOzwvYT4='); ?>
      </div>
    </form><br /><?php
 } } add_action('admin_notices', 'F199ADB8444B48B6D0568328CBD93BF08'); function FEFB9CE5F018B58517B8DCC4E9789C7A6() { global $wpdb; F94EBD7C16769D03E06E16136FFE5F944(); ?>
  <div id="icon-index" class="icon32"><br /></div>
  <h2><?php _e("Dashboard"); ?></h2>
  <?php  $R9C65084CFC54EB0D266E6D073B818630 = get_option('myarcade_general'); $R19D8D91C3A4693A3128752A2FBE7FD40 = get_option('myarcade_mochi'); $R5983530825A292064583BEF573BB6E43 = intval($wpdb->get_var("SELECT COUNT(*) FROM ".MYARCADE_GAME_TABLE." WHERE status = 'new'")); $R6A01DC0509CC75DC697CDCBF17BAC8F5 = wp_next_scheduled('myarcade_cron'); if ( !empty($R6A01DC0509CC75DC697CDCBF17BAC8F5) ) { $R6897DA4F5F4772E8E04BFEE38AC24FA5 = get_option('date_format') . ' @ ' . get_option('time_format'); $R93003ED03260ACF6662037D62C4EAFE8 = gmdate($R6897DA4F5F4772E8E04BFEE38AC24FA5, $R6A01DC0509CC75DC697CDCBF17BAC8F5 + (get_option('gmt_offset') * 3600)); } $R82A3D9558AC7F439159820273D784B8D = wp_count_posts(); ?>
  
    <div class="dash-left metabox-holder">
      <div class="postbox">
        <div class="statsico"></div>
        <h3 class="hndle"><span><?php _e('MyArcadePlugin Info', MYARCADE_TEXT_DOMAIN) ?></span></h3>
        <div class="preloader-container">
          <div class="insider" id="boxy">
            <ul>
              <li><?php _e('Total Live Games / Posts', MYARCADE_TEXT_DOMAIN); ?>: <a href="edit.php?post_status=publish&post_type=post"><strong><?php echo $R82A3D9558AC7F439159820273D784B8D->publish; ?></strong></a></li>
              <li><?php _e('Total Scheduled Games / Posts', MYARCADE_TEXT_DOMAIN); ?>: <a href="edit.php?post_status=pending&post_type=post"><strong><?php echo $R82A3D9558AC7F439159820273D784B8D->future; ?></strong></a></li>
              <li><?php _e('Total Draft Games / Posts', MYARCADE_TEXT_DOMAIN); ?>: <a href="edit.php?post_status=draft&post_type=post"><strong><?php echo $R82A3D9558AC7F439159820273D784B8D->draft; ?></strong></a></li>
              
              <li>&nbsp;</li>
              
              <li><?php _e('Unpublished Games', MYARCADE_TEXT_DOMAIN); ?>: <strong><?php echo $R5983530825A292064583BEF573BB6E43; ?></strong></li>
              <li>
                <?php _e('Post Status', MYARCADE_TEXT_DOMAIN); ?>: <strong><?php echo $R9C65084CFC54EB0D266E6D073B818630['status']; ?></strong>
                <?php if ( $R9C65084CFC54EB0D266E6D073B818630['status'] == 'future') : ?>
                 , <strong><?php echo $R9C65084CFC54EB0D266E6D073B818630['schedule']; ?></strong> <?php _e('minutes schedule', MYARCADE_TEXT_DOMAIN); ?>.
                <?php endif; ?>
              </li>
              <li>
                <?php _e('Cron is ', MYARCADE_TEXT_DOMAIN); ?>                
                <?php if ( $R19D8D91C3A4693A3128752A2FBE7FD40['cron'] ) : ?>
                  <strong><?php _e('active', MYARCADE_TEXT_DOMAIN); ?></strong>: <?php _e('next schedule on', MYARCADE_TEXT_DOMAIN); ?> <strong><?php echo $R93003ED03260ACF6662037D62C4EAFE8; ?></strong>
                <?php else: ?>
                  <strong><?php _e('inactive', MYARCADE_TEXT_DOMAIN); ?></strong>
                <?php endif; ?>
              </li>
             
              <li>&nbsp;</li>
              
              <li><?php _e('Download Games', MYARCADE_TEXT_DOMAIN); ?>: <strong><?php if ($R9C65084CFC54EB0D266E6D073B818630['down_games']) _e('Yes', MYARCADE_TEXT_DOMAIN); else _e('No', MYARCADE_TEXT_DOMAIN); ?></strong></li>
              <li><?php _e('Download Thumbnails', MYARCADE_TEXT_DOMAIN); ?>: <strong><?php if ($R9C65084CFC54EB0D266E6D073B818630['down_thumbs']) _e('Yes', MYARCADE_TEXT_DOMAIN); else _e('No', MYARCADE_TEXT_DOMAIN); ?></strong></li>
              <li><?php _e('Download Screenshots', MYARCADE_TEXT_DOMAIN); ?>: <strong><?php if ($R9C65084CFC54EB0D266E6D073B818630['down_screens']) _e('Yes', MYARCADE_TEXT_DOMAIN); else _e('No', MYARCADE_TEXT_DOMAIN); ?></strong></li>
              
              <li>&nbsp;</li>              
              
              <li><?php _e('Product Support', MYARCADE_TEXT_DOMAIN); ?>:  <a href="http://myarcadeplugin.com/support/" target="_new"><?php _e('Forum', MYARCADE_TEXT_DOMAIN); ?></a><li>
            </ul>
          </div>
        </div>
      </div><!-- postbox end -->
              
      <div class="postbox">
        <div class="joystickico"></div>
          <h3 class="hndle" id="poststuff"><span><?php _e('Premium Arcade Themes', MYARCADE_TEXT_DOMAIN) ?></span></h3>
          <div class="preloader-container">
            <div class="insider" id="boxy">
              <p>
              <?php  $RB660C391F7CEB13048630FD08A66430A = fetch_feed('http://exells.com/special-offer/feed/?withoutcomments=1'); if ( is_wp_error( $RB660C391F7CEB13048630FD08A66430A ) ) { echo '<p>'; _e('Sorry, can not download the feed', MYARCADE_TEXT_DOMAIN); echo '</p>'; } else { $RCF5FAB70823CEBBB97AF650528084B84 = $RB660C391F7CEB13048630FD08A66430A->get_item(0); echo $RCF5FAB70823CEBBB97AF650528084B84->get_content(); } ?>
              </p>
              <div class="clear">&nbsp;</div>
            </div> <!-- inside end -->
          </div>
        </div> <!-- postbox end -->        
        
      <div class="postbox">
        <div class="statsico"></div>
          <!-- <a target="_new" href="#"><div class="joystickico"></div></a> -->
          <h3 class="hndle" id="poststuff"><span><?php _e('MyArcade Traffic Exchange Network', MYARCADE_TEXT_DOMAIN) ?></span></h3>
          <div class="preloader-container">
            <div class="insider" id="boxy">
              <p>Join our Banner / Traffic Exchange Network to boost your traffic and to increase the popularity of your site. You will receive 10.000 banner impressions on register for FREE!</p>
               <center><a href="http://exchange.myarcadeplugin.com" target="_blank" title="MyArcade Traffic Exchange Network"> MyArcade Traffic / Banner Exchange Network</a></center>
            </div> <!-- inside end -->
          </div>
        </div> <!-- postbox end -->          

      
    </div><!-- end dash-left -->  
    
    <div class="dash-right metabox-holder">
      <div class="postbox">
        <div class="dollarico"></div>
          <h3 class="hndle" id="poststuff"><span><?php _e('Make Extra Money', MYARCADE_TEXT_DOMAIN) ?></span></h3>
          <div class="preloader-container">
            <div class="insider" id="boxy">
               <p>With MyArcadePlugin Pro affiliate program you can be a part of our success.</p><p>You will earn up to <strong>30%</strong> commission on any sale you refer! <a href="http://myarcadeplugin.com/affiliate-program/" title="MyArcadePlugin Affiliate Programm">Join our affiliate program</a>, promote MyArcadePlugin Pro and earn extra money!</p>
            </div> <!-- inside end -->
          </div>
        </div> <!-- postbox end -->   
      
      <div class="postbox">
        <div class="newsico"></div>
          <h3 class="hndle" id="poststuff"><span><?php _e('Lastest MyArcadePlugin News', MYARCADE_TEXT_DOMAIN) ?></span></h3>
          <div class="preloader-container">
            <div class="insider" id="boxy">
            <?php
 wp_widget_rss_output('http://myarcadeplugin.com/feed', array('items' => 5, 'show_author' => 0, 'show_date' => 1, 'show_summary' => 0)); ?>
            </div> <!-- inside end -->
          </div>
        </div> <!-- postbox end -->  
        
      <div class="postbox">
        <div class="newsico"></div>
          <h3 class="hndle" id="poststuff"><span><?php _e('Lastest exells.com News', MYARCADE_TEXT_DOMAIN) ?></span></h3>
          <div class="preloader-container">
            <div class="insider" id="boxy">
            <?php
 wp_widget_rss_output('http://exells.com/feed', array('items' => 5, 'show_author' => 0, 'show_date' => 1, 'show_summary' => 0)); ?>
            </div> <!-- inside end -->
          </div>
        </div> <!-- postbox end -->  
        
      <div class="postbox">
        <div class="facebookico"></div>
          <h3 class="hndle" id="poststuff"><span><?php _e('Be Our Friend!', MYARCADE_TEXT_DOMAIN) ?></span></h3>
          <div class="preloader-container">
            <div class="insider" id="boxy">
              <p style="text-align:center"><strong><?php _e('If you like MyArcadePlugin, become our friend on Facebook', MYARCADE_TEXT_DOMAIN); ?></strong></p>
              <p style="text-align:center;">
                <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FMyArcadePlugin%2F178161832232562&amp;width=300&amp;colorscheme=light&amp;show_faces=true&amp;stream=false&amp;header=false&amp;height=400" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:400px;" allowTransparency="true"></iframe> 
              </p>            
            </div> <!-- inside end -->
          </div>
        </div> <!-- postbox end -->         
    </div><!-- end dash-right -->    
    
    <div class="clear"></div>
     <strong>MyArcadePlugin Pro v<?php echo MYARCADE_VERSION;?></strong> | <strong><a href="http://myarcadeplugin.com/" target="_blank">MyArcadePlugin.com</a> </strong>
        

  <?php
 F011F5FA6950FDD84A7242122BC8934C3(); } function FDDF3EC25B8F21FAFBFA55C25519BBBBF( $RF6B227831C1B8FFADBC5003D5E2C5EC4, $R93363A629C0B81EF8BCB4A37B34319FD) { if ( $RF6B227831C1B8FFADBC5003D5E2C5EC4 === $R93363A629C0B81EF8BCB4A37B34319FD) { echo ' selected'; } } function F739F7FB06301A1E6810F08B95CC237ED( $REDD5482A7CEE59F6E61DA2AFB9899B77, $R7D0596C36891967F3BB9D994B4A97C19) { if ( $REDD5482A7CEE59F6E61DA2AFB9899B77 === $R7D0596C36891967F3BB9D994B4A97C19) { echo ' checked'; } } function FCF8E1A0ACF7F4CB87DC4210191B8F320($REDD5482A7CEE59F6E61DA2AFB9899B77, $R7D0596C36891967F3BB9D994B4A97C19) { if ( is_array($REDD5482A7CEE59F6E61DA2AFB9899B77) ) { foreach ($REDD5482A7CEE59F6E61DA2AFB9899B77 as $R197C67A575C43817D5B3C01FFA126B92) { if ( $R197C67A575C43817D5B3C01FFA126B92 === $R7D0596C36891967F3BB9D994B4A97C19) { echo ' checked'; break; } } } } function F24949A9DE2C9030AECCEEE99BA501566() { F94EBD7C16769D03E06E16136FFE5F944(); ?>
  <div id="icon-tools" class="icon32"><br /></div>
  <h2><?php _e("Settings"); ?></h2>
  <?php
 if ( isset($_POST['feedaction']) ) { $RD35A39212FD75E833AEA38F90831B2CB = $_POST['feedaction']; } else $RD35A39212FD75E833AEA38F90831B2CB = ''; if ($RD35A39212FD75E833AEA38F90831B2CB == 'save') { $R9C65084CFC54EB0D266E6D073B818630 = array(); if ( isset($_POST['leaderboardenable'])) $R9C65084CFC54EB0D266E6D073B818630['scores'] = true; else $R9C65084CFC54EB0D266E6D073B818630['scores'] = false; if ( isset($_POST['onlyhighscores'])) $R9C65084CFC54EB0D266E6D073B818630['highscores'] = true; else $R9C65084CFC54EB0D266E6D073B818630['highscores'] = false; if ( isset($_POST['game_count'])) $R9C65084CFC54EB0D266E6D073B818630['posts'] = trim($_POST['game_count']); else $R9C65084CFC54EB0D266E6D073B818630['posts'] = ''; if ( isset($_POST['publishstatus'])) $R9C65084CFC54EB0D266E6D073B818630['status'] = $_POST['publishstatus']; else $R9C65084CFC54EB0D266E6D073B818630['status'] = 'publish'; if ( isset($_POST['schedtime'])) $R9C65084CFC54EB0D266E6D073B818630['schedule'] = trim($_POST['schedtime']); else $R9C65084CFC54EB0D266E6D073B818630['schedule'] = ''; if ( isset($_POST['downloadthumbs'])) $R9C65084CFC54EB0D266E6D073B818630['down_thumbs'] = true; else $R9C65084CFC54EB0D266E6D073B818630['down_thumbs'] = false; if ( isset($_POST['downloadgames'])) $R9C65084CFC54EB0D266E6D073B818630['down_games'] = true; else $R9C65084CFC54EB0D266E6D073B818630['down_games'] = false; if ( isset($_POST['downscreens'])) $R9C65084CFC54EB0D266E6D073B818630['down_screens'] = true; else $R9C65084CFC54EB0D266E6D073B818630['down_screens'] = false; if ( isset($_POST['deletefiles'])) $R9C65084CFC54EB0D266E6D073B818630['delete'] = true; else $R9C65084CFC54EB0D266E6D073B818630['delete'] = false; if ( isset($_POST['cronint'])) $R9C65084CFC54EB0D266E6D073B818630['interval'] = $_POST['cronint']; else $R9C65084CFC54EB0D266E6D073B818630['interval'] = 'hourly'; if ( isset($_POST['createcats'])) $R9C65084CFC54EB0D266E6D073B818630['create_cats'] = true; else $R9C65084CFC54EB0D266E6D073B818630['create_cats'] = false; if ( isset($_POST['parentcatid'])) $R9C65084CFC54EB0D266E6D073B818630['parent'] = $_POST['parentcatid']; else $R9C65084CFC54EB0D266E6D073B818630['parent'] = ''; if ( isset($_POST['firstcat'])) $R9C65084CFC54EB0D266E6D073B818630['firstcat'] = true; else $R9C65084CFC54EB0D266E6D073B818630['firstcat'] = false; if ( isset($_POST['maxwidth'])) $R9C65084CFC54EB0D266E6D073B818630['max_width'] = trim($_POST['maxwidth']); else $R9C65084CFC54EB0D266E6D073B818630['max_width'] = ''; if ( isset($_POST['singlecat'])) $R9C65084CFC54EB0D266E6D073B818630['single'] = true; else $R9C65084CFC54EB0D266E6D073B818630['single'] = false; if ( isset($_POST['singlecatid'])) $R9C65084CFC54EB0D266E6D073B818630['singlecat'] = $_POST['singlecatid']; else $R9C65084CFC54EB0D266E6D073B818630['singlecat'] = ''; if ( isset($_POST['embedflashcode'])) $R9C65084CFC54EB0D266E6D073B818630['embed'] = $_POST['embedflashcode']; else $R9C65084CFC54EB0D266E6D073B818630['embed'] = 'manually'; if ( isset($_POST['usetemplate'])) $R9C65084CFC54EB0D266E6D073B818630['use_template'] = true; else $R9C65084CFC54EB0D266E6D073B818630['use_template'] = false; if ( isset($_POST['post_template'])) $R9C65084CFC54EB0D266E6D073B818630['template'] = stripslashes($_POST['post_template']); else $R9C65084CFC54EB0D266E6D073B818630['template'] = ''; if ( isset($_POST['allow_user'])) $R9C65084CFC54EB0D266E6D073B818630['allow_user'] = true; else $R9C65084CFC54EB0D266E6D073B818630['allow_user'] = false; if ( isset($_POST['limitplays'])) $R9C65084CFC54EB0D266E6D073B818630['limit_plays'] = intval($_POST['limitplays']); else $R9C65084CFC54EB0D266E6D073B818630['limit_plays'] = 0; if ( isset($_POST['limitmessage'])) $R9C65084CFC54EB0D266E6D073B818630['limit_message'] = stripslashes($_POST['limitmessage']); else $R9C65084CFC54EB0D266E6D073B818630['limit_message'] = ''; if ( isset($_POST['posttype'])) $R9C65084CFC54EB0D266E6D073B818630['post_type'] = $_POST['posttype']; else $R9C65084CFC54EB0D266E6D073B818630['post_type'] = 'post'; if ( isset($_POST['featured_image'])) $R9C65084CFC54EB0D266E6D073B818630['featured_image'] = true; else $R9C65084CFC54EB0D266E6D073B818630['featured_image'] = false; $R9C65084CFC54EB0D266E6D073B818630['translation'] = isset($_POST['translation']) ? true : false; $R9C65084CFC54EB0D266E6D073B818630['bingid'] = isset($_POST['bingid']) ? trim($_POST['bingid']) : ''; $R9C65084CFC54EB0D266E6D073B818630['translate_to'] = isset($_POST['translate_to']) ? $_POST['translate_to'] : 'en'; $R9C65084CFC54EB0D266E6D073B818630['translate_fields'] = isset($_POST['translate_fields']) ? $_POST['translate_fields'] : array(); $R9C65084CFC54EB0D266E6D073B818630['translate_games'] = isset($_POST['translate_games']) ? $_POST['translate_games'] : array(); $R9C65084CFC54EB0D266E6D073B818630['custom_category'] = isset($_POST['customtaxcat']) ? $_POST['customtaxcat'] : ''; $R9C65084CFC54EB0D266E6D073B818630['custom_tags'] = isset($_POST['customtaxtag']) ? $_POST['customtaxtag'] : ''; update_option('myarcade_general', $R9C65084CFC54EB0D266E6D073B818630); flush_rewrite_rules( false ); $R19D8D91C3A4693A3128752A2FBE7FD40 = array(); if ( isset($_POST['mochiurl'])) $R19D8D91C3A4693A3128752A2FBE7FD40['feed'] = trim($_POST['mochiurl']); else $R19D8D91C3A4693A3128752A2FBE7FD40['feed'] = ''; if ( isset($_POST['feed_save'])) $R19D8D91C3A4693A3128752A2FBE7FD40['feed_save'] = trim($_POST['feed_save']); else $R19D8D91C3A4693A3128752A2FBE7FD40['feed_save'] = ''; if ( isset($_POST['mochiid'])) $R19D8D91C3A4693A3128752A2FBE7FD40['publisher_id'] = trim($_POST['mochiid']); else $R19D8D91C3A4693A3128752A2FBE7FD40['publisher_id'] = ''; if ( isset($_POST['mochiskey'])) $R19D8D91C3A4693A3128752A2FBE7FD40['secret_key'] = trim($_POST['mochiskey']); else $R19D8D91C3A4693A3128752A2FBE7FD40['secret_key'] = ''; if ( isset($_POST['feed_count'])) $R19D8D91C3A4693A3128752A2FBE7FD40['limit'] = intval(trim($_POST['feed_count'])); else $R19D8D91C3A4693A3128752A2FBE7FD40['limit'] = ''; if ( isset($_POST['feedcat'])) $R19D8D91C3A4693A3128752A2FBE7FD40['special'] = trim($_POST['feedcat']); else $R19D8D91C3A4693A3128752A2FBE7FD40['special'] = ''; if ( isset($_POST['cronenable'])) $R19D8D91C3A4693A3128752A2FBE7FD40['cron'] = true; else $R19D8D91C3A4693A3128752A2FBE7FD40['cron'] = false; if ( isset($_POST['globalscores'])) $R19D8D91C3A4693A3128752A2FBE7FD40['global_score'] = true; else $R19D8D91C3A4693A3128752A2FBE7FD40['global_score'] = false; if ( isset($_POST['tag'])) $R19D8D91C3A4693A3128752A2FBE7FD40['tag'] = trim($_POST['tag']); else $R19D8D91C3A4693A3128752A2FBE7FD40['tag'] = ''; if ( isset($_POST['mochi_status'])) $R19D8D91C3A4693A3128752A2FBE7FD40['status'] = $_POST['mochi_status']; else $R19D8D91C3A4693A3128752A2FBE7FD40['status'] = 'publish'; update_option('myarcade_mochi', $R19D8D91C3A4693A3128752A2FBE7FD40); $R93BDA2D8EB64787C728B57644EE5BD27 = array(); if ( isset($_POST['tomicurl'])) $R93BDA2D8EB64787C728B57644EE5BD27['feed'] = trim($_POST['tomicurl']); else $R93BDA2D8EB64787C728B57644EE5BD27['feed'] = ''; if ( isset($_POST['tomiclang'])) $R93BDA2D8EB64787C728B57644EE5BD27['language'] = $_POST['tomiclang']; else $R93BDA2D8EB64787C728B57644EE5BD27['language'] = array(); if ( isset($_POST['tomicaudience'])) $R93BDA2D8EB64787C728B57644EE5BD27['audience'] = $_POST['tomicaudience']; else $R93BDA2D8EB64787C728B57644EE5BD27['audience'] = array(); if ( isset($_POST['tomicads'])) $R93BDA2D8EB64787C728B57644EE5BD27['ads'] = $_POST['tomicads']; else $R93BDA2D8EB64787C728B57644EE5BD27['ads'] = '99'; if ( isset($_POST['tomicleader'])) $R93BDA2D8EB64787C728B57644EE5BD27['leader'] = $_POST['tomicleader']; else $R93BDA2D8EB64787C728B57644EE5BD27['leader'] = '99'; if ( isset($_POST['tomicrating'])) $R93BDA2D8EB64787C728B57644EE5BD27['rating'] = $_POST['tomicrating']; else $R93BDA2D8EB64787C728B57644EE5BD27['rating'] = ''; if ( isset($_POST['tomiclimit'])) $R93BDA2D8EB64787C728B57644EE5BD27['limit'] = trim($_POST['tomiclimit']); else $R93BDA2D8EB64787C728B57644EE5BD27['limit'] = ''; if ( isset($_POST['tomicmtx'])) $R93BDA2D8EB64787C728B57644EE5BD27['mtx'] = $_POST['tomicmtx']; else $R93BDA2D8EB64787C728B57644EE5BD27['mtx'] = '99'; update_option('myarcade_playtomic', $R93BDA2D8EB64787C728B57644EE5BD27); $R8329935101A35C299B8C070A6B8CC1B9 = array(); if ( isset($_POST['kongurl'])) $R8329935101A35C299B8C070A6B8CC1B9['feed'] = trim($_POST['kongurl']); else $R8329935101A35C299B8C070A6B8CC1B9['feed'] = ''; update_option('myarcade_kongregrate', $R8329935101A35C299B8C070A6B8CC1B9); $R8001A4716F056F4082B893BD61106DA9 = array(); if ( isset($_POST['fgdurl'])) $R8001A4716F056F4082B893BD61106DA9['feed'] = trim($_POST['fgdurl']); else $R8001A4716F056F4082B893BD61106DA9['feed'] = ''; if ( isset($_POST['fgdlimit'])) $R8001A4716F056F4082B893BD61106DA9['limit'] = trim($_POST['fgdlimit']); else $R8001A4716F056F4082B893BD61106DA9['limit'] = '50'; update_option('myarcade_fgd', $R8001A4716F056F4082B893BD61106DA9); $R599190A2BEE110CBE08952FC9E5A6476 = array(); if ( isset($_POST['fogurl'])) $R599190A2BEE110CBE08952FC9E5A6476['feed'] = trim($_POST['fogurl']); else $R599190A2BEE110CBE08952FC9E5A6476['feed'] = ''; if ( isset($_POST['foglimit'])) $R599190A2BEE110CBE08952FC9E5A6476['limit'] = trim($_POST['foglimit']); else $R599190A2BEE110CBE08952FC9E5A6476['limit'] = '20'; if ( isset($_POST['fogthumbsize'])) $R599190A2BEE110CBE08952FC9E5A6476['thumbsize'] = trim($_POST['fogthumbsize']); else $R599190A2BEE110CBE08952FC9E5A6476['thumbsize'] = 'small'; if ( isset($_POST['fogscreen'])) $R599190A2BEE110CBE08952FC9E5A6476['screenshot'] = true; else $R599190A2BEE110CBE08952FC9E5A6476['screenshot'] = false; if ( isset($_POST['fogtag'])) $R599190A2BEE110CBE08952FC9E5A6476['tag'] = trim($_POST['fogtag']); else $R599190A2BEE110CBE08952FC9E5A6476['tag'] = 'all'; if ( isset($_POST['fogcategory'])) $R599190A2BEE110CBE08952FC9E5A6476['create_cat'] = true; else $R599190A2BEE110CBE08952FC9E5A6476['create_cat'] = false; update_option('myarcade_fog', $R599190A2BEE110CBE08952FC9E5A6476); $R1874C4FD0AB7BED727B8901FEAEB9770 = array(); if ( isset($_POST['spilgamesurl'])) $R1874C4FD0AB7BED727B8901FEAEB9770['feed'] = trim($_POST['spilgamesurl']); else $R1874C4FD0AB7BED727B8901FEAEB9770['feed'] = ''; if ( isset($_POST['spilgameslimit'])) $R1874C4FD0AB7BED727B8901FEAEB9770['limit'] = trim($_POST['spilgameslimit']); else $R1874C4FD0AB7BED727B8901FEAEB9770['limit'] = '20'; if ( isset($_POST['spilgamesthumbsize'])) $R1874C4FD0AB7BED727B8901FEAEB9770['thumbsize'] = trim($_POST['spilgamesthumbsize']); else $R1874C4FD0AB7BED727B8901FEAEB9770['thumbsize'] = 'small'; if ( isset($_POST['spilgameslanguage'])) $R1874C4FD0AB7BED727B8901FEAEB9770['language'] = trim($_POST['spilgameslanguage']); else $R1874C4FD0AB7BED727B8901FEAEB9770['language'] = 'default'; update_option('myarcade_spilgames', $R1874C4FD0AB7BED727B8901FEAEB9770); if ( $R19D8D91C3A4693A3128752A2FBE7FD40['cron'] ) { if (wp_next_scheduled('myarcade_cron')) { wp_clear_scheduled_hook('myarcade_cron'); } wp_schedule_event(time(), $R9C65084CFC54EB0D266E6D073B818630['interval'], 'myarcade_cron'); } else { if (wp_next_scheduled('myarcade_cron')) { wp_clear_scheduled_hook('myarcade_cron'); } } if ( isset($_POST['gamecats'])) $R126E2CBF06A99730903285215C8BCE94 = $_POST['gamecats']; else $R126E2CBF06A99730903285215C8BCE94 = array(); $R281A0F7BC3D849F3386A5AC36FB35807 = get_option('myarcade_categories'); $RE01F4E85A85AB5A3A028513FFDAF5156 = count($R126E2CBF06A99730903285215C8BCE94); $R09828077F4B697E0CFBB447B1BF05AF0 = count($R281A0F7BC3D849F3386A5AC36FB35807); if ($RE01F4E85A85AB5A3A028513FFDAF5156 > 0) { for ($RA16D2280393CE6A2A5428A4A8D09E354 = 0; $RA16D2280393CE6A2A5428A4A8D09E354 < $R09828077F4B697E0CFBB447B1BF05AF0; $RA16D2280393CE6A2A5428A4A8D09E354++) { foreach ($R126E2CBF06A99730903285215C8BCE94 as $R497690326BF2859E16F3F891B2C015A6) { if ( $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Slug'] == $R497690326BF2859E16F3F891B2C015A6) { $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Status'] = 'checked'; if ($R9C65084CFC54EB0D266E6D073B818630['create_cats'] == true) { if ($R9C65084CFC54EB0D266E6D073B818630['post_type'] == 'post') { $RBC0155EEB7C3836C26B5B4FFD04E0992 = get_cat_ID(htmlspecialchars($R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Name'])); if ($RBC0155EEB7C3836C26B5B4FFD04E0992 == 0) { $RBC6EC54646438D027933BC775ECCB58F = array('cat_name' => $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Name'], 'category_description' => $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Name'], 'category_nicename' => $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Slug'], 'category_parent' => $R9C65084CFC54EB0D266E6D073B818630['parent'] ); if ( !wp_insert_category($RBC6EC54646438D027933BC775ECCB58F) ) { echo '<p class="mabp_error mabp_800">'.__("Failed to create category:", MYARCADE_TEXT_DOMAIN).' '.$R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354][Name].'</p>'; } } } else { if ( post_type_exists($R9C65084CFC54EB0D266E6D073B818630['post_type']) ) { if ( !empty($R9C65084CFC54EB0D266E6D073B818630['custom_category']) && taxonomy_exists($R9C65084CFC54EB0D266E6D073B818630['custom_category']) ) { if ( !term_exists($R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Name'], $R9C65084CFC54EB0D266E6D073B818630['custom_category']) ) { $R65263CF2BFF342D20F26D69FB2963B12 = wp_insert_term ( $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Name'], $R9C65084CFC54EB0D266E6D073B818630['custom_category'], array ( 'description' => $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Name'], 'slug' => $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Slug'] ) ); if ( is_wp_error($R65263CF2BFF342D20F26D69FB2963B12) ) { echo '<p class="mabp_error mabp_800">'.__("Failed to create category:", MYARCADE_TEXT_DOMAIN).' '.$R65263CF2BFF342D20F26D69FB2963B12->get_error_message().'</p>'; } } } } } } break; } else { $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Status'] = ''; } } } update_option('myarcade_categories', $R281A0F7BC3D849F3386A5AC36FB35807); } else { echo '<p class="mabp_error mabp_800">'.__("You have to check at least one feed category!", MYARCADE_TEXT_DOMAIN).'</p>'; } echo '<p class="mabp_info mabp_800">'.__("Your settings have been updated!", MYARCADE_TEXT_DOMAIN).'</p>'; } $R9C65084CFC54EB0D266E6D073B818630 = get_option('myarcade_general'); $R19D8D91C3A4693A3128752A2FBE7FD40 = get_option('myarcade_mochi'); $R93BDA2D8EB64787C728B57644EE5BD27 = get_option('myarcade_playtomic'); $R8001A4716F056F4082B893BD61106DA9 = get_option('myarcade_fgd'); $R30E38C1F8EC85F8EE8DF620FF3267157 = get_option('myarcade_categories'); $R2A87B0705325F4C297A5775CE7A3CF68 = get_option('myarcade_kongregate'); $R599190A2BEE110CBE08952FC9E5A6476 = get_option('myarcade_fog'); $R1874C4FD0AB7BED727B8901FEAEB9770 = get_option('myarcade_spilgames'); if ( $R9C65084CFC54EB0D266E6D073B818630['down_games'] ) { if ( !file_exists(ABSPATH.MYARCADE_GAMES_DIR) ) { @mkdir(ABSPATH.MYARCADE_GAMES_DIR, 0777); } if (!is_writable(ABSPATH.MYARCADE_GAMES_DIR)) { echo '<p class="mabp_error mabp_800">'.sprintf(__("The games directory '%s' must be writeable (chmod 777) in order to download games.", MYARCADE_TEXT_DOMAIN), ABSPATH.MYARCADE_GAMES_DIR).'</p>'; } } if ( $R9C65084CFC54EB0D266E6D073B818630['down_thumbs'] ) { if (!is_writable(ABSPATH.MYARCADE_THUMBS_DIR)) { echo '<p class="mabp_error mabp_800">'.sprintf(__("The thumbails directory '%s' must be writeable (chmod 777) in order to download thumbnails.", MYARCADE_TEXT_DOMAIN), ABSPATH.MYARCADE_THUMBS_DIR).'</p>'; } } if ( $R9C65084CFC54EB0D266E6D073B818630['down_screens'] ) { if ( !file_exists(ABSPATH.MYARCADE_THUMBS_DIR) ) { @mkdir(ABSPATH.MYARCADE_THUMBS_DIR, 0777); } if (!is_writable(ABSPATH.MYARCADE_THUMBS_DIR)) { echo '<p class="mabp_error mabp_800">'.sprintf(__("The thumbails directory '%s' must be writeable (chmod 777) in order to download game screenshots.", MYARCADE_TEXT_DOMAIN), ABSPATH.MYARCADE_THUMBS_DIR).'</p>'; } } if ( !empty($R19D8D91C3A4693A3128752A2FBE7FD40['special']) && empty($R19D8D91C3A4693A3128752A2FBE7FD40['publisher_id']) ) { echo '<p class="mabp_error mabp_800">'.__("You have selected a special category but not entered your Mochi Publisher ID!", MYARCADE_TEXT_DOMAIN).'</p>'; } if ( $R9C65084CFC54EB0D266E6D073B818630['translation'] && empty( $R9C65084CFC54EB0D266E6D073B818630['bingid'] ) ) { echo '<p class="mabp_error mabp_800">'.__("You have activated the Bing Translator but not entered your Application ID. In this case the translator will not work!", MYARCADE_TEXT_DOMAIN).'</p>'; } if ( $R9C65084CFC54EB0D266E6D073B818630['post_type'] == 'post') { $RDE32AAFF6A4EB850444E6AF2ED301288 = get_all_category_ids(); $R29FA1603C6184F03E6AAA115D2BB6020 = array(); foreach ($RDE32AAFF6A4EB850444E6AF2ED301288 as $RE47A654452FFA3228C3B63997615EC1F) { $R29FA1603C6184F03E6AAA115D2BB6020[$RE47A654452FFA3228C3B63997615EC1F] = get_cat_name($RE47A654452FFA3228C3B63997615EC1F); } } else { $R29FA1603C6184F03E6AAA115D2BB6020 = array(); if (taxonomy_exists($R9C65084CFC54EB0D266E6D073B818630['custom_category']) ) { $RDF77991FA7D01115CAE7D378990E322E = get_terms($R9C65084CFC54EB0D266E6D073B818630['custom_category'], array('hide_empty' => false)); foreach ($RDF77991FA7D01115CAE7D378990E322E as $R270D396521F6B787A692C06F477944DA) { $R29FA1603C6184F03E6AAA115D2BB6020[$R270D396521F6B787A692C06F477944DA->term_id] = $R270D396521F6B787A692C06F477944DA->name; } } } ?>
    <br />

    <div id="myarcade_settings">
      <form method="post" name="editsettings">
        <input type="hidden" name="feedaction" value="save">
        
        <?php
 ?>
        <h2 class="trigger"><?php _e("General Settings", MYARCADE_TEXT_DOMAIN); ?></h2>
        <div class="toggle_container">
          <div class="block">
            <table class="optiontable" width="100%">

              <tr><td colspan="2"><h3><?php _e("Save User Scores", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
              <tr>
                <td>
                  <input type="checkbox" name="leaderboardenable" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['scores'], true); ?> /><label class="opt">&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?></label>
                </td>
                <td><i><?php _e("Check this if you want to show and store user scores. Only scores from Mochi and IBPArcade games will be collected.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Save Only Highscores", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="onlyhighscores" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['highscores'], true); ?> /><label class="opt">&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?></label>
                </td>
                <td><i><?php _e("Check this if you want to only save a user's highest score. Otherwise all submitted scores are saved.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Publish Games", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
              <tr>
                <td>
                  <input type="text" size="40"  name="game_count" value="<?php echo $R9C65084CFC54EB0D266E6D073B818630['posts']; ?>" />
                </td>
                <td><i><?php _e('How many games should be published when clicking on "Pulish Games"?', MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Post Status", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="radio" name="publishstatus" value="publish" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['status'], 'publish'); ?> /><label class="opt">&nbsp;<?php _e("Publish", MYARCADE_TEXT_DOMAIN); ?></label>
                  <input type="radio" name="publishstatus" value="future" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['status'], 'future'); ?> /><label class="opt">&nbsp;<?php _e("Scheduled", MYARCADE_TEXT_DOMAIN); ?></label>
                  <input type="radio" name="publishstatus" value="draft" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['status'], 'draft'); ?> /><label class="opt">&nbsp;<?php _e("Draft", MYARCADE_TEXT_DOMAIN); ?></label>
                  <br /><br />
                  <?php _e("Schedule Time", MYARCADE_TEXT_DOMAIN); ?>: <input type="text" size="10" name="schedtime" value="<?php echo $R9C65084CFC54EB0D266E6D073B818630['schedule']; ?>">
                </td>
                <td><i><?php _e("Choose the post status for new game publication. If you wish to schedule new game publication, indicate an interval between publications in minutes.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Download Thumbnails", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="downloadthumbs" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['down_thumbs'], true); ?> /><label class="opt">&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?></label>
                </td>
                <td><i><?php _e("Should the game thumbnails be imported and saved on your webserver? For this to work properly, the thumb directory (wp-content/thumbs/) must be writable.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Download Games", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="downloadgames" value="true"  <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['down_games'], true); ?> /><label class="opt">&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?></label>
                </td>
                <td><i><?php _e("Should the game be imported and saved on your webserver? For this to work properly, the game directory (wp-content/games/) must be writable.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Download Screenshots", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="downscreens" value="true"  <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['down_screens'], true); ?> /><label class="opt">&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?></label>
                </td>
                <td><i><?php _e("Should the game screenshots be imported and stored on your webserver? For this to work properly, the thumb directory (wp-content/thumbs/) must be  writable.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Delete Game Files", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="deletefiles" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['delete'], true); ?> /><label class="opt">&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?></label>
                </td>
                <td><i><?php _e("This option will delete the associated game files from your server after deleting the post from your blog. Warning - deleted games cannot be re-published! For this to work properly, the games and thumbs directories must be writeable.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Auto Game Feeding (Cron)", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                   <select size="1" name="cronint" id="cronint">
                     <option value="hourly" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R9C65084CFC54EB0D266E6D073B818630['interval'], 'hourly'); ?> ><?php _e("Hourly", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="twicedaily" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R9C65084CFC54EB0D266E6D073B818630['interval'], 'twicedaily'); ?> ><?php _e("Twice Daily", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="daily" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R9C65084CFC54EB0D266E6D073B818630['interval'], 'daily'); ?> ><?php _e("Daily", MYARCADE_TEXT_DOMAIN); ?></option>
                  </select>
                </td>
                <td><i><?php _e("Select a frequency for fetching new games. Games are fetched per the scheduled frequency, pending a user visiting your site (which triggers the function). MyArcadePlugin Pro fetches the latest game and only one game per trigger.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Game Categories To Feed", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                <?php  foreach ($R30E38C1F8EC85F8EE8DF620FF3267157 as $RAE9A4476893066B7B92C648E9F0FDEE8) { echo '<input type="checkbox" name="gamecats[]" value="'.$RAE9A4476893066B7B92C648E9F0FDEE8['Slug'].'" '.$RAE9A4476893066B7B92C648E9F0FDEE8['Status'].' /><label class="opt">&nbsp;'.$RAE9A4476893066B7B92C648E9F0FDEE8['Name'].' '.$RAE9A4476893066B7B92C648E9F0FDEE8['Info'].'</label><br />'; } ?>
                </td>
                <td><i><?php _e("Select game categories that should be fetched.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Create Categories", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="createcats" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['create_cats'], true); ?> /><label class="opt">&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?></label>
                </td>
                <td><i><?php _e("Check this if you want to create selected categories on your blog.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>


              <tr><td colspan="2"><h3><?php _e("Parent Category", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
                <tr>
                  <td>
                    <select size="1" name="parentcatid" id="parentcatid">
                    <option value=''>--- <?php _e("No Parent Category", MYARCADE_TEXT_DOMAIN); ?> ---</option>
                    <?php
 foreach ($R29FA1603C6184F03E6AAA115D2BB6020 as $RC11F3654F948F5253C0BA85FB251E9B1) { if ($RC11F3654F948F5253C0BA85FB251E9B1 == $R9C65084CFC54EB0D266E6D073B818630['parent']) { $R57681F07B342495CFFFD233A37A4DC9F = 'selected'; } else { $R57681F07B342495CFFFD233A37A4DC9F = ''; } echo '<option value="'.$RC11F3654F948F5253C0BA85FB251E9B1.'" '.$R57681F07B342495CFFFD233A37A4DC9F.'>'.get_cat_name($RC11F3654F948F5253C0BA85FB251E9B1).'</option>'; } ?>
                    </select>
                  </td>
                  <td><i><?php _e("This option will create game categories as subcategories in the selected category.", MYARCADE_TEXT_DOMAIN); ?> <?php _e(" This option is usefull if you have a mixed site and not only a pure arcade site.", MYARCADE_TEXT_DOMAIN); ?></i></td>
                </tr>

                <?php ?>
                <tr>
                  <td colspan="2">
                    <h3><?php _e("Use Only The First Category", MYARCADE_TEXT_DOMAIN); ?></h3>
                  </td>
                </tr>
                <tr>
                  <td>
                    <input type="checkbox" name="firstcat" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['firstcat'], true); ?> />&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?>
                  </td>
                  <td><i><?php _e("Many Mochi and HeyZap games are tagged to more than one category. Activate this option to avoid game publishing in more than one category.", MYARCADE_TEXT_DOMAIN); ?></i></td>
                </tr>

                
              <tr><td colspan="2"><h3><?php _e("Max. Game Width (optional)", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40" name="maxwidth" value="<?php echo $R9C65084CFC54EB0D266E6D073B818630['max_width']; ?>" />
                </td>
                <td><i><?php _e("Maximum allowed game width in px. If set, the get_game function will create output code with adjusted game dimensions.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Publish In A Single Category", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="singlecat" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['single'], true); ?> />&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?>
                  <select size="1" name="singlecatid" id="singlecatid">
                  <?php
 foreach ($R29FA1603C6184F03E6AAA115D2BB6020 as $RC11F3654F948F5253C0BA85FB251E9B1) { if ($RC11F3654F948F5253C0BA85FB251E9B1 == $R9C65084CFC54EB0D266E6D073B818630['singlecat']) { $R57681F07B342495CFFFD233A37A4DC9F = 'selected'; } else { $R57681F07B342495CFFFD233A37A4DC9F = ''; } echo '<option value="'.$RC11F3654F948F5253C0BA85FB251E9B1.'" '.$R57681F07B342495CFFFD233A37A4DC9F.'/>'.get_cat_name($RC11F3654F948F5253C0BA85FB251E9B1).'</option>'; } ?>
                  </select>
                </td>
                <td><i><?php _e("This option will publish all games only in the selected category.", MYARCADE_TEXT_DOMAIN); ?> <?php _e("This option is usefull if you have a mixed site and not only a pure arcade site.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Embedd Flash Code", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                <select size="1" name="embedflashcode" id="embedflashcode">
                  <option value="manually" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R9C65084CFC54EB0D266E6D073B818630['embed'], 'manually'); ?> ><?php _e("Manually", MYARCADE_TEXT_DOMAIN); ?></option>
                  <option value="top" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R9C65084CFC54EB0D266E6D073B818630['embed'], 'top'); ?> ><?php _e("At The Top Of A Game Post", MYARCADE_TEXT_DOMAIN); ?></option>
                  <option value="bottom" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R9C65084CFC54EB0D266E6D073B818630['embed'], 'bottom'); ?> ><?php _e("At The Bottom Of A Game Post", MYARCADE_TEXT_DOMAIN); ?></option>
                </select>
                </td>
                <td><i><?php _e("Select if MyArcadePlugin Pro should auto embed the flash code in your game posts (only if you don't use FunGames theme).", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Game Post Template", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="usetemplate" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['use_template'], true); ?> /><label class="opt">&nbsp;<?php _e("Activate Post Template", MYARCADE_TEXT_DOMAIN); ?></label>
                  <br /><br />
                  <textarea rows="12" cols="40" id="post_template" name="post_template"><?php echo htmlspecialchars(stripslashes($R9C65084CFC54EB0D266E6D073B818630['template'])); ?></textarea>
                </td>
                <td><i>
                    <?php _e("Use this template to style the output of MyArcadePlugin Pro when creating game posts (only if you don't use FunGames theme).", MYARCADE_TEXT_DOMAIN); ?>
                    <br />
                     <strong><?php _e("Available Variables", MYARCADE_TEXT_DOMAIN); ?>:</strong><br />
                    %TITLE% - <?php _e("Show the game title", MYARCADE_TEXT_DOMAIN); ?><br />
                    %TAGS% - <?php _e("Show all game tags", MYARCADE_TEXT_DOMAIN); ?><br />
                    %THUMB% - <?php _e("Show the game thumbnail", MYARCADE_TEXT_DOMAIN); ?><br />
                    %DESCRIPTION% - <?php _e("Show game description", MYARCADE_TEXT_DOMAIN); ?><br />
                    %INSTRUCTIONS% - <?php _e("Show game instructions if available", MYARCADE_TEXT_DOMAIN); ?>
                  </i></td>
              </tr>

              <?php ?>
              <tr>
                <td colspan="2">
                  <h3><?php _e("Allow Users To Post Games", MYARCADE_TEXT_DOMAIN); ?></h3>
                </td>
              </tr>
              <tr>
                <td>
                  <input type="checkbox" name="allow_user" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['allow_user'], true); ?> />&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?>
                </td>
                <td><i><?php _e("Activate this if you want to give your users access to import games. WordPress supports following user roles: Contributor, Author and Editor. Games added by Contributors will be saved as drafts! Authors and Editors will be able to publish games.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <?php ?>
              <tr>
                <td colspan="2">
                  <h3><?php _e("Guest Plays", MYARCADE_TEXT_DOMAIN); ?></h3>
                </td>
              </tr>
              <tr>
                <td>
                  <input type="text" size="40" name="limitplays" value="<?php echo $R9C65084CFC54EB0D266E6D073B818630['limit_plays']; ?>" />
                </td>
                <td><i><?php _e("Set how many games a guest can play before he/she needs to register. Set to 0 to deactivate the game play check.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <?php ?>
              <tr>
                <td colspan="2">
                  <h3><?php _e("Guest Message", MYARCADE_TEXT_DOMAIN); ?></h3>
                </td>
              </tr>
              <tr>
                <td>
                  <textarea rows="12" cols="40" id="limitmessage" name="limitmessage"><?php echo htmlspecialchars(stripslashes($R9C65084CFC54EB0D266E6D073B818630['limit_message'])); ?></textarea>
                </td>
                <td><i><?php _e("Enter the message here that you want a guest to see after 'X' number of plays (HTML allowed)", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <?php ?>
              <tr>
                <td colspan="2">
                  <h3><?php _e("Post Type", MYARCADE_TEXT_DOMAIN); ?></h3>
                </td>
              </tr>
              <tr>
                <td>
                  <?php  $RFFEE87C3A58D1A5A39E20EFB0D800053 = get_post_types(); $RE19F6EBEC82C41D02D603DCEBD55B29B = array('attachment', 'revision', 'nav_menu_item', 'page'); $RFFEE87C3A58D1A5A39E20EFB0D800053 = array_diff($RFFEE87C3A58D1A5A39E20EFB0D800053, $RE19F6EBEC82C41D02D603DCEBD55B29B); ?>
                  <select size="1" name="posttype" id="posttype">
                    <?php
 foreach($RFFEE87C3A58D1A5A39E20EFB0D800053 as $R65DFACB39960C22313740A131148FB81) { ?>
                      <option value="<?php echo $R65DFACB39960C22313740A131148FB81; ?>" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R9C65084CFC54EB0D266E6D073B818630['post_type'], $R65DFACB39960C22313740A131148FB81); ?>>
                        <?php echo $R65DFACB39960C22313740A131148FB81; ?>
                      </option>
                    <?php } ?>
                  </select>
                </td>
                <td><i><?php _e("Select a post type you want to use with MyArcadePlugin. If you want to use a custom post type then you will need to create it before you can make a selection. The easiest way to create a custom post type is to use a plugin like 'Custom Post Type UI'.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <tr>
                <td colspan="2">
                  <h3><?php _e("Custom Taxonomies", MYARCADE_TEXT_DOMAIN); ?></h3>
                </td>
              </tr>
              <tr>
                <td colspan="2">
                  <?php  $REB8197DFB1FA91DBEFE9915CAA539561 = get_taxonomies(array('public' => true,'_builtin' => false)); if ( !is_array($REB8197DFB1FA91DBEFE9915CAA539561) || empty($REB8197DFB1FA91DBEFE9915CAA539561)) { ?>
                    <i><?php _e('No custom taxonomies found..', MYARCADE_TEXT_DOMAIN); ?></i>
                    <?php
 } else { ?>
                    <table>
                      <tr>
                      <td>Game Categories:</td>
                      <td>
                    <?php if ( is_array($REB8197DFB1FA91DBEFE9915CAA539561) && !empty($REB8197DFB1FA91DBEFE9915CAA539561)) : ?>
                      <select size="1" name="customtaxcat" id="customtaxcat">
                        <option value="">-- select a taxonomy --</option>
                        <?php foreach( $REB8197DFB1FA91DBEFE9915CAA539561 as $R270D396521F6B787A692C06F477944DA) : ?>
                        <option value="<?php echo $R270D396521F6B787A692C06F477944DA; ?>" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R270D396521F6B787A692C06F477944DA , $R9C65084CFC54EB0D266E6D073B818630['custom_category']); ?>><?php echo $R270D396521F6B787A692C06F477944DA; ?></option>
                        <?php endforeach; ?>
                      </select>
                    <?php endif; ?>
                      </td>
                      <td><?php _e("Select a custom taxonomy that should be used for game categories.", MYARCADE_TEXT_DOMAIN); ?></td>
                      </tr>
                      <tr>
                      <td>Game Tags:</td>
                      <td>
                    <?php if ( is_array($REB8197DFB1FA91DBEFE9915CAA539561) && !empty($REB8197DFB1FA91DBEFE9915CAA539561)) : ?>
                      <select size="1" name="customtaxtag" id="customtaxtag">
                        <option value="">-- select a taxonomy --</option>
                        <?php foreach( $REB8197DFB1FA91DBEFE9915CAA539561 as $R270D396521F6B787A692C06F477944DA) : ?>
                        <option value="<?php echo $R270D396521F6B787A692C06F477944DA; ?>" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R270D396521F6B787A692C06F477944DA , $R9C65084CFC54EB0D266E6D073B818630['custom_tags']); ?>><?php echo $R270D396521F6B787A692C06F477944DA; ?></option>
                        <?php endforeach; ?>
                      </select>
                    <?php endif; ?>
                      </td>
                      <td><?php _e("Select a custom taxonomy that should be used for game tags.", MYARCADE_TEXT_DOMAIN); ?></td>
                      </tr>
                    </table>
                    <?php
 } ?>
                </td>
              </tr>
              
             
              <?php ?>
              <tr>
                <td colspan="2">
                  <h3><?php _e("Featured Image", MYARCADE_TEXT_DOMAIN); ?></h3>
                </td>
              </tr>
              <tr>
                <td>
                  <input type="checkbox" name="featured_image" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['featured_image'], true); ?> />&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?>
                </td>
                <td><i><?php _e("Activate this option if you want MyArcadePlugin to attach game thumbnails to the created post as featured images. Use this only if you don’t use a pure Arcade Theme.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>                

            </table>
            <input id="submit" type="submit" name="submit" value="<?php _e("Save Settings", MYARCADE_TEXT_DOMAIN); ?>" />
          </div>
        </div>
        
       <?php
 ?>
        <h2 class="trigger"><?php _e("Translation Settings", MYARCADE_TEXT_DOMAIN); ?></h2>
        <div class="toggle_container">
          <div class="block">
            <table class="optiontable" width="100%" cellpadding="5" cellspacing="5">
              <tr>
                <td colspan="2">
                  <i>
                    <?php _e("Translate games automatically to your language using the Bing Translation API. The translation is triggered when you click on 'Publish Games' or 'Publish'.", MYARCADE_TEXT_DOMAIN); ?>
                  </i>
                  <br /><br />
                  <p class="mabp_error" style="padding:10px">
                    <?php _e("Translation service is in beta status.", MYARCADE_TEXT_DOMAIN); ?>
                  </p>
                </td>
              </tr>
              
              <?php ?>
              <tr>
                <td colspan="2">
                  <h3><?php _e("Enable Translator", MYARCADE_TEXT_DOMAIN); ?></h3>
                </td>
              </tr>
              <tr>
                <td>
                  <input type="checkbox" name="translation" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R9C65084CFC54EB0D266E6D073B818630['translation'], true); ?> />&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?>
                </td>
                <td><i><?php _e("Check this if you want to enable the translator.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <?php ?>
              <tr>
                <td colspan="2">
                  <h3><?php _e("Application ID", MYARCADE_TEXT_DOMAIN); ?></h3>
                </td>
              </tr>
              <tr>
                <td>
                  <input type="text" size="40" name="bingid" value="<?php echo $R9C65084CFC54EB0D266E6D073B818630['bingid']; ?>" />
                </td>
                <td><i><?php _e("To be able to use Bing Translation API you will need to login at Bing with your WindowsLive Account, create a new application and get the application ID. Create a new aplication here: <a href='http://www.bing.com/developers/createapp.aspx' target='_blank'>Bing Developer</a>", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>              
                            
              <?php ?>
              <tr><td colspan="2"><h3><?php _e("Target Language", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
              <tr>
                <td>
                  <?php
 include_once(MYARCADE_CORE_DIR.'/languages.php'); if (isset($RE4383934787B83B49DDB150913CF42D2) ) { ?><select size="1" name="translate_to" id="translate_to"><?php
 foreach ($RE4383934787B83B49DDB150913CF42D2 as $RE2A6348A524DA39F3A55BC3C1C4497F5 => $R51C716B9664B3F4E109066C05B9B1A86) { ?><option value="<?php echo $RE2A6348A524DA39F3A55BC3C1C4497F5; ?>" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R9C65084CFC54EB0D266E6D073B818630['translate_to'], $RE2A6348A524DA39F3A55BC3C1C4497F5); ?>><?php echo $R51C716B9664B3F4E109066C05B9B1A86; ?></option><?php  } ?></select><?php
 } else { _e("ERROR: Can't find the language file!"); } ?>
                </td>
                <td><i><?php _e("Select the target language.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <?php ?>
              <tr><td colspan="2"><h3><?php _e("Game Fields To Translate", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
              <tr>
                <td>
                  <input type="checkbox" name="translate_fields[]" value="name" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R9C65084CFC54EB0D266E6D073B818630['translate_fields'], 'name'); ?> />&nbsp;Name<br />
                  <input type="checkbox" name="translate_fields[]" value="description" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R9C65084CFC54EB0D266E6D073B818630['translate_fields'], 'description'); ?> />&nbsp;Description<br />
                  <input type="checkbox" name="translate_fields[]" value="instructions" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R9C65084CFC54EB0D266E6D073B818630['translate_fields'], 'instructions'); ?> />&nbsp;Instructions<br />
                  <input type="checkbox" name="translate_fields[]" value="tags" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R9C65084CFC54EB0D266E6D073B818630['translate_fields'], 'tags'); ?> />&nbsp;Tags
                  
                </td>
                <td><i><?php _e("Select game fields that you want to translate.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>              
             
              <?php ?>
              <tr><td colspan="2"><h3><?php _e("Game Types To Translate", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
              <tr>
                <td>
                  <input type="checkbox" name="translate_games[]" value="mochi" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R9C65084CFC54EB0D266E6D073B818630['translate_games'], 'mochi'); ?> />&nbsp;Mochi<br />
                  <input type="checkbox" name="translate_games[]" value="heyzap" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R9C65084CFC54EB0D266E6D073B818630['translate_games'], 'heyzap'); ?> />&nbsp;HeyZap<br />
                  <input type="checkbox" name="translate_games[]" value="playtomic" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R9C65084CFC54EB0D266E6D073B818630['translate_games'], 'playtomic'); ?> />&nbsp;Playtomic<br />
                  <input type="checkbox" name="translate_games[]" value="fgd" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R9C65084CFC54EB0D266E6D073B818630['translate_games'], 'fgd'); ?> />&nbsp;FlashGameDistribution<br />
                  <input type="checkbox" name="translate_games[]" value="kongregate" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R9C65084CFC54EB0D266E6D073B818630['translate_games'], 'kongregate'); ?> />&nbsp;Kongregate<br />
                  <input type="checkbox" name="translate_games[]" value="ibparcade" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R9C65084CFC54EB0D266E6D073B818630['translate_games'], 'ibparcade'); ?> />&nbsp;IBPArcade<br />
                  <input type="checkbox" name="translate_games[]" value="custom" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R9C65084CFC54EB0D266E6D073B818630['translate_games'], 'custom'); ?> />&nbsp;Custom<br />
                  
                </td>
                <td><i><?php _e("Select game types you want to translate.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
            </table>
            <input id="submit" type="submit" name="submit" value="<?php _e("Save Settings", MYARCADE_TEXT_DOMAIN); ?>" />
          </div>
        </div>
        
        <?php
 ?>
        <h2 class="trigger"><?php _e("Mochi Media", MYARCADE_TEXT_DOMAIN); ?></h2>
        <div class="toggle_container">
          <div class="block">
            <table class="optiontable" width="100%" cellpadding="5" cellspacing="5">
              <tr>
                <td colspan="2">
                  <i>
                    <?php _e("A Mochi account is required to utilize the Mochi Media features.", MYARCADE_TEXT_DOMAIN); ?> Click <a href="https://www.mochimedia.com/r/23f4b6b9ad680165" title="Register On Mochi">here</a> to create a new account.
                  </i>
                  <br /><br />
                </td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Mochi Media Feed URL", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40"  name="mochiurl" value="<?php echo $R19D8D91C3A4693A3128752A2FBE7FD40['feed']; ?>" />
                </td>
                <td><i><?php _e("Edit this field only if Mochi Media Feed URL has been changed!", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <tr><td colspan="2"><h3><?php _e("Mochi Game Catalog 2.0 URL", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40"  name="feed_save" value="<?php echo $R19D8D91C3A4693A3128752A2FBE7FD40['feed_save']; ?>" />
                </td>
                <td><i><?php _e("Optionally, you can enter a Mochi feed url for Game Catalog 2.0. Create this URL from the Mochi's website.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>              

              <tr><td colspan="2"><h3><?php _e("Mochi Publisher ID", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40"  name="mochiid" value="<?php echo $R19D8D91C3A4693A3128752A2FBE7FD40['publisher_id']; ?>" />
                </td>
                <td><i><?php _e("Paste your Mochi 'Publisher ID' here; the 'Publisher ID' may be found under 'Settings' on the Mochi site.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Publisher Secret Key", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40"  name="mochiskey" value="<?php echo $R19D8D91C3A4693A3128752A2FBE7FD40['secret_key']; ?>" />
                </td>
                <td><i><?php _e("Paste your Mochi Publisher Secret Key here. This is required if the leaderboard feature is to be used. You can find your Secret Key under 'Settings' on the Mochi site.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3>Feed Games</h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40"  name="feed_count" value="<?php echo $R19D8D91C3A4693A3128752A2FBE7FD40['limit']; ?>" />
                </td>
                <td><i><?php _e("How many Mochi games should be fetched when clicking 'Fetch Games'? Leave blank if you want to fetch all games (not recommended). This option only affects the manual game fetching. It is recommended to use values between 100 and 2000 to avoid server overload.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Filter by Tag", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40"  name="tag" value="<?php echo $R19D8D91C3A4693A3128752A2FBE7FD40['tag']; ?>" />
                </td>
                <td><i><?php _e("You may choose to include games that include or exclude a tag. To exclude a tag, prefix it with a minus(-) sign. For example '-zn-cn' will exclude all Chinese games or 'snow' will include only games tagged with snow. Add tags without quotes ('').", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Special Categories", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <select size="1" name="feedcat" id="feedcat">
                    <option value="" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R19D8D91C3A4693A3128752A2FBE7FD40['special'], ''); ?> ><?php _e("All Games", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="premium_games" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R19D8D91C3A4693A3128752A2FBE7FD40['special'], 'premium_games'); ?> ><?php _e("Premium Games", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="coins_enabled" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R19D8D91C3A4693A3128752A2FBE7FD40['special'], 'coins_enabled'); ?> ><?php _e("Coin Enabled Games", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="featured_games" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R19D8D91C3A4693A3128752A2FBE7FD40['special'], 'featured_games'); ?> ><?php _e("Featured Games", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="leaderboard_enabled" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R19D8D91C3A4693A3128752A2FBE7FD40['special'], 'leaderboard_enabled'); ?> ><?php _e("Leaderboard Games", MYARCADE_TEXT_DOMAIN); ?></option>
                  </select>
                </td>
                <td><i><?php _e("Select a special category if you want to fetch only featured, coin enabled, leaderboard or premium games. To use this feature a valid Publisher ID needs to be entered.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <?php ?>
              <tr><td colspan="2"><h3><?php _e("Enable Global Mochi Scores", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="globalscores" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R19D8D91C3A4693A3128752A2FBE7FD40['global_score'], true) ?> /><label class="opt">&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?></label>
                </td>
                <td><i><?php _e("Check this if the global scores of a game (in addition to those submitted on your site) need to be displayed.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              
              <tr><td colspan="2"><h3><?php _e("Mochi Auto Game Feeding (Cron)", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="cronenable" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R19D8D91C3A4693A3128752A2FBE7FD40['cron'], true); ?> /><label class="opt">&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?></label>
                </td>
                <td><i><?php _e("Enable this if you want to fetch Mochi Media games automatically. Go to 'General Settings' to select a cron interval.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr> 
              

              <tr><td colspan="2"><h3><?php _e("Mochi Auto Post / Cron Game Status", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <select size="1" name="mochi_status" id="mochi_status">
                    <option value="publish" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R19D8D91C3A4693A3128752A2FBE7FD40['status'], 'publish'); ?> ><?php _e("Publish", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="draft" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R19D8D91C3A4693A3128752A2FBE7FD40['status'], 'draft'); ?> ><?php _e("Draft", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="add" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R19D8D91C3A4693A3128752A2FBE7FD40['status'], 'add'); ?> ><?php _e("Add To Database (don't publish)", MYARCADE_TEXT_DOMAIN); ?></option>
                  </select>                  
                </td>
                <td><i><?php _e("Select a status for games added through Mochi Auto Post or Cron Fetching.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>              

            </table>
            <input id="submit" type="submit" name="submit" value="<?php _e("Save Settings", MYARCADE_TEXT_DOMAIN); ?>" />
          </div>
        </div>
        
        <?php
 ?>    
        <h2 class="trigger"><?php _e("Playtomic", MYARCADE_TEXT_DOMAIN); ?></h2>
        <div class="toggle_container">
          <div class="block">
            <table class="optiontable" width="100%" cellpadding="5" cellspacing="5">
              <tr>
                <td colspan="2">
                  <i>
                    <?php _e("Playtomic offers you a lot of high quality games for your site.", MYARCADE_TEXT_DOMAIN); ?> Click <a href="http://playtomic.com" title="Playtomic Website">here</a> to visit the Playtomic site.
                  </i>
                  <br /><br />
                </td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Playtomic Feed URL", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40"  name="tomicurl" value="<?php echo $R93BDA2D8EB64787C728B57644EE5BD27['feed']; ?>" />
                </td>
                <td><i><?php _e("Edit this field only if Playtomic Feed URL has been changed!", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Languages", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <table border="0" cellpadding="2" cellspacing="5">
                    <tr>
                      <td><input type="checkbox" name="tomiclang[]" value="1" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['language'], '1'); ?> /><label class="opt">&nbsp;English</label></td>
                      <td><input type="checkbox" name="tomiclang[]" value="2" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['language'], '2'); ?> /><label class="opt">&nbsp;Spanish</label></td>
                    </tr>
                    <tr>                      
                      <td><input type="checkbox" name="tomiclang[]" value="3" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['language'], '3'); ?> /><label class="opt">&nbsp;Dutch</label></td>
                      <td><input type="checkbox" name="tomiclang[]" value="4" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['language'], '4'); ?> /><label class="opt">&nbsp;German</label></td>
                    </tr>
                    <tr>                      
                      <td><input type="checkbox" name="tomiclang[]" value="5" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['language'], '5'); ?> /><label class="opt">&nbsp;French</label></td>
                      <td><input type="checkbox" name="tomiclang[]" value="6" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['language'], '6'); ?> /><label class="opt">&nbsp;Italian</label></td>
                    </tr>
                    <tr>                      
                      <td><input type="checkbox" name="tomiclang[]" value="7" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['language'], '7'); ?> /><label class="opt">&nbsp;Polish</label></td>
                      <td><input type="checkbox" name="tomiclang[]" value="8" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['language'], '8'); ?> /><label class="opt">&nbsp;Swedish</label></td>
                    </tr>
                    <tr>                      
                      <td><input type="checkbox" name="tomiclang[]" value="9" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['language'], '9'); ?> /><label class="opt">&nbsp;Portuguese</label></td>                      
                      <td><input type="checkbox" name="tomiclang[]" value="10" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['language'], '10'); ?> /><label class="opt">&nbsp;Russian</label></td>
                    </tr>
                    <tr>                      
                      <td><input type="checkbox" name="tomiclang[]" value="11" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['language'], '11'); ?> /><label class="opt">&nbsp;Chinese</label></td>
                      <td><input type="checkbox" name="tomiclang[]" value="12" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['language'], '12'); ?> /><label class="opt">&nbsp;Japanese</label></td>
                    </tr>
                  </table>
                  </div>
                </td>
                <td><i><?php _e("Select the languages for the games to be fetched from Playtonic.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Audience", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="tomicaudience[]" value="0" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['audience'], '0'); ?> /><label class="opt">&nbsp;Everyone</label>
                  <input type="checkbox" name="tomicaudience[]" value="1" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['audience'], '1'); ?> /><label class="opt">&nbsp;Teens</label>
                  <input type="checkbox" name="tomicaudience[]" value="2" <?php FCF8E1A0ACF7F4CB87DC4210191B8F320($R93BDA2D8EB64787C728B57644EE5BD27['audience'], '2'); ?> /><label class="opt">&nbsp;Mature</label>
                </td>
                <td><i><?php _e("To limit the games fetched from Playtonic to a particular audience rating, select the intended audience for your site.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e('Advertisement', MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <select size="1" name="tomicads" id="tomicads">
                    <option value="99" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['ads'], '99'); ?>><?php _e("Any", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="0" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['ads'], '0'); ?>><?php _e("No Ads", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="1" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['ads'], '1'); ?>><?php _e("Mochi Ads", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="2" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['ads'], '2'); ?>><?php _e("CPMStar Ads", MYARCADE_TEXT_DOMAIN); ?></option>
                  </select>
                </td>
                <td><i><?php _e("Select the kind of adverstisement the fetched games should have. If you want games without ads then select 'No Ads'.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Leaderboards", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <select size="1" name="tomicleader" id="tomicleader">
                    <option value="99" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['leader'], '99'); ?>><?php _e("Any", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="0" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['leader'], '0'); ?>><?php _e("None", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="1" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['leader'], '1'); ?>><?php _e("Playtomic", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="2" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['leader'], '2'); ?>><?php _e("Gamersafe", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="3" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['leader'], '3'); ?>><?php _e("Mochi Media", MYARCADE_TEXT_DOMAIN); ?></option>
                  </select>
                </td>
                <td><i><?php _e("Select the leaderboard type. (Mochi Media is recommended.)", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <tr><td colspan="2"><h3><?php _e('Microtransactions', MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <select size="1" name="tomicmtx" id="tomicmtx">
                    <option value="99" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['mtx'], '99'); ?>><?php _e("Any", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="0" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['mtx'], '0'); ?>><?php _e("None", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="1" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['mtx'], '1'); ?>><?php _e("Gamersafe", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="2" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R93BDA2D8EB64787C728B57644EE5BD27['mtx'], '2'); ?>><?php _e("MochiCoins", MYARCADE_TEXT_DOMAIN); ?></option>
                  </select>
                </td>
                <td><i><?php _e("Select the kind of microtransactions.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>              

              <tr><td colspan="2"><h3><?php _e("Minimum Rating", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40"  name="tomicrating" value="<?php echo $R93BDA2D8EB64787C728B57644EE5BD27['rating']; ?>" />
                </td>
                <td><i><?php _e("Playtomic calculates an engagement rating for all games which is a score out of 100. This shows how fun the game is according to actual player data. A rating of 90 or more is an excellent game, but a 90 will also result in fewer games from Playtonic listed. 70 or more is a great game. 50 or more is a good game. Below 50 is generally a poor game.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Fetch Games", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40"  name="tomiclimit" value="<?php echo $R93BDA2D8EB64787C728B57644EE5BD27['limit']; ?>" />
                </td>
                <td><i><?php _e("How many Playtomic games should be fetched at once. It is recommended to use values between 100 and 2000 to avoid server overload.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

            </table>
            <input id="submit" type="submit" name="submit" value="<?php _e("Save Settings", MYARCADE_TEXT_DOMAIN); ?>" />
          </div>
        </div> 


       <?php
 ?>
        <h2 class="trigger"><?php _e("FlashGameDistribution (FGD)", MYARCADE_TEXT_DOMAIN); ?></h2>
        <div class="toggle_container">
          <div class="block">
            <table class="optiontable" width="100%" cellpadding="5" cellspacing="5">
              <tr>
                <td colspan="2">
                  <i>
                    <?php _e("FlashGameDistribution has over 10.000 games that you can add to your site with ease.", MYARCADE_TEXT_DOMAIN); ?> Click <a href="http://flashgamedistribution.com">here</a> to visit the FlashGameDistribution site.
                  </i>
                  <br /><br />
                </td>
              </tr>
              <tr><td colspan="2"><h3><?php _e("FlashGameDistribution Feed URL", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40"  name="fgdurl" value="<?php echo $R8001A4716F056F4082B893BD61106DA9['feed']; ?>" />
                </td>
                <td><i><?php _e("Edit this field only if FlashGameDistribution Feed URL has been changed!", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <!-- <tr><td colspan="2"><h3><?php _e("Auto Post", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
              
              <tr>
                <td>
                  <input type="checkbox" name="fgdauto" value="true" <?php ?> /><label class="opt">&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?></label>
                </td>
                <td><i><?php _e("Check this if you want to allow FlashGameDistribution directl game posting on your site. When FlashGameDistribution publish a new game it will be automatically added to your site. If you enable this feature, your must enter your CID and your Access Hash.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr> 
              
              <tr><td colspan="2"><h3><?php _e("Client ID", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
            
              <tr>
                <td>
                  <input type="text" size="40"  name="fgdcid" value="<?php ?>" />
                </td>
                <td><i><?php _e("Paste here your client ID (CID). You can find your CID under the 'Manage API' section of the FlashGameDistribution website.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr> 
              
              <tr><td colspan="2"><h3><?php _e("Access Hash", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
            
              <tr>
                <td>
                  <input type="text" size="40"  name="fgdhash" value="<?php ?>" />
                </td>
                <td><i><?php _e("Paste here your access hash. You should keep this hash secret ant not visible to the public.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr> 
              -->
              <tr><td colspan="2"><h3><?php _e("Fetch Games", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40"  name="fgdlimit" value="<?php echo $R8001A4716F056F4082B893BD61106DA9['limit']; ?>" />
                </td>
                <td><i><?php _e("How many FlashGameDistribution games should be fetched at once.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>              
              
            </table>
            <input id="submit" type="submit" name="submit" value="<?php _e("Save Settings", MYARCADE_TEXT_DOMAIN); ?>" />
          </div>
        </div>      

        
       <?php
 ?>
        <h2 class="trigger"><?php _e("Kongregate", MYARCADE_TEXT_DOMAIN); ?></h2>
        <div class="toggle_container">
          <div class="block">
            <table class="optiontable" width="100%" cellpadding="5" cellspacing="5">
              <tr>
                <td colspan="2">
                  <i>
                    <?php _e("Kongegrate provides sponsored game XML feed.", MYARCADE_TEXT_DOMAIN); ?> Click <a href="http://www.kongregate.com/games_for_your_site">here</a> to visit the Kongregrate site.
                  </i>
                  <br /><br />
                </td>
              </tr>
              <tr><td colspan="2"><h3><?php _e("Kongregate Feed URL", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="text" size="40"  name="kongurl" value="<?php echo $R2A87B0705325F4C297A5775CE7A3CF68['feed']; ?>" />
                </td>
                <td><i><?php _e("Edit this field only if Kongregate Feed URL has been changed!", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
            </table>
            <input id="submit" type="submit" name="submit" value="<?php _e("Save Settings", MYARCADE_TEXT_DOMAIN); ?>" />
          </div>
        </div>
        
        
       <?php
 ?>
        <h2 class="trigger"><?php _e("FreeGamesForYourWebsite (FOG)", MYARCADE_TEXT_DOMAIN); ?></h2>
        <div class="toggle_container">
          <div class="block">
            <table class="optiontable" width="100%" cellpadding="5" cellspacing="5">
              <tr>
                <td colspan="2">
                  <i>
                    <?php _e("FreeGamesForYourWebsite provides a game feed with hand picked quality games from several sources.", MYARCADE_TEXT_DOMAIN); ?> Click <a href="http://www.freegamesforyourwebsite.com">here</a> to visit the FreeGamesForYourWebsite site.
                  </i>
                  <br /><br />
                  <p class="mabp_info" style="padding:10px">
                    <?php _e("The feed from FreeGamesForYourWebsite contains over 200 tags / categories. Thereby it is not possible to sort all the games to default arcade categories that are defined at 'General Settings'. It is recommended to adjust game cagegories manually before a game gets published.", MYARCADE_TEXT_DOMAIN); ?>
                  </p>                  
                </td>
              </tr>
              
              <tr><td colspan="2"><h3><?php _e("FreeGamesForYourWebsite Feed URL", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
              <tr>
                <td>
                  <input type="text" size="40"  name="fogurl" value="<?php echo $R599190A2BEE110CBE08952FC9E5A6476['feed']; ?>" />
                </td>
                <td><i><?php _e("Edit this field only if FreeGamesForYourWebsite Feed URL has been changed!", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <tr><td colspan="2"><h3><?php _e("Fetch Games", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
              <tr>
                <td>
                  <input type="text" size="40"  name="foglimit" value="<?php echo $R599190A2BEE110CBE08952FC9E5A6476['limit']; ?>" />
                </td>
                <td><i><?php _e("How many FreeGamesForYourWebsite games should be fetched at once. Enter 'all' (without quotes) if you want to fetch all games. Otherwise enter an integer.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <tr><td colspan="2"><h3><?php _e("Thumbnail Size", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <select size="1" name="fogthumbsize" id="fogthumbsize">
                    <option value="small" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R599190A2BEE110CBE08952FC9E5A6476['thumbsize'], 'small'); ?> ><?php _e("Small (100x100)", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="medium" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R599190A2BEE110CBE08952FC9E5A6476['thumbsize'], 'medium'); ?> ><?php _e("Medium (180x135)", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="large" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R599190A2BEE110CBE08952FC9E5A6476['thumbsize'], 'large'); ?> ><?php _e("Large (300x300)", MYARCADE_TEXT_DOMAIN); ?></option>
                  </select>
                </td>
                <td><i><?php _e("Select the size of the thumbnails that should be used for games from FreeGamesForYourWebsite. Default size is small (100x100).", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <tr><td colspan="2"><h3><?php _e("Use Large Thumbnails as Screenshots", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="fogscreen" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R599190A2BEE110CBE08952FC9E5A6476['screenshot'], true); ?> /><label class="opt">&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?></label>
                </td>
                <td><i><?php _e("Check this if you want to use large thumbnails from the feed as game screenshots", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <tr><td colspan="2"><h3><?php _e("Game Tags / Categories", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <?php
 include_once(MYARCADE_CORE_DIR.'/fog_tags.php'); if (isset($R4608364301128B6E1C76E44945C49F4F) ) { ?><select size="1" name="fogtag" id="fogtag"><?php
 foreach ($R4608364301128B6E1C76E44945C49F4F as $R7B047B1F72F109F9014E4EC7D823FE83) { ?><option value="<?php echo $R7B047B1F72F109F9014E4EC7D823FE83['slug']; ?>" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R599190A2BEE110CBE08952FC9E5A6476['tag'], $R7B047B1F72F109F9014E4EC7D823FE83['slug']); ?>><?php echo $R7B047B1F72F109F9014E4EC7D823FE83['name']; ?></option><?php  } ?></select><?php
 } else { _e("ERROR: Can't find the game tag file!", MYARCADE_TEXT_DOMAIN); } ?>                
                </td>
                <td><i><?php _e("Select a game category that you would like to fetch from FreeGamesForYourWebsite.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <tr><td colspan="2"><h3><?php _e("Create Categories", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <input type="checkbox" name="fogcategory" value="true" <?php F739F7FB06301A1E6810F08B95CC237ED($R599190A2BEE110CBE08952FC9E5A6476['create_cat'], true); ?> /><label class="opt">&nbsp;<?php _e("Yes", MYARCADE_TEXT_DOMAIN); ?></label>
                </td>
                <td><i><?php _e("Check this if you want to create for each 'Game Tag' a category. <strong>ATTENTION:</strong> This will create over 200 categories! Activate this option only if you know what are you doing!", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
            </table>
            <input id="submit" type="submit" name="submit" value="<?php _e("Save Settings", MYARCADE_TEXT_DOMAIN); ?>" />
          </div>
        </div>
        
        
       <?php
 ?>
        <h2 class="trigger"><?php _e("Spilgames", MYARCADE_TEXT_DOMAIN); ?></h2>
        <div class="toggle_container">
          <div class="block">
            <table class="optiontable" width="100%" cellpadding="5" cellspacing="5">
              <tr>
                <td colspan="2">
                  <i>
                    <?php _e("Spil Games provides a game feed with over 1500 games.", MYARCADE_TEXT_DOMAIN); ?> Click <a href="http://publishers.spilgames.com/">here</a> to visit the Spil Games site.
                  </i>
                  <br /><br />
                  <p class="mabp_info" style="padding:10px">
                    <?php _e("Some Spilgames games have a domain lock. That means that they will not work if you host game files on your server. Therbey it is recommended to deactivate Game Download Feature when publishing these games.", MYARCADE_TEXT_DOMAIN); ?>
                  </p> 
                </td>
              </tr>
              
              <tr><td colspan="2"><h3><?php _e("Spil Games Feed URL", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
              <tr>
                <td>
                  <input type="text" size="40"  name="spilgamesurl" value="<?php echo $R1874C4FD0AB7BED727B8901FEAEB9770['feed']; ?>" />
                </td>
                <td><i><?php _e("Edit this field only if Spil Games Feed URL has been changed!", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <tr><td colspan="2"><h3><?php _e("Fetch Games", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>
              <tr>
                <td>
                  <input type="text" size="40"  name="spilgameslimit" value="<?php echo $R1874C4FD0AB7BED727B8901FEAEB9770['limit']; ?>" />
                </td>
                <td><i><?php _e("How many games should be fetched at once. Enter 'all' (without quotes) if you want to fetch all games. Otherwise enter an integer.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <tr><td colspan="2"><h3><?php _e("Thumbnail Size", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <select size="1" name="spilgamesthumbsize" id="spilgamesthumbsize">
                    <option value="1" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['thumbsize'], '1'); ?> ><?php _e("Small (100x75)", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="2" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['thumbsize'], '2'); ?> ><?php _e("Medium (120x90)", MYARCADE_TEXT_DOMAIN); ?></option>
                    <option value="3" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['thumbsize'], '3'); ?> ><?php _e("Large (200x120)", MYARCADE_TEXT_DOMAIN); ?></option>
                  </select>
                </td>
                <td><i><?php _e("Select the size of the thumbnails that should be used for games from Game Spil. Default size is small (100x75).", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="2"><h3><?php _e("Language", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <select size="1" name="spilgameslanguage" id="spilgameslanguage">
                    <option value="default" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'default'); ?>>Default</option>
                    <option value="AR" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'AR'); ?>>AR</option>
                    <option value="de-DE" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'de-DE'); ?>>de-DE</option>
                    <option value="en-GB" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'en-GB'); ?>>en-GB</option>
                    <option value="en-ID" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'en-ID'); ?>>en-ID</option>                    
                    <option value="en-US" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'en-US'); ?>>en-US</option>
                    <option value="es-ES" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'es-ES'); ?>>es-ES</option>
                    <option value="fr-FR" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'fr-FR'); ?>>fr-FR</option>
                    <option value="it-IT" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'it-IT'); ?>>it-IT</option>
                    <option value="jp-JP" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'jp-JP'); ?>>jp-JP</option>
                    <option value="ms-MY" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'ms-MY'); ?>>ms-MY</option>
                    <option value="nl-NL" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'nl-NL'); ?>>nl-NL</option>
                    <option value="pl-PL" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'pl-PL'); ?>>pl-PL</option>
                    <option value="pt-BR" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'pt-BR'); ?>>pt-BR</option>
                    <option value="pt-PT" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'pt-PT'); ?>>pt-PT</option>
                    <option value="ru-RU" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'ru-RU'); ?>>ru-RU</option>
                    <option value="sv-SE" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'sv-SE'); ?>>sv-SE</option>
                    <option value="tr-TR" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R1874C4FD0AB7BED727B8901FEAEB9770['language'], 'tr-TR'); ?>>tr-TR</option>
                  </select>
                </td>
                <td><i><?php _e("Select a game language that you would like to fetch from Spil Games.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
            </table>
            <input id="submit" type="submit" name="submit" value="<?php _e("Save Settings", MYARCADE_TEXT_DOMAIN); ?>" />
          </div>
        </div>

          

        <?php
 ?>
        <h2 class="trigger"><?php _e("Category Mapping", MYARCADE_TEXT_DOMAIN); ?></h2>
        <div class="toggle_container">
          <div class="block">
            <table class="optiontable" width="100%">
              <tr>
                <td colspan="4">
                  <i>
                    <?php _e("Map Mochi, HeyZap, Playtomic and Kongegrate categories to your own category names. This feature allows you to publish games in translated or summarized categories instead of using the predefined category names. (optional)", MYARCADE_TEXT_DOMAIN); ?>
                  </i>
                  <br /><br />
                </td>
              </tr>
             <tr>
              <td width="20%"><a name="mapcats"></a><strong><?php _e("Feed Category", MYARCADE_TEXT_DOMAIN); ?></strong></td>
              <td width="20%"><strong><?php _e("Category", MYARCADE_TEXT_DOMAIN); ?></strong></td>
              <td width="20%"><strong><?php _e("Add Mapping", MYARCADE_TEXT_DOMAIN); ?></strong></td>
              <td><strong><?php _e("Current Mappings", MYARCADE_TEXT_DOMAIN); ?></strong></td>
             </tr>

              <script type="text/javascript">
                function myabp_add_map(slug) {
                  var selection = jQuery('#bcat_'+slug).val();
                  jQuery('#load_'+slug).html('<div class=\'gload\'> </div>');
                  jQuery.post('<?php echo admin_url('admin-ajax.php'); ?>', {
                    action:'FAEF824BDCEFA09E206339F01CE64ED0A',
                    func:'addmap',
                    feedcat:slug,
                    mapcat:selection
                  },

                    function(data) {
                      jQuery('#map_'+slug).append(data);
                      jQuery('#load_'+slug).html('');
                    }
                  );
                }

                function myabp_del_map(mapid, slug) {
                  jQuery('#load_'+slug).html('<div class=\'gload\'> </div>');
                  jQuery.post('<?php echo admin_url('admin-ajax.php'); ?>', {
                    action:'FAEF824BDCEFA09E206339F01CE64ED0A',
                    func:'delmap',
                    feedcat:slug,
                    mapcat:mapid
                  },

                    function(data){
                      jQuery('#delmap_'+mapid+'_'+slug).fadeOut('slow',
                        function() {
                          jQuery('#delmap_'+mapid+'_'+slug).remove();
                        }
                      );
                      jQuery('#load_'+slug).html('');
                    }
                  );
                }
             </script>

            <?php
 foreach ($R30E38C1F8EC85F8EE8DF620FF3267157 as $RAE9A4476893066B7B92C648E9F0FDEE8) : ?>
              <tr>
                <td><?php echo $RAE9A4476893066B7B92C648E9F0FDEE8['Name']; ?></td>
                <td>
                  <?php
 $RE96E6957E643B99AB982605A4618E1D3 = '<select id="bcat_'.$RAE9A4476893066B7B92C648E9F0FDEE8['Slug'].'">'; $RE96E6957E643B99AB982605A4618E1D3 .= '<option value="0">---Select---</option>'; foreach ($R29FA1603C6184F03E6AAA115D2BB6020 as $RC11F3654F948F5253C0BA85FB251E9B1 => $RBE8A7B9BA0D09AF089A82C74FF83754F) { $RE96E6957E643B99AB982605A4618E1D3 .= '<option value="'.$RC11F3654F948F5253C0BA85FB251E9B1.'" />'.$RBE8A7B9BA0D09AF089A82C74FF83754F.'</option>'; } $RE96E6957E643B99AB982605A4618E1D3 .= '</select>'; echo $RE96E6957E643B99AB982605A4618E1D3; ?>
                </td>
                <td>
                  <div style="width:100px">
                  <div class="button-secondary" style="float:left;width:60px;text-align:center;" onclick="myabp_add_map('<?php echo $RAE9A4476893066B7B92C648E9F0FDEE8['Slug']; ?>')">
                    Add
                  </div>
                  <div style="float:right;" id="load_<?php echo $RAE9A4476893066B7B92C648E9F0FDEE8['Slug']; ?>"> </div>
                  </div>
                </td>
                <td>

                  <?php
 if ( !empty($RAE9A4476893066B7B92C648E9F0FDEE8['Mapping']) ) { ?><div class="tagchecklist" id="map_<?php echo $RAE9A4476893066B7B92C648E9F0FDEE8['Slug']; ?>"><?php
 $R44D5507942BD37F2E8BE220EC293D024 = explode(',', $RAE9A4476893066B7B92C648E9F0FDEE8['Mapping']); foreach ($R44D5507942BD37F2E8BE220EC293D024 as $R925737EF34C80F95F51826BA04A4D3F8) { ?>


                        <span id="delmap_<?php echo $R925737EF34C80F95F51826BA04A4D3F8; ?>_<?php echo $RAE9A4476893066B7B92C648E9F0FDEE8['Slug']; ?>" class="remove_map">
                          <img style="float:left;top:4px;position:relative;" src="<?php echo MYARCADE_CORE_URL; ?>/images/remove.png" alt="UnMap" onclick="myabp_del_map('<?php echo $R925737EF34C80F95F51826BA04A4D3F8; ?>', '<?php echo $RAE9A4476893066B7B92C648E9F0FDEE8['Slug']; ?>')" />&nbsp;<?php echo get_cat_name($R925737EF34C80F95F51826BA04A4D3F8); ?>
                        </span>
                    <?php
 } ?></div><?php
 } else { ?>
                      <div class="tagchecklist" id="map_<?php echo $RAE9A4476893066B7B92C648E9F0FDEE8['Slug']; ?>">
                      </div>
                      <?php
 } ?>
                </td>
              </tr>
              <tr><td colspan="4"><HR></td></tr>
              <?php endforeach; ?>
              <tr>
              <td colspan="4">
                <i>
                  <?php _e("The changes in this section are saved automatically.", MYARCADE_TEXT_DOMAIN); ?>
                </i>
                <br /><br />
              </td>
            </tr>
            </table>
          </div>
        </div>

      </form>

        <?php
 ?>
      
        <script type="text/javascript">
          /* <![CDATA[ */
          function confirmDeleteGames() { 
            if ( confirm("Are you sure you want to delete all fetched games?") ) {
              jQuery('#del_response').html('<div class=\'gload\'> </div>');
              jQuery.post('<?php echo admin_url('admin-ajax.php'); ?>', {action:'FAEF824BDCEFA09E206339F01CE64ED0A',func:'delgames'},function(data){jQuery('#del_response').html(data);});
            }
          }
          function confirmDeleteScores() { 
            if ( confirm("Are you sure you want to delete all scores?") ) {
              jQuery('#score_response').html('<div class=\'gload\'> </div>');
              jQuery.post('<?php echo admin_url('admin-ajax.php'); ?>', {action:'FAEF824BDCEFA09E206339F01CE64ED0A',func:'delscores'},function(data){jQuery('#score_response').html(data);});
            }
          }          
          /* ]]> */
        </script>
      
        <h2 class="trigger"><?php _e("Advanced Features", MYARCADE_TEXT_DOMAIN); ?></h2>
        <div class="toggle_container" id="advanced_settings">
          <div class="block">
            <table class="optiontable" width="100%">
             <tr>
              <td colspan="3">
                <p class="mabp_error" style="padding:10px">
                  <?php _e("Please, use this only if you know what you do!", MYARCADE_TEXT_DOMAIN); ?>
                </p>
                <br />
              </td>
            </tr>

              <tr><td colspan="3"><h3><?php _e("Delete All Feeded Games", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td width="160">
                  <div class="button-secondary" style="float:left;text-align:center;" onclick="return confirmDeleteGames();">
                    <?php _e("Reset Feeded Games", MYARCADE_TEXT_DOMAIN); ?>
                  </div>
                </td>
                <td width="30"><div id="del_response"></div></td>
                <td><i><?php _e("Attention! All feeded or imported games will be deleted from the games database! Published posts will not be touched. After this score submitting of publiished games will stop working!", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
              
              <tr><td colspan="3"><h3><?php _e("Remove Games Marked as 'deleted'", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <div class="button-secondary" style="float:left;text-align:center;" onclick="jQuery('#remove_response').html('<div class=\'gload\'> </div>');jQuery.post('<?php echo admin_url('admin-ajax.php'); ?>', {action:'FAEF824BDCEFA09E206339F01CE64ED0A',func:'remgames'},function(data){jQuery('#remove_response').html(data);});">
                    <?php _e("Remove 'deleted' Games", MYARCADE_TEXT_DOMAIN); ?>
                  </div>
                </td>
                <td width="30"><div id="remove_response"></div></td>
                <td><i><?php _e("Attention! All games marked as 'deleted' will be removed from the database!", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>                
              

              <tr><td colspan="3"><h3><?php _e("Delete Blank / Zero Scores", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <div class="button-secondary" style="float:left;text-align:center;" onclick="jQuery('#zero_response').html('<div class=\'gload\'> </div>');jQuery.post('<?php echo admin_url('admin-ajax.php'); ?>', {action:'FAEF824BDCEFA09E206339F01CE64ED0A',func:'zeroscores'},function(data){jQuery('#zero_response').html(data);});">
                    <?php _e("Delete Zero Scores", MYARCADE_TEXT_DOMAIN); ?>
                  </div>
                </td>
                <td width="30"><div id="zero_response"></div></td>
                <td><i><?php _e("Clean your scores table. This will delete all zero and empty scores if present in your database.", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>

              <tr><td colspan="3"><h3><?php _e("Delete All Scores", MYARCADE_TEXT_DOMAIN); ?></h3></td></tr>

              <tr>
                <td>
                  <div class="button-secondary" style="float:left;text-align:center;" onclick="return confirmDeleteScores();">
                    <?php _e("Delete All Scores", MYARCADE_TEXT_DOMAIN); ?>
                  </div>
                </td>
                <td width="30"><div id="score_response"></div></td>
                <td><i><?php _e("Attention! All saved scores will be deleted!", MYARCADE_TEXT_DOMAIN); ?></i></td>
              </tr>
            </table>
          </div>
        </div>

      <div style="clear:both"></div>
    </div><?php ?>

   <div class="clear"></div>
  <?php
 F011F5FA6950FDD84A7242122BC8934C3(); } function F271C73A55CB54BA057C2802DB276823C( $RCF418D965ECE5254D3A2C1C6DC0D0990 ) { if ( empty($RCF418D965ECE5254D3A2C1C6DC0D0990->checked) ) { return $RCF418D965ECE5254D3A2C1C6DC0D0990; } $R516780172B6D9C86EDA00A9C0BCC93DC = array( 'slug' => MYARCADE_PLUGIN_SLUG, 'version' => $RCF418D965ECE5254D3A2C1C6DC0D0990->checked[MYARCADE_PLUGIN_SLUG .'/myarcadeblog.php'], ); $R85153C819139D1BC255E484A5BDD8657 = F1F099B58D140BD3D9038CD28A48939DF('update_check', $R516780172B6D9C86EDA00A9C0BCC93DC); $R7DFF050569CD1CCB81E8049B68398490 = wp_remote_post(MYARCADE_UPDATE_API, $R85153C819139D1BC255E484A5BDD8657); if (!is_wp_error($R7DFF050569CD1CCB81E8049B68398490) && ($R7DFF050569CD1CCB81E8049B68398490['response']['code'] == 200)) $R04DC9A31C8FE0CD27C4C4A1066AEFCD5 = unserialize($R7DFF050569CD1CCB81E8049B68398490['body']); if (is_object($R04DC9A31C8FE0CD27C4C4A1066AEFCD5) && !empty($R04DC9A31C8FE0CD27C4C4A1066AEFCD5)) $RCF418D965ECE5254D3A2C1C6DC0D0990->response[MYARCADE_PLUGIN_SLUG .'/myarcadeblog.php'] = $R04DC9A31C8FE0CD27C4C4A1066AEFCD5; return $RCF418D965ECE5254D3A2C1C6DC0D0990; } function FEAC9FEBF34EC6153C75C1C75855977DD( $R010328BA68B4FA3BCEC625C33074EAD0, $RD35A39212FD75E833AEA38F90831B2CB, $R9FE302BDF914868081913A22F58F9E7E ) { if (!isset($R9FE302BDF914868081913A22F58F9E7E->slug)|| $R9FE302BDF914868081913A22F58F9E7E->slug != MYARCADE_PLUGIN_SLUG) { return false; } $R3356A75E2C496653E577222B340CF5D2 = get_site_transient('update_plugins'); $R4BB50469B1ADAA279301AAECC8106577 = $R3356A75E2C496653E577222B340CF5D2->checked[MYARCADE_PLUGIN_SLUG .'/myarcadeblog.php']; $R9FE302BDF914868081913A22F58F9E7E->version = $R4BB50469B1ADAA279301AAECC8106577; $R85153C819139D1BC255E484A5BDD8657 = F1F099B58D140BD3D9038CD28A48939DF($RD35A39212FD75E833AEA38F90831B2CB, $R9FE302BDF914868081913A22F58F9E7E); $RED37990F223198613671960564D9EAD3 = wp_remote_post(MYARCADE_UPDATE_API, $R85153C819139D1BC255E484A5BDD8657); if (is_wp_error($RED37990F223198613671960564D9EAD3)) { $R4002603E450F0DB8D5A7FF540344175C = new WP_Error('plugins_api_failed', __('An Unexpected HTTP Error occurred during the API request.</p> <p><a href="?" onclick="document.location.reload(); return false;">Try again</a>'), $RED37990F223198613671960564D9EAD3->get_error_message()); } else { $R4002603E450F0DB8D5A7FF540344175C = unserialize($RED37990F223198613671960564D9EAD3['body']); if ($R4002603E450F0DB8D5A7FF540344175C === false) $R4002603E450F0DB8D5A7FF540344175C = new WP_Error('plugins_api_failed', __('An unknown error occurred'), $RED37990F223198613671960564D9EAD3['body']); } return $R4002603E450F0DB8D5A7FF540344175C; } function F1F099B58D140BD3D9038CD28A48939DF($RD35A39212FD75E833AEA38F90831B2CB, $R9FE302BDF914868081913A22F58F9E7E) { global $RE6FF7BF9FDEE45098CF4E0BF2956D52B, $RB0B67211D8336990FD66EAF68E92E9BA; return array ( 'body' => array ( 'action' => $RD35A39212FD75E833AEA38F90831B2CB, 'request' => serialize($R9FE302BDF914868081913A22F58F9E7E), 'url' => get_bloginfo('url'), 'key' => get_option($RB0B67211D8336990FD66EAF68E92E9BA('bXlhcmNhZGVfc2NobHVlc3NlbA==')), 'item' => 'myarcadeplugin', ), 'user-agent' => 'WordPress/' . $RE6FF7BF9FDEE45098CF4E0BF2956D52B . '; ' . get_bloginfo('url') ); } ?>