phpBMS

Changeset 285 for trunk/phpbms/help

Show
Ignore:
Timestamp:
08/27/07 14:05:27 (5 years ago)
Author:
brieb
Message:

Merging object oriented branch back into trunk.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/help/index.php

    r205 r285  
    4040         
    4141        $querystatement="SELECT displayname,version from modules ORDER BY id"; 
    42         $queryresult=mysql_query($querystatement,$dblink); 
     42        $queryresult=$db->query($querystatement); 
    4343 
    44         function displayVersions($queryresult){ 
     44        function displayVersions($db,$queryresult){ 
    4545                if($queryresult){ 
    46                         while($therecord=mysql_fetch_array($queryresult)){ 
     46                        while($therecord=$db->fetchArray($queryresult)){ 
    4747                                if($therecord["displayname"]!="Base"){ 
    4848                                        echo $therecord["displayname"].": "; 
     
    5959        <div class="helpDivs"> 
    6060                <div class="helpSectionDivs"> 
    61                         <p align="right" style="float:right;"><img src="<?php echo $_SESSION["app_path"]?>common/image/logo.png" alt="phpBMS Logo" width="85" height="22"/></p> 
     61                        <p align="right" style="float:right;"><img src="<?php echo APP_PATH?>common/image/logo.png" alt="phpBMS Logo" width="85" height="22"/></p> 
    6262                        <h3>phpBMS - Commercial Open Source Business Management Web Application</h3> 
    63                         <p class="small">v<?php displayVersions($queryresult)?></p> 
     63                        <p class="small">v<?php displayVersions($db,$queryresult)?></p> 
    6464                        <p>Copyright &reg; 2004-2007 Kreotek, LLC. All Rights Reserved. phpBMS, and the phpBMS logo are trademarks of Kreotek, LLC.</p> 
    6565                        <p> 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.