php login script 还不错哦 可以多多参考 初学者参考

源代码在线查看: list.php

软件大小: 12 K
上传用户: delsboy
关键词: script login php 初学者
下载地址: 免注册下载 普通下载 VIP

相关代码

								/* $Id: list.php,v 1.9 2002/09/15 11:06:02 shaggy Exp $ */									require_once 'multipage.php';									begin_html();									$where = '';					$sql = "SELECT COUNT(*) FROM member $where";					$rows = $db->getOne($sql);									if ($rows == 0) {						die('No members found.');					}									$sql = "SELECT id, username, name, email_priv, email FROM member $where ORDER BY username";					$mp = new MultiPage($db, uri_self(), $rows, $sql, 20, 'Members');					$result = $mp->getResult();									require_once 'HTML/Table.php';									$table = new HTML_Table('cellpadding="0" cellspacing="5"' .						'width="100%" summary="a list of all members"');					$table->addRow(array('Username', 'Name', 'Email'), null, 'TH');									while ($result->fetchInto($row)) {						if ($row->email_priv == 'y') {							$email = 'hidden';						} else {							$email = encodeEmail($row->email);						}										$row->username = '' . $row->username . '';						$table->addRow(array($row->username, $row->name, $email) );					}													echo '' . $mp->getHeader() . '';					$table->display();					echo '' . $mp->getNav() . '';								?>							

相关资源