Changeset 445 for beta/inc/html.php
- Timestamp:
- Feb 22, 2009, 5:46:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
beta/inc/html.php
r405 r445 62 62 <meta name=\"keywords\" content=\"".$this->CfgChck("keywords")."\" /> 63 63 <link rel=\"stylesheet\" type=\"text/css\" href=\"styles/style.css\" /> 64 <script type=\"text/javascript\" src=\"styles/global.js\"></script> 64 65 <!--[if IE]><link rel=\"stylesheet\" type=\"text/css\" href=\"styles/ie.css\" /><![endif]--> 65 66 </head> … … 207 208 public function ShowNews ($kategorie) 208 209 { 210 global $db_webu; 211 209 212 if ($kategorie == "all") 210 213 { … … 215 218 $where = "WHERE `category` = '".$kategorie."'"; 216 219 } 217 $this -> db -> select_db( "wow_web");220 $this -> db -> select_db($db_webu); 218 221 $sql = $this -> db -> query("SELECT * FROM `articles`".$where."ORDER BY `date` DESC;"); 219 222 if ($sql -> num_rows > 0) … … 258 261 <tr> 259 262 <td>Sekce : <a href=\"?page=".$link."\">".$cat."</a></td> 260 <td> Zork</td>263 <td>".$row["autor"]."</td> 261 264 </tr> 262 265 </table>
Note:
See TracChangeset
for help on using the changeset viewer.