/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<html>
<head>
<title><?= $title ?></title>
<style type="text/css">
body { background: #666666;color: #cccccc;font-family: tahoma, verdana, sans-serif;padding: 30px; }
img { border: 1px solid #cccccc;margin-right: 30px;vertical-align:top; }
h1 { font-size: 30pt;font-weight: bold;margin-bottom:50px; }
div { font-size: 10pt; }
span { font-size: 30pt;font-weight: bold;font-family: impact,tahoma,sans-serif;color: #888888; }
a:link,a:hover,a:active,a:visited { color: #cccccc; text-decoration:underline}
</style>
</head>
<body>
<h1><?= $title ?></h1>
<p><a href="../">back to list</a></p>
<?
// just a comment to test and remove
$desc[$d[1]] = $d[2];
{
{
if($width && $height)
{
}
}
}
$k = 0;
foreach($names as $img)
{
$i = $images[$img];
?>
<p><img src="<?=$img?>" width="<?=$i[0]?>" height="<?=$i[1]?>" alt=""><span><?=++$k?></span><div><?=htmlspecialchars($desc[$img])?></div></p>
<?
}
?>
</body>
</html>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                