Tfe

Ongi etorri tfe-ren webgunera...

Old stuff/old_sites/amaury/photoblog/html/view.php

(Deskargatu)
<html>
<head>
<style type="text/css">
body
{
    background-color:black;
    color:#ccc;
}




</style>

</head>


<body>
<center>

<? 
    $cat = preg_replace("/[^a-zA-Z0-9]\_\-]/","",$_GET['cat']);
    $file = preg_replace("/[^a-zA-Z0-9]\_\-]/","",$_GET['file']);
    print "<p>$file</p>";
    print "<div width=\"400px\" style=\"border:1px solid #777;width:400px;padding:2px;background-color:#333;\">    ";

    if (is_dir("portfolio/$cat"))
    {
	if (file_exists("portfolio/$cat/images/$file"))
	{
	    echo "<img width=\"398px\" src=\"portfolio/$cat/images/$file\" alt=\"image\" />";
	}
	
    
    
    
    }
    
    
    
?>

</div></center>



</body>
</html>