Posted: 2009-05-07 22:23:02
thanks man , gonna try that, ill let you know if it works out 
update:
yeah man that did it
thanks a million! for some reason there was no reference at all to the RATING in the INC file.
added the last code line:
$date_added = date($this->mdb->config['options']['date_format'], strtotime($this->data['DATEADD']));
$tpl->add_var("\$MOVIE[DATEADD]", $date_added);
$tpl->add_var("\$MOVIE[HREF]", $this->mdb->get_link(array("NUM" => $this->data['NUM'])));
$tpl->add_callback("\$MOVIE[DESCRIPTION]", "_callback_description", 1);
$tpl->add_subtpl("TRANSLATEDTITLES", $this->_templates_translatedtitles());
$tpl->add_subtpl("ACTORS", $this->_templates_names("ACTORS", "ACTOR", $this->actors));
$tpl->add_subtpl("DIRECTORS", $this->_templates_names("DIRECTORS", "DIRECTOR", $this->directors));
$tpl->add_subtpl("PRODUCERS", $this->_templates_names("PRODUCERS", "PRODUCER", $this->producers));
$tpl->add_var("\$MOVIE[RATING]", (round($this->data['RATING'])));
return $tpl;
}
and now it works perfectly

made my own star images as you can see, and now they show perfectly without me having to change the table settings in phpMyAdmin
thanks alot!
lemme know if ya need some grahpical work done, thats more my line of work
would publish my files like this , but since I edited so much to my own needs and hardcoded alot of dutch in it and ugly hardcoded image reference etc it wont be useable for much. But like i said , if nuf ppl fancy a template like this i go remake the whole thing with yet another background, although reverse engineering not that easy when I made it with trial and error lol 

update:
yeah man that did it

added the last code line:
$date_added = date($this->mdb->config['options']['date_format'], strtotime($this->data['DATEADD']));
$tpl->add_var("\$MOVIE[DATEADD]", $date_added);
$tpl->add_var("\$MOVIE[HREF]", $this->mdb->get_link(array("NUM" => $this->data['NUM'])));
$tpl->add_callback("\$MOVIE[DESCRIPTION]", "_callback_description", 1);
$tpl->add_subtpl("TRANSLATEDTITLES", $this->_templates_translatedtitles());
$tpl->add_subtpl("ACTORS", $this->_templates_names("ACTORS", "ACTOR", $this->actors));
$tpl->add_subtpl("DIRECTORS", $this->_templates_names("DIRECTORS", "DIRECTOR", $this->directors));
$tpl->add_subtpl("PRODUCERS", $this->_templates_names("PRODUCERS", "PRODUCER", $this->producers));
$tpl->add_var("\$MOVIE[RATING]", (round($this->data['RATING'])));
return $tpl;
}
and now it works perfectly


made my own star images as you can see, and now they show perfectly without me having to change the table settings in phpMyAdmin

thanks alot!
lemme know if ya need some grahpical work done, thats more my line of work

