post_info.php

来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 63 行

PHP
63
字号
<?
  include_once 'inc/auth.php';
  echo '
<html>
<head>
<title>邮政编码</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/menu/infofind.gif" WIDTH="22" HEIGHT="20" align="absmiddle">';
  echo '<s';
  echo 'pan class="big3"> 邮政编码(';
  echo $PROVINCE;
  echo ')</span>
    </td>
  </tr>
</table>
<br>
<div align="center">
  <table border="0" cellspacing="1" width="450" class="small" bgcolor="#000000" cellpadding="3">
    <tr class="TableHeader">
      <td nowrap align="center">市(县/区)</td>
      <td nowrap align="center">邮编</td>
    </tr>
';
  $query = (((''.'SELECT * from POST_TEL where length(POST_NO)=6 and PROVINCE=\'').$PROVINCE).'\' order by post_no');
  $cursor = exequery ($connection, $query);
  $AREA_COUNT = 0;
  while ($ROW = mysql_fetch_array ($cursor))
  {
    ++$AREA_COUNT;
    $AREA = $ROW['AREA'];
    $POST_NO = $ROW['POST_NO'];
    if ((($AREA_COUNT % 2) == 1))
    {
      $TableLine = 'TableLine1';
    }
    else
    {
      $TableLine = 'TableLine2';
    }
    echo '    <tr class="';
    echo $TableLine;
    echo '">
      <td nowrap align="center">';
    echo $AREA;
    echo '</td>
      <td nowrap align="center">';
    echo $POST_NO;
    echo '</td>
    </tr>
';
  }
  echo '  </table>
</div>
';
  button_back ();
  echo '</body>
</html>';
?>

⌨️ 快捷键说明

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