⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.php

📁 后台默认帐号和密码 admin 简介:建一个网站
💻 PHP
字号:
<?php
  session_start();
?>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" href="img/css.css" type="text/css">
<script type="text/javascript" src="img/show.js"></script>
<title>母亲节许愿树--小宇祝福每一位母亲幸福安康!</title>
</head>
<body onLoad="showpage('show.php')">

<!-- 登陆 -->
<div id="login" style="display:none">
    <table width="200" border="0" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF" class="table-1" onMouseDown="f_mdown(this)" onMouseMove="f_move(this)">
      <form method="post" action=""><tr>
        <td height="25" colspan="2" class="td-bg-3" style="CURSOR: move"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="84%">用户登陆</td>
              <td width="10%"><button onClick="displays('login','none')" style="CURSOR: hand">关闭</button></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td width="61" height="25" align="right" class="td-bg-2">用户名:</td>
        <td width="134" class="td-bg-2"><input name="user" type="text" id="user" size="12" onFocus="this.select()"></td>
      </tr>
      <tr>
        <td height="25" align="right" class="td-bg-2">密&nbsp; 码:</td>
        <td class="td-bg-2"><input name="pass" type="password" id="pass" size="12" onFocus="this.select()"></td>
      </tr>
      <tr>
        <td height="25" colspan="2" align="center" class="td-bg-2"><label>
          <input type="button" name="Submit" value="提 交" onClick="login()">
           <input type="reset" name="Submit2" value="重 置">
        </label></td>
      </tr></form>
  </table>
</div>

<!-- 留言 -->
<div id="addbook" style="display:none">
  <table width="400" border="0" cellpadding="2" cellspacing="1" bgcolor="#FF00FF" class="table-1" onMouseDown="f_mdown(this)" onMouseMove="f_move(this)">
    <form name="addbook" method="post" action="">
      <tr>
        <td height="25" colspan="2" class="td-bg-3" style="CURSOR: move"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="90%">添加留言</td>
            <td width="10%"><button onClick="displays('addbook','none')" style="CURSOR: hand">关闭</button></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="85" height="25" align="right" class="td-bg-2">您的昵称:</td>
        <td width="302" class="td-bg-2"><input name="name" type="text" id="name" size="20" maxlength="20" onFocus="this.select()">
            <span class="color-red"> *</span></td>
      </tr>
	  <tr>
        <td height="25" align="right" class="td-bg-2">母亲昵称:</td>
        <td height="0" class="td-bg-2"><input name="name2" type="text" id="name2" size="20" maxlength="60" onFocus="this.select()">
          <span class="color-red">*</span></td>
      </tr>
      <tr>
        <td height="25" align="right" class="td-bg-2">您的邮箱:</td>
        <td class="td-bg-2"><input name="email" type="text" id="email" size="20" maxlength="60" onFocus="this.select()"></td>
      </tr>
      <tr>
        <td height="25" align="right" class="td-bg-2">您的Q Q:</td>
        <td height="25" class="td-bg-2"><input name="qq" type="text" id="qq" size="20" maxlength="10" onFocus="this.select()"></td>
      </tr>
	  <tr>
        <td height="25" align="right" class="td-bg-2">来自何处:</td>
        <td height="-2" class="td-bg-2"><input name="address" type="text" id="address" size="20" maxlength="60" onFocus="this.select()"></td>
      </tr>
      <tr>
        <td height="25" align="right" class="td-bg-2">您的祝福:</td>
        <td height="25" class="td-bg-2"><textarea name="content" cols="30" rows="4" id="content"></textarea>
            <span class="color-red">*</span></td>
      </tr>
      <tr>
        <td height="25" colspan="2" align="center" class="td-bg-2"><input type="button" name="Submit3" value="提 交" onClick="add()">
            <input type="reset" name="Submit22" value="重 置"></td>
      </tr>
    </form>
  </table>
</div>

<?
include("header.php");
?>

<table border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="100" align="center" valign="top">&nbsp;</td>
    <td width="10" background="img/bk.jpg"></td>
      <td width="750"  ><img src="img/mamal.jpg" width="302" height="212"><img src="img/mamar.jpg" width="448" height="212"></td>
  <td width="10" background="img/bk.jpg"></td>
    <td width="100" align="center" valign="top">&nbsp;</td>
  </tr>
</table> 

<input type="hidden" id="nextpage" name="nextpage" />
<input type="hidden" id="pages" name="pages">
<input type="hidden" id="uppage" name="uppage">
<input type="hidden" id="totalpage" name="totalpage">

<table width="770" border="0" align="center" cellpadding="0" cellspacing="0" background="img/bg.jpg" bgcolor="#F4F4F4">
  <tr>
    <td width="10" background="img/bk.jpg"></td>
    <td width="750" height="160" bgcolor="#FFFFFF">
	<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=752>
       <TR>
          <TD width=6></TD>
          <TD width="193" vAlign=top>
		  <TABLE background=img/index_25.gif border=0 cellPadding=0 cellSpacing=0 width=192>
             <TR><TD><IMG alt="" height=13 id=index_07 src="img/index_07.gif" width=192></TD></TR>
             <TR>
                <TD><TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=170>
				   <TR>
					<TD height="233" bgColor="#F3F3F3">
						  <marquee scrollAmount="2" width="170" height="220" direction="up">
						  <p align="center" class="fenzi style21"><strong>也许没有太多的话语<br>
					      也许有些话你会深藏在心里</strong></p>
						  <p align="center" class="fenzi style21"><strong>也许你永远不想和她分离<br>
					      也许你希望这样的爱永不停息</strong></p>
						  <p align="center" class="fenzi style21"><strong>也许这一切的意义只在于那句<br>
					      妈妈,我爱你!</strong></p>
						  </marquee>
					 </TD>
					</TR>
                   <TR>
                     <TD><IMG alt="" height=7 id=index_23 src="img/index_23.gif" width=170></TD>
                   </TR></TABLE>
				 </TD>
                </TR>
              <TR>
                <TD height="15"><IMG alt="" height=15 id=index_27 src="img/index_27.gif" width=192></TD>
              </TR>
		  </TABLE>
   		  <TABLE background=img/index_25.gif border=0 cellPadding=0 cellSpacing=0 width=192>
             <TR>
               <TD><IMG alt="" height=13 id=index_07 src="img/index_07.gif" width=192></TD>
             </TR>
             <TR>
                <TD><TABLE width=170 height="30" border=0 align=center cellPadding=0 cellSpacing=0>
                  <TR align="center">
                     <TD>
                       <p align="center" class="hongzi2 "> <a href="zhufuyu.php" target="_blank" class="b1"><strong>母亲节祝福语大全</strong></a>
                    </TD>
                  </TR>
                 </TABLE></TD>
             </TR>
             <TR>
                <TD><IMG alt="" height=15 id=index_27 src="img/index_27.gif" width=192></TD>
             </TR>
           </TABLE>
		  <TABLE background=img/index_25.gif border=0 cellPadding=0 cellSpacing=0 width=192>
             <TR>
               <TD><IMG alt="" height=13 id=index_07 src="img/index_07.gif" width=192></TD>
             </TR>
             <TR>
                <TD><TABLE width=170 height="30" border=0 align=center cellPadding=0 cellSpacing=0>
                  <TR align="center">
                     <TD>
					 <font class="hongzi">
					  <p>&nbsp;</p>
					  <p>母亲节:</p>
                      <p>献给母亲</p>
                      <p>因为我们的一切从她开始</p>
                      <p>&nbsp;</p>
                      </font>
					  </TD>
                  </TR>
                 </TABLE></TD>
             </TR>
             <TR>
                <TD><IMG alt="" height=15 id=index_27 src="img/index_27.gif" width=192></TD>
             </TR>
           </TABLE>
	      </TD>
          <TD width=6></TD>
          <TD width="538" vAlign=top>
              <IMG alt="" height=55 id=index_15 src="img/index_15.gif" width=548>
          <TABLE background=img/index_26.gif border=0 cellPadding=0 cellSpacing=0 width=538>
            <TR>
               <TD width="538"><IMG alt="" height=15 id=index_17 src="img/index_17.gif" width=548></TD>
            </TR>
            <TR><TD height=500 align="center" vAlign=top>
			  <button onClick="displays('addbook','')" style="CURSOR: hand" class="b1"><font align="center" class="hongzi2">送出您的祝福</font></button>					
			  <table width="96%" border="0" cellpadding="0" cellspacing="0"><TR><TD height="10"></TD></TR></table>
	  			<div align="center" id="loading"></div>
	  			<div align="center" id="bookcontent" style="width:100%"></div>
		  	 <table width="96%" border="0" align="center" cellpadding="0" cellspacing="1" class="table-1">
        	  <tr>
          		<td height="25" align="center" class="td-bg-3"><table border="0" align="right" cellpadding="0" cellspacing="0">
            	  <tr>
              		<td width="180" align="center"><a onClick="showpage('action_show.php')" style="CURSOR: hand">首页</a> <a onClick="actionpage('uppage')" style="CURSOR: hand">上一页</a> <a onClick="actionpage('nextpage')" style="CURSOR: hand">下一页</a> <a onClick="actionpage('totalpage')" style="CURSOR: hand">尾页</a> </td>
              		<td width="60" align="center" id="pagenum"></td>
                   </tr></table></td>
        		</tr></table></TD>
              </TR>
              <TR>
                <TD><IMG alt="" height=15 id=index_28 src="img/index_28.gif" width=548></TD>
              </TR>
          </TABLE></TD>
      </TR>      
    </TABLE>
    </td>
    <td width="10" background="img/bk.jpg"></td>
  </tr>
</table>
<?
require("footer.php");
?>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -