<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <title>Eribium</title>
<%= stylesheet_link_tag "eribium", :media => "all" %>
<%= stylesheet_link_tag "googiespell", :media => "all" %>
<%= stylesheet_link_tag "toolbar", :media => "all" %>
<%= stylesheet_link_tag "overlay", :media => "all" %>

<%= javascript_include_tag 'old_scriptaculous/prototype', 'old_scriptaculous/effects', 'old_scriptaculous/controls', 'old_scriptaculous/dragdrop'  %>
<%= javascript_include_tag 'rico_corner', 'ajax_scaffold', 'behaviour', 'behaviourstyle', 'overlay', 'navt', 'googiespell/AmiJS', 'googiespell/googiespell', 'googiespell/cookiesupport', 'googiespell_settings', 'toolbar' %>

<style type="text/css">
<!--
<% if config_value('large_width') == '1' %>

	#content { 
	position: absolute; 
	left: 23%; 
        width: 70%; 
	top: 68px;
	}
	
	#left { 
	position: absolute; 
	left: 3%; 
	width: 18%; 
	top: 68px; 
	}
	
	#both {
	position: absolute; 
	left: 8%;
	width: 85%;
	top: 68px;
	}
	
	
<% else %>

	#content { 
	position: absolute; 
	left: 40%; 
        width: 40%; 
	top: 68px;
	}
	
	#left { 
	position: absolute; 
	left: 20%; 
	width: 18%; 
	top: 68px; 
	}
	
	#both {
	position: absolute; 
	left: 20%;
	width: 60%;
	top: 68px;
	}
	
<% end %>
-->
</style>

</head>
<body>

<div id="header">
  <%= link_to(image_tag("logo.png", { :alt => "Logo", :size=> "181x24", :border=> "0"}), { :controller => "admin", :action => "index"}) %></a></div>
  <div id="search">
 <%= start_form_tag({:controller => 'search'}, :method => 'get') %>
  <input type="text" size="20" name="">
 <%= end_form_tag %>
  </div>
<div id="menu">
				<%= link_to("Dashboard", { :controller => "dashboard"}) %>
				<%= link_to("Write", { :controller => "page", :action => "fnew"}) %>
				<%= link_to("Pages", { :controller => "page", :action => "list"}) %>
				<%= link_to("Files", { :controller => 'file' }) %>
				<%= link_to("Tags", { :controller => 'tags' }) %>
				<%= link_to("Feeds", { :controller => 'feeds' }) %>
				<%= link_to("Presentation", { :controller => 'presentation' }) %>
				<%= link_to("Options", { :controller => 'options'}) %>
				<%= link_to("Stats", { :controller => "stats" }) %>
				<%= link_to("Import/Export", { :controller => "import_export" }) %>
				<%= link_to("Accounts", { :controller => "accounts" }) %>
</div>

<% if @flash[:notice] -%>
<div id="notice"><%= @flash[:notice] %></div>
<script type="text/javascript">
new Effect.Pulsate('notice');
</script>
<% end -%>

<div class="navt_menu">

	<div id="navt_display" class="navt_show" onclick="toggle(this.id)"></div>

		<div id="navt_container" style="display:none">
	
	
			
			<div class="articles">
			<%= link_to("Logout", { :controller => "login", :action => "logout"}) %>
			<br />
			<%= link_to(User.find(session[:user_id]).name, :controller => 'accounts', :action => 'edit', :id => session[:user_id]) %>
			<br />
			<%= link_to("View Site",:controller => '/') %>
			</div>
	
	</div>

</div>

<%= @content_for_layout %>

</body>
</html>
