A voir également:
- [javascript] redimensionnement image
- Image iso - Guide
- Telecharger javascript - Télécharger - Langages
- Acronis true image - Télécharger - Sauvegarde
- Image iso windows 10 - Guide
- Faststone image viewer - Télécharger - Visionnage & Diaporama
1 réponse
<?
if (isset($_GET["img"]))
{
$img = $_GET["img"];
}
else $img = 1;
//echo $img;
?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Models Viewer</title>
<style type="text/css">
<!--
@import url(../../../webfiles/setup.css);
-->
</style>
</head>
<body class="bmain">
<div class="menu" align="center"><? if ($img!=1) echo "<a href='gallery.php?img=".($img-1)."'>"; ?><img src="../../../webfiles/img/left.jpg">
<? echo "</a>"; ?>
<a href="../list.php"><img src="../../../webfiles/img/list.jpg"></a>
<? $next_file = ($img+1).".jpg";
if (file_exists($next_file)) echo "<a href='gallery.php?img=".($img+1)."'>"; ?><img src="../../../webfiles/img/right.jpg"><? echo "</a>"; ?></div>
<div class="dmainz" align="center">
<map name="map">
<area shape="rect" coords="54,42,81,71" href="../../../home.php">
</map>
<img src="../../../webfiles/img/gallery.png" usemap="#map"></div>
<div class="pix" align="center">
<a href="original/<?=$img;?>.jpg"><img src="<?=$img;?>.jpg"></a>
</div>
</body>
</html>
if (isset($_GET["img"]))
{
$img = $_GET["img"];
}
else $img = 1;
//echo $img;
?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Models Viewer</title>
<style type="text/css">
<!--
@import url(../../../webfiles/setup.css);
-->
</style>
</head>
<body class="bmain">
<div class="menu" align="center"><? if ($img!=1) echo "<a href='gallery.php?img=".($img-1)."'>"; ?><img src="../../../webfiles/img/left.jpg">
<? echo "</a>"; ?>
<a href="../list.php"><img src="../../../webfiles/img/list.jpg"></a>
<? $next_file = ($img+1).".jpg";
if (file_exists($next_file)) echo "<a href='gallery.php?img=".($img+1)."'>"; ?><img src="../../../webfiles/img/right.jpg"><? echo "</a>"; ?></div>
<div class="dmainz" align="center">
<map name="map">
<area shape="rect" coords="54,42,81,71" href="../../../home.php">
</map>
<img src="../../../webfiles/img/gallery.png" usemap="#map"></div>
<div class="pix" align="center">
<a href="original/<?=$img;?>.jpg"><img src="<?=$img;?>.jpg"></a>
</div>
</body>
</html>