<?php
 defined('MYARCADE_VERSION') or die(); function F45F5711588CBBE95A6882D30A6F8183B($R69F05BD3024E3A18B29F11DF8A3E8C79) { $RC8A9F6A2C986C23A017024ABAE070283 = ''; if ($R69F05BD3024E3A18B29F11DF8A3E8C79->leaderboard_enabled) $RF221787DA5EB633BD18F8DFD79E47D69 = 'enabled'; else $RF221787DA5EB633BD18F8DFD79E47D69 = 'disabled'; if ($R69F05BD3024E3A18B29F11DF8A3E8C79->coins_enabled) $R790CFF1C38BD2DFBA04614CF1DC8F64C = 'enabled'; else $R790CFF1C38BD2DFBA04614CF1DC8F64C = 'disabled'; $R430377F63E587CE8660558E281566DED = MYARCADE_MODULE_URL.'/playgame.php?gameid='.$R69F05BD3024E3A18B29F11DF8A3E8C79->id; $RFCEC126459437562AA1A4BF95DD30CEE = MYARCADE_CORE_URL.'/editgame.php?gameid='.$R69F05BD3024E3A18B29F11DF8A3E8C79->id; $RD252C37FE01936F2B73F14B217348C9B = "<button class=\"button-secondary\" onclick = \"jQuery('#gstatus_$R69F05BD3024E3A18B29F11DF8A3E8C79->id').html('<div class=\'gload\'> </div>');jQuery.post('".admin_url('admin-ajax.php')."',{action:'FAEF824BDCEFA09E206339F01CE64ED0A',gameid:'$R69F05BD3024E3A18B29F11DF8A3E8C79->id',func:'publish'},function(data){jQuery('#gstatus_$R69F05BD3024E3A18B29F11DF8A3E8C79->id').html(data);});\">".__("Publish", MYARCADE_TEXT_DOMAIN)."</button>&nbsp;"; $R3AA041D3204639AA7E79B914AB91B756 = "<button class=\"button-secondary\" onclick = \"jQuery('#gstatus_$R69F05BD3024E3A18B29F11DF8A3E8C79->id').html('<div class=\'gload\'> </div>');jQuery.post('".admin_url('admin-ajax.php')."',{action:'FAEF824BDCEFA09E206339F01CE64ED0A',gameid:'$R69F05BD3024E3A18B29F11DF8A3E8C79->id',func:'delete'},function(data){jQuery('#gstatus_$R69F05BD3024E3A18B29F11DF8A3E8C79->id').html(data);});\">".__("Delete", MYARCADE_TEXT_DOMAIN)."</button>&nbsp;"; $RA3F88CA22FF8ACE8D659C85E677ACE94 = "<div class=\"myhelp\"><img style=\"cursor: pointer;border:none;padding:0;\" src='".MYARCADE_CORE_URL."/images/delete.png' alt=\"Remove game from the database\" onclick = \"jQuery('#gstatus_$R69F05BD3024E3A18B29F11DF8A3E8C79->id').html('<div class=\'gload\'> </div>');jQuery.post('".admin_url('admin-ajax.php')."',{action:'FAEF824BDCEFA09E206339F01CE64ED0A',gameid:'$R69F05BD3024E3A18B29F11DF8A3E8C79->id',func:'remove'},function(){jQuery('#gamebox_$R69F05BD3024E3A18B29F11DF8A3E8C79->id').fadeOut('slow');});\" />
                <span class=\"myinfo\">".__("Remove this game from the database", MYARCADE_TEXT_DOMAIN)."</span></div>
 "; if ( empty($R69F05BD3024E3A18B29F11DF8A3E8C79->height) ) $R69F05BD3024E3A18B29F11DF8A3E8C79->height = '600'; if ( empty($R69F05BD3024E3A18B29F11DF8A3E8C79->width) ) $R69F05BD3024E3A18B29F11DF8A3E8C79->width = '480'; $R9A7D8CD5AD8135D269B8B0D4E22B244A ='<a href="'.$RFCEC126459437562AA1A4BF95DD30CEE.'&placeValuesBeforeTB_=savedValues&TB_iframe=true&modal=true&height=750&width=700" class="button-secondary thickbox edit" title="'.__("Edit", MYARCADE_TEXT_DOMAIN).'">'.__("Edit", MYARCADE_TEXT_DOMAIN).'</a>&nbsp;'; if ($R69F05BD3024E3A18B29F11DF8A3E8C79->status == 'published') { $RE1F7BE06BCD7B2961C3499766DB10C6D = '<a href="post.php?post='.$R69F05BD3024E3A18B29F11DF8A3E8C79->postid.'&action=edit" class="button-secondary" target="_blank">Edit Post</a>&nbsp;'; if ($R69F05BD3024E3A18B29F11DF8A3E8C79->leaderboard_enabled) { $RC8A9F6A2C986C23A017024ABAE070283 = '<a class="button" href="post-new.php?post_type=contest&gameid='.$R69F05BD3024E3A18B29F11DF8A3E8C79->postid.'">'.__( 'New Contest', MYARCADE_TEXT_DOMAIN).'</a>'; } } else { $RE1F7BE06BCD7B2961C3499766DB10C6D = ''; } if ($R69F05BD3024E3A18B29F11DF8A3E8C79->status == 'published') { $R9B395079675C6A66FF23EA9C6C4A668E = get_the_title($R69F05BD3024E3A18B29F11DF8A3E8C79->postid); $R0308D47806B2A2571DA0A30A9793EBCA = get_post_meta($R69F05BD3024E3A18B29F11DF8A3E8C79->postid, 'mabp_thumbnail_url', true); $RCCE04C156C3535C66831BD5D4FCCD36F = get_post($R69F05BD3024E3A18B29F11DF8A3E8C79->postid); $RC5934A886BA9823EDE289AB2FD67CED1 = strip_tags($RCCE04C156C3535C66831BD5D4FCCD36F->post_content); $RC5934A886BA9823EDE289AB2FD67CED1 = substr(mysql_escape_string($RC5934A886BA9823EDE289AB2FD67CED1), 0, 320).".."; $R324992E1D908AE64E82FC7E5043BAFCC = wp_get_post_categories($R69F05BD3024E3A18B29F11DF8A3E8C79->postid); $R30E38C1F8EC85F8EE8DF620FF3267157 = false; if ( $R324992E1D908AE64E82FC7E5043BAFCC ) { $RA1D44C0654A40984A103C270FFB9BF33 = count($R324992E1D908AE64E82FC7E5043BAFCC); for ($RA16D2280393CE6A2A5428A4A8D09E354=0; $RA16D2280393CE6A2A5428A4A8D09E354<$RA1D44C0654A40984A103C270FFB9BF33; $RA16D2280393CE6A2A5428A4A8D09E354++) { $R3E33E017CD76B9B7E6C7364FB91E2E90 = get_category($R324992E1D908AE64E82FC7E5043BAFCC[$RA16D2280393CE6A2A5428A4A8D09E354]); $R30E38C1F8EC85F8EE8DF620FF3267157 .= $R3E33E017CD76B9B7E6C7364FB91E2E90->name; if ($RA16D2280393CE6A2A5428A4A8D09E354 < ($RA1D44C0654A40984A103C270FFB9BF33 - 1) ) { $R30E38C1F8EC85F8EE8DF620FF3267157 .= ', '; } } } if ($R30E38C1F8EC85F8EE8DF620FF3267157) { $R30E38C1F8EC85F8EE8DF620FF3267157 = '<div style="margin-top:6px;"><strong>Categories:</strong> '.$R30E38C1F8EC85F8EE8DF620FF3267157."</div>"; } } else { $R523314C148E39D9053B832A4531EAFE9 = false; if ( isset($R69F05BD3024E3A18B29F11DF8A3E8C79->categs) ) { $R523314C148E39D9053B832A4531EAFE9 = $R69F05BD3024E3A18B29F11DF8A3E8C79->categs; } elseif ( isset($R69F05BD3024E3A18B29F11DF8A3E8C79->categories) ) { $R523314C148E39D9053B832A4531EAFE9 = $R69F05BD3024E3A18B29F11DF8A3E8C79->categories; } if ( is_array($R523314C148E39D9053B832A4531EAFE9) ) { $R30E38C1F8EC85F8EE8DF620FF3267157 = ''; $RA1D44C0654A40984A103C270FFB9BF33 = count($R523314C148E39D9053B832A4531EAFE9); for ($RA16D2280393CE6A2A5428A4A8D09E354=0; $RA16D2280393CE6A2A5428A4A8D09E354<$RA1D44C0654A40984A103C270FFB9BF33; $RA16D2280393CE6A2A5428A4A8D09E354++) { $R30E38C1F8EC85F8EE8DF620FF3267157 .= $R523314C148E39D9053B832A4531EAFE9[$RA16D2280393CE6A2A5428A4A8D09E354]; if ($RA16D2280393CE6A2A5428A4A8D09E354 < ($RA1D44C0654A40984A103C270FFB9BF33 - 1) ) { $R30E38C1F8EC85F8EE8DF620FF3267157 .= ', '; } } } else { $R30E38C1F8EC85F8EE8DF620FF3267157 = $R523314C148E39D9053B832A4531EAFE9; } $R9B395079675C6A66FF23EA9C6C4A668E = $R69F05BD3024E3A18B29F11DF8A3E8C79->name; $R0308D47806B2A2571DA0A30A9793EBCA = $R69F05BD3024E3A18B29F11DF8A3E8C79->thumbnail_url; $RC5934A886BA9823EDE289AB2FD67CED1 = str_replace(array("\r", "\r\n", "\n"), '', $R69F05BD3024E3A18B29F11DF8A3E8C79->description); $RC5934A886BA9823EDE289AB2FD67CED1 = substr(mysql_escape_string($RC5934A886BA9823EDE289AB2FD67CED1), 0, 280).".."; if ( isset($R30E38C1F8EC85F8EE8DF620FF3267157) ) $R30E38C1F8EC85F8EE8DF620FF3267157 = '<div style="margin-top:6px;"><strong>Categories:</strong> '.$R30E38C1F8EC85F8EE8DF620FF3267157."</div>"; else $R30E38C1F8EC85F8EE8DF620FF3267157 = ''; } ?>
    <div class="show_game" id="gamebox_<?php echo $R69F05BD3024E3A18B29F11DF8A3E8C79->id;?>">
      <div class="block">
        <table class="optiontable" width="100%">
          <tr valign="top">
            <td width="110" align="center">
              <img src="<?php echo $R0308D47806B2A2571DA0A30A9793EBCA; ?>" width="100" height="100" alt="" />
              <div class="g-features">
                <span class="lb_<?php echo $RF221787DA5EB633BD18F8DFD79E47D69; ?>" title="Leaderboards <?php echo ucfirst($RF221787DA5EB633BD18F8DFD79E47D69); ?>"></span>
                <span class="poi_<?php echo $R790CFF1C38BD2DFBA04614CF1DC8F64C; ?>" title="Coins <?php echo ucfirst($R790CFF1C38BD2DFBA04614CF1DC8F64C); ?>"></span>
              </div>
            </td>
            <td colspan="2">
              <table>
                <tr valign="top">
                  <td width="520">
                    <strong><div id="gname_<?php echo $R69F05BD3024E3A18B29F11DF8A3E8C79->id;?>"><?php echo $R9B395079675C6A66FF23EA9C6C4A668E; ?></div></strong>
                  </td>
                  <td>
                    <?php  if ( isset($R69F05BD3024E3A18B29F11DF8A3E8C79->game_type) ) { $R65DFACB39960C22313740A131148FB81 = $R69F05BD3024E3A18B29F11DF8A3E8C79->game_type; } elseif ( isset($R69F05BD3024E3A18B29F11DF8A3E8C79->type) ) { $R65DFACB39960C22313740A131148FB81 = $R69F05BD3024E3A18B29F11DF8A3E8C79->type; } else { $R65DFACB39960C22313740A131148FB81 = ''; } echo ucfirst($R65DFACB39960C22313740A131148FB81); ?>
                  </td>
                </tr>
                <tr>
                  <td>
                    <?php echo $RC5934A886BA9823EDE289AB2FD67CED1; ?>
                    <br />
                    <?php echo $R30E38C1F8EC85F8EE8DF620FF3267157; ?>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td align="center">
              <p style="margin-top:3px"><a class="thickbox button-primary" title="<?php echo $R9B395079675C6A66FF23EA9C6C4A668E; ?>" href="<?php echo $R430377F63E587CE8660558E281566DED; ?>&keepThis=true&TB_iframe=true&height=<?php echo $R69F05BD3024E3A18B29F11DF8A3E8C79->height; ?>&width=<?php echo $R69F05BD3024E3A18B29F11DF8A3E8C79->width; ?>"><?php _e("Play", MYARCADE_TEXT_DOMAIN)?></a></p>
            </td>
            <td>
              <?php if (F8D7A841BE2BAF925673E60D5753C8806() === true) : ?>
              <?php echo $RA3F88CA22FF8ACE8D659C85E677ACE94; ?>

              <?php
 switch ($R69F05BD3024E3A18B29F11DF8A3E8C79->status) { case 'ignored': case 'new': echo $R3AA041D3204639AA7E79B914AB91B756; echo $R9A7D8CD5AD8135D269B8B0D4E22B244A; echo $RD252C37FE01936F2B73F14B217348C9B; break; case 'published': echo $R3AA041D3204639AA7E79B914AB91B756; echo $RE1F7BE06BCD7B2961C3499766DB10C6D; echo $RC8A9F6A2C986C23A017024ABAE070283; break; case 'deleted': echo $R9A7D8CD5AD8135D269B8B0D4E22B244A; echo $RD252C37FE01936F2B73F14B217348C9B; break; } ?>
              <?php endif; ?>
            </td>
            <td width="130">
              <div id="gstatus_<?php echo $R69F05BD3024E3A18B29F11DF8A3E8C79->id;?>" style="margin: 0;font-weight:bold;float:right;">
                <?php echo $R69F05BD3024E3A18B29F11DF8A3E8C79->status; ?>
              </div>
            </td>
          </tr>

        </table>
      </div>
    </div>
<?php
} function F4F412E56D4C4976F6399DDA6C31857F2() { global $wpdb; F94EBD7C16769D03E06E16136FFE5F944(); ?>
  <div id="icon-options-general" class="icon32"><br /></div>
  <h2><?php _e("Manage Games", MYARCADE_TEXT_DOMAIN); ?></h2>
  <br />
  <script type="text/javascript">
    function checkSeachForm() {
      if ( document.searchForm.q.value == "") {
        alert("<?php _e("Search term was not entered!", MYARCADE_TEXT_DOMAIN); ?>");
        document.searchForm.q.focus();
        return false;
      }
      
    }
  </script>
  <?php
 $R281A0F7BC3D849F3386A5AC36FB35807 = get_option('myarcade_categories'); $RD35A39212FD75E833AEA38F90831B2CB = $R66FB6C058110F0E30204D9CAC6A8ACC0 = $R36923CF62618D1B9981740738971E651 = ''; $R88A33D29429F80B24F150A7737FAA03B = isset($_POST['distr']) ? $_POST['distr'] : 'all'; $REDA7C15B1419F1F7A23C0E95A75A99CA = isset($_POST['leaderboard']) ? $_POST['leaderboard'] : false; $R790CFF1C38BD2DFBA04614CF1DC8F64C = isset($_POST['coins']) ? $_POST['coins'] : false; $R971D98E0AD23E0905A3D3F4B08D46579 = isset($_POST['status']) ? $_POST['status'] : 'all'; $R8C2578958C407E0D2623B3F10C9A860A = empty($_POST['q']) ? false : $_POST['q']; $R56EA904D533235F889591E04DE8C6B68 = isset($_POST['order']) ? $_POST['order'] : 'ASC'; $RB81DFC1E4441111E15C502E9EA63560E = isset($_POST['orderby']) ? $_POST['orderby'] : 'id'; $RD2E691562D6B77CFE944DD609F674574 = isset($_POST['category']) ? $_POST['category'] : 'all'; $R569981A9B29B5950206124A5933F6CB9 = isset($_POST['games']) ? $_POST['games'] : '50'; $R21D2FF6532680118302411CA69147BF1 = isset($_POST['offset']) ? $_POST['offset'] : '0'; if ( isset($_POST['action']) ) { $RD35A39212FD75E833AEA38F90831B2CB = $_POST['action']; } if ( ($RD35A39212FD75E833AEA38F90831B2CB == 'search') ) { $R36923CF62618D1B9981740738971E651 = mysql_escape_string($R8C2578958C407E0D2623B3F10C9A860A); $RB981E3F4044DDEDDB47C787D006CB211 = array(); if ($R8C2578958C407E0D2623B3F10C9A860A) $RB981E3F4044DDEDDB47C787D006CB211[] = "(name LIKE '%".$R8C2578958C407E0D2623B3F10C9A860A."%' OR description LIKE '%".$R8C2578958C407E0D2623B3F10C9A860A."%')"; if ( $R88A33D29429F80B24F150A7737FAA03B != 'all' ) $RB981E3F4044DDEDDB47C787D006CB211[] = "game_type = '".$R88A33D29429F80B24F150A7737FAA03B."'"; if ( $REDA7C15B1419F1F7A23C0E95A75A99CA ) $RB981E3F4044DDEDDB47C787D006CB211[] = "leaderboard_enabled = '1'"; if ( $R790CFF1C38BD2DFBA04614CF1DC8F64C ) $RB981E3F4044DDEDDB47C787D006CB211[] = "coins_enabled = '1'"; if ( $R971D98E0AD23E0905A3D3F4B08D46579 != 'all' ) $RB981E3F4044DDEDDB47C787D006CB211[] = "status = '".$R971D98E0AD23E0905A3D3F4B08D46579."'"; if ( $RD2E691562D6B77CFE944DD609F674574 != 'all' ) { foreach ($R281A0F7BC3D849F3386A5AC36FB35807 as $RCB6CF74D12D3949F4F3C570ECE4B9CB5) { if ($RCB6CF74D12D3949F4F3C570ECE4B9CB5['Slug'] == $RD2E691562D6B77CFE944DD609F674574) { $RB981E3F4044DDEDDB47C787D006CB211[] = "categories LIKE '%".$RCB6CF74D12D3949F4F3C570ECE4B9CB5['Name']."%'"; break; } } } $RA1D44C0654A40984A103C270FFB9BF33 = count($RB981E3F4044DDEDDB47C787D006CB211); $R0A6BC2430F38166A4C7DDA18D052CBFA = ''; if ( $RA1D44C0654A40984A103C270FFB9BF33 > 1) { for($RA16D2280393CE6A2A5428A4A8D09E354=0; $RA16D2280393CE6A2A5428A4A8D09E354 < $RA1D44C0654A40984A103C270FFB9BF33; $RA16D2280393CE6A2A5428A4A8D09E354++) { $R0A6BC2430F38166A4C7DDA18D052CBFA .= $RB981E3F4044DDEDDB47C787D006CB211[$RA16D2280393CE6A2A5428A4A8D09E354]; if ( $RA16D2280393CE6A2A5428A4A8D09E354 < ($RA1D44C0654A40984A103C270FFB9BF33 - 1) ) { $R0A6BC2430F38166A4C7DDA18D052CBFA .= ' AND '; } } } else { $R0A6BC2430F38166A4C7DDA18D052CBFA = $RB981E3F4044DDEDDB47C787D006CB211[0]; } if ( !empty($R0A6BC2430F38166A4C7DDA18D052CBFA) ) $R0A6BC2430F38166A4C7DDA18D052CBFA = " WHERE ".$R0A6BC2430F38166A4C7DDA18D052CBFA; $RE91192A00FF990477EE414AD5D708F08 = "SELECT * FROM ".MYARCADE_GAME_TABLE.$R0A6BC2430F38166A4C7DDA18D052CBFA." ORDER BY ".$RB81DFC1E4441111E15C502E9EA63560E." ".$R56EA904D533235F889591E04DE8C6B68." limit ".$R21D2FF6532680118302411CA69147BF1.",".$R569981A9B29B5950206124A5933F6CB9; $R12C50E1D9A260FA35F13F6BFBF590DC9 = $wpdb->get_var("SELECT COUNT(*) FROM ".MYARCADE_GAME_TABLE.$R0A6BC2430F38166A4C7DDA18D052CBFA); $R66FB6C058110F0E30204D9CAC6A8ACC0 = $wpdb->get_results($RE91192A00FF990477EE414AD5D708F08); if (!$R66FB6C058110F0E30204D9CAC6A8ACC0) { echo '<div class="mabp_error" style="width:685px">'.__("Nothing found!", MYARCADE_TEXT_DOMAIN).'</strong></div>'; } } ?>
  <form method="post" action="" class="myarcade_form" name="searchForm">
    <input type="hidden" name="action" value="search" />
    <div class="myarcade_border grey" style="width:680px">
      <label><?php _e("Search for", MYARCADE_TEXT_DOMAIN); ?></label> 
      <input type="text" size="40" name="q" value="<?php echo $R36923CF62618D1B9981740738971E651; ?>" />

      <p class="myarcade_hr">&nbsp;</p>

      <div class="myarcade_border white" style="width:300px;float:left;height:30px;">
        <label for="distr"><?php _e("Game Type", MYARCADE_TEXT_DOMAIN); ?>: </label>
        <select name="distr" id="distr">
          <option value="all" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R88A33D29429F80B24F150A7737FAA03B, 'all'); ?>>All</option>
          <option value="mochi" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R88A33D29429F80B24F150A7737FAA03B, 'mochi'); ?>>MochiMedia</option>
          <option value="playtomic" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R88A33D29429F80B24F150A7737FAA03B, 'playtomic'); ?>>Playtomic</option>
          <option value="kongregate" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R88A33D29429F80B24F150A7737FAA03B, 'kongregate'); ?>>Kongregate</option>
          <option value="fgd" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R88A33D29429F80B24F150A7737FAA03B, 'fgd'); ?>>FlashGameDistribution (FGD)</option>
          <option value="fog" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R88A33D29429F80B24F150A7737FAA03B, 'fog'); ?>>FreeGamesForYourWebsite (FOG)</option>
          <option value="spilgames" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R88A33D29429F80B24F150A7737FAA03B, 'spilgames'); ?>>Spilgames</option>
          <option value="embed" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R88A33D29429F80B24F150A7737FAA03B, 'embed'); ?>>Embed / Iframe</option>
          <option value="ibparcade" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R88A33D29429F80B24F150A7737FAA03B, 'ibparcade'); ?>>IBPArcade</option>
          <option value="phpbb" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R88A33D29429F80B24F150A7737FAA03B, 'phpbb'); ?>>PHPBB / ZIP</option>
          <option value="dcr" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R88A33D29429F80B24F150A7737FAA03B, 'dcr'); ?>>DCR</option>
          <option value="custom" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R88A33D29429F80B24F150A7737FAA03B, 'custom'); ?>>Custom SWF</option>
        </select>      
      </div>

      <div class="myarcade_border white" style="width:300px;float:left;margin-left:20px;height:25px;padding-top: 15px">
        <label><?php _e('Leaderboard Enabled', MYARCADE_TEXT_DOMAIN); ?>: </label> 
        <input type="checkbox" name="leaderboard" value="1" <?php F739F7FB06301A1E6810F08B95CC237ED($REDA7C15B1419F1F7A23C0E95A75A99CA, '1'); ?> />&nbsp;&nbsp;&nbsp;
        <label><?php _e('Coins Enabled', MYARCADE_TEXT_DOMAIN); ?>: </label> 
        <input type="checkbox" name="coins" value="1" <?php F739F7FB06301A1E6810F08B95CC237ED($R790CFF1C38BD2DFBA04614CF1DC8F64C, '1'); ?> />
      </div>

      <div class="clear"> </div>

      <div class="myarcade_border white" style="width:300px;height:30px;float:left;">
        <label for="status"><?php _e("Game Status", MYARCADE_TEXT_DOMAIN); ?>: </label>
        <select name="status" id="status">
          <option value="all" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R971D98E0AD23E0905A3D3F4B08D46579, 'all'); ?>>All</option>
          <option value="new" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R971D98E0AD23E0905A3D3F4B08D46579, 'new'); ?>>New</option>
          <option value="published" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R971D98E0AD23E0905A3D3F4B08D46579, 'published'); ?>>Published</option>
          <option value="deleted" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R971D98E0AD23E0905A3D3F4B08D46579, 'deleted'); ?>>Deleted</option>
        </select>      
      </div>
      
      <div class="myarcade_border white" style="width:300px;height:30px;float:left;margin-left:20px;">
        <label><?php _e("Order", MYARCADE_TEXT_DOMAIN); ?>: </label>
        <select name="order" id="order">
          <option value="ASC" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R56EA904D533235F889591E04DE8C6B68, 'ASC'); ?>>ASC</option>
          <option vlaue="DESC" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($R56EA904D533235F889591E04DE8C6B68, 'DESC'); ?>>DESC</option>
        </select>
        <label><?php _e("by", MYARCADE_TEXT_DOMAIN);?>: </label>
        <select name="orderby" id="orderby">
          <option value="id" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($RB81DFC1E4441111E15C502E9EA63560E, 'id'); ?>>ID</option>
          <option value="name" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($RB81DFC1E4441111E15C502E9EA63560E, 'name'); ?>>Name</option>
          <option value="slug" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($RB81DFC1E4441111E15C502E9EA63560E, 'slug'); ?>>Slug</option>
          <option value="game_type" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($RB81DFC1E4441111E15C502E9EA63560E, 'game_type'); ?>>Game Type</option>
          <opzion value="status" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($RB81DFC1E4441111E15C502E9EA63560E, 'status'); ?>>Status</option>          
        </select>
      </div>
      
      <div class="clear"> </div>
      
      <div class="myarcade_border white" style="width:300px;height:30px;float:left;">
        <label for="category"><?php _e("Game Category", MYARCADE_TEXT_DOMAIN); ?>: </label>
        <select name="category" id="category">
          <option value="all" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($RD2E691562D6B77CFE944DD609F674574, 'all'); ?>>All</option>
          <?php  foreach ( $R281A0F7BC3D849F3386A5AC36FB35807 as $RCB6CF74D12D3949F4F3C570ECE4B9CB5) { ?><option value="<?php echo $RCB6CF74D12D3949F4F3C570ECE4B9CB5['Slug']; ?>" <?php FDDF3EC25B8F21FAFBFA55C25519BBBBF($RD2E691562D6B77CFE944DD609F674574, $RCB6CF74D12D3949F4F3C570ECE4B9CB5['Slug']); ?>><?php echo $RCB6CF74D12D3949F4F3C570ECE4B9CB5['Name']; ?></option><?php
 } ?>
        </select>      
      </div>
      
      <div class="myarcade_border white" style="width:300px;height:30px;float:left;margin-left:20px;">
        <label><?php _e("Display", MYARCADE_TEXT_DOMAIN); ?></label>
        <input type="text" size="5" name="games" value="<?php echo $R569981A9B29B5950206124A5933F6CB9; ?>" />
        <label><?php _e("games from offset", MYARCADE_TEXT_DOMAIN); ?></label>
        <input type="text" size="5" name="offset" value="<?php echo $R21D2FF6532680118302411CA69147BF1; ?>" />
      </div>
      
      <div class="clear"> </div>
      
      <input class="button-primary" id="submit" type="submit" name="submit" value="Search" />
    </div>
  </form>
 <?php
 if ($R66FB6C058110F0E30204D9CAC6A8ACC0) { echo '<div class="mabp_info" style="width:685px">'.sprintf(__("Results found: <strong>%s</strong>. Displaying results from <strong>%s</strong> to <strong>%s</strong>.", MYARCADE_TEXT_DOMAIN), $R12C50E1D9A260FA35F13F6BFBF590DC9, $R21D2FF6532680118302411CA69147BF1, $R569981A9B29B5950206124A5933F6CB9 + $R21D2FF6532680118302411CA69147BF1).'</div>'; foreach ($R66FB6C058110F0E30204D9CAC6A8ACC0 as $R69F05BD3024E3A18B29F11DF8A3E8C79) { F45F5711588CBBE95A6882D30A6F8183B($R69F05BD3024E3A18B29F11DF8A3E8C79); } } else { $RA1D44C0654A40984A103C270FFB9BF33 = $wpdb->get_var("SELECT COUNT(*) FROM ".MYARCADE_GAME_TABLE); if ( $RA1D44C0654A40984A103C270FFB9BF33 ) { $R04702A6E31A6FC13F27F7447A59AD80D = 50; $RFE668A78BA45427046B949D666374D77 = ceil($RA1D44C0654A40984A103C270FFB9BF33 / $R04702A6E31A6FC13F27F7447A59AD80D); $R5388481D5554E4E852CC17CB8372A89E = 1; if ( isset($_GET['pagenum']) ) { $R5388481D5554E4E852CC17CB8372A89E = $_GET['pagenum']; } if ($R5388481D5554E4E852CC17CB8372A89E < 1) { $R5388481D5554E4E852CC17CB8372A89E = 1; } elseif ($R5388481D5554E4E852CC17CB8372A89E > $RFE668A78BA45427046B949D666374D77) { $R5388481D5554E4E852CC17CB8372A89E = $RFE668A78BA45427046B949D666374D77; } $R7FDA5CCB82AEE2AA4715A8E84612E87B = 'limit ' .($R5388481D5554E4E852CC17CB8372A89E - 1) * $R04702A6E31A6FC13F27F7447A59AD80D .',' .$R04702A6E31A6FC13F27F7447A59AD80D; if ( $R5388481D5554E4E852CC17CB8372A89E != $RFE668A78BA45427046B949D666374D77) { $RA76D2FAB4139C41DFBC0317F4F80C48D = $R5388481D5554E4E852CC17CB8372A89E + 1; } if ($R5388481D5554E4E852CC17CB8372A89E > 1) { $RBA8F0B9CD7CCFFDFDDBBC89731DD8E8A = $R5388481D5554E4E852CC17CB8372A89E - 1; } $RB0253597862B1707EA13F71BDE4046B6 = 1 + ($R5388481D5554E4E852CC17CB8372A89E - 1) * $R04702A6E31A6FC13F27F7447A59AD80D; if ($R5388481D5554E4E852CC17CB8372A89E < $RFE668A78BA45427046B949D666374D77) { $R9E14437ACD29B79105DE60C9C0413C03 = $RB0253597862B1707EA13F71BDE4046B6 + $R04702A6E31A6FC13F27F7447A59AD80D - 1; } else { $R9E14437ACD29B79105DE60C9C0413C03 = $RA1D44C0654A40984A103C270FFB9BF33; } $R18C12E46F6FA6AF5CFC92988C6CB21B7 = $RB0253597862B1707EA13F71BDE4046B6.' - '.$R9E14437ACD29B79105DE60C9C0413C03; $R66FB6C058110F0E30204D9CAC6A8ACC0 = $wpdb->get_results("SELECT * FROM ".MYARCADE_GAME_TABLE." ORDER BY ID DESC $R7FDA5CCB82AEE2AA4715A8E84612E87B"); if ($R66FB6C058110F0E30204D9CAC6A8ACC0) { echo '<h3>'.__("Browser Your Game Catalog", MYARCADE_TEXT_DOMAIN).'</h3>'; ?>
          <!-- Print pagination -->
          <div class="tablenav" style="float: left;">
            <div class="tablenav-pages">
              <span class="displaying-num">Displaying <?php echo $R18C12E46F6FA6AF5CFC92988C6CB21B7; ?> of <?php echo $RA1D44C0654A40984A103C270FFB9BF33; ?></span>
            <?php if ($R5388481D5554E4E852CC17CB8372A89E > 1) : ?>
                <a class='page-numbers' href='<?php echo $_SERVER['PHP_SELF'];?>?page=myarcade-manage-games&pagenum=1'>First</a>
                <a class='page-numbers' href='<?php echo $_SERVER['PHP_SELF'];?>?page=myarcade-manage-games&pagenum=<?php echo $RBA8F0B9CD7CCFFDFDDBBC89731DD8E8A; ?>'>Previous</a>
              <?php endif; ?>
              <span class='page-numbers current'><?php echo $R5388481D5554E4E852CC17CB8372A89E; ?></span>
              <?php if ($R5388481D5554E4E852CC17CB8372A89E != $RFE668A78BA45427046B949D666374D77) : ?>
                <a class='page-numbers' href='<?php echo $_SERVER['PHP_SELF'];?>?page=myarcade-manage-games&pagenum=<?php echo $RA76D2FAB4139C41DFBC0317F4F80C48D; ?>'>Next</a>
                <a class='page-numbers' href='<?php echo $_SERVER['PHP_SELF'];?>?page=myarcade-manage-games&pagenum=<?php echo $RFE668A78BA45427046B949D666374D77; ?>'>Last</a>
              <?php endif; ?>
            </div>
          </div>
        <?php
 foreach ($R66FB6C058110F0E30204D9CAC6A8ACC0 as $R69F05BD3024E3A18B29F11DF8A3E8C79) { F45F5711588CBBE95A6882D30A6F8183B($R69F05BD3024E3A18B29F11DF8A3E8C79); } ?>
          <!-- Print pagination -->
          <div class="tablenav" style="float: left;">
            <div class="tablenav-pages">
              <span class="displaying-num">Displaying <?php echo $R18C12E46F6FA6AF5CFC92988C6CB21B7; ?> of <?php echo $RA1D44C0654A40984A103C270FFB9BF33; ?></span>
            <?php if ($R5388481D5554E4E852CC17CB8372A89E > 1) : ?>
                <a class='page-numbers' href='<?php echo $_SERVER['PHP_SELF'];?>?page=myarcade-manage-games&pagenum=1'>First</a>
                <a class='page-numbers' href='<?php echo $_SERVER['PHP_SELF'];?>?page=myarcade-manage-games&pagenum=<?php echo $RBA8F0B9CD7CCFFDFDDBBC89731DD8E8A; ?>'>Previous</a>
              <?php endif; ?>
              <span class='page-numbers current'><?php echo $R5388481D5554E4E852CC17CB8372A89E; ?></span>
              <?php if ($R5388481D5554E4E852CC17CB8372A89E != $RFE668A78BA45427046B949D666374D77) : ?>
                <a class='page-numbers' href='<?php echo $_SERVER['PHP_SELF'];?>?page=myarcade-manage-games&pagenum=<?php echo $RA76D2FAB4139C41DFBC0317F4F80C48D; ?>'>Next</a>
                <a class='page-numbers' href='<?php echo $_SERVER['PHP_SELF'];?>?page=myarcade-manage-games&pagenum=<?php echo $RFE668A78BA45427046B949D666374D77; ?>'>Last</a>
              <?php endif; ?>
            </div>
          </div>
          <div style="clear:both;"></div>
        <?php
 } } else { _e("No games found", MYARCADE_TEXT_DOMAIN); } $R66FB6C058110F0E30204D9CAC6A8ACC0 = $wpdb->get_results("SELECT * FROM ".MYARCADE_GAME_TABLE." WHERE status = 'deleted' ORDER BY created DESC limit 10"); if ($R66FB6C058110F0E30204D9CAC6A8ACC0) { echo '<h3>'.__("10 Last Deleted Games", MYARCADE_TEXT_DOMAIN).'</h3>'; foreach ($R66FB6C058110F0E30204D9CAC6A8ACC0 as $R69F05BD3024E3A18B29F11DF8A3E8C79) { F45F5711588CBBE95A6882D30A6F8183B($R69F05BD3024E3A18B29F11DF8A3E8C79); } ?><div style="clear:both;"></div><?php
 } } F011F5FA6950FDD84A7242122BC8934C3(); } function FCFF8C4C17D927E80C5E5B1174A2237E0() { global $RB0B67211D8336990FD66EAF68E92E9BA; $R70A6D6B673FB64A80C2E0DDBF4A3D461 = false; $server = array('aHR0cDovL2FwaS5teWFyY2FkZXBsdWdpbi5jb20vdmVyaWZ5LnBocA==', 'aHR0cDovL2FwaS5uZXRyZXZpZXcuZGUvdmVyaWZ5LnBocA=='); $R31423363C58B120DBD560A264B0C2523 = sprintf('%s?k=%s&s=%s&p=%s',$RB0B67211D8336990FD66EAF68E92E9BA($server[0]),urlencode(get_option($RB0B67211D8336990FD66EAF68E92E9BA('bXlhcmNhZGVfc2NobHVlc3NlbA=='))),urlencode(get_bloginfo('url')),urlencode($RB0B67211D8336990FD66EAF68E92E9BA('NjQ1OTUz')) ); $R70A6D6B673FB64A80C2E0DDBF4A3D461 = F665E375F4876C415C2A88BC9D33FF80D($R31423363C58B120DBD560A264B0C2523); if (!$R70A6D6B673FB64A80C2E0DDBF4A3D461) { $RD1EE891D74D68EA82C67873A9AAE4DD3 = sprintf('%s?k=%s&s=%s&p=%s',$RB0B67211D8336990FD66EAF68E92E9BA($server[1]),urlencode(get_option($RB0B67211D8336990FD66EAF68E92E9BA('bXlhcmNhZGVfc2NobHVlc3NlbA=='))),urlencode(get_bloginfo('url')),urlencode($RB0B67211D8336990FD66EAF68E92E9BA('NjQ1OTUz')) ); $R70A6D6B673FB64A80C2E0DDBF4A3D461 = F665E375F4876C415C2A88BC9D33FF80D($RD1EE891D74D68EA82C67873A9AAE4DD3); } if (!$R70A6D6B673FB64A80C2E0DDBF4A3D461) return false; preg_match('#<c0de>(.*)</c0de>#', $R70A6D6B673FB64A80C2E0DDBF4A3D461, $R70FA8C65383400A36477A9743FA2F2F9); preg_match('#<pru3f>(.*)</pru3f>#', $R70A6D6B673FB64A80C2E0DDBF4A3D461, $R112841B4D667A6450A61CDB6E90368FB); if (!$R70FA8C65383400A36477A9743FA2F2F9[1] || !$R112841B4D667A6450A61CDB6E90368FB[1] || F64002272B0EF77A01F4FF0E13D1BBC69($R70FA8C65383400A36477A9743FA2F2F9[1]) !== 1) { update_option($RB0B67211D8336990FD66EAF68E92E9BA('bXlhcmNhZGVfc2NobHVlc3NlbA=='), ''); update_option($RB0B67211D8336990FD66EAF68E92E9BA('bXlhcmNhZGVfcHJ1ZWY='), ''); update_option($RB0B67211D8336990FD66EAF68E92E9BA('bXlhcmNhZGVfaGFzaA=='), ''); update_option($RB0B67211D8336990FD66EAF68E92E9BA('bXlhcmNhZGVfc3RhdHVz'), 0); } } add_action('myarcade_w', 'FCFF8C4C17D927E80C5E5B1174A2237E0'); function FAEF824BDCEFA09E206339F01CE64ED0A() { global $wpdb; if ( current_user_can('manage_options') == false ) { wp_die('You do not have permissions access this site!'); } if ( F8D7A841BE2BAF925673E60D5753C8806() == false ) die(); if ( isset( $_POST['gameid']) ) { $REAA6191C2FA9B633A100C34B5C0CFB41 = $_POST['gameid']; } switch ($_POST['func']) { case "publish": { F5F9EB2BD2DA652CBF122EEF75C2BE581($REAA6191C2FA9B633A100C34B5C0CFB41); $R971D98E0AD23E0905A3D3F4B08D46579 = $wpdb->get_var("SELECT status FROM ".MYARCADE_GAME_TABLE." WHERE id = '$REAA6191C2FA9B633A100C34B5C0CFB41'"); echo $R971D98E0AD23E0905A3D3F4B08D46579; } break; case "delete": { $R69F05BD3024E3A18B29F11DF8A3E8C79 = $wpdb->get_row("SELECT postid, name FROM ".MYARCADE_GAME_TABLE." WHERE id = '$REAA6191C2FA9B633A100C34B5C0CFB41'", ARRAY_A); $RF5A90126DA0C510DA904566BD6C6CCE5 = $R69F05BD3024E3A18B29F11DF8A3E8C79['postid']; if (!$RF5A90126DA0C510DA904566BD6C6CCE5) { $R9B395079675C6A66FF23EA9C6C4A668E = $R69F05BD3024E3A18B29F11DF8A3E8C79['name']; $RF5A90126DA0C510DA904566BD6C6CCE5 = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_title = '$R9B395079675C6A66FF23EA9C6C4A668E'"); } if ($RF5A90126DA0C510DA904566BD6C6CCE5) { F5E616501AF8B5E69708D3FC87F68D3B6($RF5A90126DA0C510DA904566BD6C6CCE5); wp_delete_post($RF5A90126DA0C510DA904566BD6C6CCE5); } $RE91192A00FF990477EE414AD5D708F08 = "UPDATE ".MYARCADE_GAME_TABLE." SET status = 'deleted', postid = '' WHERE id = $REAA6191C2FA9B633A100C34B5C0CFB41"; $wpdb->query($RE91192A00FF990477EE414AD5D708F08); $R971D98E0AD23E0905A3D3F4B08D46579 = $wpdb->get_var("SELECT status FROM ".MYARCADE_GAME_TABLE." WHERE id = '$REAA6191C2FA9B633A100C34B5C0CFB41'"); echo $R971D98E0AD23E0905A3D3F4B08D46579; } break; case "remove": { $RE91192A00FF990477EE414AD5D708F08 = "DELETE FROM ".MYARCADE_GAME_TABLE." WHERE id = $REAA6191C2FA9B633A100C34B5C0CFB41 LIMIT 1"; $wpdb->query($RE91192A00FF990477EE414AD5D708F08); echo "removed"; } break; case "addmap": { if (intval($_POST['mapcat']) > 0) { $RD1574AE7670542233EE544A5E8180CCD = true; $R281A0F7BC3D849F3386A5AC36FB35807 = get_option('myarcade_categories'); for ($RA16D2280393CE6A2A5428A4A8D09E354=0; $RA16D2280393CE6A2A5428A4A8D09E354<count($R281A0F7BC3D849F3386A5AC36FB35807); $RA16D2280393CE6A2A5428A4A8D09E354++) { if ($R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Slug'] == $_POST['feedcat']) { if ( empty($R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Mapping']) ) { $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Mapping'] = $_POST['mapcat']; } else { $RB0414097FDF09D6E81B6DBEBAFC2EF6B = explode(',', $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Mapping']); foreach ($RB0414097FDF09D6E81B6DBEBAFC2EF6B as $RFCABCD4DBDDC63BA780FC42A340952A4) { if ($RFCABCD4DBDDC63BA780FC42A340952A4 == $_POST['mapcat']) { $RD1574AE7670542233EE544A5E8180CCD = false; break; } } $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Mapping'] = $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Mapping'] . "," . $_POST['mapcat']; } break; } } if ($RD1574AE7670542233EE544A5E8180CCD == true) { update_option('myarcade_categories', $R281A0F7BC3D849F3386A5AC36FB35807); $R9C65084CFC54EB0D266E6D073B818630= get_option('myarcade_general'); if ( $R9C65084CFC54EB0D266E6D073B818630['post_type'] == 'post' ) { $R96ED148C2F6F268FCB4CCBC4330538C7 = get_cat_name($_POST['mapcat']); } else { if (taxonomy_exists($R9C65084CFC54EB0D266E6D073B818630['custom_category'])) { $R87D9688038C237B53021DD0A01D5A0D1 = get_term_by('id', $_POST['mapcat'], $R9C65084CFC54EB0D266E6D073B818630['custom_category']); $R96ED148C2F6F268FCB4CCBC4330538C7 = $R87D9688038C237B53021DD0A01D5A0D1->name; } } ?><span id="delmap_<?php echo $_POST['mapcat']; ?>_<?php echo $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Slug']; ?>" class="remove_map">
  <img style="flaot:left;top:4px;position:relative;" src="<?php echo MYARCADE_CORE_URL; ?>/images/remove.png" alt="UnMap" onclick="myabp_del_map('<?php echo $_POST['mapcat']; ?>', '<?php echo $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Slug']; ?>')" />&nbsp;<?php echo $R96ED148C2F6F268FCB4CCBC4330538C7; ?>
</span><?php
 } } } break; case "delmap": { if ( intval($_POST['mapcat']) > 0 ) { $RC2D397D8F93848C935196BBB62E17351 = false; $R281A0F7BC3D849F3386A5AC36FB35807 = get_option('myarcade_categories'); for ($RA16D2280393CE6A2A5428A4A8D09E354=0; $RA16D2280393CE6A2A5428A4A8D09E354<count($R281A0F7BC3D849F3386A5AC36FB35807); $RA16D2280393CE6A2A5428A4A8D09E354++) { if ($R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Slug'] == $_POST['feedcat']) { $RB0414097FDF09D6E81B6DBEBAFC2EF6B = explode(',', $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Mapping']); for($RA7B9A383688A89B5498FC84118153069=0; $RA7B9A383688A89B5498FC84118153069<count($RB0414097FDF09D6E81B6DBEBAFC2EF6B); $RA7B9A383688A89B5498FC84118153069++) { if ($RB0414097FDF09D6E81B6DBEBAFC2EF6B[$RA7B9A383688A89B5498FC84118153069] == $_POST['mapcat']) { unset($RB0414097FDF09D6E81B6DBEBAFC2EF6B[$RA7B9A383688A89B5498FC84118153069]); $R281A0F7BC3D849F3386A5AC36FB35807[$RA16D2280393CE6A2A5428A4A8D09E354]['Mapping'] = implode(',', $RB0414097FDF09D6E81B6DBEBAFC2EF6B); $RC2D397D8F93848C935196BBB62E17351 = true; break; } } break; } } if ($RC2D397D8F93848C935196BBB62E17351 == true) { update_option('myarcade_categories', $R281A0F7BC3D849F3386A5AC36FB35807); } } } break; case "delgames": { $wpdb->query("TRUNCATE TABLE ".MYARCADE_GAME_TABLE); ?>
      <script type="text/javascript">
        alert('All games deleted!');
      </script>
      <?php
 } break; case "remgames": { $wpdb->query("DELETE FROM ".MYARCADE_GAME_TABLE." WHERE status = 'deleted'"); ?>
      <script type="text/javascript">
        alert('Games marked as "deleted" where removed from the database!');
      </script>
      <?php  } break; case "zeroscores": { $wpdb->query("DELETE FROM ".MYARCADE_SCORES_TABLE." WHERE score = '0' OR score = ''"); ?>
      <script type="text/javascript">
        alert('Zero scores deleted!');
      </script>
      <?php
 } break; case "delscores": { $wpdb->query("TRUNCATE TABLE ".MYARCADE_SCORES_TABLE); ?>
      <script type="text/javascript">
        alert('All scores deleted!');
      </script>
      <?php
 } break; } die(); } ?>