示例#1
0
    }
}
?>
<html>
	<body>
		<style>
			table { border: 1px solid #ccc; padding: 2px 4px; }
			th { vertical-align: top; text-align: right; }
			td { vertical-align: top; }
			thead th { text-align: center; font-size: 16pt; background-color: #ccc; }
			.phorm_error { color: #bb0000; font-size: 10pt; text-align: left; font-style: oblique; }
			.phorm_help { margin: 0; padding: 2px; font-size: 10pt; font-style: oblique; color: #666; }
		</style>
		
		<?php 
echo $form->open();
?>
		<table>
			<thead>
				<tr><th colspan="2">Example file drop</th></tr>
				<?php 
if ($form->has_errors()) {
    ?>
				<tr><th class="phorm_error" colspan="2">Please correct the following errors.</th></tr>
				<?php 
} elseif ($saved) {
    ?>
				<tr><td><em>Your photo has been saved to <?php 
    echo $photo_path;
    ?>
.</em></td></tr>