Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"actions"-Include?
#4
Also mach in der game.tpl einfach:

Code:
{php}
$this->_tpl_vars['allowed_screens'][] = 'DIE SEITE';
{/php}

Und für actions in der game.php vor dem ganzen Code:

PHP Code:
<?php
if($_GET['screen'] == 'DIE SEITE') {
  include(
'actions/SEITE.php');
}
?>

PS: Denke, das sollte funktionieren Wink

MfG Manuel
Reply


Messages In This Thread
"actions"-Include? - by Molt - 10.11.2010, 15:21
RE: "actions"-Include? - by Lekensteyn - 10.11.2010, 15:40
RE: "actions"-Include? - by Yannici - 10.11.2010, 21:02
RE: "actions"-Include? - by SlimShady95 - 10.11.2010, 21:58
RE: "actions"-Include? - by Molt - 11.11.2010, 17:24
RE: "actions"-Include? - by SlimShady95 - 11.11.2010, 17:29
RE: "actions"-Include? - by k3v95 - 11.11.2010, 17:26



Users browsing this thread: 1 Guest(s)