<table width="100%">
<tr>
<td>プラン名</td>
<td>
<input type="text" name="plan_name" value="<?php echo set_value('plan_name', isset($plan_name) ? $plan_name : ''); ?>" size="80" />
</td></tr>
<tr>
<td>概要</td>
<td>
<textarea name="summary" rows="5" cols="80">
<?php echo set_value('summary', isset($summary) ? $summary : ''); ?>
</textarea>
</td></td>
<tr><td>説明</td>
<td>
<textarea name="description" rows="6" cols="80">
<?php echo set_value('description', isset($description) ? $description : ''); ?>
</textarea>
</td></tr>
<tr>
<td>期間</td>
<td>
<input type="text" name="start_date" value="<?php echo set_value('start_date', isset($start_date) ? $start_date : ''); ?>" size="20" />
～
<input type="text" name="end_date" value="<?php echo set_value('end_date', isset($start_date) ? $end_date : ''); ?>" size="20" />
</td></tr>
<tr>
<td>一日あたりの数</td>
<td>
<input type="text" name="default_num" value="<?php echo set_value('default_num', isset($default_num) ? $default_num : ''); ?>" size="4" />
</td></tr>
<tr>
<td>人数</td>
<td>
最小:<input type="text" name="guest_min" value="<?php echo set_value('guest_min', isset($guest_min) ? $guest_min : ''); ?>" size="4" />
～
最大:<input type="text" name="guest_max" value="<?php echo set_value('guest_max', isset($guest_max) ? $guest_max : ''); ?>" size="4" />
</td></tr>
<tr>
<td>部屋タイプ</td>
<td>
<select name="roomtypeid">
<?php
foreach ($options as $option)
{
    echo '<option value="' . $option["key"] . '">' . $option["value"] . '</option>';
}
?>
</select>
</td></tr>
</table>
<input type="submit" name="submit" value="送信" />
