<?
require_once('conf/connection.php');

$ano=date("Y");

$add="DELETE FROM add_fecha";    
mysql_query($add, $conn) or die("Error en el query: ".mysql_error());
?>
<!DOCTYPE html>
<html dir="ltr" lang="en-US"><head><!-- Created by Artisteer v4.3.0.60745 -->
    <meta charset="utf-8">
    
    <title>Registro de fechas</title>
    <meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">

    <!--[if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <link rel="stylesheet" href="style.css" media="screen">
    <!--[if lte IE 7]><link rel="stylesheet" href="style.ie7.css" media="screen" /><![endif]-->
    <link rel="stylesheet" href="style.responsive.css" media="all">

    <script src="jquery.js"></script>
    <script src="script.js"></script>
    <script src="script.responsive.js"></script>
    <link href="calendario/calendar-blue.css" rel="stylesheet" type="text/css">
	<script type="text/JavaScript" language="javascript" src="calendario/calendar.js"></script>
	<script type="text/JavaScript" language="javascript" src="calendario/lang/calendar-sp.js"></script>
	<script type="text/JavaScript" language="javascript" src="calendario/calendar-setup.js"></script>


<style>.art-content .art-postcontent-0 .layout-item-0 { margin-bottom: 10px;  }
.art-content .art-postcontent-0 .layout-item-1 { border-right-style:solid;border-right-width:1px;border-right-color:#C4C6BD; padding-right: 10px;padding-left: 10px;  }
.ie7 .art-post .art-layout-cell {border:none !important; padding:0 !important; }
.ie6 .art-post .art-layout-cell {border:none !important; padding:0 !important; }

</style>

<script>
function mesas(){ window.location.href='mesas.php';  }

function stock(){
	
			miPopup = window.open("stock/index.php","cant_","width=900,height=500,top=80,left=200,status=no, scrollbars=no, toolbars=no, menubar=no,resizable=yes,directories=no");
			miPopup.focus();
}

function cierre(){
	
			miPopup = window.open("cierre/index.php","cant_","width=900,height=500,top=80,left=200,status=no, scrollbars=no, toolbars=no, menubar=no,resizable=yes,directories=no");
			miPopup.focus();
}

function pagos(){ window.location.href='caja/index.php';  }
function admin(){ window.location.href='admin/admin/principal.php';  }

function edit(){ window.location.href='edit.php';  }
</script>
<style>
.img_logo {
	
	position:absolute;
	top:250px;
	right:0px;
	left:100px;
	
}


</style>
</head>
<body>

<div id="art-main">
    <div class="art-sheet clearfix">
<nav class="art-nav">
    <ul class="art-hmenu">
       
           </ul> 
    </nav>
<div class="art-layout-wrapper">
                <div class="art-content-layout">
                    <div class="art-content-layout-row">
                      <div class="art-layout-cell art-content"><article class="art-post art-article">
                                
                                                
                                <div class="art-postcontent art-postcontent-0 clearfix"><div class="art-content-layout-wrapper layout-item-0">
<div class="art-content-layout">
    <div class="art-content-layout-row">
    <div class="art-layout-cell layout-item-1" style="width: 100%" >
     
        <h3>MENU PRINCIPAL | REGISTRO DE FECHAS</h3>
        <p><strong>Ingrese fecha para iniciar las ventas diarias. </strong> </p>
        <div class="image-caption-wrapper" style="width: 100%">
<form  method="get" action="guardar_fecha.php">        
        <table width="941" border="0">
  <tr>
    <td width="92">FECHA:  </td>
    <td width="122"><input name="fecha" type="text" id="fecha" style="background-color:#CCC" readonly="readonly"></td>
    <td width="151">
     <img src="images/postdateicon.png" name="Image1" width="30" height="28" id="Image1">
        <script type="text/javascript">
					Calendar.setup(
					  {
					inputField : "fecha",
					ifFormat   : "%Y-%m-%d",
					button     : "Image1"
					  }
					);
		</script>
    
    </td>
    <td width="558"><blockquote>NOTA: Para ingresar una fecha debe seleccionar el botón fecha(Al costado del cuadro de texto).</blockquote></td>
  </tr>
<tr>
    <td colspan="4"><input type="submit" value="Registrar" class="art-button"></td>
  </tr>

 <tr>
    <td colspan="4">
      <img src="images/logo.png" alt="" width="284" height="264" ></td>
    </tr>
        </table>
</form>
        
        
        
        
        </div>
    </div>
    </div>
</div>
</div>
</div>


</article></div>
                    </div>
                </div>
            </div><footer class="art-footer">
<p><br></p>
<p>Copyright © <? echo $ano; ?>. All Rights Reserved.</p>
</footer>

    </div>
    <p class="art-page-footer">
        <span id="art-footnote-links"><a href="http://www.virtualsurchile.cl" target="_blank">Informatica Francisco Arias E.I.R.L.</a></span>
    </p>
</div>


</body></html>