<% if request("action")="del" then delsql="delete * from [News] where id="&request("id") conn.execute(delsql) response.Redirect("?id="&request("mid")) end if %> <% if request("action")="edit" then id=request("id") Propics=trim(request("Propics")) Propicb=trim(request("Propicb")) username=trim(request("username")) password=trim(request("password")) NameCh=trim(request("NameCh")) NicknameCh=trim(request("NicknameCh")) NameEn=trim(request("NameEn")) NicknameEn=trim(request("NicknameEn")) xingzuo=trim(request("xingzuo")) Email=trim(request("Email")) gongzuohangye=trim(request("gongzuohangye")) companyWeb=trim(request("companyWeb")) jiuliang=trim(request("jiuliang")) koutouchan=trim(request("koutouchan")) shihao=trim(request("shihao")) daibiaoZi=CheckStr(trim(request("daibiaoZi"))) intro=CheckStr(trim(request("intro"))) set rs=server.CreateObject("adodb.recordset") rs.open "select * from [user] where id="&request("id")&"",conn,1,3 rs("Propics")=Propics rs("Propicb")=Propicb rs("username")=username rs("password")=password rs("NameCh")=NameCh rs("NicknameCh")=NicknameCh rs("NameEn")=NameEn rs("NicknameEn")=NicknameEn rs("xingzuo")=xingzuo rs("Email")=Email rs("gongzuohangye")=gongzuohangye rs("companyWeb")=companyWeb rs("jiuliang")=jiuliang rs("koutouchan")=koutouchan rs("shihao")=shihao rs("daibiaoZi")=daibiaoZi rs("intro")=intro rs.update rs.close set rs=nothing response.Write("") end if %>
     
<<返回  
<% sql="select * from [user] where id="&request("id") set rs=conn.execute(sql) if rs.bof and rs.eof then response.Write("") else%>

" width="90" />

" size="30" >   (W: H:)

" width="500" />

" size="30" >   (W: H:)

用户名 " /> 密码  " />
名字(中文) " /> 称谓(中文) " />
名字(英文) " /> 称谓(英文) " />

星 座 " />

Email  " />
工作行业 " />
公司网址 " />
酒量guts
口头禅 " />
拿手的事 " />
最能代表自己的一句话一张图:
自我介绍  
<% end if rs.close set rs=nothing %>
  " />
   
<% sqlstr="select * from News where author='"&myname&"' order by id desc" set rs=Server.CreateObject("adodb.recordset") rs.Open sqlstr,conn,1,1 if rs.RecordCount > 0 then rs.PageSize=20 total_page=rs.PageCount total_red=rs.RecordCount current_page=Request("me_page") if current_page="" then current_page=1 elseif not isnumeric(current_page) then current_page=1 else current_page=cint(current_page) end if if current_page>total_page then current_page=total_page elseif current_page<1 then current_page=1 end if protr=0 rs.AbsolutePage=current_page For i = 1 to rs.PageSize %> <% rs.MoveNext If rs.EOF Then Exit For Next end if%>
 
 
<% myname=conn.execute("select username from [user] where id= "&request("id")&"")(0) response.Write(myname) %> 的日志
   
 
  <%if rs("whichtype")<>"" then%> <% if rs("whichtype")="1" then response.Write("桥过的事") elseif rs("whichtype")="2" then response.Write("来弄好事") elseif rs("whichtype")="3" then response.Write("在踏的场子吃") elseif rs("whichtype")="4" then response.Write("在踏的场子喝") elseif rs("whichtype")="5" then response.Write("在踏的场子玩") end if%>  - <%=rs("title")%>
<%else%> <%=rs("title")%>
<%end if%> By:<% set rsauthor=server.CreateObject("adodb.recordset") rsauthor.open "select NameEn from [user] where username='"&rs("author")&"'",conn,1,1 if rsauthor.bof and rsauthor.eof then response.Write("无名氏") else response.Write(rsauthor(0)) end if rsauthor.close set rsauthor=nothing %>
Browse (<%= rs("clicknum") %>) | Comments (<%= conn.execute("select count(id) from Comments where newsid="&rs("id")&"")(0) %>)   (<%=rs("adddate")%>)
<%if rs("propics")<>"" then%> " width="500" />
<%=rs("shuoming1")%>
<%end if%> <%if len(rs("content"))>100 then %> <%=left(rs("content"),99)&".."%>
还有 <% len1=len(rs("content")) len2=len1-99 response.Write(len2) %> 字节>
">查看全文>> <%if trim(request.Cookies("Purview"))="2" or trim(request.Cookies("username"))=trim(rs("author")) then%> ==> &mid=<%=request("id")%>">Del <%end if%>
<% else %> <%=rs("content")%>
">查看全文>> <%if trim(request.Cookies("Purview"))="2" or trim(request.Cookies("username"))=trim(rs("author")) then%> ==> &mid=<%=request("id")%>">Del <%end if%>
<%end if%>
 
  <%if not(rs.bof and rs.eof )then%> <% else response.Write("no info") end if%>