本文整理汇总了PHP中Evento::getDescricao方法的典型用法代码示例。如果您正苦于以下问题:PHP Evento::getDescricao方法的具体用法?PHP Evento::getDescricao怎么用?PHP Evento::getDescricao使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Evento
的用法示例。
在下文中一共展示了Evento::getDescricao方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: date
<input tabindex="3" size="4" maxlength="4" style="width:35px;" name="ano" value="<?php
if ($numero != 0) {
echo date("Y", $eve->getData());
}
?>
">
</td>
</tr>
<tr><td style="font-weight:bold;" width="30%" >Local:</td> </tr>
<tr><td width="70%" > <input tabindex="4" size="60" maxlength="60" name="local" value="<?php
echo $eve->getLocal();
?>
"></td> </tr>
<tr><td colspan=2 style="font-weight:bold;" width="30%" >Descrição do Evento:</td> </tr>
<tr><td colspan=2><textarea tabindex="5" maxlength="1024" name="descricao" rows=10 cols=50><?php
echo $eve->getDescricao();
?>
</textarea></td></tr>
<?php
if ($numero == 0) {
include "botincluir.php";
} else {
include "botaltexc.php";
}
?>
</table>
</form>
</body>
<?php
include "bothome.php";
?>
示例2: str_replace
<?php
include "sessao.php";
include "head.php";
require_once $_SESSION['DOCROOT'] . "/classes/class.evento.php";
$ID = $_GET['evento'];
$PG = $_GET['PG'];
$eve = new Evento($ID);
echo '<span class="titusr">Evento ' . $eve->getLocal() . ' dia ' . date("d/m/Y", $eve->getData()) . '</span>';
include "traco.php";
?>
<table id="detmembro">
<tr><td style="border:1px; border-style:solid; border-color:#000099;"><dd><?php
echo str_replace(chr(13) . chr(10), "<br><dd>", $eve->getDescricao());
?>
</td></tr>
<tr style="font-weight:bold;"><td colspan=2>Fotos:</td></tr>
<?php
$pasta = sprintf("./eventos/%06d/", $ID);
$ini = $PG * 12 - 12 + 2;
$max = $PG * 12 + 2;
// echo ('<tr><td>ini= '.$ini.' max= '.$max.'</td></tr>');
echo ' <tr style="font-weight:bold;"><td colspan=2 style="border:1px; border-style:solid; border-color:#000099;"><table>';
if (is_dir($pasta)) {
$fotos = scandir($pasta);
if (count($fotos) < $max) {
$max = count($fotos);
}
if (count($fotos) < 3) {
echo "Nenhuma foto cadastrada para esse membro.";
} else {