📄 specialtype.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/inc/pv/super.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>
<%
String strMenuPos = request.getParameter("type");
if(igec.util.Tool.IsEmpty(strMenuPos)){
showError("未指定菜单的位置类型!",request,response);
return;
}
String strParentId = request.getParameter("pid");
if(igec.util.Tool.IsEmpty(strParentId)) strParentId = "0";
String strParentSpecialCount = igec.site.base.business.DataUtilBusiness.getFieldValue("COUNT(*)","TAB_SPECIALTYPE","WHERE ID='" + strParentId + "'");
String strCurMenuName = igec.site.base.business.DataUtilBusiness.getFieldValue("TITLE","TAB_IGECMENUTYPE","WHERE POSTYPE='" + strMenuPos + "'");
%>
<input type="hidden" name="saction" id="saction" value="specialtype">
<table border="0" name="objBody" id="objBody" width="600" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
<tr>
<td colspan=2 class="TableHeader"><img src="<%=strSkinBase%>/images/menu/sys/menu.gif" align="absmiddle"> 高级选项 (建议使用默认值)</td>
</td>
</tr>
<tr>
<td nowrap class="TableData" width="170">是否显示:</td>
<td class="TableData">
<input type="radio" name="ShowFlag" value="1" checked> 显示 <input type="radio" name="ShowFlag" value="0"> 隐藏
</td>
</tr>
<tr>
<td nowrap class="TableData">排序号(同级菜单排序):</td>
<td class="TableData">
<input type="text" name="XH" size="6" maxlength="5" class="BigInput" value="999"> 可输入任意整数
</td>
</tr>
<%
String strModelList[][] = igec.site.base.business.DataUtilBusiness.getValues("SELECT ID,SHOWTP,TITLE FROM TAB_IGECMODELT WHERE TYPE='NEWS' ORDER BY XH");
if(strModelList!=null && strModelList.length>0){
%>
<tr <%if(strModelList.length<=1) out.print("style='display:none'");%>>
<td nowrap class="TableData"> 使用模板:</td>
<td class="TableData">
<select name="MODELID" id="MODELID" EmptyDisable label="使用模板">
<%
for(int i=0;i<strModelList.length;i++){
%>
<option value="<%=strModelList[i][1]%>"><%=strModelList[i][2]%></option>
<%
}
%>
</select>
</td>
</tr>
<%
}
strModelList = null;
%>
<%if("0".equals(strParentSpecialCount)){%>
<tr>
<td nowrap class="TableData">简介:<br>不超过120个汉字</td>
<td class="TableData">
<textarea name="SIntro" id="SIntro" cols="45" rows="5" label="简介" onchange="return CheckLength(this,120);"></textarea>
</td>
</tr>
<tr>
<td nowrap class="TableData">TITLE图片:</td>
<td class="TableData"><input type="hidden" name="PicTitle" id="PicTitle" value="" size="20" maxlength="60" EmptyDisable label="TITLE图片">
<iframe class="TBGen" ID="UploadFiles1" src="<%=site.bean.SitePara.strVirtualName%>/inc/upload/?wt=<%=request.getParameter("wt")%>&ft=pic&addwp=1&top=5&recf=setPicTitle" frameborder=0 scrolling=no width="250" height="25"></iframe>
用于专题头部 <img src="" name="ImgPicTitle" id="ImgPicTitle" width="50" height="50" style="display:none;cursor:hand" alt="点击看大图" border="0" onclick="window.open(this.src,'','');"></td>
</tr>
<tr style="display:">
<td nowrap class="TableData">首页显示图片:</td>
<td class="TableData"><input type="hidden" name="PicIndexShow" id="PicIndexShow" value="" size="20" maxlength="60" EmptyDisable label="首页显示图片">
<iframe class="TBGen" ID="UploadFiles2" src="<%=site.bean.SitePara.strVirtualName%>/inc/upload/?wt=<%=request.getParameter("wt")%>&ft=pic&addwp=1&top=5&recf=setPicIndexShow" frameborder=0 scrolling=no width="250" height="25" onload=""></iframe>
用于首页显示 <img src="" name="ImgPicIndexShow" id="ImgPicIndexShow" width="50" height="50" style="display:none;cursor:hand" alt="点击看大图" border="0" onclick="window.open(this.src,'','');"></td>
</tr>
<%}%>
<%
if('1'==igec.util.Tool.getSafeChar(site.bean.SitePara.strSysFunctionOpenFlag,site.bean.SitePara.iOpenTypeLink)){
%>
<tr>
<td nowrap class="TableData">分类关键字:</td>
<td class="TableData"><input type="text" name="MTKey" id="MTKey" value="" size="25" maxlength="30"> 用于设置相关分类</td>
</tr>
<%}%>
<tr>
<td nowrap class="TableData">外部连接地址:</td>
<td class="TableData"><input type="text" name="MLinkPath" id="MLinkPath" value="" size="35" maxlength="60"> 用于指向别的网址</td>
</tr>
<tr align="center" class="TableControl">
<td colspan="2" nowrap>
<input type="hidden" value="" name="ATTACHMENT_NAME" >
<input type="submit" value="保存" class="BigButton">
<input type="button" value="关闭" class="BigButton" onClick="javascript:window.close();">
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -