<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>View Users</title>
<link href="loginmodule.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table id="mytable" cellspacing="0" summary="User Table">
<caption>Pacific Basin Users </caption>
<tr>
<th width="150" class="nobg" scope="col" abbr="Configurations">User ID</th>
<th width="150" scope="col" abbr="fname">First Name</th>
<th width="150" scope="col" abbr="lname">Last Name</th>
<th width="150" scope="col" abbr="login">Login</th>
<th width="150" scope="col" abbr="passwd">Password</th>
</tr>
<tr>
</table>
<?php
mysql_connect("xxxx", "xxxx", "xxxx");
mysql_select_db("pacificbasintest");
$sql = mysql_query("SELECT * FROM newUsers2 ORDER BY member_id ASC");
$id = 'member_id';
$fname = 'firstname';
$lname = 'lastname';
$login = 'login';
$password = 'passwd';
while ($rows = mysql_fetch_assoc($sql)){
echo '<div id="positionid">' .$rows[$id]. '</div>' ;
echo '<div id="positionfname">' .$rows[$fname]. '</div>' ;
echo '<div id="positionlname">' .$rows[$lname]. '</div>' ;
echo '<div id="positionlogin">' .$rows[$login]. '</div>';
echo '<div id="positionpassword">' .$rows[$password]. '</div>' ;
}
?>
</body>
</html>
body {
font: 11px Verdana, Arial, Helvetica, sans-serif;
color: #666666;
margin: 0px;
padding: 20px 10px 0px;
}
.textfield {
font-size: 11px;
color: #333333;
background: #F7F7F7;
border: 1px solid #CCCCCC;
padding-left: 1px;
}
h1 {
color: #99CC00;
margin: 0px 0px 5px;
padding: 0px 0px 3px;
font: bold 18px Verdana, Arial, Helvetica, sans-serif;
border-bottom: 1px dashed #E6E8ED;
}
a {
color: #2D3954;
font-size: 11px;
}
a:hover {
color: #99CC00;
}
.err {
color: #FF9900;
}
th {
font-weight: bold;
text-align: left;
}
#navigation {font-size:0.75em; width:150px;}
#navigation ul {margin:0; padding:0;}
#navigation li {list-style: none;}
caption {
padding: 0 0 5px 0;
width: 700px;
font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
text-align: right;
}
th {
font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border-right: 1px solid #C1DAD7;
border-bottom: 1px solid #C1DAD7;
border-top: 1px solid #C1DAD7;
letter-spacing: 2px;
text-transform: uppercase;
text-align: left;
padding: 6px 6px 6px 12px;
background: #CAE8EA url(pacificbasintest/images/bg_header.jpg) no-repeat;
}
th.nobg {
border-top: 0;
border-left: 0;
border-right: 1px solid #C1DAD7;
background: none;
}
td {
border-right: 1px solid #C1DAD7;
border-bottom: 1px solid #C1DAD7;
background: #fff;
padding: 6px 6px 6px 12px;
color: #4f6b72;
}
td.alt {
background: #F5FAFA;
color: #797268;
}
th.spec {
border-left: 1px solid #C1DAD7;
border-top: 0;
background: #fff url(pacificbasintest/images/bullet1.gif) no-repeat;
font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}
th.specalt {
border-left: 1px solid #C1DAD7;
border-top: 0;
background: #f5fafa url(pacificbasintest/images/bullet2.gif) no-repeat;
font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #797268;
}
#positionid
{
position:absolute;
left:40px;
top:75px;
}
#positionfname
{
position:absolute;
left:200px;
top:75px;
}
#positionlname
{
position:absolute;
left:375px;
top:75px;
}
#positionlogin
{
position:absolute;
left:550px;
top:75px;
}
#positionpassword
{
position:absolute;
left:700px;
top:75px;
}