Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>
<?php
if (isset($_GET['galeria']){
$galeria=$_GET['galeria'];
print "Galeria de Fotos de $galeria";
}
?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="*,80" cols="*" frameborder="NO" border="0" framespacing="0">
<frameset cols="*,80" frameborder="NO" border="0" framespacing="0">
<frame src="/Galeria/main.php" name="mainFrame">
<frame src="/Galeria/banner.php" name="rightFrame" scrolling="NO" noresize>
</frameset>
<frame src=
<?php
if (isset($_GET['galeria']){
$galeria=$_GET['galeria'];
print "/Galeria/preview.php?galeria=$galeria";
}
?>
name="bottomFrame" scrolling="NO" noresize >
</frameset>
<noframes><body>
</body></noframes>
</html>