From 238652b4eb9a56a648742d6eb77f64fb537a1a67 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sat, 26 Feb 2005 22:05:16 +0000 Subject: [PATCH] Fix html_page_start --- include/ac_common.php | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/include/ac_common.php b/include/ac_common.php index f7c5673f1..3e5c1958b 100644 --- a/include/ac_common.php +++ b/include/ac_common.php @@ -143,21 +143,23 @@ function html_page_start($p_theme="",$p_script="") if ( $p_theme != "") { $Res=ExecSql($cn,"select the_filestyle from theme where the_name='".$p_theme."'"); - if (pg_NumRows($Res)==0) $style="style.css"; + if (pg_NumRows($Res)==0) + $style="style.css"; else { $s=pg_fetch_array($Res,0); $style=$s['the_filestyle']; - } else { - $style="style.css"; - } // end if - echo ''; - echo ""; - echo " - Gnu Accountancy - - - "; - echo ""; + } + }else { + $style="style.css"; + } // end if + echo ''; + echo ""; + echo " + Gnu Accountancy + + + "; + echo ""; } /* function html_page_stop() * Purpose :