- <%@ page language="java" contentType="text/html;charset=UTF-8"
- errorPage="err.jsp" %>
- <%@ include file="./GVinc/gvImport.jsp" %>
- <%
- String userName="", userPic="";
- int userID=0, userPicIs=0;
- if(gvUserName==null || gvUserName.equals("")){
- out.print(prtCenter("您尚未登陆,无权进行此项操作!","userLogin.jsp",1));
- out.close();
- if(true)return;
- }
- %>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title><%=clubTitle%>__修改社区形象</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="./GVimgs/favicon.ico" rel="Bookmark">
- <link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
- <link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
- <link href="./GVinc/main.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 20%; TEXT-ALIGN: center">
- <TABLE cellPadding=6 border=0>
- <TBODY><TR><TD align=middle>
- <IMG src="GVimgs/loading.gif" alt="请稍候..." width="30" height="30">
- <BR>
- <FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
- <script type="text/javascript" src="GVscript/GVtopCode.js"></script>
- <script type="text/javascript" src="GVscriptInc/topBar.js"></script>
- <SCRIPT language="javascript">
- gv_showWait('waitDiv', 1);
- prtie2('<%=clubName%>__个人工具箱__修改社区形象');
- </SCRIPT>
- <%
- if(request.getMethod().equals("POST")){
- cu.userHeadUpdate(gvUserID,request.getParameter("userPic"));
- //out.print(cu.getMessage());
- out.print(prtCenter("社区形象更新成功。","userHead.jsp",1));
- out.print(Gfoot());
- out.close();
- if(true)return;
- }
- cui = cu.userInfo(gvUserID);
- if(cui!=null){
- userPic = cui.getUserPic();
- userPicIs = cui.getUserPicIs();
- }
- %>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr class="tab1"><td>
- <%=com.gamvan.club.ClubHtmlConst.gamvan_menu("<a href="userAgree.jsp">自定义个人头像</a>")%>
- </td></tr></table>
- <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" class="tab">
- <form action="" method="post" name="Gforms" onSubmit="return CheckForm();"><tr>
- <td width="120" class="tab1"><strong>预览</strong></td>
- <td class="bg2">
- <img src="<%=userPic%>" border="0" align="absmiddle" id="myHead">
- </td>
- </tr>
- <tr>
- <td class="tab1"><strong>修改图片地址</strong></td>
- <td class="bg2">
- <script language="javascript">
- function changePic(txt){
- document.images['myHead'].src=txt;
- document.Gforms.userPic.value=txt;
- }
- </script>
- <input name="userPic" type="text" id="userPic" value="<%=userPic%>" size="50" />
- <select name="myHead2" onChange="changePic(myHead2.options[selectedIndex].value);">
- <option value="gvHeads/0.gif" selected="selected">系统形象</option>
- <option value="gvHeads/1.gif">==女生==</option>
- <option value="gvHeads/1.gif">gvHead1</option>
- <option value="gvHeads/2.gif">gvHead2</option>
- <option value="gvHeads/3.gif">gvHead3</option>
- <option value="gvHeads/4.gif">gvHead4</option>
- <option value="gvHeads/5.gif">gvHead5</option>
- <option value="gvHeads/6.gif">gvHead6</option>
- <option value="gvHeads/7.gif">gvHead7</option>
- <option value="gvHeads/8.gif">gvHead8</option>
- <option value="gvHeads/9.gif">gvHead9</option>
- <option value=""></option>
- <option value="gvHeads/21.gif">==男生==</option>
- <option value="gvHeads/21.gif">gvHead21</option>
- <option value="gvHeads/22.gif">gvHead22</option>
- <option value="gvHeads/23.gif">gvHead23</option>
- <option value="gvHeads/24.gif">gvHead24</option>
- <option value="gvHeads/25.gif">gvHead25</option>
- <option value="gvHeads/26.gif">gvHead26</option>
- <option value="gvHeads/27.gif">gvHead27</option>
- <option value="gvHeads/28.gif">gvHead28</option>
- <option value="gvHeads/29.gif">gvHead29</option>
- <option value=""></option>
- <option value="gvHeads/41.gif">==个性==</option>
- <option value="gvHeads/41.gif">gvHead41</option>
- <option value="gvHeads/42.gif">gvHead42</option>
- <option value="gvHeads/43.gif">gvHead43</option>
- <option value="gvHeads/44.gif">gvHead44</option>
- <option value=""></option>
- <option value="gvHeads/60.gif">==表情==</option>
- <option value="gvHeads/60.gif">gvHead60</option>
- <option value="gvHeads/61.gif">gvHead61</option>
- <option value="gvHeads/62.gif">gvHead62</option>
- <option value="gvHeads/63.gif">gvHead63</option>
- <option value="gvHeads/64.gif">gvHead64</option>
- <option value="gvHeads/65.gif">gvHead65</option>
- <option value="gvHeads/66.gif">gvHead66</option>
- <option value="gvHeads/67.gif">gvHead67</option>
- <option value="gvHeads/68.gif">gvHead68</option>
- <option value="gvHeads/69.gif">gvHead69</option>
- <option value="gvHeads/70.gif">gvHead70</option>
- <option value="gvHeads/71.gif">gvHead71</option>
- <option value="gvHeads/81.gif">==卡通==</option>
- <option value="gvHeads/81.gif">gvHead81</option>
- <option value="gvHeads/82.gif">gvHead82</option>
- <option value="gvHeads/83.gif">gvHead83</option>
- <option value="gvHeads/84.gif">gvHead84</option>
- <option value="gvHeads/85.gif">gvHead85</option>
- <option value="gvHeads/86.gif">gvHead86</option>
- <option value="gvHeads/87.gif">gvHead87</option>
- <option value="gvHeads/88.gif">gvHead88</option>
- <option value="gvHeads/89.gif">gvHead88</option>
- <option value="gvHeads/90.gif">gvHead90</option>
- <option value="gvHeads/91.gif">gvHead91</option>
- <option value="gvHeads/92.gif">gvHead92</option>
- <option value="gvHeads/93.gif">gvHead93</option>
- <option value="gvHeads/94.gif">gvHead94</option>
- <option value="gvHeads/95.gif">gvHead95</option>
- <option value="gvHeads/96.gif">gvHead96</option>
- <option value="gvHeads/97.gif">gvHead97</option>
- <option value="gvHeads/98.gif">gvHead98</option>
- <option value="gvHeads/99.gif">gvHead99</option>
- <option value="gvHeads/100.gif">gvHead100</option>
- <option value="gvHeads/101.gif">gvHead101</option>
- <option value="gvHeads/102.gif">gvHead102</option>
- <option value="gvHeads/103.gif">gvHead103</option>
- <option value="gvHeads/104.gif">gvHead104</option>
- </select></td>
- </tr>
- <tr><td class="tab1"><strong>上传头像</strong></td>
- <td class="bg2">
- <%
- //out.print(userPicIs);
- if((clubUserPic==1 && userPicIs!=2) || userPicIs==1){
- out.print("<iframe name="ad" frameborder=0 width="100%" height="30" scrolling=no src="./upLoad/upLoad1.jsp?userID="+ gvUserID +""></iframe>");
- }else{
- out.print("<span style="color:#cccccc">此功能被关闭。</span>");
- }
- %>
- </td></tr><tr><td class="tab1"> </td>
- <td height="30" class="bg2">
- <!--
- <INPUT id="infoShow" name="infoShow" type=checkbox value="1" onclick="showInfo()">
- <span id=divTxt>高级设置选项</span>
- -->
- <input type="submit" name="action" value=" 提交 " class="btn"></td>
- </tr>
- </form>
- </table>
- <%=Gfoot()%>
- </body>
- </html>
- <!-- Powered by www.GamVan.com -->