04.php

来自「php 報修系統」· PHP 代码 · 共 31 行

PHP
31
字号
<?php
include("../config.php");
include("../function.php");
session_start();
if($power_man!=$root)
	header("location:err.php");

($link=mysql_pconnect($host,$user,$password))||die("can not link mysql");
mysql_select_db($db,$link)||die("can not link dababase");

function showdata(){
global $table_auth;
global $link;
global $root;

$sql="select * from $table_auth where account!='".$root."'";
$result=mysql_query($sql,$link);

$i=0;
while($rows=mysql_fetch_array($result)){
$name=$rows[name];
$account=$rows[account];

echo<<<ABC
<form name="checkform$i" action="04_pass.php" method="post">
<tr valign="bottom"> 
	<input type=hidden name="account[$i]" value=$account>
	<input type=hidden name="i" value=$i>
    <td width="14%" height="30" bgcolor="#EEF09D">$name</td>
    <td width="19%" height="30" bgcolor="#EEF09D">$account</td>
    <td width="19%" height="30" bgcolor="#EEF09D"><a href="javascript:void(pass($i));">

⌨️ 快捷键说明

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