} // echo("<h1>".date("Y/m/d",time() + $dt)."</h1>"); $r = new Reuniao(0); $r->setData(date("Y/m/d", time() + $dt)); $r->setLocal("Posto Mario Roberto"); $r->setHora("15:30"); $r->Grava(); } ?> <div class="painel"> <div class="LeftCorner"> </div> <div class="TitPainel">.:: Reunião Semanal ::.</div> <div class="RightCorner"> </div> <div class="corpo"> <?php $dw = array("Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"); foreach ($lst as $e) { $enq = new Reuniao($e['id']); echo "<center><h5>" . $dw[date('w', $enq->getData())] . "</h5></center>"; echo "<center> »" . date('d/m/Y', $enq->getData()) . " - " . date('H:i', $enq->getHora()) . "hs" . chr(171) . "</center>"; echo "<br>"; echo "<b>Local: </b>" . $enq->getLocal(); echo "<br>"; echo "<br>"; } ?> </div> </div>
if ($numero != 0) { echo date("H", $eve->getHora()); } ?> "> : <input tabindex="15" size="2" style="width:20px;" maxlength="2" name="mm" value="<?php if ($numero != 0) { echo date("i", $eve->getHora()); } ?> "> </td> </tr> <tr><td style="font-weight:bold;" width="30%" >Local:</td> </tr> <tr><td width="70%" > <input tabindex="16" size="60" maxlength="60" name="local" value="<?php echo $eve->getLocal(); ?> "></td> </tr> <?php if ($numero == 0) { include "botincluir.php"; } else { include "botaltexc.php"; } ?> </table> </form> </body> <?php include "bothome.php"; ?>
function substitui_fixo() { $this->setMensagemF($this->getTexto()); $Reuniao = Reuniao::getReunioes("P"); foreach ($Reuniao as $r) { $rn = new Reuniao($r['id']); $this->setMensagemF(str_replace('#dtreuniao#', date('d/m/Y', $rn->getData()), $this->getMensagemF())); $this->setMensagemF(str_replace('#localproximareuniao#', substr($rn->getLocal(), 0, 21), $this->getMensagemF())); $this->setMensagemF(str_replace('#hrr#', date('H:i', $rn->getHora()), $this->getMensagemF())); } }