<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">

<!--#include file="mycartconn/conn.asp" -->
<!--#include file="mycartconn/Function.asp"-->
<!--#include file="mycartconn/page.asp"-->
<!--#include file="mycartconn/ubbcode.asp"-->
<%
If request.Cookies(my_url)("huiyuan")="" or request.Cookies(my_url)("hypwd")="" Then
	response.redirect "login.asp"
	response.end
End If

sqlt="select nickname,rank_allow,comment_allow,img,k,g,userid,owner from huiyuan where huiyuan='"&FilterJs(replace(Request.Cookies(my_url)("huiyuan"),"'",""))&"'"
Set rst= Server.CreateObject("ADODB.Recordset")
rst.open sqlt,conn,1,3
If Not (rst.bof And rst.eof) Then
	userid=rst("userid")
	If Request.ServerVariables("CONTENT_LENGTH") <> 0 Then
		If request("nickname")<>"" Then rst("nickname")=FilterJs(Replace(Trim(request("nickname")),"'",""))
		If request("rank_allow")<>"" Then rst("rank_allow")=request("rank_allow")
		If request("comment_allow")<>"" Then rst("comment_allow")=request("comment_allow")
		ownerBlog=rst("owner")
		If ownerBlog="" Then ownerBlog=1
		rst.update
		rst.close
		Set rst=Nothing
		response.redirect "mymolihe.asp"
		response.end
	End if
Else
	response.redirect "login.asp"
	response.end
End if
%>

<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="content-language" content="zh-cn" />
<meta content="all" name="robots" />
<meta name="copyright" content="<%=my_url%>,版权所有" />
<meta name="description" content="<%=my_name%>" />
<meta content="<%=my_name%>,网店推广" name="keywords" />
<title>我的<%=my_name%>——<%=my_url%></title>
<script type="text/javascript" src="js/get_config.asp"></script>
<script src="js/flash_no.js" type="text/javascript"></script>
<script language="javascript" src="js/ajax.js"></script>
<script language="javascript" src="js/register.js"></script>
<script language="javascript" src="js/event.js"></script>
<script language="javascript" src="js/molihe.js"></script>
<link href="common/css/main_xiu.css" rel="stylesheet" type="text/css" media="all" />
<link href="common/css/moliheMy.css" rel="stylesheet" type="text/css" />

<style type="text/css">
<!--
.myfenxiang{

	background-color:#91C101;
	font-size:14px;
	font-weight:bold;
	display:block;
	text-align:center;
}
-->
</style>
<script language="javascript">
function copy(str){
	window.clipboardData.setData("Text",str);
	alert("复制成功！");
}

window.onload = function(){

	et = new events();

	reg = new reg();

}

</script>

</head>
<body>
<!-- 头部begin -->
<script type="text/javascript" id="loginOrnot"></script>
<script type="text/javascript" src="js/login.js"></script>
<div class="headerWarp">
	<!--#include file="menu.asp" -->
</div>
<div class="infoWarp">
	<div id="info">
    	<img src="images/index_radiate.gif" style="position:absolute; top:0; left:0;" />
        <div class="call_board">
			<script type="text/javascript" src="js/call_board_msg.js"></script>
            <script type="text/javascript" src="js/call_board.js"></script>
    	</div>
        <div class="loginWarp" id="newuser"><script type="text/javascript">login_register();</script></div>
    </div>
</div><!-- 头部end -->
<!-- 正文begin -->
<div id="main_960_02">
  <!-- 左侧begin -->
  <div class="xiu_21 f0"> <a href="makemolihe.asp"><img src="images/x_12.gif" width="206" height="112" class="margin_bottom_5" /></a><br />
    <br /><br />
  <div class="mygg">
      <div class="myggbt">公&nbsp;&nbsp;&nbsp;&nbsp;告</div>
      <div id="myggnr" class="myggnr">&nbsp;&nbsp;&nbsp;&nbsp;<script language="javascript1.2" type="text/javascript" src="js/bg_board_msg.js"></script>
	  <script language="javascript1.2" type="text/javascript" src="js/static_board.js"> </script>
      </div>
  </div>
  
  </div>
  <!-- 左侧end -->
  <!-- 右侧begin -->
  <div class="xiu_22">
    <div class="margin_bottom_20">
      <div class="xiu_23" style="width:550px;"> 

		<img src="tp/userface/<%=rst("img")%>" width="<%=rst("k")%>" height="<%=rst("g")%>" onerror="this.src='tp/userface/face/mofahe.jpg';"/>
        <ul style="width:400px;">
          <li class="f130 fff6600 fweight">
		  <%=rst("nickname")%>
		  </li>
          <li><a href="javascript:et.modface('<%=rst("userid")%>');">修改头像</a> | <a href="javascript:et.moduserset(' <%=rst("nickname")%> ','<%=rst("rank_allow")%>','<%=rst("comment_allow")%>');">修改设置</a> | <a href="html.asp?tmp=modpass.asp" target="_blank">修改密码</a></li>
          <li id="mylink"><a href="user.asp?huiyuan=<%=rst("userid")%>">查看我的公开<%=my_name%>作品集</a>&nbsp;&nbsp;&nbsp;[<a href="javascript:copy(document.getElementById('mylink').getElementsByTagName('a')[0].href);">复制地址分享给我的朋友</a>]</li>
        </ul>
      </div>
            <div class="clear"></div>
    </div>
    <div>

<%
rst.close
Set rst=Nothing

orders=request("orders")
If orders="" Then orders=0
sql="select id,slide_play_mode,defpic,name,mydesc,tags,cate,share_set,datetime,photoNum,hits,views,xh,bxh,fzl,liuyan from A_slide where userid="&CLng(userid)&""
Select Case CInt(orders)
Case 0
	sql = sql & " order by datetime desc"
Case 1
	sql = sql & " order by photoNum desc"
Case 2
	sql = sql & " order by name desc"
Case 3
	sql = sql & " order by hits+views desc"
Case 21
	sql = sql & " order by photoNum"
Case 22
	sql = sql & " order by name"
Case 23
	sql = sql & " order by hits+views"
Case Else
	sql = sql & " order by datetime desc"
End select
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
If Not (rs.bof And rs.eof) Then
	mycount=rs.recordcount
Else
	mycount=0
End If
page1("5")
i=1
%>

      <div class="xiu_16">
        <ul class="xiu_17_1">
          <li class="xiu_18"><a href="mymolihe.asp">我作品秀(<%=mycount%>)</a></li>
          <li><a href="myfriend.asp">我的订阅</a></li>
        </ul>
      </div>
      <div class="clear_l"></div>
      <div class="xiu_64">
                <div class="margin_top margin_bottom_20">作品排序：<span class="fweight"><a href="mymolihe.asp?orders=0">发布时间↓</a></span> | <a href="mymolihe.asp?orders=<%If CInt(orders)=1 Then response.write "21" Else response.write "1"%>">包含图片数量</a> | <a href="mymolihe.asp?orders=<%If CInt(orders)=2 Then response.write "22" Else response.write "2"%>"><%=my_name%>秀名称</a> | <a href="mymolihe.asp?orders=<%If CInt(orders)=3 Then response.write "23" Else response.write "3"%>">浏览人数</a></div>
        <div class="myfenxiang" id="myfenxiang"><img src="images/mymlh_02.png" width="25" height="29" align="absmiddle" />&nbsp;&nbsp;“让我的相册一传十，十传百”<span style="color:#FFFFFF;">——点击&nbsp;<img src="images/mymlh_01.gif" width="104" height="29" align="absmiddle" />&nbsp;马上可以放到你空间／博客！&nbsp;&nbsp;&nbsp;</span><a href="#" onClick="document.getElementById('myfenxiang').style.display = 'none'"><img src="images/mymlh_03.gif" width="17" height="29" align="absmiddle" /></a></div>
        <div class="clear"></div>
		                
	<%
	while not rs.eof and i<=5
		cate=conn.execute("select cate from A_cate where cateid="&rs("cate")&"")(0)
		If CInt(rs("slide_play_mode"))>=2 then
			showUrl=myurl&"/main2.swf?ispause=0&playmode="&rs("slide_play_mode")&"&moliheid="&rs("id")&"&from=mofahe.swf"
		Else
			showUrl=myurl&"/main.swf?ispause=0&moliheid="&rs("id")&"&from=mofahe.swf"
		End if
		%>

      <div class="margin_bottom xiu_28"> 
        <div style="float:left; width:135px;">
        <a href="mofahe.asp?moliheid=<%=rs("id")%>"><img src="<%=rs("defpic")%>" width="120px" height="90px" /></a>
        <a href="modmolihe.asp?moliheid=<%=rs("id")%>"><img  src="images/my_btn_01.gif" width="127" height="29" style="border:0px; margin-top:8px;"></a>        <a href="share.asp?action=qq&moliheid=<%=rs("id")%>"><img  src="/images/my_btn_02.gif" width="127" height="33" style="border:0px; margin-top:5px;"></a>
		</div>
        
          <ul>
            <li id="title<%=rs("id")%>"><span class="f110 fweight"><%=rs("name")%></span> <a href="javascript:edit_s('title','<%=rs("id")%>','<%=rs("name")%>');">[编辑作品名称]</a></li>
            <li id="desc<%=rs("id")%>">作品描述：<%=rs("mydesc")%> <a href="javascript:edit_s('desc','<%=rs("id")%>','<%=rs("mydesc")%>');">[编辑]</a></li>
            <li id="tags<%=rs("id")%>">作品标签：<%=rs("tags")%> <a href="javascript:edit_s('tags','<%=rs("id")%>','<%=rs("tags")%>');">[编辑]</a></li>
            <li id="cate<%=rs("id")%>">作品分类：<%=cate%> <a href="javascript:edit_s('cate','<%=rs("id")%>','<%=rs("cate")%>');">[编辑]</a></li>
            <li id="share_set<%=rs("id")%>">分享设置：公开 <a href="javascript:edit_s('share_set','<%=rs("id")%>','<%=rs("share_set")%>');">[编辑]</a></li>
            <li>发布时间：<%=rs("datetime")%></li>
			<li>照 片 数：<%=rs("photoNum")%> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;浏览人数：<%=rs("hits")+rs("views")%></li>            <li>评 价 数：喜欢<span class="fff3300">(<%=rs("xh")%>)</span>&nbsp;&nbsp;不喜欢<span class="fff3300">(<%=rs("bxh")%>)</span>&nbsp;&nbsp;非主流<span class="fff3300">(<%=rs("fzl")%>)</span>&nbsp;&nbsp;&nbsp;&nbsp;留言数：<span class="fff3300"><%=rs("liuyan")%></span></li>
            <li>嵌入代码：
              <input type="text" name="textfield" style="width:300px;" value='<embed src="<%=showUrl%>" width="416" height="312" allowFullScreen="true" wmode="opaque" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />' onFocus="this.select();" />
            </li>
            <li><a href="mofahe.asp?moliheid=<%=rs("id")%>" target="_blank">查看作品</a>
			| <a href="modmolihe.asp?moliheid=<%=rs("id")%>">编辑作品</a>			| <a href="share.asp?action=qq&moliheid=<%=rs("id")%>">放到我的空间</a>
			| <a href="javascript:delmolihe('<%=rs("id")%>');">删除作品</a></li>
          </ul>
          <div class="clear"></div> 
        </div>
                
	  <%
	rs.MoveNext
	i=i+1
	Wend
	%>  


        <div class="clear"></div>

		<div class="D"><div class="f666666" style="text-align:right; padding-right:10px;"><%page2("orders="&request("orders")&"&")%></div></div>

      </div>
<%
rs.close
Set rs=Nothing
conn.close
Set conn=nothing
%>


    </div>
  </div>
  <!-- 右侧end -->
  <div class="clear"></div>
</div>
<!-- 正文end -->
<!--#include file="Foot.asp" -->
</body>
</html>