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 "
-