当前位置:首页 > PHP教程 > PHP基础知识

BBS(php & mysql)完整版(四)

//此页面为 top.php

<html>
<head>
<title>untitled document</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312">

<script language="javascript1.2" src="js/fw_menu.js"></script>
<script language="javascript1.2" src="js/menu_comment.js"></script>
</head>

<body bgcolor="#ffffff" text="#000000">


<div id="layer1" style="position:absolute; left:151px; top:81px; width:558px; height:48px; z-index:1">  
  <script language="javascript1.2">fwloadmenus();</script>
  <img name="phpd" src="pic/phpd.gif" width="600" height="28" border="0" usemap="#m_phpd">  
  <!-- fwtable fwsrc="phpd.png" fwbase="phpd" fwstyle="dreamweaver" fwdocid = "742308039" fwnested="0" -->
  <map name="m_phpd">  
    <area shape="rect" coords="378,-6,464,18" href="#" onmouseout="parent.mainframe.fw_starttimeout();"  onmouseover="parent.mainframe.window.fw_showmenu(window.fw_menu_0,381,0);"  >
    <area shape="rect" coords="265,0,343,21" href="#" onmouseout="parent.mainframe.fw_starttimeout();"  onmouseover="parent.mainframe.window.fw_showmenu(window.fw_menu_1,266,0);"  >
    <area shape="rect" coords="142,-6,227,20" href="#" onmouseout="parent.mainframe.fw_starttimeout();"  onmouseover="parent.mainframe.window.fw_showmenu(window.fw_menu_2,149,0);"  >
    <area shape="rect" coords="31,-7,114,21" href="#" onmouseout="parent.mainframe.fw_starttimeout();"  onmouseover="parent.mainframe.window.fw_showmenu(window.fw_menu_3,40,0);"  >
     <area shape="rect" coords="31,-7,580,21" href="sturecord.php" target="_blank"    >
  </map>
</div>
<div id="layer2" style="position:absolute; left:4px; top:3px; width:148px; height:98px; z-index:2"><a href="aboutme.php" target="_blank"><img src="pic/fd_03sd.gif" width="133" height="100" border="0" align="left" alt="站长自我介绍!!"></a></div>
</body>
</html>


//此页面为 index.php
<?

header("expires: sun, 28 dec 1997 09:32:45 gmt");
header("cache-control: no-cache, must-revalidate");
header("pragma: no-cache");



?>


<html>
<head>
<title>::: xiaoyang :::</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<script language="javascript">
<!--
function mm_reloadpage(init) {  //reloads the window if nav4 resized
  if (init==true) with (navigator) {if ((appname=="netscape")&&(parseint(appversion)==4)) {
    document.mm_pgw=innerwidth; document.mm_pgh=innerheight; onresize=mm_reloadpage; }}
  else if (innerwidth!=document.mm_pgw || innerheight!=document.mm_pgh) location.reload();
}
mm_reloadpage(true);
// -->
</script>
</head>
<frameset rows="103,*" frameborder="no" border="0" framespacing="0" cols="*">  
  <frame name="topframe" scrolling="no" noresize src="top.php" >
  <frameset cols="128,*" frameborder="no" border="0" framespacing="0" rows="*">  
    <frame name="leftframe" scrolling="no" noresize src="right.php">
    <frame name="mainframe" scrolling="auto" noresize src="left.php">
  </frameset>
</frameset>
<noframes>
<body bgcolor="#ffffff" text="#000000">


</body>
</noframes>  



</html>




【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!