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

📄 index.php

📁 一个php的公司信息系统
💻 PHP
字号:
<html>
<head>
<title>::: DATABASE 化妆品公司 :::</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="common.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="770" border="0" cellspacing="0" cellpadding="0" align="center" height="450">
  <tr>
    <td background="images/bg1.jpg">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="450">
        <tr>
          <td height="270">
            <form name="form1" method="post" action="login.php?login=1">
              <p>&nbsp;</p>
              <p>&nbsp;</p>
              <table width="60%" border="0" cellspacing="3" cellpadding="3" align="center">
                <tr>
                  <td width="50%">&nbsp;</td>
                  <td>
                    <p>选择公司:
                      <select name="stid">
<?
  require("connect.inc");
  $str_sql="select stid,stname
            from STOREHOUSETB where isactive='1' and stid >= '-1';";
  $result=mysql_db_query($db,$str_sql,$link_id);
  if($result)
  {
    if (@mysql_num_rows($result)!=0)
      while ($record=mysql_fetch_object($result))
      {
        $value=$record->stid;
        $name=$record->stname;
//        echo"                        <option value=$value>$name</option>";
        echo"                        <option value=$value>$name</option>";

      }
  }
  else
    html_error_exit("读取数据库时发生错误,请与系统管理员联系.");
?>
                      </select>
                    </p>
                  </td>
                  <td rowspan="3" width="8%" bgcolor="#dddddd">
                    <div align="center"><font color="#FFFFFF"><b>数<br>
                      据<br>
                      库<br>
                      登<br>
                      录</b></font></div>
                  </td>
                </tr>
                <tr>
                  <td>&nbsp;</td>
                  <td>登录密码:
                    <input type="password" name="pass" size="15" maxlength="20">
                  </td>
                </tr>
                <tr>
                  <td>&nbsp;</td>
                  <td>
                    <div align="center">
                      <input type="submit" name="Submit" value="登  录">
                    </div>
                  </td>
                </tr>
              </table>
            </form>
          </td>
        </tr>
        <tr>
          <td align="right" valign="bottom" height="180"><font face="Arial">&copy;
            <a href="mailto:lonelyp@etang.com">Lonely Passenger</a>,2001</font></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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