die heb ik gezien ja...
maar flash generator studio is niet iets wat je zomaar in je winkelwagentje legt bij de Appie....
ik zat t scrippie wat ik nu gebruik ff laten zien..
PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
| <?
$imagedir = "large";
$thumbdir = "thumbnails";
$columns = 20;
?>
<html>
<head>
<title>DENKi: Digital Art Gallery</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../standard.css" type="text/css">
</head>
<body>
Projects: DENKi: Digital Art Gallery:<br><br>
<table>
<tr>
<td valign="top" align="left" nowrap>
<?php
if ($show != "") {
print "[img]\"$imagedir/$show\"[/img]<br>";
} else {
print "<blockquote>Welcome to the DENKi: Digital art gallery.<br>Use the tumbnails below to navigate through the DENKi: Digital Art Gallery.</blockquote>";
}
?>
</td>
</tr>
<tr>
<td valign="top" align="center">
<table cellpadding="0" cellspacing="0">
<tr>
<?php
$i=0;
$handle=opendir($imagedir);
while (false!==($file = readdir($handle))) {
if ($file != "." &amp;&amp; $file != "..") {
print "<td><a href=gallery.php?show=$file>[img]\"$thumbdir/$file\"[/img]</a><br></td>";
$i++;
if($i == $columns) { print "</tr><tr>";
$i = 0;
}
}
}
closedir($handle);
?>
</td></tr></table></td></tr></table><br><br>All images &amp;copy; DENKi:<br>
You may download them for personal use only.</body></html>
?> |
niet letten op de ?> aan t eind dat doet t forum automatisch...
maar hier komt dus (nog) geen db bij te pas..