<!--<?php
print <<<EOT
-->
<form action="$basename&action=ajax" method="post" onsubmit="return false;">
	<table width="350" cellspacing="1" cellpadding="5">
		<tr>
			<th colspan="2" class="h" style="cursor:move" onmousedown="read.move(event);"><span class="fr" style="margin-top:2px;cursor:pointer" onclick="closep();"><img src="$imgpath/close.gif" /></span>廣告位申請</th>
		</tr>
		<tr class="tr3 f_one">
			<td width="30%">價格(每天)︰</td>
			<td>$conf[price] {$creditName}</td>
		</tr>
<!--
EOT;
if($conf['style'] == 'txt'){print <<<EOT
-->
		<tr class="tr3">
			<td>展現方式︰</td>
			<td>文字</td>
		</tr>
		<tr class="tr3">
			<td>文字內容*</td>
			<td><input type="text" name="title" size="40" class="input" value="$config[title]" /></td>
		</tr>
		<tr class="tr3">
			<td>文字鏈接*</td>
			<td><input type="text" name="link" value="$config[link]" size="40" class="input" /></td>
		</tr>
<!--
EOT;
}elseif($conf['style']=='img'){print <<<EOT
-->
		<tr class="tr3">
			<td>展現方式︰</td>
			<td>圖片</td>
		</tr>
		<tr class="tr3">
			<td>廣告描述*</td>
			<td><input type="text" name="title" size="40" class="input" value="$config[title]" /></td>
		</tr>
		<tr class="tr3">
			<td>圖片地址*</td>
			<td><input type="text" name="url" size="40" class="input" value="$config[url]" /></td>
		</tr>
		<tr class="tr3">
			<td>圖片鏈接*</td>
			<td><input type="text" name="link" size="40" class="input" value="$config[link]" /></td>
		</tr>
<!--
EOT;
}elseif($conf['style']=='flash'){print <<<EOT
-->
		<tr class="tr3">
			<td>展現方式︰</td>
			<td>flash</td>
		</tr>
		<tr class="tr3">
			<td>廣告描述*</td>
			<td><input type="text" name="title" size="40" class="input" value="$config[title]" /></td>
		</tr>
		<tr class="tr3">
			<td>flash鏈接*</td>
			<td><input type="text" name="link" size="40" class="input" value="$config[link]" /></td>
		</tr>
<!--
EOT;
}print <<<EOT
-->
			
		<tr class="tr3">
			<td>投放天數*</td>
			<td><input type="text" name="days" class="input" value="$config[days]" /></td>
		</tr>
	</table>
	<input type="hidden" name="step" value="2" />
	<input type="hidden" name="id" value="$id" />
	<ul><li style="text-align:center;padding:4px 0;"><input type="button" class="btn" name="ajaxsubmit" onclick="ajax.submit(this.form);" value=" 提 交 " /></li></ul>
</form>
<!--
EOT;
?>-->