<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

	<title>Administration</title>
    <meta name="keywords" content="" >
    <meta name="description" content="" >
    <meta name="copyright" content="Open Classifieds 1.8" >
	<meta name="author" content="Open Classifieds">
	<meta name="viewport" content="width=device-width,initial-scale=1">

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script type="text/javascript" src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>    <![endif]-->

    <link id="css_color" type="text/css" 
    	href="<?php echo base_url();?>assets/css/bootstrap.min.css" 
    	rel="stylesheet" media="screen" />
    	
    <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
      .sidebar-nav {
        padding: 9px 0;
      }
       .settingsTitle{
      	cursor:pointer;
      }
      .settingsTable{
      	display: none;
      }
    </style>	
	<script type="text/javascript" src="<?php echo base_url();?>assets/js/common.js"></script>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	
	<script type="text/javascript" >
		function setCookie(c_name,value,expiredays){
			var exdate=new Date();
			exdate.setDate(exdate.getDate()+expiredays);
			document.cookie=c_name+ "=" +escape(value)+
			((expiredays==null) ? "" : ";expires="+exdate.toGMTString()+";path=/");
		}
	</script>	
		
  </head>

  <body>
  
	<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container"><a class="brand"
	href="<?php echo base_url();?>admin/">Administration</a>
<div class="nav-collapse">
<ul class="nav">
	<li><a href="<?php echo base_url();?>"><i class="icon-home icon-white"></i> Home</a></li>
	</ul>
</div>
<!--/.nav-collapse --></div>
</div>
</div>    <div class="container">
	    <div class="row">
	    
	    			<div class="span9"><h1>Administration Login</h1>
<form class="well" method="post" onsubmit="return checkForm(this);" action="<?php echo base_url();?>mybackend">
	<fieldset>
	
		<div class="control-group">
            <label class="control-label">User</label>
            <div class="controls">
            	<input name="user" type="text" class="text-long" onblur="validateText(this);" lang="false" value=""  />
            </div>
        </div>
 
 		<div class="control-group">
            <label class="control-label">Password</label>
            <div class="controls">
          	  <input name="pwd" type="password" class="text-long" onblur="validateText(this);"  lang="false" value="" />
            </div>
        </div>
        
        <input type="hidden" name="token_login_admin" value="dfc02338a937eb4ab2771fa4961356ef">		<div class="form-actions">
            <button type="submit" class="btn btn-primary">Submit</button>
            <a class="btn" href="<?php echo base_url();?>">Return</a>
          </div>
	</fieldset>
</form>

</div><!--/span--> 
		</div><!--/row-->
		<hr>

<footer>

<p>
	<div id="link_color" class="pull-right">
		<button class="btn btn-mini" data-file="cerulean-bootstrap.min">
			blue
		</button>
		<button class="btn btn-mini" data-file="united-bootstrap.min">
			orange
		</button>     		
		<button class="btn btn-mini" data-file="spacelab-bootstrap.min">
			silver
		</button>
		<button class="btn btn-mini" data-file="bootstrap.min">
			original
		</button>
	</div>
	
&copy; 
	<a href="http://open-classifieds.com" title="title">Sitename</a> 2009 - 

2012
</p>

</footer>    

</div><!--/.fluid-container-->
	
	<!--[if lt IE 7 ]>
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script>		<script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script>
	<![endif]-->

<script>
(function() {
	var link = $('link#css_color');
	
	$('div#link_color button[data-file]').on('click', function() {
		
		var $this = $(this);

		stylesheet = $this.data('file');
		
		link.attr('href', '<?php echo base_url();?>assets/css/' + stylesheet + '.css');
		
		setCookie("admin_color",stylesheet,365);
		
		$this
			.siblings('button')
				.removeAttr('disabled')
				.end()
			.attr('disabled', 'disabled');
	});
})();

</script>

<!--Page generated the 23 Aug 2012 19:06:28 in 0.012s. Total queries: 1.-->  </body>
</html>
