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

📄 index2.php

📁 一个php的公司信息系统
💻 PHP
字号:
<?
  require('session.inc');
  require('connect.inc');

  if ($usern=="none")
  {
    html_header("非法登录,拒绝访问 - ACCESS DENIED",'<META http-equiv="refresh" content="3; url=index.php">');
    echo "<td align=right valign=center><br>
    Sorry, 您正想非法登录本系统,请正常登录!<br>系统会在3秒后自动返回登录页面。
    <br><br><br><a href=index.php>返回登录</a></td>";
    html_footer();
  }
 else
  {
?>
<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/bg2.jpg">
      <table width="770" border="0" cellspacing="0" cellpadding="0" height="450">
        <tr>
          <td width="150" valign="top">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="450">
              <tr>
                <td height="60" align=center valign=bottom><font color=#ff3333 class=bigf><b>::: MENU :::</b></font><br><br></td>
              </tr>
              <tr>
                <td valign="top" align="center">
<?
  if ($usern==-1)
  {?>
<a href=newsubco.php>[创建分公司]</a><br>
<a href=modsubco.php>[修改分公司]</a><br>
<a href=clssubco.php>[关闭分公司]</a><br>
<br>
<a href=newproduct.php>[ 新增产品 ]</a><br>
<a href=modprdct.php>[ 修改产品 ]</a><br><br>

<a href=viewstore.php>[ 地区库存 ]</a><br>
<a href=viewarg.php>[ 查阅调拨 ]</a><br>
<a href=viewsale.php>[ 地区销售 ]</a><br><br>
<a href=viewpstore.php>[ 产品库存 ]</a><br>
<a href=viewpsale.php>[ 产品销售 ]</a><br><br>
<a href=subcolist.php>[ 公司列表 ]</a><br>


  <?}
  else
  {
?>
<a href=arrange.php>[ 调拨产品 ]</a><br>
<a href=sale.php>[ 新增销售 ]</a><br><br>
<a href=viewstore.php>[ 查阅库存 ]</a><br>
<a href=viewarg.php>[ 查阅调拨 ]</a><br>
<a href=viewsale.php>[ 查阅销售 ]</a><br><br>
<?
  }
?>

<a href=prdctlist.php>[ 产品列表 ]</a><br>
<br>_____________<br><br>
<a href=modpass.php>[ 修改密码 ]</a><br>
<a href=logoff.php>[ 注销退出 ]</a>
                </td>
              </tr>
            </table>
          </td>
          <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="450">
              <tr>
                <td height="140">&nbsp;</td>
              </tr>
              <tr>
                <td valign=top><div align=right>
<?

echo "<b><font color=#ff3333>$gs </font></b>,欢迎您的第 <b>$ltimes</b> 次登录<br>";
if ($ltimes!=1) echo"上次登录时间: <font face=Arial>$ld </font>";
?>
                   <br><br><br>
                   <table width=60%>
                   <tr>
                     <td>
                         本系统是DATABASE化妆品公司专用的数据库管理系统,目前版本号为0.1.0 。使用本系统,可以方便的管理日常的数据输入输出。<br><br>
                         总公司可以在数据库中进行产品的调拨、销售以及产品纪录的增添修改,以及按产品或仓库分类查询,还可以创建或关闭分公司。<br><br>
                         分公司可以在数据库中对本公司的进行产品的销售管理,以及按产品分类查询等功能。<br>
                       <br><br><br>
                         如果在使用过程中遇到任何问题,请联系 <font face="Arial"><a href=mailto:lonelyp@etang.com>Lonelyp Passenger</a></font>
                     </td>
                   </tr>
                   </table>
                   </div>
                </td>
              </tr>
              <tr>
                <td height="40">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="40">
                    <tr>
                      <td valign="bottom" align="right"><font face="Arial"><b>Powered
                        by <img src="images/php.gif" width="39" height="20" align="absmiddle">
                        &amp; <img src="images/mysql.gif" width="82" height="20" align="absmiddle"></b></font></td>
                      <td align="right" valign="bottom" width="200"><font face="Arial">&copy;
                        <a href="mailto:lonelyp@etang.com">Lonely Passenger</a>,2001<br>
                        All rights reserved!</font></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>
<?
  }
?>

⌨️ 快捷键说明

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