Changeset 285 for trunk/phpbms/help
- Timestamp:
- 08/27/07 14:05:27 (5 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/help/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/help/index.php
r205 r285 40 40 41 41 $querystatement="SELECT displayname,version from modules ORDER BY id"; 42 $queryresult= mysql_query($querystatement,$dblink);42 $queryresult=$db->query($querystatement); 43 43 44 function displayVersions($ queryresult){44 function displayVersions($db,$queryresult){ 45 45 if($queryresult){ 46 while($therecord= mysql_fetch_array($queryresult)){46 while($therecord=$db->fetchArray($queryresult)){ 47 47 if($therecord["displayname"]!="Base"){ 48 48 echo $therecord["displayname"].": "; … … 59 59 <div class="helpDivs"> 60 60 <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> 62 62 <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> 64 64 <p>Copyright ® 2004-2007 Kreotek, LLC. All Rights Reserved. phpBMS, and the phpBMS logo are trademarks of Kreotek, LLC.</p> 65 65 <p>