Changeset 1409 in ExiteCMS for themes/PLi-Fusion/PLiTheme/php-files/themes/PLiTheme/theme_functions.php
- Timestamp:
- 05/15/08 22:46:07 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
themes/PLi-Fusion/PLiTheme/php-files/themes/PLiTheme/theme_functions.php
r1346 r1409 86 86 // get the download statistics for the required download records 87 87 $total = 0; 88 $result = dbquery("SELECT * FROM ".$db_prefix."downloads WHERE download_bar > '0' ORDER BY download_bar DESC");88 $result = dbquery("SELECT * FROM ".$db_prefix."downloads WHERE download_bar > '0' ORDER BY download_bar ASC"); 89 89 while ($data = dbarray($result)) { 90 90 $access = true; … … 109 109 $font2png['font_text'] = $data['download_title']; 110 110 $data['image_url'] = font2image($font2png); 111 $size = getimagesize(PATH_ROOT.$data['image_url']); 112 $data['image_height'] =$size[1]; 113 $data['image_width'] = $size[0]; 111 114 $download[] = $data; 112 115 $total += $data['download_count'];
Note: See TracChangeset
for help on using the changeset viewer.
