Esempio n. 1
0
 			 	
 	 	<tr class="row green" >
 	 			<td><label><b>Fecha de la VM:<b><br> 
 	 				<?php 
require_once 'calendar/classes/tc_calendar.php';
$myCalendar = new tc_calendar("date1", true, false);
$myCalendar->setIcon("calendar/images/iconCalendar.gif");
$myCalendar->setDate(date('d'), date('m'), date('Y'));
$myCalendar->setPath("calendar/");
$myCalendar->setYearInterval(2014, 2017);
$myCalendar->dateAllow('2014-01-01', '2017-12-31');
$myCalendar->setDateFormat('j F Y');
$myCalendar->setAlignment('left', 'bottom');
$myCalendar->showWeeks(true);
$myCalendar->startMonday(true);
$myCalendar->setTheme('theme1');
$myCalendar->writeScript();
?>
 	 				
 	 			</td>
 	 			<td><label><b>Nombre de la Ventana:<b><br> <input size="72" type="text" name="form_nom_vm" required><br></td>
 	 			<td><label><b>Ticket No.:<b><br> <input type="text" name="form_ticket_vm" required><br></td>
 	 			
 	 			<td>
					<label><b>Documento Asociado:</b><br>
					<select name="form_vm_doc">
	 	 			<?php 
while ($vm_doc = mysqli_fetch_assoc($res_vm)) {
    echo '<option value= ' . $vm_doc['id_doc'] . '>' . $vm_doc['desc_doc'] . '</option>';
}
?>