ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/thietkewebvumi.com/banner/ |
<?php define( 'ROOT_PATH', "../" ); require ROOT_PATH."configs.php"; // Load Base require ROOT_PATH."lib/class_info.php"; $CORE = new info(); $homeurl = $INFO['home_url']; $INFO['skin_path'] = ROOT_PATH."skin/"; require ROOT_PATH."lib/class_functions.php"; $func = new FUNC; $CORE->input = $func->get_input(); require ROOT_PATH."lib/class_db.php"; $DB = new db_driver; $DB->connect($INFO); $group = trim($CORE->input['group']); $query = $DB->query("SELECT * FROM NNCCMS_banners WHERE `group`='home' AND `pos`='center' AND `active`='1'"); header("Content-Type:text/xml"); echo '<?xml version="1.0" encoding="UTF-8"?> <banner width = "560" height = "350" backgroundColor = "0xffffff" backgroundTransparency = "100" startWith = "1" barHeight = "25" fadeTransition = "false" verticalTransition = "false" controllerTop = "false" transitionSpeed = "1" titleX = "0" titleY = "0"> <items>'; while($row = $DB->fetch_row($query)){ echo '<item> <title></title> <path>'.$row['img'].'</path> <url>'.$row['url'].'</url> <target>'.$row['target'].'</target> <bar_color>0xcd0a10</bar_color> <bar_transparency>70</bar_transparency> <slideShowTime>3</slideShowTime> </item>'; } echo '</items> </banner>'; exit(); ?>