<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Procesos de Consultas WEB</title>
<!--
Copyright 2009 Itamar Arjuan
jsDatePick is distributed under the terms of the GNU General Public License.
****************************************************************************************
Copy paste these 2 lines of code to every page you want the calendar to be available at
-->
<link rel="stylesheet" type="text/css" media="all" href="./jsdatepick-calendar/jsDatePick_ltr.min.css" />
<!--
OR if you want to use the calendar in a right-to-left website
just use the other CSS file instead and don´t forget to switch g_jsDatePickDirectionality variable to "rtl"!
<link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.css" />
-->
<script type="text/javascript" src="./jsdatepick-calendar/jsDatePick.min.1.3.js"></script>
<!--
After you copied those 2 lines of code , make sure you take also the files into the same folder :-)
Next step will be to set the appropriate statement to "start-up" the calendar on the needed HTML element.
The first example of Javascript snippet is for the most basic use , as a popup calendar
for a text field input.
-->
<script type="text/javascript">
window.onload = function(){
new JsDatePick({
target:"fechad",
useMode:2,
dateFormat:"%d/%m/%Y"
/*selectedDate:{ This is an example of what the full configuration offers.
day:5, For full documentation about these settings please see the full version of the code.
month:9,
year:2006
}*/,
yearsRange:[2020,2050],
limitToToday:false,
cellColorScheme:"beige",
/*dateFormat:"%m-%d-%Y",*/
imgPath:"img/",
weekStartDay:0
});
};
</script>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
...
<form action="<?php echo $PHP_SELF; ?>" name="frmInscripcion" method="post">
<fieldset>
<h3 align="center">Usuario: <?php echo "<td>$USUARIO $NOMBRE </td></tr>";?></h3>
</ul>
<ul id="menu" class="dbMenu onMouse">
<li>Reportes (PDF)
</li>
</ul>
<p>Introduzca la fecha seleccionando en el calendario</p>
Fecha Desde:
<input type="text" name="dated" value="<? echo $txt_Desde; ?>" id="fechad" size="10" />
Fecha Hasta:
<input type="text" name="dateh" value="<? echo $txt_Hasta; ?>" id="fechah" size="10" />
...