<!--<?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;
?>-->