Example #1
0
<form method="post" action="scripts/create.php" class="form-create">
	<input type="hidden" name="area" value="<?php 
echo $areaId;
?>
" />
	<input type="hidden" name="edit-id" value="<?php 
echo $model->getId();
?>
" />

<?php 
if ($editArea == 'Comment') {
    ?>
	<?php 
    $content = str_replace('<br />', '', $model->getContent());
    $content = htmlspecialchars($content);
    $userList = new ae_UserList();
    ?>

	<aside>
		<div class="input-group">
			<h3>IP</h3>

			<input type="text" value="<?php 
    echo htmlspecialchars($model->getAuthorIp());
    ?>
" placeholder="Author IP" readonly />
		</div>

		<div class="input-group">