From f6ca9aa8a178248bea61634f4f59852023ac4944 Mon Sep 17 00:00:00 2001
From: Jan Dittberner
Date: Mon, 10 May 2004 19:46:56 +0000
Subject: [PATCH] adapt to real environment
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@33 a67ec6bc-e5d5-0310-a910-815c51eb3124
---
php/domainlist.php | 8 ++++----
php/setup.php | 6 +++---
php/start.php | 6 +++---
php/tools.php | 12 ++++++++----
php/userhead.php | 10 +++++-----
5 files changed, 23 insertions(+), 19 deletions(-)
diff --git a/php/domainlist.php b/php/domainlist.php
index 36f4c8a..0ab76dc 100644
--- a/php/domainlist.php
+++ b/php/domainlist.php
@@ -10,9 +10,9 @@ include("domainstatustypes.php");
" . _("You don't have any domains registered.") . "
");
}
@@ -20,7 +20,7 @@ else {
print("
" . _("Here is a list of your currently registered domains.") . "
");
printf("
%s
%s
",
_("Domain name"), _("Status"));
- while ($row=pg_fetch_array($result)) {
+ while ($row=db_fetch_array($result)) {
printf("
%s
%s
",
$row["domainname"], get_domainstatustype_name($row["status"]));
}
@@ -31,4 +31,4 @@ else {
\ No newline at end of file
+?>
diff --git a/php/setup.php b/php/setup.php
index 00af044..9b5b8d5 100644
--- a/php/setup.php
+++ b/php/setup.php
@@ -30,7 +30,7 @@ function country_selbox($varname, $default=0) {
global $dbh;
$result=db_query($dbh, "SELECT * FROM country ORDER BY name");
printf("