GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — marc_web/listMembers.php at master · DPMI/marc_web

Expand file tree

/

listMembers.php

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
66 lines (53 loc) · 1.28 KB
/

listMembers.php

Copy path

File metadata and controls

66 lines (53 loc) · 1.28 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?
require("sessionCheck.php");
require("config.php");
?>
<html>
<?
print $pageStyle;
?>
<?
require("config.php");
$Connect = mysqli_connect($DB_SERVER, $user, $password) or die ("Cant connect to MySQL at $DB_SERVER");
mysqli_select_db($DATABASE,$Connect) or die ("Cant connect to $DATABASE database");
$toggle=0;
$order=$_GET["order"];
if (isset($_SESSION["accesslevel"])) {
$level=$_SESSION["accesslevel"];
} else {
$level=0;
}
$sql_query="SELECT * FROM access";
if($order!=""){
$sql_query=$sql_query . " ORDER BY $order";
}
$result=mysqli_query ($sql_query);
if(!$result) {
print "sq: $sql_q <br>\n";
print "Mysql Problems: " . mysqli_error() . "<br>\n";
}
if(mysqli_num_rows($result)>0) {
print "<table border=0>";
print "<th><b><a href=\"listMembers.php?SID=$sid&order=Name\">Name</b></th>";
print "<th><b><a href=\"listMembers.php?SID=$sid&order=Email\">Email</a></b></th>\n";
while($row = mysqli_fetch_array($result)) {
$noEthers=0;
if($toggle==0) {
$color="CCCCCC";
$toggle=1;
} else {
$color="DDDDDD";
$toggle=0;
}
print "<tr bgcolor='$color' >
<td>". $row["Name"] . "</td>
<td>". $row["Email"] ."</td>
</tr>\n";
}
print "</table>";
} else {
print "No entries in the access table, How the hell did you get here!?!?!? ";
exit;
}
?>
</body></html>
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.