aboutsummaryrefslogtreecommitdiff
path: root/www/liste.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/liste.php')
-rw-r--r--www/liste.php42
1 files changed, 30 insertions, 12 deletions
diff --git a/www/liste.php b/www/liste.php
index 1df43ce..211f485 100644
--- a/www/liste.php
+++ b/www/liste.php
@@ -1,10 +1,24 @@
-<?php include('auth.php');
+<?php
/* Copyright Maximilian Möhring, 2013
Licensed under the GPL. Read LICENSE for more Information.*/
function print_list($db){
- include("static/header.php");
+
+ echo " <!doctype html>
+ <head>
+ <title>Adressliste :: Junge Gemeinde</title>
+ <meta http-equiv='Content-type' content='text/html; charset=utf-8' />
+ <link rel='stylesheet' type='text/css' href='/static/hyperstyle.css' />
+ <link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'>
+ <style>
+ /* a:focus, a:hover { color:#ffffff; background-color:#888080; opacity: 0.85;} */
+ a:focus, a:hover { color:#ffffff; background-color:#888080; opacity: 0.85;}
+ .liste a { display:block; width:100%; }
+ </style>
+ </head>
+ ";
+ include("static/head.php");
echo "
<script>
@@ -41,17 +55,18 @@ function hide_elements()
echo"
<br><br>
- <table height='350' border='1' rules='all' cellpadding='20' cellbording='20' cellspacing='20'>
+ <table class='liste' width='1190' height='350' border='0' rules='all' cellpadding='20' cellbording='20' cellspacing='20'>
<!-- Wenn mir mal einer erklären könnte, warum die Zellen trotzdem keinen Abstand haben? -->
<thead>
<tr>
- <th><a3>&#160;</a3></th>
- <th><a3>Name</a3></th>
- <th><a3>Adresse</a3></th>
- <th><a3>Telefon</a3></th>
- <th><a3>Handynummer</a3></th>
- <th><a3>E-Mail</a3></th>
- <th><a3>Geburtstag</a3></th>
+ <th><p>#</p></th>
+ <th><p>Name</p></th>
+ <th><p>Adresse</p></th>
+ <th><p>Telefon</p></th>
+ <th><p>Handynummer</p></th>
+ <th><p>E-Mail</p></th>
+ <th><p>Geburtstag</p></th>
+ <th><p>ändern</p></th>
<tr>
</thead>
<tbody cellpadding='20' cellbording='20' cellspacing='20'>
@@ -62,7 +77,8 @@ function hide_elements()
while($row=$ergebnis->fetchArray(SQLITE3_NUM)){
//echo "<r><td align='left'><a href=\"/liste/.".$id."\" onclick=\"document.location.href='/liste/."$id."'\">$element</a></td></tr>";
- echo "<tr><td align='left'><a href=\"/liste/".$row[0]."\">".$count."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[1]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[2]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[3]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[4]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[5]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[6]."</a></td><tr>";
+ echo "<tr><td align='center'><a href=\"/liste/".$row[0]."\">".$count."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[1]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[2]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[3]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[4]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[5]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[6]."</a></td><td align='center'><a href=\"/liste/".$row[0]."\"><input type='checkbox' name='change' value='true'</td></a><tr>";
+ //echo "<tr><td align='center'><a href=\"/liste/".$row[0]."\">".$count."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[1]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[2]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[3]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[4]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[5]."</a></td><td align='left'><a href=\"/liste/".$row[0]."\">".$row[6]."</a></td><td align='center'><a href=\"/liste/".$row[0]."\"><input type='checkbox' name='change' value='true'</td></a><tr>";
$count++;
}
@@ -74,7 +90,9 @@ function hide_elements()
<br><br>
<div style='width:1000px;' class='mittlereschrift'>
Da es in letzter Zeit doch öfters vorgekommen ist, dass jemand seine Adresse geändert hat, ist es jetzt möglich, einen Eintrag in der Adressliste zu ändern oder zu ergänzen.
-Wenn du deine Adresse <b>ändern</b> möchtest, dann drücke einfach auf deinen Namen in der richtigen Zeile. <a href='/new_member'>Möchtest du jemanden <b>hinzufügen</b>, dann drücke bitte <u>hier</u>.</a>
+Wenn du deine Adresse <b>ändern</b> möchtest, dann klicke in der richtigen Zeile 'ändern' an. <a href='/new_member'>Möchtest du jemanden <b>hinzufügen</b>, dann drücke bitte <u>hier</u>.</a>
+<br><br>
+Mitglied <a href='/new_member'><u>hinzufügen</u></a>
</div>
<br><br>