global_uploadavatar.aspx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:2k
源码类别:

SCSI/ASPI

开发平台:

Others

  1. <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
  2. <%@ Page language="c#" Inherits="Discuz.Web.Admin.uploadavatar" Codebehind="global_uploadavatar.aspx.cs" %>
  3. <%@ Register Src="../UserControls/PageInfo.ascx" TagName="PageInfo" TagPrefix="uc1" %>
  4. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  5. <html>
  6. <head>
  7. <title>uploadavatar</title>
  8.     <script type="text/javascript" src="../js/common.js"></script>
  9.     <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />        
  10.     <link href="../styles/modelpopup.css" type="text/css" rel="stylesheet" />
  11.     <script type="text/javascript" src="../js/modalpopup.js"></script>
  12. <meta http-equiv="X-UA-Compatible" content="IE=7" />
  13. </head>
  14. <body>
  15. <div class="ManagerForm">
  16. <form id="Form1" method="post" runat="server">
  17. <uc1:PageInfo ID="info1" runat="server" Icon="information" Text="技巧提示 : 先单击&quot;浏览&quot; 按钮后选取要上传的图片,然后单击&quot;上传&quot; 按钮, 系统会对您上传后的文件进行重命名并保存" />
  18. <fieldset>
  19. <legend style="background:url(../images/icons/icon37.jpg) no-repeat 6px 50%;">上传头像</legend>
  20. <table width="100%">
  21. <tr><td class="item_title" colspan="2">头像图片上传</td></tr>
  22. <tr>
  23. <td class="vtop">
  24. <cc1:UpFile id="url" runat="server" HintTitle="提示" UpFilePath="../../avatars/common/" FileType=".jpg|.gif|.png"  IsShowTextArea="false"></cc1:UpFile>
  25. </td>
  26. <td align="left">
  27. <cc1:Button id="UpdateAvatarCache" runat="server" Text="上传并返回头像列表"  ShowPostDiv="false"></cc1:Button>&nbsp;&nbsp;
  28. <button type="button" class="ManagerButton" id="Button3" onclick="window.history.back();"><img src="../images/arrow_undo.gif"/> 返 回 </button>
  29. </td>
  30. </tr>
  31. </table>
  32. </fieldset>
  33. <cc1:Hint id="Hint1" runat="server" HintImageUrl="../images"></cc1:Hint>
  34. </form>
  35. </div>
  36. <%=footer%>
  37. </body>
  38. </html>