<!--#include file="include/conn.asp"-->
<!--#include file="include/Function.asp"-->
<!--#include file="include/Check_Sql.asp"-->
<%
'----------------------------------------------------------------------
'转发时请保留此声明信息,这段声明不并会影响你的速度!
'*******************  凹丫丫新闻发布系统	*******************************
'网站:http://www.oyaya.cn
'交流社区：http://www.oyaya.net
'技术讨论：QQ群号：61804028
'版权声明:版权所有,源代码公开,各种用途均可免费使用,但是修改后必须把修改后的文件
'发送一份给作者.并且保留作者此版权信息
'**********************************************************************
'----------------------------------------------------------------------
id=clng(request.querystring("id"))
if id="" then
response.Redirect("index.asp")
response.End()
end if
if request.QueryString("action")="" then
	set rsnews=server.createobject("adodb.recordset") 
	sql="select title,content,seokeywords,seodescription from OYAYA_About where id="&id
	rsnews.open sql,conn,1,1
		if rsnews.eof and rsnews.bof then
			response.write("数据库出错")
		else
			title=rsnews("title")
			content=rsnews("content")
			webkeywords=rsnews("seokeywords")
			WebSiteIntr=rsnews("seodescription")
		end if
	rsnews.close
	set rsnews=nothing
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="include/onews.js"></script>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<link href="images/css02.css" rel="stylesheet" type="text/css">
<title><%= title %>-<%=WebName%></title>
<meta name="keywords" content="<%=webkeywords%>">
<meta name="description" content="<%=WebSiteIntr%>">
<meta content="<%=YY_author%>" name="author">
<link rel="shortcut icon" href="favicon.ico">
<SCRIPT language=javascript> 
<!--
function initArray()
 {
	for(i=0;i<initArray.arguments.length;i++)
	 this[i]=initArray.arguments[i];
 }
var isnMonths=new initArray("1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月");
var isnDays=new initArray("星期日","星期一","星期二","星期三","星期四","星期五","星期六","星期日");
today=new Date();
//-->
</SCRIPT>
<style>
body {margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;background-image:  url(./images/bg.jpg);}
.style1 {color: #064987;font-weight: bold;}
.style2 {color: #828282;font-weight: bold;}
.style4 {color: #2e629e}
.style7 {color: #FF3300}
.style11 {color: #3A3A3A}
.style14 {color: #767676}
.style16 {color: #FF3300; font-weight: bold; }
.style17 {color: #064987}
.style19 {color: #C9781F}
.style20 {color: #FFFFFF}
.STYLE23 {color: #2E629E}
</style>
</head>
<body topmargin="0">
<!--#include file="include/top.asp"-->
<table width="1003" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="236" valign="top"><div align="left">
      <table width="100" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="21"></td>
        </tr>
      </table>
<% sqld="select id,title,gotourl from OYAYA_About order by id"
set rsd=server.createobject("ADODB.Recordset")
rsd.open sqld,conn,1,1
do while not rsd.eof
%>   
<table width="209" height="36" border="0" align="center" cellpadding="0" cellspacing="0" class="unnamed1">
        <tr>
          <td width="62"><div align="center" class="style1"><img src="./images/button_lanmu01.jpg" width="14" height="14" /></div></td>
          <td width="120"><%if rsd("gotourl")<>"" then%><a class="style1" href="<%=rsd("gotourl")%>" target="_blank"><%=rsd("title")%></a><%else%><a class="style1" href="about.asp?id=<%=rsd("id")%>"><%=rsd("title")%></a><%end if%></td>
        </tr>
      </table>

<%
rsd.movenext
loop
rsd.close
set rsd=nothing
%>
     
      <img src="./images/lanmubg02.jpg" /></div></td>
    <td width="757" valign="top"><table width="100" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="10"></td>
      </tr>
    </table>
      <table width="743" height="196" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="743" height="196" valign="top" background="./images/left_01bg.jpg"><table width="100%" height="38" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="38" background="./images/left_biaoti.jpg"><table width="731" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="35" height="26">&nbsp;</td>
                  <td width="331" align="left" valign="bottom"><span class="style1"><%=title%></span></td>
                  <td width="303">&nbsp;</td>
                  <td width="56" valign="bottom"><div align="center"></div></td>
                </tr>
              </table></td>
            </tr>
          </table>
            <table width="100" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="20"></td>
              </tr>
            </table>
            <table id="table5" border="0" cellspacing="0" cellpadding="0" 
              width="100%">
              <tbody>
                <tr>
                  <td valign="top"><table id="table6" border="0" cellspacing="0" cellpadding="0" 
                  width="100%">
                    <tbody>
                      <tr>
                        <td width="41">　</td>
                        <td width="683" align="left"><%=content%></td>
                        <td width="19">　</td>
                      </tr>
                    </tbody>
                  </table></td>
                </tr>
                <tr>
                  <td height="120" background="./images/p_right_bg120.jpg">　</td>
                </tr>
              </tbody>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>

<!--#include file="include/bottom.asp"-->
</body></html><%call CloseConn()%>