<!--#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="571" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#B5DFDE">
     <%sql3="select * from photo where id="&request("id")
set rs3=server.createobject("ADODB.Recordset")
rs3.open sql3,conn,1,1%>
<form name="addform" method="post" action="photo_add_save.asp" onSubmit="return checkdata()">
<input name="did" type="hidden" value="<%=request("id")%>">
        
        <tr>
          <td width="16%" align="right" height="30"><span class="STYLE2">相册名称:</span></td>
          <td width="84%"><input name="username" type="text" id="username" value="<%=rs3("F_username")%>" size="45" maxlength="40" /></td>
        </tr>
        <tr>
          <td align="right" height="30"><span class="STYLE2">是否公开:</span></td>
          <td><span class="STYLE2"><input name="key" type="radio" value="是" <%if rs3("F_key")="是" then%>checked<%end if%> style="border:0px">是　<input name="key" type="radio" value="否" <%if rs3("F_key")="否" then%>checked<%end if%> style="border:0px">否</span></td>
        </tr>
        <tr>
          <td align="right" height="30"><span class="STYLE2">相册分类:</span></td>
          <td>
<select name="type">
<%sql="select * from Photo_Category order by F_id desc"
set rs=server.createobject("ADODB.Recordset")
rs.open sql,conn,1,1
while not rs.eof%>
<option value="<%=rs("F_id")%>"<%if rs3("F_type")=rs("F_id") then%> selected<%end if%>><%=rs("F_Value")%></option>
<%rs.movenext
wend
rs.Close()
%> 
</select></td>
        </tr>
        <tr>
          <td align="right" height="102"><span class="STYLE2">相册介绍:</span></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>
