1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" title="Design" href="style_events.css" />
<script type="text/javascript">
<!--
window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
for (var i = 1; i<=10; i++) {
if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
}
if (d) {d.style.display='block';}
}
//-->
</script>
</head>
<body>
<center><div style="background:#fff; width:50%;">
<div style="margin:0 17px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 14px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 11px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 10px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 8px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 7px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 6px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 5px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 4px; height:2px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 2px; height:3px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 1px; height:3px; background:#A9BFCB; overflow:hidden;"></div>
</div>
<div style="width:50%; height:200px; background:#A9BFCB; text-align:center">
<?php
$iclub=mysql_query("SELECT * FROM r_reportages WHERE id='" . $rid . "'");
$riclub=mysql_fetch_array($iclub);
$date=$riclub[date];
echo "<center><h3><div style=\"text-align: left; font-family: sans-serif;\"><b><span
style=\"color: rgb(255, 255, 255); font-family: sans-serif;\"><a href=\"album.php?rid=$rid\">$riclub[nomsoiree]
</a> @ $riclub[nomclub] ";
echo genDateStr($date);
echo "<b></span></div></h3></center><br />"; ?>
<?php
///On récupére les infos de la photos viser
$rimage=mysql_query("SELECT * FROM r_photos WHERE idreportage='" . $rid . "' AND id='" . $imid . "'");
$rimagea=mysql_fetch_array($rimage);
///
$dossier = $rimagea['dossier'];
$fichier = $rimagea['fichier'];
$chvp = "reportages/$dossier/$fichier";
?>
<form action="<?php echo "album.php?rid=$rid&imid=$imid"; ?>" method="post">
<div style="padding: 0;">
<div style="position: absolute; top: 186px; left: 232px; margin: 0; padding: 0;">
<dl id="menu">
<div id="menu1">
<dt onmouseover="javascript:montre('smenu1');"><a href="#"><img src="only_carrer.jpg"
border="0">kumkatdu13</a></dt>
<dd id="smenu1" onmouseover="javascript:montre('smenu1');" onmouseout="javascript:montre();">
lol
</dd>
</div>
</div>
<input type="image" src="<?php echo "_photo.php?rid=$rid&imid=$imid"; ?>" name="pi" />
</div>
</form>
<br />
<div style="text-align: left;"><span style="color: rgb(255, 255, 255); font-family: sans-serif;">Les photographes
:</span> <br /><br />
<span style="color: rgb(255, 255, 255); font-family: sans-serif;">Les personnes qui était présente : <br /><br
/></div>
Commentaires :</span> <br />
<?php
$rc=mysql_query("SELECT * FROM r_commentaires WHERE idphoto='" . $imid . "'");
while ($rcr = mysql_fetch_array($rc))
{
echo "$rcr[commentaire]<br />";
}
?>
<br />
<span style="color: rgb(255, 255, 255); font-family: sans-serif;">Ajouter votre Commentaire : <form name="form1"
method="post" action="album.php?rid=<?php echo $rid; ?>&imid=<?php echo $imid; ?>"><input name="commentaire"><input
type="submit" value="Envoyer" /></form></span>
<?php
// ----------------------------------
// Si le formulaire ajout de commentaire est envoyer
// --------------------------------------------------
if (isset($_POST['commentaire']))
{
$commentaire = $_POST['commentaire'];
mysql_query("INSERT INTO r_commentaires (id,idphoto,commentaire) VALUES ('', '$imid', '$commentaire')");
echo "<script language=\"javascript\"
type=\"text/javascript\">
<!--
window.location.replace(
\"album.php?rid=$rid&imid=$imid\");
-->
</script>";
}
// ----------------------------------
// Fin
// --------------------------------------------------
?>
</div>
<div style="background:#fff; width:50%;">
<div style="margin:0 1px; height:3px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 2px; height:3px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 4px; height:2px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 5px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 6px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 7px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 8px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 10px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 11px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 14px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
<div style="margin:0 17px; height:1px; background:#A9BFCB; overflow:hidden;"></div>
</div>
</body>
</html> |
Partager