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) . '";');
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) . '";');