📄 photopost.aspx
字号:
<%@ Page language="c#" Codebehind="photoPost.aspx.cs" AutoEventWireup="false" Inherits="Club.ClubManage.Skin.photoPost" %>
<input id="txtSortType" type="hidden" value="<%=SortType%>">
<input id="txtID" type="hidden" value="<%=PhotoID%>">
<input id="txtSPhotoPath" type="hidden" value="<%=getSPhotoPath("")%>">
<input id="txtPhotoType" type="hidden" value="<%=PhotoType%>">
<div class="info">
<h2><%=PhotoID!=0?"编辑":"添加"%></h2>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th><em>*</em> 名称:</th>
<td><INPUT type="text" dataType="Require" msg="PhotoNameMsg,,Require," value="<%=Info.PhotoName%>" name="txtPhotoName" size="30" id="txtPhotoName"><span id="PhotoNameMsg"></span></td>
</tr>
<tr id="showButton" style="<%=PhotoID!=0?"display:none":""%>">
<th>
<em>*</em> 图片来源
</th>
<td>
<div><input type="radio" <%=PhotoID==0?"checked":""%> name="txtIsUpload" onclick="execute.OnPanelUpLoadShow(0)" value="1">网上图片
<input type="radio" name="txtIsUpload" onclick="execute.OnPanelUpLoadShow(1)" <%=PhotoID!=0?"checked":""%> value="0">上传</div>
</td>
</tr>
<tr id="showDel" style="<%=PhotoID==0?"display:none":""%>">
<th>
<em>*</em> 已上传的图片
</th>
<td>
<div><img id="showImg" src="<%=PhotoID!=0?getSPhotoPath(Info.ImageName):""%>" border="0"><input type="hidden" value="<%=PhotoID!=0?Info.ImageName:""%>" id="txtFileName" ></div>
<div >
<a href="javascript:;" onclick="execute.DelImage();" onerror="this.src='images/nophoto.gif'">删除图片</a>
</div>
</td>
</tr>
<tr id="panelUrl" style="<%=PhotoID!=0?"display:none":""%>">
<th><em>*</em> 网上图片:</th>
<td><div>
<INPUT id="txtUrl" type="text" name="txtUrl" require="false" dataType="Url" msg="UrlMsg,,Image," value=""><span id="UrlMsg"></span>
</div></td>
</tr>
<tr>
<th><em>*</em> 分类</th>
<td><SELECT id="txtSortId" dataType="Require" msg="SortMsg,,Require," name="txtSortId">
<OPTION>请选择类别</OPTION>
<%=getSortList()%>
</SELECT><span id="SortMsg"></span></td>
</tr>
<tr>
<th>说明:</th>
<td><TEXTAREA id="txtPhotoExplian" name="txtPhotoExplian" rows="6" cols="29" require="false" dataType="LimitB"
min="3" max="200" keyEvent="Count" keyObj="Count2" msg="RemarksMsg,,Range,"><%=Info.PhotoExplian%></TEXTAREA>
<input id="Count2" class="w_30" value="<%=(Info.PhotoExplian!=null?Info.PhotoExplian.Length.ToString():"0")%>" disabled NAME="Count2"><div id="RemarksMsg"></div></td>
</tr>
</table><div class="center">
<INPUT type="submit" class="button" value="<%=PhotoID!=0?"更新":"添加"%>"><INPUT type="reset" class="button" value="重写"></div>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -