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: | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Online Portfolio of Willy R.</title>
<link href="style.css" rel="stylesheet" media="screen">
<script language="JavaScript" src="fade.js"></script>
</head>
<body style="background-attachment: fixed;" background="images/index_06.jpg" >
<table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<?php
$counter=0;
$path = "links/";
$handle=opendir($path);
while ($file = readdir ($handle))
{
if (is_file($path.$file) && $file != "." && $file != "..")
{ $counter++; }
}
for ($i=0; $i < $counter; $i++)
{
$y=$y+1;
$replace = "";
while ($file = readdir ($handle)) {
$take = str_replace(".gif", $replace, $file);
echo "<td><a href=http://www.$take target=_blank>\n"
." <img src='$path$file' border=0 width=88 height=31 style='filter:alpha(opacity=50)' onmouseover='nereidFade(this,100,30,5)' onmouseout='nereidFade(this,60,50,5)'></a>\n";
}
echo "</td>\n";
if ($y % 4 == "0") echo "</tr><tr>";
}
closedir($handle);
?>
</tr>
</table>
</body>
</html> |