All pastes #168260 Raw Edit

Something

public php v1 · immutable
·published 2006-09-12 21:00 UTC
rendered paste body
echo '<form name="templateform" method="POST" action="/"><input type="hidden" name="p" value="Modify Page"><input type="hidden" name="target" value="'.$target.'"><input type="hidden" name="action" value="saveTemplateBios"><input type="text" name="header" value="'. $mainData[0]["header"] .'"><textarea name="description" rows="5" cols="80">'. $mainData[0]["description"] .'</textarea>';// display each bioecho '<ul class="plain">';foreach ($bioData as $bio) {	echo '	<li>   	<input type="text" name="" value="'. $bio["name"] .'">   	<img src="'. $bio["image"] .'" alt="Bio Image">  	<ul class="templatebuttons">		<li><a href="?p=Modify+Page&amp;target='. urlencode($target) . '&amp;action=deleteTemplateItem&amp;table=template_bio_bios_temp&amp;id='. $bio["id"] .'">Delete</a></li> 	</ul>	</li>';}echo '	</ul>	<a href="?p=Modify+Page&amp;target='. urlencode($target) . '&amp;action=addTemplateItem&amp;table=template_bio_bios_temp">Add Bio</a>	<div class="savecommands">		<a href="?p=Modify+Page&amp;target='. urlencode($target) . '&amp;action=reloadBiosTemplate">Reload Current Live Page</a>		<input class="save" type="submit" name="submit" value="Save">	</div>	</form>';