| Apache Linux webd001.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 uid=2234(oyaide) gid=100(users) groups=100(users) server ip : 213.186.33.18 | your ip : 216.73.216.159 safemode OFF > / home / oyaide / www / colab.be / swf / homeSlider / |
| Filename | /home/oyaide/www/colab.be/swf/homeSlider/frise.php |
| Size | 493 |
| Permission | rw----r-- |
| Owner | oyaide : users |
| Create time | 18-Mar-2009 09:56 |
| Last modified | 18-Mar-2009 09:55 |
| Last accessed | 25-Jun-2009 19:35 |
| Actions | edit | rename | delete | download (gzip) |
| View | text | code | image |
<?php
include('../../admin/globals/inc.mysql.php');
$xml = '<?xml version="1.0"?>
<IMAGES>';
$q = "select * from tbl_marques order by title ASC";
$r = mysql_query($q);
while($tab = mysql_fetch_array($r)){
if ($tab['img']!=""){
$size = getimagesize('../../upload_images/marques/'.$tab['img']);
$xml .= '
<IMG urlimage="upload_images/marques/'.$tab['img'].'" url="index.php?id=2&idMarque='.$tab['id'].'" height="'.$size[1].'" />';
}
}
$xml .= '
</IMAGES>';
echo $xml;
?>
include('../../admin/globals/inc.mysql.php');
$xml = '<?xml version="1.0"?>
<IMAGES>';
$q = "select * from tbl_marques order by title ASC";
$r = mysql_query($q);
while($tab = mysql_fetch_array($r)){
if ($tab['img']!=""){
$size = getimagesize('../../upload_images/marques/'.$tab['img']);
$xml .= '
<IMG urlimage="upload_images/marques/'.$tab['img'].'" url="index.php?id=2&idMarque='.$tab['id'].'" height="'.$size[1].'" />';
}
}
$xml .= '
</IMAGES>';
echo $xml;
?>