summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAngelo Cuccato <cuccato@web.de>2010-11-08 23:42:21 +0100
committerAngelo Cuccato <cuccato@web.de>2010-11-08 23:42:21 +0100
commit3b6e2b24b10ac6230f4f722e015b2c03b49e5dbb (patch)
tree8761aa5fffe6c9df314b1767a605ba1bc74daa03 /includes
parent0059fd16dd903abc5417e3f4c8c6a9c1fdb3ab26 (diff)
change table style
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/funktion_db_list.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/includes/funktion_db_list.php b/includes/funktion_db_list.php
index 8b64297e..9393e97e 100755
--- a/includes/funktion_db_list.php
+++ b/includes/funktion_db_list.php
@@ -12,9 +12,10 @@ function funktion_db_list($Table_Name)
$Anzahl_Felder = mysql_num_fields($Erg);
- echo "<table border=1>";
+ echo "<table class=\"border\" cellpadding=\"2\" cellspacing=\"1\">";
+ echo "<caption>DB: $Table_Name</caption>";
- echo "<tr>";
+ echo "<tr class=\"contenttopic\">";
for ($m = 0 ; $m < $Anzahl_Felder ; $m++)
{
echo "<th>". mysql_field_name($Erg, $m). "</th>";
@@ -23,7 +24,7 @@ function funktion_db_list($Table_Name)
for ($n = 0 ; $n < $Zeilen ; $n++)
{
- echo "<tr>";
+ echo "<tr class=\"content\">";
for ($m = 0 ; $m < $Anzahl_Felder ; $m++)
{
echo "<td>".mysql_result($Erg, $n, $m). "</td>";
@@ -44,7 +45,7 @@ function funktion_db_element_list_2row( $TopicName, $SQL)
$Erg = mysql_query($SQL, $con);
echo mysql_error($con);
- echo "<tr class=\"contenttopic\">";
+ echo "<tr class=\"contenttopic\">";
for ($m = 0 ; $m < mysql_num_fields($Erg) ; $m++)
{
echo "<th>". mysql_field_name($Erg, $m). "</th>";