<!--#include file="../main.asp" -->
<!--#include file="../IsLogin.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML 
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>管理中心-这里是所有管理的入口</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="images/global.css" type=text/css rel=stylesheet><LINK 
href="images/main.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.3790.218" name=GENERATOR></HEAD>
<BODY id=main background="../images/bj.gif">
<%
dim m_UserID
m_UserID = Request.Cookies("aspxnet")("CurUserID")
%>
<DIV id=wrapper>
<!--#include file="top.asp"-->
<DIV class=row>
<!--#include file="left.asp"-->
<DIV class=right_side>
<DIV class=col id=bulletin>
<DIV class=col_head>
<H3><IMG height=16 alt=a hspace=3 src="images/ico_dots.gif" 
width=20 align=left vspace=3>我的相册</H3>
<SPAN class=float_right><STRONG><a href="photo_add.asp">添加相册</a></STRONG></SPAN><SPAN class=float_right>------</SPAN>
<SPAN class=float_right><STRONG><a href="photo_individual.asp">管理相册</a></STRONG></SPAN><SPAN class=float_right>------</SPAN>
<SPAN class=float_right><STRONG><a href="pic_individual_add.asp">添加相片</a></STRONG></SPAN><SPAN class=float_right>------</SPAN>
<SPAN class=float_right><STRONG><a href="pic_individual.asp">管理相片</a></STRONG></SPAN></DIV>
<DIV class=col_body><P>
<%sql="select * from photo where F_userid="&session("goid")&" order by id desc"
set rs=server.createobject("ADODB.Recordset")
rs.open sql,conn,1,1
if rs.eof then
response.Write("还没有相册,请添加相册!")
else
while not rs.eof%>&#8226;<a href="pic_individual.asp?id=<%=rs("id")%>"><%=rs("F_username")%></a><%rs.movenext
wend
end if
rs.Close()
%></P>
</DIV>
</DIV>
</DIV><DIV class=right_side>
<DIV class=col id=bulletin>
<DIV class=col_head>
<H3><IMG height=16 alt=a hspace=3 src="images/ico_dots.gif" 
width=20 align=left vspace=3>修改相片</H3>
</DIV>
<DIV class=col_body><P>
<table width="585" border="0" align=center cellpadding="0" cellspacing="0" bordercolor="#B5DFDE">
<%sql3="select * from photo_pic where F_id="&request("id")
set rs3=server.createobject("ADODB.Recordset")
rs3.open sql3,conn,1,1%>
<form name="addform" method="post" action="pic_individual_add_save.asp" onSubmit="return checkdata()">
<input name="did" type="hidden" value="<%=request("id")%>">
  
  <tr>
    <td width="16%" align=right height=30>相片名称:</td>
	<td width="84%"><input name="username" type="text" id="username" value="<%=rs3("F_username")%>" size="30" maxlength="40"></td>
  </tr>
  <tr>
    <td align=right height=30>上传相片:</td>
    <td><input name="pic" type="text" id="pic" value="<%=rs3("F_pic")%>" size="40">
      <input type="button" name="Submit2" value="修改图片" onClick="window.open('../jbw_zgcren2.asp?formname=addform&editname=pic&uppath=photo&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"></td>
  </tr>
  
  <tr>
    <td align="right" height="30">所属相册:</td>
    <td><select name="picid">
        <%sql="select * from photo where F_userid="&m_UserID&" order by id desc"
set rs=server.createobject("ADODB.Recordset")
rs.open sql,conn,1,1
while not rs.eof%>
		<option value="<%=rs("id")%>"<%if rs3("F_picid")=rs("id") then%> selected<%end if%>><%=rs("F_username")%></option>
        <%rs.movenext
wend
rs.Close()
%>
      </select>如没有请先 <a href="photo_add.asp" class="red">添加相册</a></td>
  </tr>
  

  <tr>
    <td align=right height=102>照片描述:</td>
	<td class=forumRow>
<textarea name="book" cols="60" rows="10" id="book"><%=rs3("F_book")%></textarea></td>
  </tr>
  <tr>
    <td height=30 align="center" colspan="2"><input type="submit" name="Submit" value="提 交" class="input1"></td>
  </tr>
</form><%rs3.Close
set rs3=nothing%> 
</table>
</P>
</DIV>
</DIV>
</DIV>
</DIV>
<!--#include file="bottom.asp"-->

</DIV></BODY></HTML>
