<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>附件贴 - <?php echo setting('webname');?></title>
</head>
<body>
<form action="<?php echo url('system',array('s'=>'bbs','c'=>'thread','a'=>'upload','fid'=>$fid));?>" method="post" enctype='multipart/form-data'>
标题:(3-20字)<br/>
<input type="text" name="subject" maxlength="20" />
<br/>
<input type="text" name="days" value="0" size="3" />天内有回复短信通知(0表示不通知,最多不超过10天)
<br/>
<?php $this->widget('bbs.widgets.ThreadTypeWidget',array('fid'=>$forum['fid']));?>
内容:(20-50000字)<br/>
<textarea name="content" cols="60" rows="4"></textarea>
<br/>
----------
<br/>
<?php for ($i = 1; $i <= $num; $i++):?>
附件<?php echo $i;?>:<input name="attachment_<?php echo $i;?>" type="file" size="6" />
<br/>
名称:<input type="text" name="name_<?php echo $i;?>" maxlength="30" size="10" />
<br/>
售价:<input type="text" name="price_<?php echo $i;?>" maxlength="30" size="10" value="0" />
<br/>
↓说明↓
<br/>
<textarea name="remark_<?php echo $i;?>" cols="60" rows="4"></textarea><br/>
<?php endfor;?>
<input type="submit" value="确定发表" />
</form>
</body>
</html>