示例#1
0
}
?>
 <span class="titusr">Calendário</span>

 <?php 
include "traco.php";
?>

<table  id="menuadm" cellpadding="0" cellspacing="0">
  <?php 
$vez = 0;
foreach ($lst as $e) {
    if ($vez != 0) {
        echo '<tr><td><hr style="height: 1px; width: 100%;" align="left"></td></tr>' . "\n";
    }
    $enq = new Calendario($e['idcalendario']);
    echo "<tr><td><b> " . date('d/m/Y', $enq->getData()) . "</b> - " . $enq->getTitulo() . "</td></tr>";
    echo "<tr><td><b>Local:</b> " . $enq->getLocal() . "</td></tr>";
    echo "<tr><td><b>Realização:</b> " . $enq->getRealizacao() . "</td></tr>";
    echo "<tr><td><b>Observações:</b> " . $enq->getDescricao() . "</td></tr>";
    $vez = 1;
}
echo '<tr><td><hr style="height: 1px; width: 100%;" align="left"></td></tr>' . "\n";
?>
 <?php 
include "volta.php";
?>
  </table>

<?php 
include "rodape.php";
示例#2
0
<body onLoad="document.getElementById('dia').focus();">
	<form method="post" action="prc_cadcalendario.php" name="frm_cadcalendario" id="frm_cadcalendario" >
	  <table id="tabform"   border="0" cellspacing="0"  width="440px">
		<tr>
		  <td><input type="hidden" name="ID" value="<?php 
echo $eve->getID();
?>
"></td>
		</tr>
        <tr> <td style="font-weight:bold;" width="30%" >Data:</td> </tr>
		<tr>
		<td width="70%" >
		<input tabindex="11" size="2" maxlength="2" style="width:20px;" name="dia" value="<?php 
if ($numero != 0) {
    echo date("d", $eve->getData());
}
?>
"> /
		<input tabindex="12" size="2" style="width:20px;" maxlength="2" name="mes" value="<?php 
if ($numero != 0) {
    echo date("m", $eve->getData());
}
?>
"> /
		<input tabindex="13" size="4" maxlength="4" style="width:35px;" name="ano" value="<?php 
if ($numero != 0) {
    echo date("Y", $eve->getData());
}
?>
">