<div class="wrap <?php if( !current_user_can('manage_options') ){ echo " fg-disable-links"; } ?>">
  <div class="icon32" id="icon-tools"><br/></div>
  <h2>Manage Albums</h2>
  <br />
  <h3 style="float: left; margin: 6px 10px 10px 0px;">Add new album into gallery:</h3>
  <form action="" method="post">
    <select name="galleries" id="gallerySelecter">
      <?php
	
	  $galleries = $this->wpdb->get_results("SELECT * FROM " . $this->gallery_table_name . "");
			  
	  foreach($galleries as $gallery) {
		  echo '<option value="' . stripslashes($gallery->title) . '">' . stripslashes($gallery->title) . '</option>';
	  }
	  
	  ?>
    </select>
    <div class="clear"></div>
    <br />
    <p class="description">Enter an album title:</p>
    <input type="text" name="album_title"  style="width: 300px;" />
    <a href="#" id="addNewAlbum" class="button-secondary">Add album</a>
    <br />
    <br />
    <h3 style="float: left;">My albums</h3>
    <a href="#" id="deleteAlbums" class="button-secondary" style="margin-left: 220px; margin-top: 12px; float: left;">Delete all albums</a> 
    <ol id="albumList">

    </ol>
    <input type="submit" id="updateAlbums" class="button-primary" value="Save Changes" title="Save changes" />
  </form>
</div>