read.jsp

来自「JSP+ORACLE网站开发实例(下).rar」· JSP 代码 · 共 344 行 · 第 1/2 页

JSP
344
字号
              <tr>
                <td width="100%" bgcolor="#fff4cf">
                  <p align="center"><a href="leaveword.jsp?user_id=<%=user_id%>">[写留言]</a>
                </td>
              </tr>
<tr>
                <td width="100%" >
                 
                </td>
              </tr>
              <%}else{%>
              <tr>
                <td width="100%" bgcolor="##fff4cf" align="center">&nbsp;</td>
              </tr>
              <tr>
                <td width="100%" bgcolor="##fff4cf" align="center"><a href="edit.jsp">[修改资料]</a></td>
              </tr>
              <%}%>
            </table>
            <!--------------------------------------------------------------------------------------------->
          </td>&nbsp;&nbsp;</td>
          <td width="299" height="212" valign="top"> <!--------------------------------------------------------------------------------------------->
            <table border="0" width="100%" cellspacing="0" cellpadding="0" height="237">
              <tr>
                <td width="100%" style="border-bottom-style: solid" bordercolor="#000000" height="16"><b><font color="#FF9900">基本资料</font></b></td>
              </tr>
              <tr>
                <td width="100%" height="6">&nbsp;</td>
              </tr>
              <tr>
                <td width="100%" height="16"><font color="#008000">姓名:&nbsp;<%=replacenull(rs_lar.getString("name"))%></font></td>
              </tr>
              <tr>
                <td width="100%" height="16"><font color="#008000">性别:&nbsp;<%=replacenull(rs_lar.getString("sex"))%></font></td>
              </tr>
              <tr>
                <td width="100%" height="16"><font color="#008000">生日:&nbsp;<%=replacenull(rs_lar.getString("britherday"))%></font></td>
              </tr>
              <tr>
                <td width="100%" height="16"><font color="#008000">来自:&nbsp;<%=replacenull(rs_lar.getString("home"))%></font></td>
              </tr>
              <tr>
                <td width="100%" height="16"><font color="#008000">职业:&nbsp;<%=replacenull(rs_lar.getString("job"))%></font></td>
              </tr>
              <tr>
                <td width="100%" height="16"><font color="#008000">单位:&nbsp;<%=replacenull(rs_lar.getString("company"))%></font></td>
              </tr>
              <tr>
                <td width="100%" height="16"><font color="#008000">邮编:&nbsp;<%=replacenull(rs_lar.getString("postcalcode"))%></font></td>
              </tr>
              <tr>
                <td width="100%" height="16"><font color="#008000">电话:&nbsp;<%=replacenull(rs_lar.getString("tel"))%></font></td>
              </tr>
              <tr>
                <td width="100%" height="5"></td>
              </tr>
              <tr>
                <td width="100%" style="border-bottom-style: solid" bordercolor="#000000" height="16"><b><font color="#FF9900">简历&nbsp;</font></b></td>
              </tr>
              <tr>
                <td width="100%" height="10" valign="top">&nbsp;</td>
              </tr>
              <tr>
                <td width="100%" height="69" valign="top"><font color="#008000"><%=replacenull(rs_lar.getString("fresume"))%></font></td>
              </tr>
            </table>
            <!--------------------------------------------------------------------------------------------->
          </td>
          <td width="14" height="212" valign="top"> &nbsp;&nbsp; </td>
          <td width="310" height="212" valign="top"> <!--------------------------------------------------------------------------------------------->
            <table border="0" width="100%" height="29" cellspacing="0" cellpadding="0">
              <tr>
                <td width="270" height="20" style="border-bottom-style: solid" bordercolor="#000000"><font color="#FF9900"><b>个人爱好</b></font></td>
              </tr>
              <tr>
                <td width="268" height="20">&nbsp;</td>
              </tr>
              <tr>
                <td width="268" height="16"><font color="#008000">喜欢的运动:&nbsp;<%=replacenull(rs_lar.getString("sport"))%></font></td>
              </tr>
              <tr>
                <td width="268" height="16"><font color="#008000">喜欢的书籍:&nbsp;<%=replacenull(rs_lar.getString("book"))%></font></td>
              </tr>
              <tr>
                <td width="268" height="16"><font color="#008000">喜欢的音乐:&nbsp;<%=replacenull(rs_lar.getString("music"))%></font></td>
              </tr>
              <tr>
                <td width="268" height="16"><font color="#008000">喜欢的名人:&nbsp;<%=replacenull(rs_lar.getString("people"))%></font></td>
              </tr>
              <tr>
                <td width="268" height="16"><font color="#008000">其它爱好:&nbsp;&nbsp;&nbsp;<%=replacenull(rs_lar.getString("interest"))%></font></td>
              </tr>
              <tr>
                <td width="268" height="16"><font color="#008000">人生格言:&nbsp;&nbsp;&nbsp;<%=replacenull(rs_lar.getString("adage"))%></font></td>
              </tr>
              <tr>
                <td width="268" height="16"><font color="#008000">性格自述:&nbsp;&nbsp;&nbsp;<%=replacenull(rs_lar.getString("character"))%></font></td>
              </tr>
              <tr>
                <td width="268" height="1">&nbsp;&nbsp;</td>
              </tr>
              <tr>
                              </tr>
              <tr>
                <td width="270" height="1" style="border-bottom-style: solid" bordercolor="#000000"><b><font color="#FF9900">网上行踪&nbsp;</font></b></td>
              </tr>
              <tr>
                <td width="268" height="1">&nbsp;</td>
              </tr>
              <tr>
                <td width="268" height="20"><font color="#008000">网名: &nbsp;<b><%=replacenull(rs_lar.getString("netname"))%></B></font></td>
              </tr>
              <tr>
                <td width="268" height="20"><font color="#008000">主页: &nbsp;<a href="<%=replacenull(rs_lar.getString("homepage"))%>" target="_blank"><%=replacenull(rs_lar.getString("homepage"))%></font></td>
              </tr>
              <tr>
                <td width="268" height="20"><font color="#008000">Email: &nbsp;<font color="ff0000">只有好友可见</font></font></td>
              </tr>
              <tr>
                <td width="268" height="20"><font color="#008000">网络寻呼机: &nbsp;<%=replacenull(rs_lar.getString("netcall"))%></font></td>
              </tr>
              <tr>
                <td width="268" height="20"><font color="#008000">常去的聊天室:&nbsp; <a href="<%=replacenull(rs_lar.getString("chatroom"))%>" ><%=replacenull(rs_lar.getString("chatroom"))%></font></td>
              </tr>
              <tr>
                <td width="268" height="20"></td>
              </tr>
            </table>
            <!--------------------------------------------------------------------------------------------->
          </td>
          <td width="22" height="212" valign="top"> &nbsp;&nbsp;&nbsp;</td>
        </tr>
        <tr>
          <td width="23" height="1"></td>
          <td width="680" height="1" colspan="5">
            <table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr>
                <td width="67%"> </td>
                <td width="33%">
                  <p align="right"><font color="#000080">此档案已被浏览了<font color="#ff0000"><b><%=replacenull(rs_lar.getString("click"))%></b></font>次</font>
                </td>
              </tr>
            </table>
          </td>
                        <td></td>
        </tr>
        <tr>
          <td width="23" height="8"></td>
          <td width="680" height="8" colspan="5">&nbsp;</td>
                        <td></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</div></p>
<map name="FPMap2"></map>
<map name="Map">
  <area shape="rect" coords="231,96,275,114" href="default.jsp">
  <area shape="rect" coords="294,93,358,111" href="your.jsp">
  <area shape="rect" coords="383,93,448,112" href="list.jsp">
  <area shape="rect" coords="468,92,532,112" href="register.jsp">
  <area shape="rect" coords="554,92,616,112" href="sendphoto.jsp">
  <area shape="rect" coords="638,91,704,113" href="pics.jsp">
</map>
</body>

</html>  
<%stmt.executeUpdate("update scott.larchives set click=click+1 where user_id='"+user_id+"'");
	}
%>

⌨️ 快捷键说明

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