rn(false);
}
if(form.fw.value==""){
alert("请输入编程词典服务!");
form.fw.focus();
return(false);
}
return(true);
}
</script>
<form name="form1" method="post" action="savebccdbb.php" onSubmit="return chkinput(this)">
<tr>
<td width="144" height="25" bgcolor="#FFFFFF"><div align="center">编程词典名称:</div></td>
<td width="453" bgcolor="#FFFFFF"> <input type="text" name="bccdname" size="25" class="txt_grey" disabled="disabled" value="<?php
$sql4=mysql_query("select bccdname from tb_bccd where id='".$_GET[bccdid]."'",$conn);
$info4=mysql_fetch_array($sql4);
echo unhtml($info4[bccdname]);
?>">
<input type="hidden" name="bccdid" value="<?php echo $_GET[bccdid];?>">
</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">版本名称:</div></td>
<td height="25" bgcolor="#FFFFFF"> <select name="bbid">
<option value="">请选择版本名称</option>
<?php
$sql3=mysql_query("select * from tb_bb order by createtime desc ",$conn);
$info3=mysql_fetch_array($sql3);
if($info3==false){
echo "<option>暂无版本信息</option>";
}else{
do{
?>
<option value="<?php echo $info3[id];?>"><?php echo unhtml($info3[bbname]);?></option>
<?php
}while($info3=mysql_fetch_array($sql3));
}
?>
</select>
</td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">价格:</div></td>
<td height="25" bgcolor="#FFFFFF"> <input type="text" name="price" size="25" class="txt_grey"></td>
</tr>
<tr>
<td height="80" bgcolor="#FFFFFF"><div align="center">该版该类编程词典简介: </div></td>
<td height="80" bgcolor="#FFFFFF"> <textarea name="content" rows="5" cols="60" class="textarea"></textarea></td>
</tr>
<tr>
<td height="80" bgcolor="#FFFFFF"><div align="center">该版该类编程词典功能:</div></td>
<td height="80" bgcolor="#FFFFFF"> <textarea name="gn" rows="5" cols="60" class="textarea"></textarea></td>
</tr>
<tr>
<td height="80" bgcolor="#FFFFFF"><div align="center">该版该类编程词典服务:</div></td>
<td height="80" bgcolor="#FFFFFF"> <textarea name="fw" rows="5" cols="60" class="textarea"></textarea></td>
</tr>
<tr>
<td height="25" colspan="2" bgcolor="#FFFFFF"><div align="center"><input type="submit" value="添加" class="btn_grey"> <input type="reset" value="重写" class="btn_grey"></div></td>
</tr>
</form>
</table>
<?php
}
?>
</td>
</tr>
</table>
</body>
</html>