<?php
$writer_sql=$empire->query(\"select writer from {$dbtbpre}enewswriter\");
while($w_r=$empire->fetch($writer_sql))
{
	$w_class.=\"<option value=\'\".$w_r[writer].\"\'>\".$w_r[writer].\"</option>\";
}
?>
<input type=text name=writer value=\"<?=$ecmsfirstpost==1?\"\":ehtmlspecialchars(stripSlashes($r[writer]))?>\" size=\"\"> 
        <select name=\"w_id\" id=\"select7\" onchange=\"document.add.writer.value=document.add.w_id.value\">
          <option>选择作者</option>
		  <?=$w_class?>
        </select>
<input type=\"button\" name=\"wbutton\" value=\"增加作者\" onclick=\"window.open(\'NewsSys/writer.php?<?=$ecms_hashur[ehref]?>&addwritername=\'+document.add.writer.value);\">
