Skip to content
Snippets Groups Projects
games.php 310 B
Newer Older
  • Learn to ignore specific revisions
  • <?php
    
    $games = $DB->GetAll("SELECT * FROM games");
    $smarty->assign("games", $games);
    
    
    $output = $smarty->fetch("games.tpl");
    $smarty->assign("title", "Games");
    $smarty->assign("body", $output);
    
    $output = file_get_contents("../static/fragments/Games-secondary.txt");
    $smarty->assign("secondary",$output);
    ?>