/********************************************** GAME **********************************************/ /**************************************************************************************************/ case '2048': Access2048(); break; case 'matchesGame': AccessMatchesGame(); break; case 'morpion': morpion(); break; case 'puissance4': puissance4(); break; case 'rpg': rpg(); break; //ERROR PAGE WHEN WRONG URL //ERROR PAGE WHEN WRONG URL default: error(); } //Include the layout of the website require './View/layout.view.php'; function home() { global $page; $page['title'] = 'Accueil'; $page['class'] = 'VHome'; $page['method'] = 'showHome'; $page['arg'] = 'Html/accueil.html';
function sc_rpg() { return rpg($this->postInfo['user_join'], $this->postInfo['user_plugin_forum_posts']); }