All pastes #747169 Raw Edit

Unnamed

public php v1 · immutable
·published 2007-10-23 20:18 UTC
rendered paste body
<h3>New Listing</h3><form action="/admin/listings/new/" method="post">	<?= $html->hidden("Listing/id");?>	<TABLE width="800" cellpadding="5" cellspacing="0" align="center">		<tr>			<th width="150">Business Name:</th>			<td>				<?= $html->input('Listing/name'); ?>			</td>		</tr>		<tr>			<th width="150">Description:</th>			<td>				<?= $html->textarea("Listing/body",array("rows"=>50,"cols"=>50)); ?>				<?= $html->tagErrorMsg('Listing/body',"You must supply column text.");?>				<?= $fck->load("Listing/body"); ?>			</td>		</tr>		<tr>			<th width="150">Categories & Offerings:</th>			<td id="categoriesContainer">				<?				for($i=1;$i <= count($associations);$i++) {					echo sprintf("<input type='checkbox' value='%s' name='data[Selection][Selection][]'>%s\n<br />", $i, $associations[$i]);				}				?>			</td>		</tr>