<!--<?php
defined('W_P') or exit('Forbidden');print <<<EOT
-->
<div class="navigator"><a href="#anch-end"><img alt="$db_bbsname" src="$wapImages/x.gif" /></a><a href="index.php?a=list">$db_bbsname</a>&gt;<a href="index.php?a=forum&fid=$fid">$pwforum->name</a></div>
<div class="post_title"><strong>給帖子附加圖片</strong></div>
<div class="post_form">
  <form id="form1" method="post" action="index.php?a=upload" enctype = "multipart/form-data">
  <input type="hidden" name="tid" value="$tid">
  <input type="hidden" name="fid" value="$fid">
  <input type="hidden" name="step" value="2">
    <p>
      <label>1. 選擇一個你想上傳的圖片︰<br />
         <input name="attachment_" type="file" size="20" />
      </label>
    </p>
    <p>     2. 點擊&quot;上傳圖片&quot;按鈕。</p>
<!--
EOT;
if($atthtml){
print <<<EOT
-->
    <p> 	3. 已經存在的附件，去掉選中表示刪除此附件</p>
    <p>
    	$atthtml
    </p>
<!--
EOT;
}print <<<EOT
-->
    <p>
      <label>
        <input type="submit" name="button" id="button" value="上傳圖片" />
      </label>
    </p>
</form>
</div>
<div class="post_reply"><a href="index.php?a=read&tid=$tid&amp;fid=$fid">&laquo;返回帖子</a></div>
<!--
EOT;
?>-->