⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ad_photomodify.asp

📁 该软件是帮助大学生更好的生活
💻 ASP
📖 第 1 页 / 共 2 页
字号:
</td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>图片名称:</strong></td>
            <td colspan="2"><input name="PhotoName" type="text" id="PhotoName" value="<%=rsPhoto("PhotoName")%>" size="50" maxlength="255"> 
              <font color="#FF0000">*</font></td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>关键字:</strong></td>
            <td colspan="2"><input name="Keyword" type="text"
           id="Keyword" value="<%=mid(rsPhoto("Keyword"),2,len(rsPhoto("Keyword"))-2)%>" size="50" maxlength="255"> <font color="#FF0000">*</font><br> 
              <font color="#0000FF">用来查找相关图片,可输入多个关键字,中间用<font color="#FF0000">“|”</font>隔开。不能出现&quot;&quot;'*?,.()等字符。</font></td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>图片作者:</strong></td>
            <td colspan="2"> <input name="Author" type="text"
           id="Author" value="<%=rsPhoto("Author")%>" size="20" maxlength="100"> <font color="#FF0000">&nbsp;</font> 
              <strong>信箱:</strong> <input name="AuthorEmail" type="text" id="AuthorEmail" value="<%=rsPhoto("AuthorEmail")%>" size="30" maxlength="100"> 
              <strong>&nbsp;主页: 
              <input name="AuthorHomepage" type="text"
           id="CopyFrom2" value="<%=rsPhoto("AuthorHomepage")%>" size="30" maxlength="100">
              </strong></td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>缩略图地址:</strong></td>
            <td><input name="PhotoUrl_Thumb" type="text" id="PhotoUrl_Thumb" value="<%=rsPhoto("PhotoUrl_Thumb")%>" size="30" maxlength="200"> 
              <font color="#FF0000"> 
              <input type="button" name="Button" value="从已上传图片中选择" onclick="javascript:window.open('ad_PhotoSelect.asp?PhotoUrlID=0', 'selupfile', 'width=800, height=600, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=yes');">
              </font></td>
            <td><iframe style="top:2px" ID="UploadFiles" src="upload_Photo.asp?PhotoUrlID=0" frameborder=0 scrolling=no width="320" height="25"></iframe></td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>原始图片地址:</strong></td>
            <td><input name="PhotoUrl" type="text" id="PhotoUrl" value="<%=rsPhoto("PhotoUrl")%>" size="30" maxlength="200"> 
              <font color="#FF0000"> 
              <input type="button" name="Button3" value="从已上传图片中选择" onclick="javascript:window.open('ad_PhotoSelect.asp?PhotoUrlID=1', 'selupfile', 'width=800, height=600, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=yes');">
              </font> </td>
            <td><iframe style="top:2px" ID="UploadFiles" src="upload_Photo.asp?PhotoUrlID=1" frameborder=0 scrolling=no width="320" height="25"></iframe></td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>图片地址二:</strong></td>
            <td><input name="PhotoUrl2" type="text" id="PhotoUrl2" value="<%=rsPhoto("PhotoUrl2")%>" size="30" maxlength="200"> 
              <font color="#FF0000"> 
              <input type="button" name="Button4" value="从已上传图片中选择" onclick="javascript:window.open('ad_PhotoSelect.asp?PhotoUrlID=2', 'selupfile', 'width=800, height=600, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=yes');">
              </font> </td>
            <td><iframe style="top:2px" ID="UploadFiles" src="upload_Photo.asp?PhotoUrlID=2" frameborder=0 scrolling=no width="320" height="25"></iframe></td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>图片地址三:</strong></td>
            <td><input name="PhotoUrl3" type="text" id="PhotoUrl3" value="<%=rsPhoto("PhotoUrl3")%>" size="30" maxlength="200"> 
              <font color="#FF0000"> 
              <input type="button" name="Button5" value="从已上传图片中选择" onclick="javascript:window.open('ad_PhotoSelect.asp?PhotoUrlID=3', 'selupfile', 'width=800, height=600, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=yes');">
              </font> </td>
            <td><iframe style="top:2px" ID="UploadFiles" src="upload_Photo.asp?PhotoUrlID=3" frameborder=0 scrolling=no width="320" height="25"></iframe></td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>图片地址四:</strong></td>
            <td><input name="PhotoUrl4" type="text" id="PhotoUrl4" value="<%=rsPhoto("PhotoUrl4")%>" size="30" maxlength="200"> 
              <font color="#FF0000"> 
              <input type="button" name="Button2" value="从已上传图片中选择" onclick="javascript:window.open('ad_PhotoSelect.asp?PhotoUrlID=4', 'selupfile', 'width=800, height=600, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=yes');">
              </font> </td>
            <td><iframe style="top:2px" ID="UploadFiles" src="upload_Photo.asp?PhotoUrlID=4" frameborder=0 scrolling=no width="320" height="25"></iframe></td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right" valign="middle"><strong>图片简介:</strong><br>
              支持各种UBB代码</td>
            <td colspan="2"><textarea name="PhotoIntro" cols="80" rows="5" id="PhotoIntro"><%=rsPhoto("PhotoIntro")%></textarea> 
            </td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>图片大小:</strong></td>
            <td colspan="2">缩略图: 
              <input name="PhotoSize_Thumb" type="text" id="PhotoSize_Thumb" value="<%=rsPhoto("PhotoSize_Thumb")%>" size="6" maxlength="10">
              K&nbsp;&nbsp;&nbsp;&nbsp;原始图片:
              <input name="PhotoSize" type="text" id="PhotoSize" value="<%=rsPhoto("PhotoSize")%>" size="6" maxlength="10">
              K &nbsp;&nbsp;&nbsp;&nbsp;图片二: 
              <input name="PhotoSize2" type="text" id="PhotoSize2" value="<%=rsPhoto("PhotoSize2")%>" size="6" maxlength="10">
              K &nbsp;&nbsp;&nbsp;&nbsp;图片三: 
              <input name="PhotoSize3" type="text" id="PhotoSize3" value="<%=rsPhoto("PhotoSize3")%>" size="6" maxlength="10">
              K &nbsp;&nbsp;&nbsp;&nbsp; 图片四: 
              <input name="PhotoSize4" type="text" id="PhotoSize4" value="<%=rsPhoto("PhotoSize4")%>" size="6" maxlength="10">
              K </td>
          </tr>
<%if AdminPurview=1 or AdminPurview_Photo<=2 then%>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>图片属性:</strong></td>
            <td> <input name="OnTop" type="checkbox" id="OnTop" value="yes" <%if rsPhoto("OnTop")=True then response.write " checked"%>>
              固顶图片&nbsp;&nbsp;&nbsp; 
              <input name="Hot" type="checkbox" id="Hot" value="yes" disabled>
              热门图片&nbsp;&nbsp;&nbsp; 
              <input name="Elite" type=checkbox id="Elite" value="yes"<%if rsPhoto("Elite")=True then response.write " checked"%>>
              推荐图片</td>
            <td><strong>图片评分等级:</strong> <select name="Stars" id="Stars">
                <option value="5" <%if rsPhoto("Stars")=5 then response.write " selected"%>>★★★★★</option>
                <option value="4" <%if rsPhoto("Stars")=4 then response.write " selected"%>>★★★★</option>
                <option value="3" <%if rsPhoto("Stars")=3 then response.write " selected"%>>★★★</option>
                <option value="2" <%if rsPhoto("Stars")=2 then response.write " selected"%>>★★</option>
                <option value="1" <%if rsPhoto("Stars")=1 then response.write " selected"%>>★</option>
                <option value="0" <%if rsPhoto("Stars")=0 then response.write " selected"%>>无</option>
              </select> <font color="#FF0000">*</font></td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>查看次数:</strong></td>
            <td colspan="2">本日: 
              <input name="DayHits" type="text" id="DayHits" value="<%=rsPhoto("DayHits")%>" size="10" maxlength="10"> 
              &nbsp;&nbsp;&nbsp;&nbsp;本周: 
              <input name="WeekHits" type="text" id="WeekHits" value="<%=rsPhoto("WeekHits")%>" size="10" maxlength="10"> 
              &nbsp;&nbsp;&nbsp;&nbsp;本月: 
              <input name="MonthHits" type="text" id="MonthHits" value="<%=rsPhoto("MonthHits")%>" size="10" maxlength="10"> 
              &nbsp;&nbsp;&nbsp;&nbsp;总计: 
              <input name="Hits" type="text" id="Hits" value="<%=rsPhoto("Hits")%>" size="10" maxlength="10"></td>
          </tr>
<%end if%>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>查看等级:</strong></td>
            <td colspan="2"><select name="PhotoLevel" id="select">
                <option value="9999" <%if rsPhoto("PhotoLevel")=9999 then response.write " selected"%>>游客</option>
                <option value="999" <%if rsPhoto("PhotoLevel")=999 then response.write " selected"%>>注册用户</option>
                <option value="99" <%if rsPhoto("PhotoLevel")=99 then response.write " selected"%>>收费用户</option>
                <option value="9" <%if rsPhoto("PhotoLevel")=9 then response.write " selected"%>>VIP用户</option>
                <option value="5" <%if rsPhoto("PhotoLevel")=5 then response.write " selected"%>>管理员</option>
              </select> &nbsp;&nbsp;&nbsp;<font color="#0000FF">只有具有相应权限的人才能查看此图片。</font></td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>查看点数:</strong></td>
            <td colspan="2"><input name="PhotoPoint" type="text" id="PhotoPoint" value="<%=rsPhoto("PhotoPoint")%>" size="5" maxlength="3"> 
              &nbsp;&nbsp;&nbsp;&nbsp; <font color="#0000FF">如果大于0,则用户查看此图片时将消耗相应点数。(对游客和管理员无效)</font></td>
          </tr>
<%if AdminPurview=1 or AdminPurview_Photo<=2 then%>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>录入时间:</strong></td>
            <td colspan="2"><input name="UpdateTime" type="text" id="UpdateTime" value="<%=rsPhoto("UpdateTime")%>" maxlength="50">
              时间格式为“年-月-日 时:分:秒”,如:<font color="#0000FF">2003-5-12 12:32:47</font></td>
          </tr>
          <tr class="tdbg"> 
            <td width="100" align="right"><strong>立即发布:</strong></td>
            <td colspan="2"><input name="Passed" type="checkbox" id="Passed" value="yes" <%if rsPhoto("Passed")=True then response.write " checked"%>>
              是<font color="#0000FF">(如果选中的话将直接发布,否则审核后才能发布。)</font></td>
          </tr>
<%end if%>
        </table>
      </td>
    </tr>
  </table>
  <div align="center"> 
    <p>
      <input name="PhotoID" type="hidden" id="PhotoID" value="<%=PhotoID%>"> 
      <input name="Action" type="hidden" id="Action" value="Modify">
      <input
  name="Add" type="submit"  id="Add" value="保存修改结果" style="cursor:hand;">
      &nbsp; 
      <input name="Cancel" type="button" id="Cancel" value=" 取 消 " onClick="window.location.href='ad_PhotoManage.asp'" style="cursor:hand;">
    </p>
  </div>
</form>
</body>
</html>
<%
end if
rsPhoto.close
set rsPhoto=nothing
call CloseConn()
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -