<?php
$befrom_sql=$empire->query(\"select sitename from {$dbtbpre}enewsbefrom\");
while($b_r=$empire->fetch($befrom_sql))
{
	$b_class.=\"<option value=\'\".$b_r[sitename].\"\'>\".$b_r[sitename].\"</option>\";
}
?>
<input type=\"text\" name=\"befrom\" value=\"<?=$ecmsfirstpost==1?\"\":ehtmlspecialchars(stripSlashes($r[befrom]))?>\" size=\"\"> 
        <select name=\"befrom_id\" id=\"befromid\" onchange=\"document.add.befrom.value=document.add.befrom_id.value\">
          <option>选择信息来源</option>
          <?=$b_class?>
        </select>
<input type=\"button\" name=\"wbutton\" value=\"增加来源\" onclick=\"window.open(\'NewsSys/BeFrom.php?<?=$ecms_hashur[ehref]?>&addsitename=\'+document.add.befrom.value);\">
