Exemplo n.º 1
0
?>
    <span id="titform"> <a href="menu_admin.php">Administra&ccedil;&atilde;o</a> -> <a href="lst_cadreuniao.php">Cadastro de Reuniões</a> </span>
<?php 
include "traco.php";
include "tophome.php";
require_once $_SESSION['DOCROOT'] . "/classes/class.reuniao.php";
$numero = $_GET['ID'];
$eve = new Reuniao($numero);
?>

<body onLoad="document.getElementById('dia').focus();">
	<form method="post" action="prc_cadreuniao.php" name="frm_cadreuniao" id="frm_cadreuniao" >
	  <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());