yes the instructions are perfect, the problem is me
I have a file imageflow1.php and a folder ImageFlow
Script imageflow1 :
PHP Code:
<?php
require_once('global.php');
gzip();
dbconn(true);
maxsysop();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>chargement</title>
</head>
<body>
<link rel="stylesheet" href="ImageFlow/screen.css" type="text/css" media="screen" />
<script language="JavaScript" type="text/javascript" src="ImageFlow/imageflow.js"></script>
<div align="center">
<?php
if($CURUSER)
{
$query="SELECT id, name, size, descr, seeders, leechers, t_image FROM torrents ORDER BY added DESC LIMIT 20";
$result=mysql_query($query);
{
?>
<div id="imageflow">
<div id="loading">
<b>chargement</b><br/>
<img src="ImageFlow/loading.gif" width="208" height="13" alt="loading" />
</div>
<div id="images">
<?php
while($row = mysql_fetch_assoc($result))
{
?>
<img src="<?=$row["t_image"]?>"width="130" height="150" longdesc="details.php?id=<?=$row["id"]?>" alt="<br><br><br><font size=2px color=black><br><em><?=$row["name"]?></em></font><br> <font color=black>Seeder</font> <font color=green><?=$row["seeders"]?></font><br> <font color=black>Leecher</font> <font color=red><?=$row["leechers"]?></font><br> <font color=black>Taille:</font> <font color=#006cfc><?=mksize($row["size"])?></font><br />" />
<?php
}
?>
</div>
<div id="captions"></div>
<div id="scrollbar">
<div id="slider"></div>
</div>
</div>
</div>
<?php
}
}
?>
</body>
</html>
<?php
?>