<!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">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
 
<head><title>MaxOn ERP Online Demo</title>
<script type="text/javascript">
   		CI_ROOT = "<?=base_url()?>index.php/";
		CI_BASE = "<?=base_url()?>"; 		
</script>

<?php
echo $library_src;
echo $script_head;
?>
<script languange="javascript">

	if(top != self) top.location.replace(location);	//detect if run iframe

    function login(){
    	$("#lblMessage").html('<?=lang("wait")?>');
		url='<?=base_url()?>index.php/login/verify';			
		loading();
		$.ajax({
				url: url, type: "POST", data: {user_id:$("#user_id").val(),password:$("#password").val()},
				error: function (xhr, ajaxOptions, thrownError) {
					console.log(xhr.responseText);
					log_err(xhr.responseText);
					loading_close();
				},
				success: function(result)
				{
					if(IsJsonString(result))
					{
						var result = eval('('+result+')');
						if (result.success)
						{
							loading_close();
							log_msg(result.message);
							window.open("<?=base_url()?>index.php","_self");
						} else {
							loading_close();
							log_err(result.message);
						}
					} else { 
						loading_close();
						log_err(result);
					}
				}
		});									
    }
</script>
 
       
</head>
<body>
<div class="container-fluid">


	<div class='row-fluid'>
		<?php
			require_once "template/standard/header1.php";
		?>
	</div>
	<div class="row" style="padding:10px">
		<div class="col-md-2">
			<a href='<?=base_url()?>index.php'>
			<img src="<?=base_url()?>images/logo_maxon.png" style="float:left"></a>
		</div>
		<div class="col-md-10">
			<p>MaxOn adalah sebuah software yang membantu anda 
			membuat transaksi-transaksi yang ada di perusahaan, meliputi transaksi penjualan, 
			pembelian, hutang, piutang, stock, aktiva, buku kas, akuntansi dan lain sebagainya.</p>
		</div>
	</div>
	<div class="row thumbnail" style='background-color:black'>
		<div class='col-md-12'>
                    <?php
                    $folder="images/";
                    include "slider.php" ?></div>	
	</div>
	<div class="row col-md-8" style="padding-left:10px;padding-right:10px">
		<?
			$category="home";
			$found_article=false;
			include_once "website/articles.php";
			if(! $found_article) {
				include_once "home_default.php";
			}
		?>
		   
	</div>
	<div class="row col-md-4 thumbnail" style="margin-left:10px">
		<? include_once "login_panel.php"; ?>
		<? include_once "website/article_cats.php"; ?>			
		<? $this->load->view('google_ads'); ?>

	</div>
		   
<div class='clear'></div>
<div class="wrap box-gradient">
            <div id="footer" class="footer box-gradient">
            	<div >
                	<div class="row">
                		<div class="col-md-3">
                        	<div class="foot_logo"><a href="index.html"><img src="images/logo_maxon.png" alt=""></a></div>    
                        	<div class="copyright">� 2020 MaxOn Enterprise Resource Application. All Rights Reserved.</div>                        
                        </div>
                        <div class="col-md-7">
							<div style="float:right;">
								<a href="http://www.facebook.com/maxon51" target="_new" title="Follow Facebook">
										<img src="images/fb.png"></a>
								<a href="http://www.twitter.com/talagasoft" target="_new" title="Follow Twitter">
									<img src="images/twitter.png">
								</a>
							</div> 
                        </div>
                    </div>	
                </div>
            </div>
</div>
		
</div>   
  
		
</body>
<style>
.footer {
	
}
body {
	background-color: white;
}
</style>
<?
//echo $library_src;
//echo $script_head;
?>

<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
	  $('.flexslider').flexslider({
	    animation: "slide"
	  });
});


//]]>
</script>

	<!--Start of Tawk.to Script-->
	<script type="text/javascript">
	var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
	(function(){
	var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
	s1.async=true;
	s1.src='https://embed.tawk.to/56b677765d8a6c387d76c0be/default';
	s1.charset='UTF-8';
	s1.setAttribute('crossorigin','*');
	s0.parentNode.insertBefore(s1,s0);
	})();
	</script>
	<!--End of Tawk.to Script-->
