wenn ich bei den activity highscore-spiele ein spiel spiele und dann den Score speicher will:
Code: Alles auswählen
Fatal error: Cannot redeclare class template in /usr/export/www/vhosts/funnetwork/hosting/bauerthomas/Forum/includes/template.php on line [b]74[/b]
kann mir jemand helfen?
hier die zeile 74 bis 87 der angegebenen php.datei:
Code: Alles auswählen
class Template {
var $classname = "Template";
// variable that holds all the data we'll be substituting into
// the compiled templates.
// ...
// This will end up being a multi-dimensional array like this:
// $this->_tpldata[block.][iteration#][child.][iteration#][child2.][iteration#][variablename] == value
// if it's a root-level variable, it'll be like this:
// $this->vars[varname] == value or $this->_tpldata['.'][0][varname] == value
// array "vars" is added for easier access to data
var $_tpldata = array('.' => array(0 => array()));
var $vars;
// Hash of filenames for each template handle
bzw. hier die komplette template.php datei als txt:
http://bauerthomas.ba.funpic.de/template.txt