<!--#include file="inc/function.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/Conn_User.asp"-->
<%
const ChannelID=1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<head><meta name="keywords" content="宝宝-婴儿-婴儿用品--宝宝用品-宝宝照片">
<meta name="description" content="宝贝计划-系中国白领联盟旗下网站,本站为您的宝宝提供宝宝日志、宝宝照片、宝宝视频等一系列服务，本站为您的宝宝提供了一个免费的记录宝宝成长历程的一个平台，欢迎大家前来注册，给您的宝宝在互联网上安上一个漂亮的宝宝之家。">
<title><%=SiteName%></title>
<link href="img0415/css.CSS" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript">
	function chkfrm(){
		
		if (document.Myform.Keywords.value==""){
			alert('请输入要检索的关键字！');
			document.Myform.Keywords.focus();
			return false;
		}
		
		
			var Obj = document.getElementsByName("mysort");
			for(i=0;i<Obj.length;i++){
				if(Obj[i].selected){
					if (Obj[i].value=="zone"){
						document.Myform.action="user_search.asp";
					}else if (Obj[i].value=="blog"){
						document.Myform.action="blog_search.asp";
					}else if (Obj[i].value=="photo"){
						document.Myform.action="photo_search.asp";
					}else{
						document.Myform.action="user_search.asp";
					}
				}
			}

		
		return true;
	}
</script>
<SCRIPT language=javascript>
function shoping()
{
   if(confirm("您确定要购买此模版吗？"))
     return true;
   else
     return false;
	 
}
function shoping2()
{
   if(confirm("您确定要购买此挂饰吗？"))
     return true;
   else
     return false;
	 
}

</SCRIPT>
<style type="text/css">
<!--
.style1 {color: #806A17}
-->
</style>
<link href="css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	margin-bottom: 0px;
}
-->
</style>
</head>
<body>
<script language="JavaScript" src="mina.js" type="text/javascript"></script>
<!--#include file="top.asp"-->
<table width="900" height="562" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr bgcolor="#FFFFFF">
    <td width="5" height="187" rowspan="3" bgcolor="#F2F2F2" scope="row"></td>
    <td width="1" rowspan="3" bgcolor="#CCCCCC" scope="row"></td>
    <td width="474" height="192" valign="middle" bgcolor="#FFFFFF" scope="row"><table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="31" background="images/main_menu_5.jpg" class="abc" scope="col" style="border-left:1px #cccccc solid; border-right:1px #cccccc solid; border-top:1px #cccccc solid; color: #FF3300;" >№本期宝宝明星 Baby star </td>
        </tr>
      <tr>
        <td height="161"><table width="100%" height="165"  border="0" align="center" cellpadding="0" cellspacing="0" >
            <tr>
              <td width="45%" height="161" class="table" scope="col"><table  width=190 height="138" border="0" align="center" cellpadding="6" cellspacing="1" bgcolor="#CCCCCC">
                  <tr>
                    <%
set rs=server.createobject("adodb.recordset")
rs.open "select top 1 * from [user]  order by hits desc",conn_user,1,1 
%>
                    <%
do while not rs.eof
%>
                    <td height="105" align="center" bgcolor="#FFFFFF"><a href="user.asp?userid=<%=rs("userid")%>&mdid=indexd" target="_blank"><img src="<%if rs("UserPhoto")<>"" then%><%=rs("UserPhoto")%><%else 
						  response.Write "images/nopic2.jpg"end if%>" width="168" height="128" border="0" ></a></td>
                  </tr>
              </table></td>
              <td width="55%" class="table1" scope="col"><table width="100%" height="143"  border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="26%" height="22" class="t" scope="col"><div align="left">姓名: </div></td>
                    <td width="34%" class="t2" scope="col"><div align="left"><a href="user.asp?userid=<%=rs("userid")%>&mdid=indexd" target="_blank" ><font class=no color="#6B5F9E"><%=rs("username")%></font></a></div></td>
                    <th colspan="2" rowspan="3" scope="col"><div align="center"><img src="images/apple.jpg" width="51" height="46"></div></th>
                  </tr>
                  <tr>
                    <td height="21" class="t" scope="row"><div align="left">性别:</div></td>
                    <td class="t2" scope="row"><div align="left">
                        <%
			if rs("Sex")=1 then
				response.write " <img src='isky/boy.gif' border=0 alt=男> "
			else
				response.write " <img src='isky/girl.gif' border=0 alt=女> "
			end if
		  %>
                    </div></td>
                  </tr>
                  <tr>
                    <td height="18" class="t" scope="row"><div align="left">生日:</div></td>
                    <td class="t2" scope="row"><div align="left">2006-11-11</div></td>
                  </tr>
                  <tr>
                    <td height="20" class="t" scope="row"><div align="left">拍摄日期:</div></td>
                    <td class="t2" scope="row"><div align="left">20067-1-11</div></td>
                    <td width="15%" class="t"><div align="left" >获奖:</div></td>
                    <td width="25%" class="t2"><div align="left">青苹果奖</div></td>
                  </tr>
                  <tr valign="top">
                    <td height="62" class="t" scope="row"><div align="left">照片说明:</div></td>
                    <td colspan="3" class="t2" scope="row"><div align="left" class="style1"> 宝宝4个月了,拍张照片!宝宝4个月了,拍张照片!宝宝4个月了,拍张照片!宝宝4个月了,拍张照片!宝宝4个月了,拍张照片!</div></td>
                  </tr>
                </table>
                  <%rs.movenext
loop
rs.close
set rs=nothing%>
              </td>
            </tr>
        </table></td>
      </tr>
    </table></td>
    <td width="194" rowspan="3" valign="top" bgcolor="#FFFFFF" scope="row"><div align="center">
      <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" >
        <tr >
          <td height="30" background="images/main_menu_7.jpg" style="border-left:1px #cccccc solid;border-right:1px #cccccc solid;border-top:1px #cccccc solid;"><span class="abc"> 最新发表日志 </span>NEW BLOG </td>
        </tr>
        <tr>
          <td width="49%" valign="top" style="border:1px #cccccc solid;"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
              <%
set rs=server.createobject("adodb.recordset")
rs.open "select top 12 * from [article] order by articleID desc",conn,1,1 
%>
              <%if rs.eof then
response.Write "<br>暂无日志<br><br>"
else%>
              <%do while not rs.eof%>
              <%
set rsf=server.createobject("adodb.recordset")
rsf.open "select * from [user] where username='"&rs("Editor")&"' order by userid desc",conn_user,1,1 
%>
              <tr>
                <td height="24" style="padding-left:3px;"><img src="img0415/yuan.gif"><a href=user.asp?userid=<%=rsf("userid")%>&mdid=logs&menu=userlogs.asp?userid=<%=rsf("userid")%>&htm=article_show.asp?articleid=<%=rs("articleID")%> target="_blank"><font color=<%=rs("TitleFontColor")%>><%=gotTopic(rs("title"),10)%> </font></a></td>
                <td width="60"><img src="img0415/b1.gif">&nbsp;<a href=user.asp?userid=<%=rsf("userid")%> target="_blank"><%=gotTopic(rs("editor"),4)%> </a></td>
              </tr>
              <%rs.movenext
loop
rs.close
set rs=nothing
end if%>
          </table></td>
        </tr>
      </table>
    </div></td>
    <td width="3" rowspan="3" valign="top" bgcolor="#FFFFFF" scope="row"></td>
    <td width="213" rowspan="3" valign="top" bgcolor="#FFFFFF" scope="row"><div align="left">
      <table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="5" valign="top" background="img0315/combg.gif"><img src="img0415/hits2.gif" name="arandommenu"  border="0" style="cursor: hand" onClick="random10ImgOver('arandommenu');ShowbSubMenu0('bSubMenu1','1')"></td>
          <td width="78" valign="top" background="img0315/combg.gif"><strong><img src="img0415/elite.gif"  name="arandommenu2" border="0" style="cursor: hand" onClick="random10ImgOver('arandommenu2');ShowbSubMenu0('bSubMenu2','2')"></strong></td>
          <td align="right" valign="top" background="img0315/combg.gif"><img src="img0415/hot.gif" name="arandommenu3"  border="0" style="cursor: hand" onClick="random10ImgOver('arandommenu3');ShowbSubMenu0('bSubMenu3','3')"></td>
        </tr>
      </table>
      <table width="200" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td colspan="3" class="lr2"><script language="JavaScript" type="text/javascript">
//仅仅给该页使用
function random10ImgOver(id){
	var path1 = "img0415/hits2.gif";
	var path2 = "img0415/elite2.gif";
	var path3 = "img0415/hot2.gif";

	
	if(id == "arandommenu"){
		document.arandommenu.src = path1;		
		random10ImgOut("arandommenu2");
		random10ImgOut("arandommenu3");
		
	}else if(id == "arandommenu2"){
		document.arandommenu2.src = path2;		
		random10ImgOut("arandommenu");
		random10ImgOut("arandommenu3");
		
	}else if(id == "arandommenu3"){
		document.arandommenu3.src = path3;		
		random10ImgOut("arandommenu");
		random10ImgOut("arandommenu2");
		
	
	}
}

function random10ImgOut(id){
	var path1 = "img0415/hits.gif";
	var path2 = "img0415/elite.gif";
	var path3 = "img0415/hot.gif";
	

	if(id == "arandommenu"){
		document.arandommenu.src = path1;		
	}else if(id == "arandommenu2"){
		document.arandommenu2.src = path2;		
	}else if(id == "arandommenu3"){
		document.arandommenu3.src = path3;		
	}
}
            </script>
              <script language="JavaScript" type="text/javascript">
var pre_menuidb = '1';
function ShowbSubMenu0(tmp,img)
				{
					document.getElementById('bSubMenu'+pre_menuidb).style.display = 'none';
					document.getElementById(tmp).style.display = '';
					pre_menuidb = img;
				}																
              </script>
              <div id="bSubMenu1" style="display:;">
                <table width="100%" border="0" cellpadding="0" cellspacing="1">
                  <tr>
                    <td>
                      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="5">
                        <%
set rs=server.createobject("adodb.recordset")
rs.open "select top 10 * from [user] order by hits desc",conn_user,1,1 
%>
                        <tr>
                          <%

						i=1
do while not rs.eof
%>
                          <td height="23" bgcolor="fafafa"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="20" align="center"><img src="img0415/d<%=i%>.gif"></td>
                                <td><a href="user.asp?userid=<%=rs("userid")%>" target="_blank">
                                  <%if rs("title")<>"" then%>
                                  <%=left(replace(rs("title"),"&nbsp;",""),8)%>
                                  <%if len(rs("title"))>8 then response.write ".."%>
                                  <%else%>
                                  <%=rs("username")%>的空间
                                  <%end if%>
                                </a> <font color="#FF6600" style="font-size:10" ><%=rs("hits")%></font></td>
                              </tr>
                          </table></td>
                        </tr>
                        <%
						i=i+1
						if i>10 then exit do
						rs.movenext
						loop
						rs.close
						set rs=nothing%>
                    </table></td>
                  </tr>
                </table>
              </div>
              <div id="bSubMenu2" style="display:none;">
                <table width="100%" border="0" cellpadding="0" cellspacing="1">
                  <tr>
                    <td>
                      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="5">
                        <%
set rs=server.createobject("adodb.recordset")
rs.open "select top 10 * from [article] order by hits desc",conn,1,1 
%>
                        <tr>
                          <%

						i=1
do while not rs.eof
%>
                          <td height="22" bgcolor="fafafa"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="20" align="center"><img src="img0415/d<%=i%>.gif"></td>
                                <td>
                                  <%
set rsu=server.createobject("adodb.recordset")
rsu.open "select * from [user] where username='"&rs("Editor")&"' order by userid desc",conn_user,1,1 
%>
                                  <a href="user.asp?userid=<%=rsu("userid")%>&mdid=logs&htm=article_show.asp?articleid=<%=rs("articleid")%>&menu=userlogs.asp?userid=<%=rsu("userid")%>" target="_blank"><%=left(replace(rs("title"),"&nbsp;",""),8)%>
                                  <%
				  if len(rs("title"))>8 then
				   response.Write"..."
				   else 
				   end if%>
                                </a> <font color="#FF6600" style="font-size:10" ><%=rs("hits")%></font></td>
                              </tr>
                          </table></td>
                        </tr>
                        <%
						i=i+1
						if i>10 then exit do
						rs.movenext
						loop
						rs.close
						set rs=nothing%>
                    </table></td>
                  </tr>
                </table>
              </div>
              <div id="bSubMenu3" style="display:none;">
                <table width="100%" border="0" cellpadding="0" cellspacing="1">
                  <tr>
                    <td>
                      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="5">
                        <%
set rs=server.createobject("adodb.recordset")
rs.open "select top 10 * from [photo]  order by hits desc",conn,1,1 
%>
                        <tr>
                          <%

						i=1
do while not rs.eof
%>
                          <td height="22" bgcolor="fafafa"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="20" align="center"><img src="img0415/d<%=i%>.gif"></td>
                                <td><a href="photo_show.asp?photoid=<%=rs("photoid")%>" target="_blank"><%=left(replace(rs("photoname"),"&nbsp;",""),8)%>
                                      <%
				  if len(rs("photoname"))>8 then
				   response.Write"..."
				   else 
				   end if%>
                                </a> <font color="#FF6600" style="font-size:10" ><%=rs("hits")%></font></td>
                              </tr>
                          </table></td>
                        </tr>
                        <%
						i=i+1
						if i>10 then exit do
						rs.movenext
						loop
						rs.close
						set rs=nothing%>
                    </table></td>
                  </tr>
                </table>
            </div></td>
        </tr>
        <tr>
          <td height="1" bgcolor="#CCCCCC"></td>
        </tr>
      </table>
    </div></td>
    <td width="1" rowspan="3" valign="top" bgcolor="#CCCCCC" scope="row"></td>
    <td width="5" rowspan="3" valign="top" bgcolor="#F2F2F2" scope="row"></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td height="6" valign="top" bgcolor="#FFFFFF" scope="row"></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td height="92" valign="middle" scope="row"><table width="98%" height="92"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
      <tr>
        <th height="29" bgcolor="#FFFFFF" scope="col"><div align="left"><img src="images/banner3.jpg" width="156" height="24"></div></th>
      </tr>
      <tr>
        <td bgcolor="#FFFFFF" scope="row"><table width="100%" height="82"  border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td height="40" bgcolor="f7f7ff" scope="col" class="table7"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <form id="Myform" name="Myform" onSubmit="return chkfrm();" action="" method=post>
                      <td width="28" align="center"><img src="img0415/search.gif" width="15" height="16"></td>
                      <td width="88">
                        <select name="mysort" id="select" size="1" class="input2">
                          <option selected value="zone" name="mysort" id="mysort">注册用户</option>
                          <option value="photo">宝宝相册</option>
                          <option value="blog">宝宝日志</option>
                        </select>
                      </td>
                      <td width="210"><input name="Keywords" type="text" class="input2" size="35"></td>
                      <td width="70">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td height="1"><img src="img0415/space.gif" width="1" height="1"></td>
                          </tr>
                        </table>
                        <input name="imageField2" type="image" src="img0415/search2.gif" width="56" height="19" border="0">
                      </td>
                      <td>&nbsp;</td>
                    </form>
                  </tr>
              </table></td>
            </tr>
            <tr>
              <td bgcolor="FEF1E7" class="t2" scope="row"><div align="center">热门搜索:怀孕一月 怀孕五月 准妈妈 初生婴儿 1-3个月 4-8个月 1周岁 2周岁</div></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td width="5" height="102" bgcolor="#F2F2F2" scope="row"></td>
    <td width="1" height="102" bgcolor="#CCCCCC" scope="row"></td>
    <td height="102" colspan="4" scope="row"><table width="99%" height="167"  border="0" align="center" cellpadding="0" cellspacing="0" >
      <tr>
        <td height="8" colspan="2" valign="bottom" scope="col"></td>
        </tr>
      <tr>
        <td width="83%" height="27" valign="bottom" bgcolor="#F3F3F1" class="table2" scope="col"><img src="images/t5.jpg" width="112" height="18"> </td>
        <td width="17%" bgcolor="#F3F3F1" class="table5" scope="col"><div align="center"><img src="images/more.jpg" width="43" height="11"></div></td>
      </tr>
      <tr>
        <td height="113" colspan="2" bgcolor="#FFFFFF" class="table4" scope="row"><table  width=100%  border="0" align="left" cellpadding="0" cellspacing="0">
            <tr>
              <%
set rs=server.createobject("adodb.recordset")
rs.open "select top 7 * from [photo] where Deleted=false order by photoid desc",conn,1,1 
%>
              <%if  rs.eof then
response.Write "暂无推荐相册"
end if%>
              <%
do while not rs.eof
%>
              <td height="125" align="center" bgcolor="#FFFFFF"><table width="120" height="121" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                  <tr>
                    <td align="center" bgcolor="#FFFFFF" style="{background-position: center; background-repeat: no-repeat;background-attachment: fixed;}" ><a href=photo_show.asp?photoid=<%=rs("photoID")%> target="_blank"><img src="<%=rs("PhotoUrl_Thumbsm")%>" width="110" height="90" border="0"></a></td>
                  </tr>
                  <tr>
                    <td height="18" align="center" background="images/main_menu_6.jpg" bgcolor="#FFFFFF"><a href=photo_show.asp?photoid=<%=rs("photoID")%> target="_blank"><img src="img0415/p.gif" border="0"><font class=no color="#ff6600"><%=left(rs("photoname"),5)%></font></a></td>
                  </tr>
              </table></td>
              <%rs.movenext
loop
rs.close
set rs=nothing%>
            </tr>
        </table></td>
      </tr>
    </table></td>
    <td width="1" height="102" bgcolor="#CCCCCC" scope="row"></td>
    <td width="5" height="102" bgcolor="#F2F2F2" scope="row"></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td width="5" height="68" rowspan="2" bgcolor="#F2F2F2" scope="row"></td>
    <td width="1" height="68" rowspan="2" bgcolor="#CCCCCC" scope="row"></td>
    <td height="8" colspan="4" scope="row"> 
    <td width="1" height="8" bgcolor="#CCCCCC" scope="row">    
  <td width="5" height="8" bgcolor="#F2F2F2" scope="row">  
  </tr>
  <tr bgcolor="#FFFFFF">
  <th height="68" colspan="4" valign="top" scope="row"><table width="98%"  border="0" cellpadding="2" cellspacing="0">
    <tr>
      <td height="58" colspan="6" class="style1" scope="col" >关于OOPOOP.COM | 联系方式 | 帮助中心 | 安全须知 | 意见反馈 战略合作业伙伴:<a href="http://www.92msn.com" target="_blank">中国白领联盟</a> <a href="http://www.LoveinShop.com">LoveinShop </a> <br>
      ICP许可证：沪B2-00000000 上海市互联网协会会员单位 2007-2008 OOPOOP.COM 客服电话：021-50892951<br>
      </td>
    </tr>
  </table>            
  <td width="1" height="68" valign="top" bgcolor="#CCCCCC" scope="row">  
  <td width="5" height="68" valign="top" bgcolor="#F2F2F2" scope="row">  </tr>
</table>
</body>
</html>
