PDA

View Full Version : Please vb4 alternative template code


WassoufTunClub
09-11-2010, 02:26 PM
Please vb4 alternative template code
from vb3 ---> vb4

hook :global start

require_once(DIR . '/includes/class_xml.php');
$xml_parser =& new vB_XML_Parser(false,DIR . '/dimo/dimo.xml');
$content = $xml_parser->parse();

$dimo_width = $content['bannerWidth'];
$dimo_height = $content['bannerHeight'];
$dimo_speed = $content['transitionSpeed'];

eval('$dimo_var = "' . fetch_template('dimo_slide) . '";');

compwhizii
09-15-2010, 02:09 AM
We need a bit more information than a snippet of code. What does this do? Where is $dimo_var used? Details.