main.php

来自「PHP4_0入门与提高源程序代码」· PHP 代码 · 共 61 行

PHP
61
字号
<?
//包含config.php和validate.php
include "config.php";
include "validate.php";
?>
<!--输出功能选择页面-->
<html>
<head>
<title><? print ($app_title); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body bgcolor="#FFFFFF">
<br>
<br>
<table width="75%" border="2" align="center" bordercolorlight="#000000" bordercolordark="#CCCCCC">
  <tr> 
    <td align="center"> 
      <h2><? print ($app_title); ?></h2>
      <br>
      <h4><? print ("$user_name : $username");?></h4>
      <br>
      <table width="30%" border="2" align="center" bordercolorlight="#000000" bordercolordark="#999999" bordercolor="#000099">
        <tr> 
          <form method="post" action="new.php">
            <td align="center" height="43"> 
              <input type="submit" value="<? print ($new_transaction_title); ?>">
            </td>
          </form>
        </tr>
        <form method="post" action="actual.php">
          <tr> 
            <td align="center" height="41"> 
              <input type="submit" value="<? print ($view_current_month_title); ?>">
            </td>
          </tr>
        </form>
        <tr> 
          <form method="post" action="search.php">
            <td align="center" height="41"> 
              <input type="submit" value="<? print ($search_title); ?>">
            </td>
          </form>
        </tr>
        <tr> 
          <form method="post" action="validate.php">
            <td align="center" height="41"> 
              <input type="hidden" name="logout" value="1">
              <input type="submit" value="<? print ($logout_title); ?>">
            </td>
          </form>
        </tr>
      </table>
      <br>
      <br>
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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