<?php
/*-----------------------------------------------------------------------------------------
mcGalleryPRO
All code is © 2003 Marc Cagninacci.
No files may be redistributed in whole or significant part.
----------------- mcgalleryPRO IS NOT FREE SOFTWARE -------------------
You should have receive a file called license.txt in this package
--------------------------------------------------------------------------------------------*/
session_start();
if (empty($_SESSION['private_login']))
{
include "./sess.php";
exit;
}
include './header.php';
if ($Submit !='')
{
if ($sty == 1) $style = 'inset'; $w = '3px';
if ($sty == 2) $style = 'solid'; $w = '1px';
if ($sty == 3) $style = 'outset'; $w = '3px';
if ($sty2 == 1) $style2 = 'inset'; $w2 = '3px';
if ($sty2 == 2) $style2 = 'solid'; $w2 = '1px';
if ($sty2 == 3) $style2 = 'outset'; $w2 = '3px';
$fd = fopen("mcgp.css","w");
fwrite($fd, "* {\n");
fwrite($fd, "font-family: $fontface\n");
fwrite($fd, "}\n");
fwrite($fd, "INPUT, SELECT, TEXTAREA {\n");
fwrite($fd, "font-size: 10px\n");
fwrite($fd, "}\n");
fwrite($fd, "BODY\n");
fwrite($fd, "{\n");
fwrite($fd, "background-image: url('../images/$bgimage');\n");
fwrite($fd, "background-color: $bgcolor\n");
fwrite($fd, "}\n");
fwrite($fd, "a.lien2:link {\n");
fwrite($fd, "color: $linkcolor1;\n");
fwrite($fd, "font-weight: bold;\n");
fwrite($fd, "text-decoration: none\n");
fwrite($fd, "}\n");
fwrite($fd, "a.lien2:visited {\n");
fwrite($fd, "color: $linkcolor1;\n");
fwrite($fd, "font-weight: bold;\n");
fwrite($fd, "text-decoration: none\n");
fwrite($fd, "}\n");
fwrite($fd, "a.lien2:hover {\n");
fwrite($fd, "color: $hover1;\n");
fwrite($fd, "font-weight: bold;\n");
fwrite($fd, "text-decoration: none\n");
fwrite($fd, "}\n");
fwrite($fd, "a.lien1:link {\n");
fwrite($fd, "color: $linkcolor2;\n");
fwrite($fd, "text-decoration: none\n");
fwrite($fd, "}\n");
fwrite($fd, "a.lien1:visited {\n");
fwrite($fd, "color: $linkcolor2;\n");
fwrite($fd, "text-decoration: none\n");
fwrite($fd, "}\n");
fwrite($fd, "a.lien1:hover {\n");
fwrite($fd, "color: $hover2;\n");
fwrite($fd, "text-decoration: none\n");
fwrite($fd, "}\n");
fwrite($fd, ".td0 {\n");
fwrite($fd, "background-image: url('../images/$tdimage');\n");
fwrite($fd, "background-repeat:repeat-x;\n");
fwrite($fd, "background-color: $tdcolor0;\n");
fwrite($fd, "color: $fontcolor0;\n");
fwrite($fd, "}\n");
fwrite($fd, ".td1 {\n");
fwrite($fd, "background-color: $tdcolor1;\n");
fwrite($fd, "color: $fontcolor1;\n");
fwrite($fd, " }\n");
fwrite($fd, ".td1bis {\n");
fwrite($fd, "color: $fontcolor1;\n");
fwrite($fd, " }\n");
fwrite($fd, ".td2 {\n");
fwrite($fd, "background-color: $tdcolor2;\n");
fwrite($fd, "color: $fontcolor2;\n");
fwrite($fd, " }\n");
fwrite($fd, " .td3 {\n");
if ($img3 == 0) $tdcolor3 = '#FFFFFF';
fwrite($fd, "background-color: $tdcolor3;\n");
fwrite($fd, "color: $fontcolor3;\n");
fwrite($fd, " }\n");
fwrite($fd, " .img2 {\n");
fwrite($fd, "border-width: $w2;\n");
fwrite($fd, "border-color: $tdcolor2;\n");
fwrite($fd, "border-style: $style2;\n");
fwrite($fd, "padding: 0px\n");
fwrite($fd, "}");
if ($img3 == 1)
{
fwrite($fd, "\n");
fwrite($fd, ".img3 {\n");
fwrite($fd, "border-width: $w;\n");
fwrite($fd, "border-color: $tdcolor3;\n");
fwrite($fd, "border-style: $style;\n");
fwrite($fd, "padding: 0px\n");
fwrite($fd, " }");
}
fclose($fd);
$fd = fopen("mcgp.php","w");
fwrite($fd, "<?php\n$");
fwrite($fd, "fontface= \"$fontface\";\n$");
fwrite($fd, "bgimage= \"$bgimage\";\n$");
fwrite($fd, "bgcolor= \"$bgcolor\";\n$");
fwrite($fd, "fontcolor1= \"$fontcolor1\";\n$");
fwrite($fd, "tdimage= \"$tdimage\";\n$");
fwrite($fd, "tdcolor0= \"$tdcolor0\";\n$");
fwrite($fd, "fontcolor0= \"$fontcolor0\";\n$");
fwrite($fd, "fontcolor2= \"$fontcolor2\";\n$");
fwrite($fd, "linkcolor1= \"$linkcolor1\";\n$");
fwrite($fd, "linkcolor2= \"$linkcolor2\";\n$");
fwrite($fd, "hover1= \"$hover1\";\n$");
fwrite($fd, "hover2= \"$hover2\";\n$");
fwrite($fd, "tdcolor1= \"$tdcolor1\";\n$");
fwrite($fd, "tdcolor2= \"$tdcolor2\";\n$");
fwrite($fd, "style2= \"$style2\";\n$");
fwrite($fd, "style= \"$style\";\n$");
fwrite($fd, "img3= \"$img3\";\n$");
fwrite($fd, "w= \"$w\";\n$");
fwrite($fd, "w2= \"$w2\";\n$");
fwrite($fd, "fontcolor3= \"$fontcolor3\";\n$");
fwrite($fd, "tdcolor3= \"$tdcolor3\";\n");
fwrite($fd, "?>");
fclose($fd);
}
include 'mcgp.php';
?>
<html>
<head>
<title>Document sans titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
a.lien1:link { font-family: Verdana, Arial; color: #333333; text-decoration: none}
a.lien1:visited { font-family: verdana, Arial; color: #333333; text-decoration: none}
a.lien1:hover { font-family: Verdana, Arial; color: #FFFFFF; text-decoration: none}
a.lien2:link { font-family: Verdana, Arial; color: #CCCCCC; text-decoration: none}
a.lien2:visited { font-family: verdana, Arial; color: #CCCCCC; text-decoration: none}
a.lien2:hover { font-family: Verdana, Arial; color: #FF6600; text-decoration: none}
a.lien2:active { font-family: Verdana, Arial; color: #FF6600; text-decoration: none}
a.lien11:link { font-family: <?php echo $fontface; ?>l; color: <?php echo $linkcolor1; ?>; text-decoration: none}
a.lien11:visited { font-family: <?php echo $fontface; ?>; color: <?php echo $linkcolor1; ?>; text-decoration: none}
a.lien11:hover { font-family: <?php echo $fontface; ?>; color: <?php echo $hover1; ?>; text-decoration: none}
a.lien12:link { font-family: <?php echo $fontface; ?>; color: <?php echo $linkcolor2; ?>; text-decoration: none}
a.lien12:visited { font-family: <?php echo $fontface; ?>; color: <?php echo $linkcolor2; ?>; text-decoration: none}
a.lien12:hover { font-family: <?php echo $fontface; ?>; color: <?php echo $hover2; ?>; text-decoration: none}
-->
</style>
</head>
<body bgcolor="#C0C0C0">
<script language="JavaScript">
<!--
function MM_popupMsg(msg) {
alert(msg);
}
//-->
</script>
<table width="100%" border="0" cellspacing="1" cellpadding="5">
<tr>
<td width="45%" bgcolor="<?php echo $bgcolor; ?>" background="../images/<?php echo $bgimage; ?>">
<table width="90%" border="0" cellspacing="1" cellpadding="1" align="center">
<tr>
<td colspan="2" bgcolor="<?php echo $tdcolor0; ?>" background="../images/<?php echo $tdimage; ?>"><font color="<?php echo $fontcolor0; ?>" size="3" face="<?php echo $fontface; ?>">Title</font>
<font color="#FF0000" size="2"><b>[ 0 ]</b></font>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="<?php echo $tdcolor2; ?>">
<img src="../images/90_60.gif" style="border-width: <?php echo $w2; ?>;border-color: <?php echo $tdcolor2; ?>;border-style: <?php echo $style2; ?>;padding: 0px">
<font color="<?php echo $fontcolor2; ?>" size="1" face="<?php echo $fontface; ?>">Random Photo</font>
</td>
</tr>
<tr>
<tr>
<td colspan="2" bgcolor="<?php echo $tdcolor1; ?>"><font color="<?php echo $fontcolor1; ?>" size="2" face="<?php echo $fontface; ?>">Albums</font>
<font color="#FF0000" size="2"><b>[ 1 ]</b></font></td>
</tr>
<tr>
<td width="68%" bgcolor="<?php echo $tdcolor2; ?>"><font size="1"><a href="#" class="lien12">One album </a></font> <font color="#FF0000" size="2"><b>[ 2 ]</b></font></td>
<td width="32%" bgcolor="<?php echo $tdcolor2; ?>"><font color="<?php echo $fontcolor2; ?>" size="1" face="<?php echo $fontface; ?>">17
photos </font></td>
</tr>
<tr>
<td bgcolor="<?php echo $tdcolor2; ?>"><font size="1"><a href="#" class="lien12">An other album </a></font></td>
<td bgcolor="<?php echo $tdcolor2; ?>"><font color="<?php echo $fontcolor2; ?>" size="1" face="<?php echo $fontface; ?>">18
photos </font></td>
</tr>
<tr>
<td colspan="2" bgcolor="<?php echo $tdcolor1; ?>"><div align="right"></div></td>
</tr>
</table></td>
<td rowspan="3" valign="top">
<form name="form1" method="post" action="design.php">
<table width="90%" border="0" align="center" cellpadding="1" cellspacing="0">
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">Background
Color</font></div></td>
<td><input type="text" size="10" name="bgcolor" value="<?php echo $bgcolor; ?>"></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">or Background
Image</font></div></td>
<td><input name="bgimage" type="text" value="<?php echo $bgimage; ?>" size="12">
<a href="#" onClick="MM_popupMsg('Fill the field with your image name, and put this picture in the images folder,\n or leave blank if you don\'t need background picture.')"><img src="../images/b_help.gif" border="0" alt="" align="middle"></a></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">Font
Face</font></div></td>
<td><input name="fontface" type="text" value="<?php echo $fontface; ?>" size="12"></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><div align="right"><font face="verdana" color="#FF0000" size="2"><b>[ 0 ]</b></font> <font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">TD
Background Color 0</font></div></td>
<td><input type="text" size="10" name="tdcolor0" value="<?php echo $tdcolor0; ?>"></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">or TD Background
Image 0</font></div></td>
<td><input name="tdimage" type="text" value="<?php echo $tdimage; ?>" size="12">
<a href="#" onClick="MM_popupMsg('Fill the field with your image name, and put this picture in the images folder,\n or leave blank if you don\'t need background picture.')"><img src="../images/b_help.gif" border="0" alt="" align="middle"></a></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">Font
Color 0</font></div></td>
<td><input type="text" size="10" name="fontcolor0" value="<?php echo $fontcolor0; ?>"></td>
</tr>
<tr>
<tr>
<td> </td>
<td> </td>
</tr>
<td><div align="right"><font face="verdana" color="#FF0000" size="2"><b>[ 1 ]</b></font> <font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">TD
Background Color 1</font></div></td>
<td><input type="text" size="10" name="tdcolor1" value="<?php echo $tdcolor1; ?>"></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">Font
Color 1</font></div></td>
<td><input type="text" size="10" name="fontcolor1" value="<?php echo $fontcolor1; ?>"></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">Link
Color 1</font></div></td>
<td><input type="text" size="10" name="linkcolor1" value="<?php echo $linkcolor1; ?>"></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">Link
"hover" Color 1</font></div></td>
<td><input type="text" size="10" name="hover1" value="<?php echo $hover1; ?>"></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"></font></div></td>
<td> </td>
</tr>
<tr>
<td><div align="right"><font face="verdana" color="#FF0000" size="2"><b>[ 2 ]</b></font> <font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">TD
Background Color 2</font></div></td>
<td><input type="text" size="10" name="tdcolor2" value="<?php echo $tdcolor2; ?>"></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">Font
Color 2</font></div></td>
<td><input type="text" size="10" name="fontcolor2" value="<?php echo $fontcolor2; ?>"></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">Link
Color 2</font></div></td>
<td><input type="text" size="10" name="linkcolor2" value="<?php echo $linkcolor2; ?>"></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">Link
"hover" Color 2</font></div></td>
<td><input type="text" size="10" name="hover2" value="<?php echo $hover2; ?>"></td>
</tr>
<tr>
<td valign="top"><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">
Random Photo Style</font></div></td>
<td valign="top">
<?php
if ($style2 == 'inset') $sty21 = 'checked';
elseif ($style2 == 'solid') $sty22 = 'checked';
elseif ($style2 == 'outset') $sty23 = 'checked';
?>
<input type="radio" name="sty2" value="1" <?php echo $sty21; ?>> <font face="verdana" size="1">in</font>
<br><input type="radio" name="sty2" value="2" <?php echo $sty22; ?>> <font face="verdana" size="1">flat</font>
<br><input type="radio" name="sty2" value="3" <?php echo $sty23; ?>> <font face="verdana" size="1">out</font>
</td>
</tr>
<tr> <td> </td> <td> </td></tr>
<tr>
<td colspan="2" align="center"><font face="verdana" color="#FF0000" size="2"><b>[3 ]</b></font> <font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">
Style for Thumbnails and Pictures</font></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">Font
Color 3</font></div></td>
<td><input type="text" size="10" name="fontcolor3" value="<?php echo $fontcolor3; ?>"></td>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">TD
White Background, shadowed pictures<br><br>
Other style, set it below</font></div></td>
<td>
<?php
if ($img3 == 0) $img31 = 'checked';
elseif ($img3 == 1) $img32 = 'checked';
?>
<input type="radio" name="img3" value="0"<?php echo $img31; ?>><br><br>
<input type="radio" name="img3" value="1"<?php echo $img32; ?>>
</tr>
<tr>
<td><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">TD
Background Color 3</font></div></td>
<td><input type="text" size="10" name="tdcolor3" value="<?php echo $tdcolor3; ?>"></td>
</tr>
<tr>
<td valign="top"><div align="right"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">
Style</font></div></td>
<td valign="top">
<?php
if ($style == 'inset') $sty1 = 'checked';
elseif ($style == 'solid') $sty2 = 'checked';
elseif ($style == 'outset') $sty2 = 'checked';
?>
<input type="radio" name="sty" value="1" <?php echo $sty1; ?>> <font face="verdana" size="1">in</font>
<br><input type="radio" name="sty" value="2" <?php echo $sty2; ?>> <font face="verdana" size="1">flat</font>
<br><input type="radio" name="sty" value="3" <?php echo $sty3; ?>> <font face="verdana" size="1">out</font>
</td>
</tr>
<tr>
<td><div align="right"></div></td>
<td> </td>
</tr>
<tr>
<td><div align="right"></div></td>
<td><input type="submit" name="Submit" value="Envoyer"></td>
</tr>
</table>
</form>
<?php
echo '<table border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="black"><tr>';
echo '<td bgcolor="#CCCCCC" align="center"><font face="verdana" size="1" color="black">'.$l_Web_Colors.'</font></td></tr>';
echo '<tr><td>';
echo '<table border="0" cellspacing="0" cellpadding="0" align="center"><tr>';
$l=0;
for ($i=0; $i<256; $i+=51)
{
for ($j=0; $j<256 ; $j+=51)
{
for ($k=0; $k < 256; $k+=51)
{
$coul = sprintf("%02X%02X%02X", $i, $j, $k);
echo '<td bgcolor="#'.$coul.'"><img src="../images/blank.gif" height="15" width="15" border="0" alt="#'.$coul.'"></td>';
$l++;
if ($l%16 == 0) { echo '</tr><tr>'; }
}
}
}
echo '</tr></table></td></tr></table>';
?>
</td>
</tr>
<tr>
<td width="45%" bgcolor="<?php echo $bgcolor; ?>"background="../images/<?php echo $bgimage; ?>">
<table width="90%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr>
<td bgcolor="<?php echo $tdcolor1; ?>">
<table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
<tr>
<td width="73%" bgcolor="<?php echo $tdcolor1; ?>" background="../images/<?php echo $tdimage; ?>"> <div align="center"><font color="<?php echo $fontcolor1; ?>" size="2" face="<?php echo $fontface; ?>">One
album</font></div></td>
<td width="27%" bgcolor="<?php echo $tdcolor1; ?>" background="../images/<?php echo $tdimage; ?>"> <div align="right"><font color="<?php echo $fontcolor1; ?>" size="1" face="<?php echo $fontface; ?>">7
photos</font></div></td>
</tr>
<tr bgcolor="<?php echo $tdcolor3; ?>">
<td colspan="2" align="center">
<font face="verdana" color="red" size="2"><b>[ 3 ]</b></font>
<?php
if ($img3 != 1)
{
?>
<table border="0" align="center"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td rowspan="2" colspan="2"><img src="../images/90_60.gif" width="90" height="60"></td>
<td><img src="../images/ombre_1.gif" alt=""></td>
</tr>
<tr>
<td><img src="../images/ombre_2.gif" alt="" height="52" width="6"></td>
</tr>
<tr>
<td><img src="../images/ombre_3.gif" alt=""></td>
<td><img src="../images/ombre_4.gif" alt="" height="8" width="83"></td>
<td><img src="../images/ombre_5.gif" alt=""></td>
</tr>
</table>
<center><font face="<?php echo $fontface; ?>" color="<?php echo $fontcolor3; ?>" size="1"><b>title</b></font></center>
</td><td>
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td rowspan="2" colspan="2"><img src="../images/90_60.gif" width="90" height="60"></td>
<td><img src="../images/ombre_1.gif" alt=""></td>
</tr>
<tr>
<td><img src="../images/ombre_2.gif" alt="" height="52" width="6"></td>
</tr>
<tr>
<td><img src="../images/ombre_3.gif" alt=""></td>
<td><img src="../images/ombre_4.gif" alt="" height="8" width="83"></td>
<td><img src="../images/ombre_5.gif" alt=""></td>
</tr>
</table>
<center><font face="<?php echo $fontface; ?>" color="<?php echo $fontcolor3; ?>" size="1"><b>title</b></font></center>
</td><td>
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td rowspan="2" colspan="2"><img src="../images/90_60.gif" width="90" height="60"></td>
<td><img src="../images/ombre_1.gif" alt=""></td>
</tr>
<tr>
<td><img src="../images/ombre_2.gif" alt="" height="52" width="6"></td>
</tr>
<tr>
<td><img src="../images/ombre_3.gif" alt=""></td>
<td><img src="../images/ombre_4.gif" alt="" height="8" width="83"></td>
<td><img src="../images/ombre_5.gif" alt=""></td>
</tr>
</table>
<center><font face="<?php echo $fontface; ?>" color="<?php echo $fontcolor3; ?>" size="1"><b>title</b></font></center>
</td></tr><tr><td>
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td rowspan="2" colspan="2"><img src="../images/90_60.gif" width="90" height="60"></td>
<td><img src="../images/ombre_1.gif" alt=""></td>
</tr>
<tr>
<td><img src="../images/ombre_2.gif" alt="" height="52" width="6"></td>
</tr>
<tr>
<td><img src="../images/ombre_3.gif" alt=""></td>
<td><img src="../images/ombre_4.gif" alt="" height="8" width="83"></td>
<td><img src="../images/ombre_5.gif" alt=""></td>
</tr>
</table>
<center><font face="<?php echo $fontface; ?>" color="<?php echo $fontcolor3; ?>" size="1"><b>title</b></font></center>
</td><td>
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td rowspan="2" colspan="2"><img src="../images/90_60.gif" width="90" height="60"></td>
<td><img src="../images/ombre_1.gif" alt=""></td>
</tr>
<tr>
<td><img src="../images/ombre_2.gif" alt="" height="52" width="6"></td>
</tr>
<tr>
<td><img src="../images/ombre_3.gif" alt=""></td>
<td><img src="../images/ombre_4.gif" alt="" height="8" width="83"></td>
<td><img src="../images/ombre_5.gif" alt=""></td>
</tr>
</table>
<center><font face="<?php echo $fontface; ?>" color="<?php echo $fontcolor3; ?>" size="1"><b>title</b></font></center>
</td><td>
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td rowspan="2" colspan="2"><img src="../images/90_60.gif" width="90" height="60"></td>
<td><img src="../images/ombre_1.gif" alt=""></td>
</tr>
<tr>
<td><img src="../images/ombre_2.gif" alt="" height="52" width="6"></td>
</tr>
<tr>
<td><img src="../images/ombre_3.gif" alt=""></td>
<td><img src="../images/ombre_4.gif" alt="" height="8" width="83"></td>
<td><img src="../images/ombre_5.gif" alt=""></td>
</tr>
</table>
<center><font face="<?php echo $fontface; ?>" color="<?php echo $fontcolor3; ?>" size="1"><b>title</b></font></center>
</td></tr></table>
<?php
}
else
{
?>
<br>
<table border="0" align="center">
<tr>
<td align="center">
<img src="../images/90_60.gif" style="border-width: <?php echo $w; ?>;border-color: <?php echo $tdcolor3; ?>;border-style: <?php echo $style; ?>;padding: 0px">
<br><font face="<?php echo $fontface; ?>" color="<?php echo $fontcolor3; ?>" size="1"><b>title</b></font>
</td>
<td align="center">
<img src="../images/90_60.gif" style="border-width: <?php echo $w; ?>;border-color: <?php echo $tdcolor3; ?>;border-style: <?php echo $style; ?>;padding: 0px">
<br><font face="<?php echo $fontface; ?>" color="<?php echo $fontcolor3; ?>" size="1"><b>title</b></font>
</td>
<td align="center">
<span><img src="../images/90_60.gif" style="border-width: <?php echo $w; ?>;border-color: <?php echo $tdcolor3; ?>;border-style: <?php echo $style; ?>;padding: 0px">
<br><font face="<?php echo $fontface; ?>" color="<?php echo $fontcolor3; ?>" size="1"><b>title</b></font>
</td>
</tr><tr>
<td align="center">
<img src="../images/90_60.gif" style="border-width: <?php echo $w; ?>;border-color: <?php echo $tdcolor3; ?>;border-style: <?php echo $style; ?>;padding: 0px">
<br><font face="<?php echo $fontface; ?>" color="<?php echo $fontcolor3; ?>" size="1"><b>title</b></font>
</td>
<td align="center">
<img src="../images/90_60.gif" style="border-width: <?php echo $w; ?>;border-color: <?php echo $tdcolor3; ?>;border-style: <?php echo $style; ?>;padding: 0px">
<br><font face="<?php echo $fontface; ?>" color="<?php echo $fontcolor3; ?>" size="1"><b>title</b></font>
</td>
<td align="center">
<span><img src="../images/90_60.gif" style="border-width: <?php echo $w; ?>;border-color: <?php echo $tdcolor3; ?>;border-style: <?php echo $style; ?>;padding: 0px">
<br><font face="<?php echo $fontface; ?>" color="<?php echo $fontcolor3; ?>" size="1"><b>title</b></font>
</td>
</tr><tr></table><br>
<?php
}
?>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="<?php echo $tdcolor1; ?>"> <div align="right"><font color="<?php echo $fontcolor1; ?>" size="1" face="<?php echo $fontface; ?>">page:
<img src="../images/gauche.gif" border="0" alt="">
<a href="#" class="lien11">1</a> <a href="#" class="lien11">2</a>
3 <a href="#" class="lien11">4</a> <a href="#" class="lien11">5</a>
<img src="../images/droit.gif" border="0" alt="">
</font></div></td>
</tr>
<tr>
<td colspan="2" bgcolor="<?php echo $tdcolor2; ?>"><font color="<?php echo $fontcolor2; ?>" size="1" face="<?php echo $fontface; ?>">description
of this album</font></td>
</tr>
<tr>
<td colspan="2" bgcolor="<?php echo $tdcolor1; ?>"> </td>
</tr>
<tr>
<td colspan="2" bgcolor="<?php echo $tdcolor1; ?>" background="../images/<?php echo $tdimage; ?>"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td width="45%" bgcolor="<?php echo $bgcolor; ?>"background="../images/<?php echo $bgimage; ?>">
<table width="90%" border="0" cellspacing="1" cellpadding="1" align="center">
<tr>
<td bgcolor="<?php echo $tdcolor1; ?>">
<table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
<tr>
<td colspan="2" background="../images/<?php echo $tdimage; ?>"><div align="center"><font color="<?php echo $fontcolor1; ?>" size="2" face="<?php echo $fontface; ?>">Title</font></div></td>
</tr>
<tr>
<td colspan="2" bgcolor="<?php echo $tdcolor3; ?>" align="center">
<font face="verdana" color="red" size="2"><b>[ 3 ]</b></font>
<?php
if ($img3 != 1)
{
?>
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td rowspan="2" colspan="2"><img src="../images/90_60.gif" width="270" height="180"></td>
<td><img src="../images/ombre_1.gif" alt=""></td>
</tr>
<tr>
<td><img src="../images/ombre_2.gif" alt="" height="172" width="6"></td>
</tr>
<tr>
<td><img src="../images/ombre_3.gif" alt=""></td>
<td><img src="../images/ombre_4.gif" alt="" height="8" width="263"></td>
<td><img src="../images/ombre_5.gif" alt=""></td>
</tr>
</table>
<?php
}
else
{
?>
<br>
<div align="center">
<img src="../images/90_60.gif" width="270" height="180" style="border-width: <?php echo $w; ?>;border-color: <?php echo $tdcolor3; ?>;border-style: <?php echo $style; ?>;padding: 0px">
</div>
<br>
<?php
}
?>
<br></td>
</tr>
<tr>
<td width="35%" bgcolor="<?php echo $tdcolor1; ?>"><font color="<?php echo $fontcolor1; ?>" size="1" face="<?php echo $fontface; ?>">Title:<br>
Album:<br>
Author:<br>
Description: <br>
</font></td>
<td width="65%" bgcolor="<?php echo $tdcolor2; ?>"><font color="<?php echo $fontcolor2; ?>" size="1" face="<?php echo $fontface; ?>">The
title<br>
The album<br>
Name of the author<br>
a decription of the photo</font></td>
</tr>
<tr>
<td colspan="2" bgcolor="<?php echo $tdcolor1; ?>"><div align="center"><font size="1"><a href="#" class="lien11">back</a></font></div></td>
</tr>
<tr>
<td colspan="2" bgcolor="<?php echo $tdcolor1; ?>" background="../images/<?php echo $tdimage; ?>"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<?php
include './footer.php';
?>