📄 add_soft.jsp~33~
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.bwm.model.*" %>
<%@ page import="com.bwm.core.*" %>
<%@ page import="java.util.*" %>
<%if (!Crazyadept.UserIsOK(session,FinalConstants.STATUS_ADMIN)) return;%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>add_soft</title>
</head>
<link href="../css/admin.css" rel="stylesheet" type="text/css">
<body>
<table border="1" align="center" cellpadding="0" cellspacing="0" class="tableBorder3">
<tr align="center">
<td colspan="3" class="TableTitle1" >添加新软件</td>
</tr>
<form action="modify_link.jsp" method="post" enctype="multipart/form-data" name="forms">
<tr align="center">
<td width="23%">软件名称</td>
<td width="37%" align="left">
<input name="name" type="text">
</td>
<td width="40%" rowspan="8" align="center" bgcolor="#FFFFFF"><a onClick="javascript:window.open('up_soft.jsp','Menuhead','location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes,left=200,top=200,width=500,height=350');">
<img src="../images/ico/select.gif" border="0" name="ico" ><input type="hidden" name="iid" ></a></td>
</tr>
<tr align="center">
<td>软件版本</td>
<td align="left">
<input name="edition" type="text">
</td>
</tr>
<tr align="center">
<td>软件类别</td>
<td align="left"><select name="sid">
<%
Collection coll=BasetableFactory.getInstance().ListSsort("");
if(coll==null||coll.size()<=0){
out.print("<option>无软件类别</option>");
}else{
Iterator it=coll.iterator();
while(it.hasNext()){
Ssort s=(Ssort)it.next();
out.print("<option value="+s.getSid()+">"+s.getName()+"</option>)");
}
}%>
</select></td>
</tr>
<tr align="center">
<td>正试版本</td>
<td align="left"><input type="radio" name="regular" value="1">
是
<input type="radio" name="regular" value="0">
否</td>
</tr>
<tr align="center">
<td>软件价格</td>
<td align="left"><input name="price" type="text"></td>
</tr>
<tr align="center">
<td>运行环境</td>
<td align="left"><input name="environment" type="text"></td>
</tr>
<tr align="center">
<td>推荐指数</td>
<td align="left"><select name="commend">
<option value="1">1</option>
<option value="2">2</option>
<option value="3" selected>3</option>
<option value="4">4</option>
<option value="5">5</option>
</select></td>
</tr>
<tr align="center">
<td>程序大小</td>
<td align="left"><input name="filesize" type="text"></td>
</tr>
<tr align="center">
<td>上传软件</td>
<td colspan="2" align="left"><input type="file" name="file"></td>
</tr>
<tr align="center">
<td>软件介绍</td>
<td colspan="2" align="left"><textarea name="introduce" cols="50" rows="5"></textarea></td>
</tr>
<tr align="center">
<td>其它说明</td>
<td colspan="2" align="left"><textarea name="resume" cols="50" rows="5"></textarea></td>
</tr>
<tr align="center">
<td height="27" colspan="3">
<input type="hidden" name="action" value="add">
<input type="hidden" name="uid" value="<%=(((User)session.getAttribute("user")).getUid())%>">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置"> </td>
</tr>
</form>
</table>
<table width="80%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="50" colspan="5" align="right"><a href="#" onClick="Jscript:history.back()">返回</a></td>
</tr>
</table></body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -