Discuz.Web/templates/default3.1/album/usercpspacephotoadd.htm
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%inherits "Discuz.Album.Pages.usercpphotoadd"%>
<%template _header%>
<div id="nav">
<div class="wrap s_clear">
<a href="{config.forumurl}" class="title">{config.forumtitle}</a> » <a href="usercp.aspx">用户中心</a> » <a href="usercpspacemanagealbum.aspx">管理相册</a>» <a href="usercpspacemanagephoto.aspx?albumid={albumid}">管理图片</a>» <strong>增加图片</strong>
</div>
</div>
<img id="img_hidden" style="position:absolute;top:-100000px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='image');width:400;height:300"></img>
<div class="wrap with_side s_clear" id="wrap">
<%template _menu%>
<div class="cpmain">
<div class="cpcontent">
<h1>增加图片</h1>
<%template _albummenu%>
<%if page_err==0%>
<%if ispost%>
<%template _usercpmsgbox%>
<%else%>
<form action="" method="post" enctype="multipart/form-data">
<div id="freePhotoSize" style="padding:10px 0;"></div>
<%set (string){tabnum} = "1,2,3,4,5,6"%>
<%set (char){comma} = ','%>
<%loop (string) num tabnum.Split(comma)%>
<table id="tab{num}" cellspacing="0" cellpadding="0" class="formtable" summary="增加图片{num}" <%if {num}!="1"%>style="display:none"<%/if%>>
<tbody>
<tr>
<th><label for="phototitle{num}">标题</label></th>
<td><input name="phototitle{num}" type="text" id="phototitle{num}" size="25" class="txt"/></td>
</tr>
<tr>
<th><label for="photo{num}">选择图片</label></th>
<td>
<input type="file" id="photo{num}" onchange="PhotoView({num})" size="50" name="photo{num}">
</td>
</tr>
<tr>
<th><label for="description{num}">描述</label></th>
<td><textarea name="description{num}" rows="4" class="txtarea" cols="50"></textarea></td>
</tr>
<tr>
<th></th>
<td><span id="td{num}"><img src="{spaceurl}space/manage/images/invalid.gif" width="100" height="75" id="view{num}"></span></td>
</tr>
<%if {config.enabletag}==1%>
<tr>
<th><label for="phototag{num}">标签</label></th>
<td><input name="phototag{num}" type="text" id="phototag{num}" size="25" class="txt"></td>
</tr>
<%/if%>
</tbody>
</table>
<%/loop%>
<hr class="solidline"/>
<div style="padding-top:10px; padding-left:150px;">
<input type="submit" name="Submit" value="上传"/>
</div>
</form>
<%/if%>
<%else%>
<%template _usercperrmsgbox%>
后面还有 158 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
