Changeset 302 for trunk/aktuality
- Timestamp:
- Jan 20, 2011, 6:37:24 AM (14 years ago)
- Location:
- trunk/aktuality
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aktuality/index.php
r252 r302 16 16 if(array_key_exists('category', $_GET)) $Category = $_GET['category'] * 1; 17 17 if(array_key_exists('category', $_POST)) $Category = $_POST['category'] * 1; 18 $DbResult = $this->Database->select('NewsCategory', '*', 'Id='.$Category );18 $DbResult = $this->Database->select('NewsCategory', '*', 'Id='.$Category.' ORDER BY Sequence'); 19 19 if($DbResult->num_rows > 0) 20 20 { -
trunk/aktuality/news.php
r252 r302 94 94 $this->NewsSetting = array(); 95 95 $I = 1; 96 $DbResult = $this->Database->select('NewsCategory', '*' );96 $DbResult = $this->Database->select('NewsCategory', '*', '1 ORDER BY Sequence'); 97 97 while($NewsCategory = $DbResult->fetch_array()) 98 98 {
Note:
See TracChangeset
for help on using the changeset viewer.