

<!DOCTYPE html>

	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		
		<title>Servicio Facturación Electronica </title>
		
		<link rel="shortcut icon" href="images/favicon.ico" />
		
		<!-- CSS style -->
		<link rel="stylesheet" type="text/css" href="css/ajax-contact-form.css" />
		<link rel="stylesheet" type="date/css" href="css/ajax-contact-form.css" />

		
		<link rel="stylesheet" href="css/w3.css">

		<!-- Font awesome -->
		<link rel="stylesheet" type="text/css" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />		
		
		<!-- jQuery -->
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
		
		<!-- Ajax Contact Form JS -->
			<!--<script type="text/javascript" src="js/jquery.ajax-contact-form.js"></script>	-->
		<script type="text/javascript" src="js/funcionesjavascript.js"></script>	
		<!-- <script type="text/javascript" src="securimage/securimage.js"></script>	-->
		
	</head>
	
	<body>
	
		<!--
		#########################################
			- Ajax Contact Form / Start -
		#########################################
		-->
		<div class="ajax-contact-form">
			<div class="container">
			
				<!-- Title -->
				<div class="title">
					
					<!--<img src="img/logoglobal.png" width="350" height="80" /> -->
					<span> <b> <strong>FACTURACION  ELECTRONICA</strong> </b></span>
				</div>
				<br/>
				
				<center>
				<div>
					<input type="radio" name="opradiob" id="opradiobl" value="ul" checked="checked" onclick="f_libreregistrado('L');" /> Usuario Libre
					<input type="radio" name="opradiob" id="opradiobr" value="ur"  onclick="f_libreregistrado('R');"  /> Usuario Registrado
				</div>
				</center>
				
				<div class="form-holder" id = "frmlibre">
				
					<!-- Notification -->
					<div class="notification canhide">
						<div class="wrapper">
							<div class="inner"></div>
						</div>
					</div>	
					
					<!-- Form -->				
					<form id="frm_contact" name="frm_contact"  action="gs_admfedetalle.php" method="post">
						<div class="field">
							<label for="name">Ruc Emisor:<span class="required">*</span></label>
							<div class="inputs">
								<input class="aweform" placeholder="RUC"  type="text" id="ruc" name="ruc" required value="<?php echo ""?>" />							
							</div>  
						</div>
						
					
						<div class="field">
							<label for="subject">Tipo:<span class="required">*</span></label>
							<div class="inputs">
								<select class="aweform" id="tipodoc" name="tipodoc">
									<option value="01">Factura</option>
									<option value="03">Boleta</option>
									<option value="07">Nota de Credito</option>
									<option value="08">Nota de Debito</option>
								</select>
							</div>  
						</div>
						
						<div class="field">
							<label for="name">Serie:<span class="required">*</span></label>
							<div class="inputs">
								<input class="aweform" placeholder="F001"  type="text" id="serie" name="serie" required value="<?php echo ""?>" />
							</div>  
						</div>
						
						<div class="field">
							<label for="email">Numero:<span class="required">*</span></label>
							<div class="inputs">
								<input class="aweform" placeholder="9999" type="text" id="numero" name="numero" required value="<?php echo ""?>" />
							</div>  
						</div>
						
						
						<div class="field">
							<label for="phone">F.Emision: <span class="required">*</span></label>
							<div class="inputs">
								<!--
								<input type="date"id="fechaing" name="fechaing" required />
								-->
								<input type="date" name="Fecha" id="Fecha"  required value="<?php echo date("Y-m-d");?>">
							</div>  
						</div>
						
						<div class="field">
							<label for="message">Monto Total:<span class="required">*</span></label>
							<div class="inputs">
								<input class="aweform small" placeholder="0.00" type="text" id="montototal" name="montototal" required value="<?php echo ""?>" />
							</div>  
						</div>
						
						
					
						
						<div class="form-submit">	
							<button type="submit" id="submit" name="submit" class="w3-btn w3-blue" > Ingresar</button>   													
						</div>
					</form>
				</div>
				<div class="form-holder" id = "frmregistrado" style="display:none;">
				<form id="frm_contact" name="frm_contact"  action="adminone.php" method="post">
					<div class="field">
							<label for="name">Ruc :<span class="required">*</span></label>
							<div class="inputs">
								<input class="aweform" placeholder="RUC"  type="text" id="ruc" name="ruc" required value="<?php echo ""?>" />							
							</div> 
					</div>
					<div class="field">
							<label for="name">Usuario :<span class="required">*</span></label>
							<div class="inputs">
								<input class="aweform" placeholder="USUARIO"  type="text" id="usuario" name="usuario" required value="<?php echo ""?>" />							
							</div>  
					</div>
					<div class="field">
							<label for="name">Contraseña :<span class="required">*</span></label>
							<div class="inputs">
								<input class="aweform" placeholder="CONTRASEÑA" type= "password" id="contrasena" name="contrasena" required value="<?php echo ""?>" />							
							</div>  
					</div>
					<div class="form-submit">	
							<button type="submit" id="submit" name="submit" class="w3-btn w3-blue" > Ingresar</button>   													
					</div>
				</div>
			</div>
		</div>
		<!--
		#########################################
			- Ajax Contact Form / End -
		#########################################
		-->
		<?php
		echo " <script language='javascript1.1' type='text/javascript'> f_libreregistrado(); </script>"; 
		?>
	</body>
	
</html>
	
	
<!--


 $captcha = @$_POST['ct_captcha']; // the user's entry for the captcha code
 
 // Only try to validate the captcha if the form has no errors
    // This is especially important for ajax calls
    if (sizeof($errors) == 0) 
	{
      require_once dirname(__FILE__) . '/securimage/securimage.php';
      $securimage = new Securimage();

      if ($securimage->check($captcha) == false) {
        $errors['captcha_error'] = 'Incorrect security code entered<br />';
      }
    }

-->