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

📄 announce.php

📁 php做的一个同学录网站,功能齐全. 后台管理非常方便,有需要的同学可以下载测试.
💻 PHP
字号:
<?
//  session_start();
  //session_register("master_nickname_session");
include("pwdsuper.php");
include("connect.inc.php");
include("char.inc.php");
?>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft FrontPage 3.0">
<meta HTTP-EQUIV="Content-Type" content="text/html; charset=gb_2312-80">
<title>我要发言</title>
<link rel="stylesheet" type="text/css" href="forum.css">
</head>
<body bgcolor="#dcf6ce" text="#666600" link="#009900" alink="#00FF00" vlink="#006600">
<? if (!empty($userid))
{
  $boardid=intval($userid);
}else

//if ($boardid>0)
//{
?>
<form action="saveannounce.php?userid=<?   echo $userid; ?>" method="POST"
name="frmAnnounce">
  <div align="center"><center>
      <table border="1" width="530" bordercolorlight="#009900" cellspacing="2" bordercolordark="#009900" height="362">
        <tr>
          <td width="100%" bgcolor="#83d160" height="17"> 
            <div align="center"><center>
                <p><strong>我 要 发 言</strong>
              </center></div></td>
    </tr>
        <tr align="center" valign="top">
          <td width="100%">
            <table border="0" width="100%" cellspacing="1">
              <tr>
                <td width="15%" align="right">说 明:</td>
                <td colspan="2"><strong><?   echo $master_nickname_session; ?></strong>&nbsp;<font color="red"><strong>*</strong></font>为必填项目</td>
              </tr>
              <tr>
                <td width="15%" align="right">主 题:</td>
                <td colspan="2"><input class="smallInput" name="subject" size="65"
          maxlength="255"><font color="red"><strong>*</strong></font> </td>
              </tr>
              <tr>
                <td width="15%" align="right" valign="top"><span class="smallFont">表
                  情:</span></td>
                <td colspan="2">
                  <input type="radio" value="smiley" name="expression" checked>
                  <img
          src="images/smiley.gif" width="15" height="15">
                  <input type="radio" name="expression"
          value="sad">
                  <img src="images/sad.gif" width="16" height="16">
                  <input type="radio"
          name="expression" value="angry">
                  <img src="images/angry.gif" width="15" height="15">
                  <input
          type="radio" name="expression" value="13">
                  <img src="images/13.gif" width="15" height="15">
                  <input
          type="radio" name="expression" value="14">
                  <img src="images/14.gif" width="15" height="15">
                  <input type="radio" name="expression" value="15">
                  <img src="images/15.gif" width="15"
          height="15">
                  <input type="radio" name="expression" value="16">
                  <img src="images/16.gif"
          width="15" height="15"> <br>
                  <input type="radio" value="18" name="expression">
                  <img src="images/18.gif" width="15"
          height="15">
                  <input type="radio" name="expression" value="17">
                  <img src="images/17.gif"
          width="15" height="15">
                  <input type="radio" name="expression" value="19">
                  <img
          src="images/19.gif" width="15" height="15">
                  <input type="radio" name="expression"
          value="20">
                  <img src="images/20.gif" width="15" height="15">
                  <input type="radio"
          name="expression" value="21">
                  <img src="images/21.gif" width="15" height="15">
                  <input
          type="radio" name="expression" value="22">
                  <img src="images/22.gif" width="15" height="15">
                  <input type="radio" name="expression" value="23">
                  <img src="images/23.gif" width="15"
          height="15"> </td>
              </tr>
              <tr>
                <td width="15%" align="right"><span class="smallFont">内 容:</span></td>
                <td width="64%"><span class="smallFont">(最多<?   echo $ANNOUNCE_MAXBYTE/1024; ?>KB)</span></td>
                <td width="21%">
                  <div align="center">
                    <center>
                      <p>&nbsp;
                    </center>
                  </div>
                </td>
              </tr>
              <tr align="center">
                <td width="15%"><span class="smallFont"></span></td>
                <td colspan="2">
                  <div align="left">
                    <p>
                      <textarea class="smallarea" cols="65"
          name="body" rows="10"></textarea>
                  </div>
                </td>
              </tr>
              <tr align="center">
                <td colspan="3"><span class="smallFont">
                  <input class="buttonface" type="submit"
          value=" 发 送 " name="submit">
                  &nbsp;
                  <input class="buttonface" type="reset" value=" 重 填 " name="reset">
                  </span></td>
              </tr>
            </table>
      </td>
    </tr>
  </table>
  </center></div>
</form>
<?
//}else{
//  echo "未 指 定 所 需 参 数";
//}

?>
</body>
</html>

⌨️ 快捷键说明

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