check_user.php

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

PHP
39
字号
<?
  include_once 'inc/auth.php';
  include_once 'inc/utility_all.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/hrms.gif" width=22 height=22 align="absmiddle">';
  echo '<s';
  echo 'pan class="big3">&nbsp;用户名检测</span><br>
    </td>
    </tr>
</table>
<br>
';
  $query = (((''.'select USER_ID from USER where USER_ID=\'').$USER_ID).'\'');
  $cursor = exequery ($connection, $query);
  if ($ROW = mysql_fetch_array ($cursor))
  {
    message ('提示', (('用户名 '.$USER_ID).' 已经使用请选择其他用户名'));
  }
  else
  {
    message ('提示', (('用户名 '.$USER_ID).' 可以继续使用'));
  }
  echo '    
<div align="center">
   <br>
   <input type="button" class="BigButton" value="关闭" onclick="window.close();">
</div>
</body>
</html>';
?>

⌨️ 快捷键说明

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