社区源代码(php&mysql)之二
//以下为框架页club.php
<HTML>
<HEAD>
<TITLE> CLUB </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>

<FRAMESET ROWS="70,40,*" border=0>
    <FRAME NAME="LOGO" SRC="logo.html" marginwidth=0 marginheight=0 noresize scrolling=no>
    <FRAME NAME="List" SRC="list.php?id=<? echo $id?>" marginwidth=10 marginheight=10 noresize scrolling=no>
  <FRAMESET COLS="150,*" border=0>
  <FRAME NAME="left" SRC="left.php?id=<? echo $id?>" marginwidth=0 marginheight=0 noresize scrolling=no>
  <FRAME NAME="main" SRC="main.php?id=<? echo $id?>" marginwidth=0 marginheight=0 noresize scrolling=auto>
</FRAMESET>
</FRAMESET>
<NOFRAMES>
<BODY>
  很抱歉,这个页面是用框架编的,您的浏览器不能很好的支持!
</BODY>
</NOFRAMES>
</HTML>


以下为list.php
<html>
<head>
<title>list</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
<!--
TD {
    FONT-SIZE: 9pt
}
A {
    FONT-SIZE: 9pt; COLOR: #abe8fe; TEXT-DECORATION: none
}
A:hover {
    COLOR: #ffffff;FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif", "宋体"; TEXT-DECORATION: none; FONT-SIZE: 9pt
}
A:active {
    COLOR: #ffffff
}
-->
</style>

</head>

<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" text="#abe8fe">
<div id="layer1" style="position:absolute; left:20px;top:10px; z-index:1; width:740px; height: 18px"> 
  <CENTER>
    <table cellspacing=0 cellpadding=0 width="72px" border=1 bgcolor=#ffffff bordercolordark=#33ccff bordercolorlight=#0f1f3f>
      <TBODY> 
      <TR> 
        <TD width="70" height="25" valign="top"> 
          <table cellspacing=0 cellpadding=0 width="70px" HEIGHT="100%" border=1 bgcolor=#0389ba bordercolordark=#33ccff bordercolorlight=#0f1f3f>
            <TR> 
              <TD align=center><FONT SIZE="2"><a href="bbstxt.php?id=<? echo $id?>&bbstitle=1" target="main">【HTML】</a></FONT> </TD>
            </TR>
          </TABLE>
        </TD>
        <TD width="70" height="25" valign="top"> 
          <table cellspacing=0 cellpadding=0 width="70px" HEIGHT="100%" border=1 bgcolor=#0389ba bordercolordark=#33ccff bordercolorlight=#0f1f3f>
            <TR> 
              <TD align=center><FONT SIZE="2"><a href="bbstxt.php?id=<? echo $id?>&bbstitle=2" target="main">【PHP】</a></FONT> </TD>
            </TR>
          </TABLE>
        </TD>
        <TD width="70" height="25" valign="top"> 
          <table cellspacing=0 cellpadding=0 width="70px" HEIGHT="100%" border=1 bgcolor=#0389ba bordercolordark=#33ccff bordercolorlight=#0f1f3f>
            <TR> 
              <TD align=center><FONT SIZE="2"><a href="bbstxt.php?id=<? echo $id?>&bbstitle=3" target="main">【JSP】</a></FONT> </TD>
            </TR>
          </TABLE>
        </TD>
        <TD width="70" height="25" valign="top"> 
          <table cellspacing=0 cellpadding=0 width="70px" HEIGHT="100%" border=1 bgcolor=#0389ba bordercolordark=#33ccff bordercolorlight=#0f1f3f>
            <TR> 
              <TD align=center><FONT SIZE="2"><a href="bbstxt.php?id=<? echo $id?>&bbstitle=4" target="main">【CSS】</a></FONT> </TD>
            </TR>
          </TABLE>
        </TD>
        <TD width="75" height="25" valign="top"> 
          <table cellspacing=0 cellpadding=0 width="75px" HEIGHT="100%" border=1 bgcolor=#0389ba bordercolordark=#33ccff bordercolorlight=#0f1f3f>
            <TR> 
              <TD align=center><FONT SIZE="2"><a href="bbstxt.php?id=<? echo $id?>&bbstitle=5" target="main">【SCRIPT】</a></FONT> </TD>
            </TR>
          </TABLE>
        </TD>
        <TD width="70" height="25" valign="top"> 
          <table cellspacing=0 cellpadding=0 width="70px" HEIGHT="100%" border=1 bgcolor=#0389ba bordercolordark=#33ccff bordercolorlight=#0f1f3f>
            <TR> 
              <TD align=center><FONT SIZE="2"><a href="bbstxt.php?id=<? echo $id?>&bbstitle=6" target="main">【LINUX】</a></FONT> </TD>
            </TR>
          </TABLE>
        </TD>
        <TD width="70" height="25" valign="top"> 
          <table cellspacing=0 cellpadding=0 width="70px" HEIGHT="100%" border=1 bgcolor=#0389ba bordercolordark=#33ccff bordercolorlight=#0f1f3f>
            <TR> 
              <TD align=center><FONT SIZE="2"><a href="#?id=<? echo $id?>&bbstitle=7" target="main">【SHOP】</a></FONT> </TD>
            </TR>
          </TABLE>
        </TD>
        <TD width="70" height="25" valign="top"> 
          <table cellspacing=0 cellpadding=0 width="70px" HEIGHT="100%" border=1 bgcolor=#0389ba bordercolordark=#33ccff bordercolorlight=#0f1f3f>
            <TR> 
              <TD align=center><FONT SIZE="2"><a href="#?id=<? echo $id?>&bbstitle=8" target="main">【留言】</a></FONT> </TD>
            </TR>
          </TABLE>
        </TD>
        <TD width="70" height="25" valign="top"> 
          <table cellspacing=0 cellpadding=0 width="70px" HEIGHT="100%" border=1 bgcolor=#0389ba bordercolordark=#33ccff bordercolorlight=#0f1f3f>
            <TR> 
              <TD align=center><FONT SIZE="2"><a href="#?id=<? echo $id?>&bbstitle=9" target="main">【登记】</a></FONT> </TD>
            </TR>
          </TABLE>
        </TD>
        <TD width="70" height="25" valign="top"> 
          <table cellspacing=0 cellpadding=0 width="70px" HEIGHT="100%" border=1 bgcolor=#0389ba bordercolordark=#33ccff bordercolorlight=#0f1f3f>
            <TR> 
              <TD align=center><FONT SIZE="2"><a href="../index.php"target="_parent">【回首页】</a></FONT> </TD>
            </TR>
          </TABLE>
        </TD>

      </TR>
      </TBODY> 
    </TABLE>
 </CENTER>
</DIV>
</body>
</html>