<?php
/*********************/
/*                   */
/*  Version : 5.1.0  */
/*  Author  : RM     */
/*  Comment : 071223 */
/*                   */
/*********************/

echo "<html>\r\n<head>\r\n<title>ScreenShot</title>\r\n</head>\r\n<script language=\"javascript\">\r\n\tfunction AbreJanela(a){\r\n\t\tvar a = window.open('screenshots.php?id='+a,'ScreenShot','height=400, width=455');\r\n\t}\r\n</script>\r\n<link href=\"estilo.css\" \t\trel=\"stylesheet\" type=\"text/css\">\r\n<body>\r\n";
if ( !$id )
{
    echo "<table width=\"605\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" vspace=\"0\">\r\n\t<tr>\r\n\t\t<td>\r\n\t\t\t<table width=\"90%\" border=\"0\" cellpadding=\"3\" cellspacing=\"3\" align=\"center\" class=\"screentable\">\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td colspan=\"4\" class=\"screentitulo\">SCREENSHOT's</td>\r\n\t\t\t\t</td>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(1)\" class=\"screenlink\"><img src=\"images/galeria/screenshot_1_thumb.gif\"></a></td>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(2);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_2_thumb.gif\"></a></td>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(3);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_3_thumb.gif\"></a></td>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(4);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_4_thumb.gif\"></a></td>\r\n\t\t\t\t</tr>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(5);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_5_thumb.gif\"></a></td>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(6);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_6_thumb.gif\"></a></td>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(7);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_7_thumb.gif\"></a></td>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(8);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_8_thumb.gif\"></a></td>\r\n\t\t\t\t</tr>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(1)\" class=\"screenlink\"><img src=\"images/galeria/screenshot_1_thumb.gif\"></a></td>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(2);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_2_thumb.gif\"></a></td>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(3);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_3_thumb.gif\"></a></td>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(4);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_4_thumb.gif\"></a></td>\r\n\t\t\t\t</tr>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(5);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_5_thumb.gif\"></a></td>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(6);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_6_thumb.gif\"></a></td>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(7);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_7_thumb.gif\"></a></td>\r\n\t\t\t\t\t<td class=\"screentd\" height=\"110\" valign=\"middle\"><a href=\"javascript:AbreJanela(8);\" class=\"screenlink\"><img src=\"images/galeria/screenshot_8_thumb.gif\"></a></td>\r\n\t\t\t\t</tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n</table>\r\n";
}
if ( $id )
{
    echo "<link href=\"estilo.css\" \t\trel=\"stylesheet\" type=\"text/css\">\r\n<body marginheight=\"0\" marginwidth=\"0\" leftmargin=\"0\" leftmargin=\"0\" topmargin=\"0\" class=\"screenbody\">\r\n<table width=\"440\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" vspace=\"0\" hspace=\"0\">\r\n\t<tr>\r\n\t\t<td valign=\"top\">\r\n\t\t\t<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"2\" align=\"center\" class=\"screentable\">\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td colspan=\"4\" class=\"screentitulo\">SCREENSHOT ";
    echo $id;
    echo "</td>\r\n\t\t\t\t</td>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td class=\"screentd\" valign=\"middle\"><img src=\"images/galeria/screenshot_";
    echo $id;
    echo ".jpg\"></td>\r\n\t\t\t\t</tr>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td colspan=\"4\" class=\"screentd\"><a href=\"javascript:window.close();\" class=\"screenlink2\">Fechar Janela</a></td>\r\n\t\t\t\t</td>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n</table>\r\n</body>\r\n";
}
echo "</body>\r\n</html>\r\n";
?>
