<div id="info_left">
<img src="http://profenter.de/wp-content/uploads/group-avatars/5/218cc8617b3663b88bf3be9cc931c3ad-bpfull.jpg" alt="Logo" />
</div>
<div id="info_right">
<h1><?php _e("Minecraft Admin","minecraft-admin"); ?></h1>
</div>
<div id="mc_version">
<?php _e( "Version", "minecraft-admin"); ?>:<?php echo MC_VERSION; ?>
</div>
<ul id="mc_info_list">
<li>
<a href="http://profenter.de/wordpress/minecraft-admin">
<?php _e( "Project homepage", 'minecraft-admin'); ?>
</a>
</li>
<li>
<a href="http://profenter.de/wordpress/minecraft-admin#comments">
<?php _e( "Support", 'minecraft-admin'); ?>
</a>
</li>
<li>
<a href="http://downloads.wordpress.org/plugin/minecraft-admin.<?php echo MC_VERSION; ?>.zip">
<?php _e( "Download", 'minecraft-admin'); ?>
</a>
</li>
<li>
<a href="http://profenter.de/wordpress/minecraft-admin">
<?php _e( "News", 'minecraft-admin'); ?>
</a>
</li>
<li>
<a href="http://wordpress.org/extend/plugins/minecraft-admin/" target="_blank">
<?php _e( "on Wordpress", 'minecraft-admin'); ?>
</a>
</li>
</ul>
<div class="wrap clear" id="mc_info_contnet">
<h2><?php _e( 'Minecraft Servers', 'minecraft-admin' ) ?></h2>
<table>
<tr valign="top">
<th scope="row">
<?php echo __( "Name", "minecraft-admin"); ?>
</th>
<th>
<?php echo __( "Link", "minecraft-admin"); ?>
</th>
<th>
<?php echo __( "Delete link", "minecraft-admin"); ?>
</th>
</tr>
<?php if(!empty($this->MC->servers)){
foreach($this->MC->servers as $id => $server) { ?>
<tr valign="top">
<td scope="row">
<?php echo $server->name; ?></td>
<td>
<a href="<?php echo mc_url("",array("mc_server"=>$id)); ?>" class="button" <?php if(MC_ID==$id) { echo 'style="color:green;"';}?>>
<?php _e( "Choose", "minecraft-admin"); ?>
</a>
</td>
<td>
<a href="<?php echo mc_url("",array("mc_server_del"=>$id)); ?>" class="button" <?php if(MC_ID==$id) { echo 'style="color:green;"';}?>>
<?php _e( "Delete", "minecraft-admin"); ?>
</a>
</td>
</tr>
<?php }
} ?>
</table>
<div id="create_new">
<form method="post" action="<?php echo mc_url(""); ?>">
<?php _e( 'Minecraft server', 'minecraft-admin'); ?>
<select name="server" size="1">
<option value="orginal" <?php echo $sel[ "orginal"]; ?>>Orginal</option>
<option value="bukkit" <?php echo $sel[ "bukkit"]; ?>>Bukkit</option>
</select>
<input type="hidden" name="new_server" value="new_server" />
<p class="submit">
<input type="submit" class="button-primary" value="<?php _e('Create a new Minecraft Server', 'minecraft-admin'); ?>" name="submit" />
</p>
<?php wp_nonce_field( 'mc-core-components' ); ?>
</form>
</div>
<h2><?php _e( 'Minecraft Admin component settings', 'minecraft-admin' ) ?></h2>
<br />
<?php _e( 'Here you can switch on/off parts of Minecraft Admin.', 'minecraft-admin' ) ?>
<br />
<form action="<?php echo mc_url(""); ?>" name="mc-core-components-form" id="mc-core-components-form" method="post">
<table class="form-table">
<tr valign="top">
<th scope="row">
<?php echo __( "Name", "minecraft-admin"); ?>
</th>
<th>
<?php echo __( "Enabled", "minecraft-admin"); ?>
</th>
<th>
<?php echo __( "Discription", "minecraft-admin"); ?>
</th>
</tr>
<?php foreach($this->MC as $id=>$plugin){
if(isset($plugin->name)){ ?>
<tr valign="top">
<td scope="row">
<label for="mc-core-component[<?php echo $plugin->path; ?>]">
<?php echo $plugin->name; ?></label>
</td>
<td>
<input name="mc-core-component[<?php echo $plugin->path; ?>]" type="checkbox" id="mc-core-components-<?php echo $plugin->path ?>" value="ja" <?php echo ( $plugin->aktive =="ja" or $plugin->path =="mc-core")? 'checked="checked"' : ""; ?>
<?php echo ( $plugin->path =="mc-core")? 'disabled="disabled"' : ""; ?> /></td>
<td>
<label for="mc-core-component[<?php echo $plugin->path; ?>]">
<?php echo $plugin->beschreibung; ?></label>
</td>
</tr>
<?php }
} ?>
</table>
<p class="submit">
<input type="submit" class="button-primary" name="submit" value="<?php _e( 'Save Settings', 'minecraft-admin' ) ?>" />
</p>
<?php wp_nonce_field( 'mc-core-components' ); ?>
</form>
</div>