<!--#Include File="Connection.Asp"-->
 
<%
Dim JaZ,C,flyN,B,cur
Set JaZ = new q_zone
B = JaZ.JaKillStr(Request.QueryString("JaUid"))
If B="" Then
B= "2"
End If
C=Split(JaZ.GetHeadElement("*",B,"JaFaceSet",""),"<><><>")
flyN = split(Trim(C(2)),"|")
If Cint(Trim(C(1)))<>0 Then
cur = "CURSOR:url('cur/"&C(1)&".ani');"
Else
cur = ""
End If 
Dim JaCheckIsLog
JaCheckIsLog = JaZ.JaIsUser(B)

Dim ouCount,ouStr,i,baalID
baalID = JaZ.JaKillStr(Request.QueryString("baalID"))
ouCount = JaZ.GetCount("Count(*)","JaBaal","Where JaUid='"&B&"' ")
ouStr = JaZ.GetBlogRe("*","JaBaal","JaUid='"&B&"' ")
If baalID="" Then
baalID=ouStr(0,0)
End if
%>
<html>
<head>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>JaZone</title>
<link type="text/css" rel="stylesheet" href="Style/<%=Trim(C(5))%>/css.css">
</head>
<body leftMargin=2 topMargin=0 marginheight="0" marginwidth="0" style="background-color:transparent;<%=cur%>" text="#cccccc" link="#cccccc" vlink="#cccccc" alink="#cccccc">
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="845" height="23" background="Style/<%=Trim(C(5))%>/titleback.gif"><span class="classs">&nbsp;<img src="Style/<%=Trim(C(5))%>/b.gif" width="1" height="1" align="absmiddle" class="ltitle">&nbsp;<b> 我的偶像</b></span></td>
<%If JaCheckIsLog = "yes" Then%>
    <td width="29" valign="middle" background="Style/<%=Trim(C(5))%>/titleback.gif"> 
      <div align="center"><img src="Qz/bt_05.gif" width="16" height="14"></div></td>
    <td width="131" valign="middle" background="Style/<%=Trim(C(5))%>/titleback.gif"> 
      <a href="BaalAdd.asp?JaUid=<%=B%>">添加偶像 </a> </td>
  </tr>
<%End if%>
  <tr> 
    <td height="2"></td>
    <td></td>
    <td></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="2" cellpadding="0">
  <tr>
    <td>
<%
For i=0 To ouCount-1
%>
<span class='classs'>·</span><a href="?JaUid=<%=B%>&baalID=<%=ouStr(0,i)%>"><%=ouStr(3,i)%></a>
<%
Next
%>
   </td>
  </tr>
</table>
<%If ouCount=0 Then%>
<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><br><p align="center">
<%If JaCheckIsLog = "yes" Then%>
	您还没有创建偶像，<br>
      请点击 <img src="Qz/bt_05.gif" width="16" height="14"> <a href="BaalAdd.asp?JaUid=<%=B%>">开始创建</a>
<%
Else
Response.Write "该用户还没有创建偶像!"
End if
%>
	  </p>
    </td>
  </tr>
</table>
<%Else%>
<%
Dim conStr
conStr = JaZ.GetBlogRe("*","JaBaal","JaUid='"&B&"' and ID="&baalID&" ")
%>
 
<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="77%" class="title4"><span class="classs">&nbsp;<img src="Qz/b.gif" width="1" height="1" align="absmiddle" class="ltitle">&nbsp;<%=conStr(3,0)%></span></td>
    <td width="23%" class="title4"><img src="Qz/bt_06.gif" width="14" height="14"><a href="BaalEdit.asp?JaUid=<%=B%>&baalID=<%=conStr(0,0)%>">编辑</a> 
      <img src="Qz/bt_04.gif" width="14" height="14"><a href="BaalDel.asp?JaUid=<%=B%>&baalID=<%=conStr(0,0)%>" onClick="{if(confirm('确定删除吗?')){return true;}return false;}">删除</a></td>
  </tr>
</table>
<table height="3" border="0" cellspacing="0" cellpadding="0">
  <tr><td></td>
  </tr>
</table>

<table width="97%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr align="center" valign="top">
    <td width="180" height="180" valign="middle" ><table width="160" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC" height="160">
      <tr>
          <td id = "idoleimg" bgcolor="#FFFFFF" align="center"><img src="<%=conStr(11,0)%>" border="0" width="150" height="150"></td>
      </tr>
    </table>
      <table height="3" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td></td>
        </tr>
      </table>
      <a href="MusicDoc.asp?JaUid=<%=B%>&musicID=<%=conStr(1,0)%>" class="classs">偶像音乐</a></td>
    <td valign="top"><table height="3" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td></td>
        </tr>
      </table>
        <table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="20" colspan="2" class="text">中文姓名：<%=conStr(3,0)%></td>
          </tr>
          <tr>
            <td colspan="2" class="line"></td>
          </tr>
          <tr>
            
          <td height="20" colspan="2" class="text"> 生日：<%=conStr(4,0)%></td>
          </tr>
          <tr>
            <td colspan="2" class="line"></td>
          </tr>
          <tr>
            
          <td width="50%" class="text">星座：<%=conStr(5,0)%></td>
          <td width="50%" class="text">血型：<%=conStr(6,0)%> 型</td>
          </tr>
          <tr>
          <td width="50%" class="text"> 身高：<%=conStr(7,0)%> 厘米</td>
          <td width="50%" class="text">体重：<%=conStr(8,0)%> 公斤</td>
          </tr>
          <tr>
            <td colspan="2" class="line"></td>
          </tr>
          <tr>
            <td colspan="2" class="text">爱好：<%=conStr(9,0)%></td>
          </tr>
          <tr>
            <td colspan="2" class="line"></td>
          </tr>
          <tr>
            <td colspan="2" class="text">简介：<%=conStr(10,0)%></td>
          </tr>
        </table></td>
  </tr>
</table>
<%End if%>
</body>
</html>
