<script type="text/javascript">
<!-- 
// fonction pour select les checkbox selectionnées par choix en surbrillance avec le css //

function choose(object, screens)
{
	var elem = document.getElementById(object);
	var elem_screens = document.getElementById(screens);

	if(elem.className != "selected")
		{
			elem.className = "selected";
			elem_screens.checked = true;
		}
			else
		{
			elem.className = "notselect";
			elem_screens.checked = false;
		}
}
//-->
</script>

<form action="?page=ebooks&action=resultat" method="post" name="resultat">
<?php
if(isset($_POST['ebookinfo'])) {
$tmp = 0;

foreach ($_POST['ebookinfo'] as $info)
    {		
	if(isset($info[id]))
	    {
		
echo '<center>';
echo '<br />';
echo '<legend><font size="5" color="#FF0000"><b><i>..:: '.$info['titre'].' ::..</i></b></font></legend><br />';
echo '<br />';
echo '<table width="100%" border="0" align="center" cellpadding="0" cellspacing="5">

<tr><td align="center">
<table class="infos" border="0" cellpadding="0" cellspacing="5" width="50%">
<td align="center"><img src="./images/release.png"/></td>
</table></td>
</tr>

<td border="0" cellpadding="0" cellspacing="5" width="100%"></td>

<tr>
<td><table class="infos" border="0" cellpadding="0" cellspacing="5" width="100%">

<tr>
<td><table border="0" cellpadding="0" cellspacing="5" width="100%">
<td width="100%" align="center" class="td"><b>Format :</b></td>
</tr>
<tr>
<td class="td" align="center"><table border="0" cellpadding="0" cellspacing="5" width="100%">
<tr>
<td><label for="radio1"><input name="ebookid['.$tmp.'][format]" type="radio" id="radio1" class="crirHiddenJS" value="pdf" checked />&nbsp;<img src="'.$url_default.'images/format-book/pdf.png" width="40" height="40" border="0" align="absmiddle" title="pdf"></label></td>
<td><label for="radio2"><input name="ebookid['.$tmp.'][format]" type="radio" id="radio2" class="crirHiddenJS" value="png" />&nbsp;<img src="'.$url_default.'images/format-book/png.png" width="40" height="40" border="0" align="absmiddle" title="png"></label></td>
<td><label for="radio3"><input name="ebookid['.$tmp.'][format]" type="radio" id="radio3" class="crirHiddenJS" value="gif" />&nbsp;<img src="'.$url_default.'images/format-book/gif.png" width="40" height="40" border="0" align="absmiddle" title="gif"></label></td>
<td><label for="radio4"><input name="ebookid['.$tmp.'][format]" type="radio" id="radio4" class="crirHiddenJS" value="jpeg" />&nbsp;<img src="'.$url_default.'images/format-book/jpeg.png" width="40" height="40" border="0" align="absmiddle" title="jpeg"></label></td>
<td><label for="radio5"><input name="ebookid['.$tmp.'][format]" type="radio" id="radio5" class="crirHiddenJS" value="bmp" />&nbsp;<img src="'.$url_default.'images/format-book/bmp.png" width="40" height="40" border="0" align="absmiddle" title="bmp"></label></td>
<td><label for="radio6"><input name="ebookid['.$tmp.'][format]" type="radio" id="radio6" class="crirHiddenJS" value="tiff" />&nbsp;<img src="'.$url_default.'images/format-book/tiff.png" width="40" height="40" border="0" align="absmiddle" title="tiff"></label></td>
</tr>
</table></td>
</tr>
</table></td>

<tr>
<td><table border="0" cellpadding="0" cellspacing="5" width="100%">
<td width="100%" align="center" class="td"><b>Langue :</b></td>
</tr>
<tr>
<td class="td" align="center"><table border="0" cellpadding="0" cellspacing="5" width="100%">
<tr>
<td><label for="radio11"><input name="ebookid['.$tmp.'][langue]" type="radio" id="radio11" class="crirHiddenJS" value="Francais" checked/>&nbsp;<img src="'.$url_default.'images/flags/Francais.png" width="18" height="12" border="0" align="absmiddle" title="Français"></label></td>
<td><label for="radio12"><input name="ebookid['.$tmp.'][langue]" type="radio" id="radio12" class="crirHiddenJS" value="Anglais" />&nbsp;<img src="'.$url_default.'images/flags/Anglais.png" width="18" height="12" border="0" align="absmiddle" title="Anglais"></label></td>
<td><label for="radio13"><input name="ebookid['.$tmp.'][langue]" type="radio" id="radio13" class="crirHiddenJS" value="Allemand" />&nbsp;<img src="'.$url_default.'images/flags/Allemand.png" width="18" height="12" border="0" align="absmiddle" title="Allemand"></label></td>
<td><label for="radio14"><input name="ebookid['.$tmp.'][langue]" type="radio" id="radio14" class="crirHiddenJS" value="Italien" />&nbsp;<img src="'.$url_default.'images/flags/Italien.png" width="18" height="12" border="0" align="absmiddle" title="Italien"></label></td>
<td><label for="radio15"><input name="ebookid['.$tmp.'][langue]" type="radio" id="radio15" class="crirHiddenJS" value="Espagnol" />&nbsp;<img src="'.$url_default.'images/flags/Espagnol.png" width="18" height="12" border="0" align="absmiddle" title="Espagnol"></label></td>
<td><label for="radio16"><input name="ebookid['.$tmp.'][langue]" type="radio" id="radio16" class="crirHiddenJS" value="Japonais" />&nbsp;<img src="'.$url_default.'images/flags/Japonais.png" width="18" height="12" border="0" align="absmiddle" title="Japonais"></label></td>
<td><label for="radio17"><input name="ebookid['.$tmp.'][langue]" type="radio" id="radio17" class="crirHiddenJS" value="MultiLang" />&nbsp;<img src="'.$url_default.'images/flags/MultiLang.gif" width="18" height="12" border="0" align="absmiddle" title="MultiLang"></label></td>
<td><label for="radio18"><input name="ebookid['.$tmp.'][langue]" type="radio" id="radio18" class="crirHiddenJS" value="Autres" />&nbsp;<img src="'.$url_default.'images/flags/Autre.gif" width="12" height="12" border="0" align="absmiddle" title="Autres"></label></td>
</tr>
</table></td>
</tr>
</table></td>

<tr>
<td><table border="0" cellpadding="0" cellspacing="5" width="100%">
<td width="50%" align="center" class="td"><b>R&eacute;solution :</b></td>
<td width="50%" align="center" class="td"><input name="ebookid[' . $tmp . '][resolution]" type="text" value="exemple: (2560x1920) pixel" size="30" /></td>
</table></td>
</tr>

</table></td>
</tr>

<td border="0" cellpadding="0" cellspacing="5" width="100%"></td>

<tr>
<td align="center"><table class="infos" border="0" cellpadding="0" cellspacing="5" width="50%">
<td align="center"><img src="./images/upload.png"/></td>
</table></td>
</tr>

<td border="0" cellpadding="0" cellspacing="5" width="100%"></td>

<tr>
<td><table class="infos" border="0" cellpadding="0" cellspacing="5" width="100%">

<tr>
<td><table border="0" cellpadding="0" cellspacing="5" width="100%">
<td width="100%" align="center" class="td"><b>Hébergeur :</b></td>
</tr>
<tr>
<td width="100%" align="left" class="td">
<table border="0" cellpadding="0" cellspacing="5" width="100%">
<tr>
<td><label for="radio30"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio30" class="crirHiddenJS" value="Multi" checked />&nbsp;<img src="'.$url_default.'images/heberg/Multi.png" width="100" height="20" border="0" align="absmiddle" title="Multi"></label></td>
<td><label for="radio31"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio31" class="crirHiddenJS" value="MultiUp" />&nbsp;<img src="'.$url_default.'images/heberg/MultiUp.png" width="100" height="20" border="0" align="absmiddle" title="MultiUp"></label></td>
<td><label for="radio32"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio32" class="crirHiddenJS" value="1fichier" />&nbsp;<img src="'.$url_default.'images/heberg/1fichier.png" width="100" height="20" border="0" align="absmiddle" title="1fichier"></label></td>
<td><label for="radio33"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio33" class="crirHiddenJS" value="Bayfiles" />&nbsp;<img src="'.$url_default.'images/heberg/Bayfiles.png" width="100" height="20" border="0" align="absmiddle" title="Bayfiles"></label></td>
</tr>
<tr>
<td><label for="radio34"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio34" class="crirHiddenJS" value="Depositfiles" />&nbsp;<img src="'.$url_default.'images/heberg/Depositfiles.png" width="100" height="20" border="0" align="absmiddle" title="Depositfiles"></label></td>
<td><label for="radio35"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio35" class="crirHiddenJS" value="Filesonic" />&nbsp;<img src="'.$url_default.'images/heberg/Filesonic.png" width="100" height="20" border="0" align="absmiddle" title="Filesonic"></label></td>
<td><label for="radio36"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio36" class="crirHiddenJS" value="Free" />&nbsp;<img src="'.$url_default.'images/heberg/Free.png" width="100" height="20" border="0" align="absmiddle" title="Free"></label></td>
<td><label for="radio37"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio37" class="crirHiddenJS" value="FileFactory" />&nbsp;<img src="'.$url_default.'images/heberg/Filefactory.png" width="100" height="20" border="0" align="absmiddle" title="FileFactory"></label></td>
</tr>
<tr>
<td><label for="radio38"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio38" class="crirHiddenJS" value="Jheberg" />&nbsp;<img src="'.$url_default.'images/heberg/Jheberg.png" width="100" height="20" border="0" align="absmiddle" title="Jheberg"></label></td>
<td><label for="radio39"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio39" class="crirHiddenJS" value="Go4up" />&nbsp;<img src="'.$url_default.'images/heberg/Go4up.png" width="100" height="20" border="0" align="absmiddle" title="Go4up"></label></td>
<td><label for="radio40"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio40" class="crirHiddenJS" value="Mega" />&nbsp;<img src="'.$url_default.'images/heberg/Mega.png" width="100" height="20" border="0" align="absmiddle" title="Mega"></label></td>
<td><label for="radio41"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio41" class="crirHiddenJS" value="Megaupme" />&nbsp;<img src="'.$url_default.'images/heberg/Megaupme.png" width="100" height="20" border="0" align="absmiddle" title="Megaupme"></label></td>
</tr>
<tr>
<td><label for="radio42"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio42" class="crirHiddenJS" value="Rapidgator" />&nbsp;<img src="'.$url_default.'images/heberg/Rapidgator.png" width="100" height="20" border="0" align="absmiddle" title="Rapidgator"></label></td>
<td><label for="radio43"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio43" class="crirHiddenJS" value="Rapidshare" />&nbsp;<img src="'.$url_default.'images/heberg/Rapidshare.png" width="100" height="20" border="0" align="absmiddle" title="Rapidshare"></label></td>
<td><label for="radio44"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio44" class="crirHiddenJS" value="Uploaded" />&nbsp;<img src="'.$url_default.'images/heberg/Uploaded.png" width="100" height="20" border="0" align="absmiddle" title="Uploaded"></label></td>
<td><label for="radio45"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio45" class="crirHiddenJS" value="Uploadhero" />&nbsp;<img src="'.$url_default.'images/heberg/Uploadhero.png" width="100" height="20" border="0" align="absmiddle" title="Uploadhero"></label></td>
</tr>
<tr>
<td><label for="radio46"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio46" class="crirHiddenJS" value="Uptobox" />&nbsp;<img src="'.$url_default.'images/heberg/Uptobox.png" width="100" height="20" border="0" align="absmiddle" title="Uptobox"></label></td>
<td><label for="radio47"><input name="ebookid['.$tmp.'][tag]" type="radio" id="radio47" class="crirHiddenJS" value="Autres" />&nbsp;<img src="'.$url_default.'images/heberg/Autres.png" width="100" height="20" border="0" align="absmiddle" title="Autres"></label></td>
</tr>
</table></td>
</tr>
</table></td>

<tr>
<td><table border="0" cellpadding="0" cellspacing="5" width="100%">
<td width="100%" align="center" class="td"><b>D&eacute;coupage :</b></td>
</tr>
<tr>
<td width="100%" align="left" class="td">
<table border="0" cellpadding="0" cellspacing="5" width="100%">
<tr>
<td><label for="radio48"><input name="ebookid['.$tmp.'][decoupage]" type="radio" id="radio48" class="crirHiddenJS" value="Aucun" checked />&nbsp;<img src="'.$url_default.'images/decoupage/Aucun.png" width="40" height="40" border="0" align="absmiddle" title="Aucun"></label></td>
<td><label for="radio49"><input name="ebookid['.$tmp.'][decoupage]" type="radio" id="radio49" class="crirHiddenJS" value="WinRar"/>&nbsp;<img src="'.$url_default.'images/decoupage/WinRar.png" width="40" height="40" border="0" align="absmiddle" title="WinRAR"></label></td>
<td><label for="radio50"><input name="ebookid['.$tmp.'][decoupage]" type="radio" id="radio50" class="crirHiddenJS" value="WinZip" />&nbsp;<img src="'.$url_default.'images/decoupage/WinZip.png" width="40" height="40" border="0" align="absmiddle" title="WinZip"></label></td>
<td><label for="radio51"><input name="ebookid['.$tmp.'][decoupage]" type="radio" id="radio51" class="crirHiddenJS" value="7-Zip" />&nbsp;<img src="'.$url_default.'images/decoupage/7Zip.png" width="40" height="40" border="0" align="absmiddle" title="7-Zip"></label></td>
<td><label for="radio52"><input name="ebookid['.$tmp.'][decoupage]" type="radio" id="radio52" class="crirHiddenJS" value="XtremSplit" />&nbsp;<img src="'.$url_default.'images/decoupage/XtremSplit.png" width="40" height="40" border="0" align="absmiddle" title="XtremSplit"></label></td>
<td><label for="radio53"><input name="ebookid['.$tmp.'][decoupage]" type="radio" id="radio53" class="crirHiddenJS" value="Autres" />&nbsp;<img src="'.$url_default.'images/decoupage/Autre.png" width="40" height="40" border="0" align="absmiddle" title="Autre"></label></td>
</tr>
</table></td>
</tr>
</table></td>

<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="5">
<tr>
<td width="50%" align="center" class="td"><b>Pseudo de l uploader :</b></td>
<td width="50%" align="center" class="td"><input name="ebookid['.$tmp.'][uploader]" type="text" value="Votre Pseudo" size="30" /></td>
</tr>
</table></td>
</tr>

<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="5">
<tr>
<td width="50%" class="td" align="center"><b>Infos sur la release :</b></td>
<td class="td" align="center"><input type="text" name="ebookid['.$tmp.'][inforelease]" value="Aucune information" size="30" /><br>*TITRE FILM* FRENCH BDRiP XViD AC3-FwD</td>
</tr>
</table></td>
</tr>

<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="5">
<tr>
<td width="50%" class="td" align="center"><b>Taille totale :</b></td>
<td class="td" align="center"><input type="text" name="ebookid[' . $tmp . '][nbfichiers]" value="1"  maxlength="3" size="2" type="text" onMouseover="ddrivetip(\'Nombre de fichier\' )"; onMouseout="hideddrivetip()" /> <b>x</b> 
<input type="text" name="ebookid[' . $tmp . '][taillefichiers]" value="700" size="5" type="text" onMouseover="ddrivetip(\'Taille du fichier\' )"; onMouseout="hideddrivetip()" />
<span style="color:red"><b>Mo</b></span>
<span><b>( +</b></span>
<input type="text" name="ebookid[' . $tmp . '][nbfichiers2]" value="" maxlength="3" size="2" type="text" onMouseover="ddrivetip(\'Nombre de fichier\' )"; onMouseout="hideddrivetip()" /> <b>x</b> 
<input type="text" name="ebookid[' . $tmp . '][taillefichiers2]" value="" size="5" type="text" onMouseover="ddrivetip(\'Taille du fichier\' )"; onMouseout="hideddrivetip()" />
<span style="color:red"><b> Mo </b></span> <span><b>)</b></span>		
</td>
</tr>
</table></td>
</tr>

</table></td>
</tr>

<td border="0" cellpadding="0" cellspacing="5" width="100%"></td>

<tr>
<td align="center"><table class="infos" border="0" cellpadding="0" cellspacing="5" width="50%">
<td align="center"><img src="./images/supplement.png"/></td>
</table></td>
</tr>

<td border="0" cellpadding="0" cellspacing="5" width="100%"></td>

<tr>
<td><table class="infos" border="0" cellpadding="0" cellspacing="5" width="100%">

<tr>
<td colspan="5" align="center" class="td"><b>Vos liens (Si plusieurs liens, les uns en dessous des autres)</b></td>
</tr>
<tr>
<td colspan="10" class="td" align="center"><textarea name="ebookid['.$tmp.'][lien]" cols="65" rows="10"></textarea></td>
</tr>

<tr>
<td width="50%" class="td"><b>Balise [hide] sur le(s) lien(s) :</b></td>
<td colspan="2" class="td">
<label for="checkbox1" /><input name="ebookid['.$tmp.'][hide]" id="checkbox1" class="crirHiddenJS" type="checkbox" value="1" checked="checked" />&nbsp;</label>
</td>
</tr>

<tr>
<td width="50%" class="td"><b>Balise [center] sur la présentation :</b></td>
<td colspan="2" class="td">
<label for="checkbox2" /><input name="ebookid['.$tmp.'][center]" id="checkbox2" class="crirHiddenJS" type="checkbox" value="1" checked="checked" />&nbsp;</label>
</td>
</tr>

<tr>
<td width="50%" class="td"><b>Balise [quote] sur le(s) lien(s) :<br />Entre le HIDE</b></td>
<td colspan="2" class="td">
<label for="checkbox8" /><input name="ebookid['.$tmp.'][quote]" id="checkbox8" class="crirHiddenJS" type="checkbox" value="1" />&nbsp;</label>
</td>
</tr>

<tr>
	<td class="td" width="50%"><b>Sélectionner la couleur du texte :</b></td>		
	<td colspan="2" class="td">
<label><select input name="ebookid[' . $tmp . '][color]">
						<option value="#F0F8FF" style="color: rgb(0, 0, 0); background-color: rgb(240, 248, 255);">aliceblue</option>
						<option value="#FAEBD7" style="color: rgb(0, 0, 0); background-color: rgb(250, 235, 215);">antiquewhite</option>
						<option value="#00FFFF" style="color: rgb(0, 0, 0); background-color: rgb(0, 255, 255);">aqua</option>
						<option value="#7FFFD4" style="color: rgb(0, 0, 0); background-color: rgb(127, 255, 212);">aquamarine</option>
						<option value="#F0FFFF" style="color: rgb(0, 0, 0); background-color: rgb(240, 255, 255);">azure</option>
						<option value="#F5F5DC" style="color: rgb(0, 0, 0); background-color: rgb(245, 245, 220);">beige</option>
						<option value="#FFE4C4" style="color: rgb(0, 0, 0); background-color: rgb(255, 228, 196);">bisque</option>
						<option value="#000000" style="color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">black</option>
						<option value="#FFEBCD" style="color: rgb(0, 0, 0); background-color: rgb(255, 235, 205);">blanchedalmond</option>
						<option value="#0000FF" style="color: rgb(0, 0, 0); background-color: rgb(0, 0, 255);">blue</option>
						<option value="#8A2BE2" style="color: rgb(0, 0, 0); background-color: rgb(138, 43, 226);">blueviolet</option>
						<option value="#A52A2A" style="color: rgb(0, 0, 0); background-color: rgb(165, 42, 42);">brown</option>
						<option value="#DEB887" style="color: rgb(0, 0, 0); background-color: rgb(222, 184, 135);">burlywood</option>
						<option value="#5F9EA0" style="color: rgb(0, 0, 0); background-color: rgb(95, 158, 160);">cadetblue</option>
						<option value="#7FFF00" style="color: rgb(0, 0, 0); background-color: rgb(127, 255, 0);">chartreuse</option>
						<option value="#D2691E" style="color: rgb(0, 0, 0); background-color: rgb(210, 105, 30);">chocolate</option>
						<option value="#FF7F50" style="color: rgb(0, 0, 0); background-color: rgb(255, 127, 80);">coral</option>
						<option value="#6495ED" style="color: rgb(0, 0, 0); background-color: rgb(100, 149, 237);">cornflowerblue</option>
						<option value="#FFF8DC" style="color: rgb(0, 0, 0); background-color: rgb(255, 248, 220);">cornsilk</option>
						<option value="#DC143C" style="color: rgb(0, 0, 0); background-color: rgb(220, 20, 60);">crimson</option>
						<option value="#00FFFF" style="color: rgb(0, 0, 0); background-color: rgb(0, 255, 255);">cyan</option>
						<option value="#00008B" style="color: rgb(0, 0, 0); background-color: rgb(0, 0, 139);">darkblue</option>
						<option value="#008B8B" style="color: rgb(0, 0, 0); background-color: rgb(0, 139, 139);">darkcyan</option>
						<option value="#B8860B" style="color: rgb(0, 0, 0); background-color: rgb(184, 134, 11);">darkgoldenrod</option>
						<option value="#A9A9A9" style="color: rgb(0, 0, 0); background-color: rgb(169, 169, 169);">darkgray</option>
						<option value="#006400" style="color: rgb(0, 0, 0); background-color: rgb(0, 100, 0);">darkgreen</option>
						<option value="#BDB76B" style="color: rgb(0, 0, 0); background-color: rgb(189, 183, 107);">darkkhaki</option>
						<option value="#8B008B" style="color: rgb(0, 0, 0); background-color: rgb(139, 0, 139);">darkmagenta</option>
						<option value="#556B2F" style="color: rgb(0, 0, 0); background-color: rgb(85, 107, 47);">darkolivegreen</option>
						<option value="#FF8C00" style="color: rgb(0, 0, 0); background-color: rgb(255, 140, 0);">darkorange</option>
						<option value="#9932CC" style="color: rgb(0, 0, 0); background-color: rgb(153, 50, 204);">darkorchid</option>
						<option value="#8B0000" style="color: rgb(0, 0, 0); background-color: rgb(139, 0, 0);">darkred</option>
						<option value="#E9967A" style="color: rgb(0, 0, 0); background-color: rgb(233, 150, 122);">darksalmon</option>
						<option value="#8FBC8F" style="color: rgb(0, 0, 0); background-color: rgb(143, 188, 143);">darkseagreen</option>
						<option value="#483D8B" style="color: rgb(0, 0, 0); background-color: rgb(72, 61, 139);">darkslateblue</option>
						<option value="#2F4F4F" style="color: rgb(0, 0, 0); background-color: rgb(47, 79, 79);">darkslategray</option>
						<option value="#00CED1" style="color: rgb(0, 0, 0); background-color: rgb(0, 206, 209);">darkturquoise</option>
						<option value="#9400D3" style="color: rgb(0, 0, 0); background-color: rgb(148, 0, 211);">darkviolet</option>
						<option value="#FF1493" style="color: rgb(0, 0, 0); background-color: rgb(255, 20, 147);">deeppink</option>
						<option value="#00BFFF" style="color: rgb(0, 0, 0); background-color: rgb(0, 191, 255);">deepskyblue</option>
						<option value="#696969" style="color: rgb(0, 0, 0); background-color: rgb(105, 105, 105);">dimgray</option>
						<option value="#1E90FF" style="color: rgb(0, 0, 0); background-color: rgb(30, 144, 255);">dodgerblue</option>
						<option value="#B22222" style="color: rgb(0, 0, 0); background-color: rgb(178, 34, 34);">firebrick</option>
						<option value="#FFFAF0" style="color: rgb(0, 0, 0); background-color: rgb(255, 250, 240);">floralwhite</option>
						<option value="#228B22" style="color: rgb(0, 0, 0); background-color: rgb(34, 139, 34);">forestgreen</option>
						<option value="#FF00FF" style="color: rgb(0, 0, 0); background-color: rgb(255, 0, 255);">fuchsia</option>
						<option value="#DCDCDC" style="color: rgb(0, 0, 0); background-color: rgb(220, 220, 220);">gainsboro</option>
						<option value="#F8F8FF" style="color: rgb(0, 0, 0); background-color: rgb(248, 248, 255);">ghostwhite</option>
						<option value="#FFD700" style="color: rgb(0, 0, 0); background-color: rgb(255, 215, 0);">gold</option>
						<option value="#DAA520" style="color: rgb(0, 0, 0); background-color: rgb(218, 165, 32);">goldenrod</option>
						<option value="#808080" style="color: rgb(0, 0, 0); background-color: rgb(128, 128, 128);">gray</option>
						<option value="#008000" style="color: rgb(0, 0, 0); background-color: rgb(0, 128, 0);">green</option>
						<option value="#ADFF2F" style="color: rgb(0, 0, 0); background-color: rgb(173, 255, 47);">greenyellow</option>
						<option value="#F0FFF0" style="color: rgb(0, 0, 0); background-color: rgb(240, 255, 240);">honeydew</option>
						<option value="#FF69B4" style="color: rgb(0, 0, 0); background-color: rgb(255, 105, 180);">hotpink</option>
						<option value="#CD5C5C" style="color: rgb(0, 0, 0); background-color: rgb(205, 92, 92);">indianred</option>
						<option value="#4B0082" style="color: rgb(0, 0, 0); background-color: rgb(75, 0, 130);">indigo</option>
						<option value="#FFFFF0" style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 240);">ivory</option>
						<option value="#F0E68C" style="color: rgb(0, 0, 0); background-color: rgb(240, 230, 140);">khaki</option>
						<option value="#E6E6FA" style="color: rgb(0, 0, 0); background-color: rgb(230, 230, 250);">lavender</option>
						<option value="#FFF0F5" style="color: rgb(0, 0, 0); background-color: rgb(255, 240, 245);">lavenderblush</option>
						<option value="#7CFC00" style="color: rgb(0, 0, 0); background-color: rgb(124, 252, 0);">lawngreen</option>
						<option value="#FFFACD" style="color: rgb(0, 0, 0); background-color: rgb(255, 250, 205);">lemonchiffon</option>
						<option value="#ADD8E6" style="color: rgb(0, 0, 0); background-color: rgb(173, 216, 230);">lightblue</option>
						<option value="#F08080" style="color: rgb(0, 0, 0); background-color: rgb(240, 128, 128);">lightcoral</option>
						<option value="#E0FFFF" style="color: rgb(0, 0, 0); background-color: rgb(224, 255, 255);">lightcyan</option>
						<option value="#FAFAD2" style="color: rgb(0, 0, 0); background-color: rgb(250, 250, 210);">lightgoldenrodyellow</option>
						<option value="#90EE90" style="color: rgb(0, 0, 0); background-color: rgb(144, 238, 144);">lightgreen</option>
						<option value="#D3D3D3" style="color: rgb(0, 0, 0); background-color: rgb(211, 211, 211);">lightgrey</option>
						<option value="#FFB6C1" style="color: rgb(0, 0, 0); background-color: rgb(255, 182, 193);">lightpink</option>
						<option value="#FFA07A" style="color: rgb(0, 0, 0); background-color: rgb(255, 160, 122);">lightsalmon</option>
						<option value="#20B2AA" style="color: rgb(0, 0, 0); background-color: rgb(32, 178, 170);">lightseagreen</option>
						<option value="#87CEFA" style="color: rgb(0, 0, 0); background-color: rgb(135, 206, 250);">lightskyblue</option>
						<option value="#778899" style="color: rgb(0, 0, 0); background-color: rgb(119, 136, 153);">lightslategray</option>
						<option value="#B0C4DE" style="color: rgb(0, 0, 0); background-color: rgb(176, 196, 222);">lightsteelblue</option>
						<option value="#FFFFE0" style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 224);">lightyellow</option>
						<option value="#00FF00" style="color: rgb(0, 0, 0); background-color: rgb(0, 255, 0);">lime</option>
						<option value="#32CD32" style="color: rgb(0, 0, 0); background-color: rgb(50, 205, 50);">limegreen</option>
						<option value="#FAF0E6" style="color: rgb(0, 0, 0); background-color: rgb(250, 240, 230);">linen</option>
						<option value="#FF00FF" style="color: rgb(0, 0, 0); background-color: rgb(255, 0, 255);">magenta</option>
						<option value="#800000" style="color: rgb(0, 0, 0); background-color: rgb(128, 0, 0);">maroon</option>
						<option value="#66CDAA" style="color: rgb(0, 0, 0); background-color: rgb(102, 205, 170);">mediumaquamarine</option>
						<option value="#0000CD" style="color: rgb(0, 0, 0); background-color: rgb(0, 0, 205);">mediumblue</option>
						<option value="#BA55D3" style="color: rgb(0, 0, 0); background-color: rgb(186, 85, 211);">mediumorchid</option>
						<option value="#9370DB" style="color: rgb(0, 0, 0); background-color: rgb(147, 112, 219);">mediumpurple</option>
						<option value="#3CB371" style="color: rgb(0, 0, 0); background-color: rgb(60, 179, 113);">mediumseagreen</option>
						<option value="#7B68EE" style="color: rgb(0, 0, 0); background-color: rgb(123, 104, 238);">mediumslateblue</option>
						<option value="#00FA9A" style="color: rgb(0, 0, 0); background-color: rgb(0, 250, 154);">mediumspringgreen</option>
						<option value="#48D1CC" style="color: rgb(0, 0, 0); background-color: rgb(72, 209, 204);">mediumturquoise</option>
						<option value="#C71585" style="color: rgb(0, 0, 0); background-color: rgb(199, 21, 133);">mediumvioletred</option>
						<option value="#191970" style="color: rgb(0, 0, 0); background-color: rgb(25, 25, 112);">midnightblue</option>
						<option value="#F5FFFA" style="color: rgb(0, 0, 0); background-color: rgb(245, 255, 250);">mintcream</option>
						<option value="#FFE4E1" style="color: rgb(0, 0, 0); background-color: rgb(255, 228, 225);">mistyrose</option>
						<option value="#FFE4B5" style="color: rgb(0, 0, 0); background-color: rgb(255, 228, 181);">moccasin</option>
						<option value="#FFDEAD" style="color: rgb(0, 0, 0); background-color: rgb(255, 222, 173);">navajowhite</option>
						<option value="#000080" style="color: rgb(0, 0, 0); background-color: rgb(0, 0, 128);">navy</option>
						<option value="#FDF5E6" style="color: rgb(0, 0, 0); background-color: rgb(253, 245, 230);">oldlace</option>
						<option value="#808000" style="color: rgb(0, 0, 0); background-color: rgb(128, 128, 0);">olive</option>
						<option value="#6B8E23" style="color: rgb(0, 0, 0); background-color: rgb(107, 142, 35);">olivedrab</option>
						<option value="#FFA500" style="color: rgb(0, 0, 0); background-color: rgb(255, 165, 0);">orange</option>
						<option value="#FF4500" style="color: rgb(0, 0, 0); background-color: rgb(255, 69, 0);" selected="selected">orangered</option>
						<option value="#DA70D6" style="color: rgb(0, 0, 0); background-color: rgb(218, 112, 214);">orchid</option>
						<option value="#EEE8AA" style="color: rgb(0, 0, 0); background-color: rgb(238, 232, 170);">palegoldenrod</option>
						<option value="#98FB98" style="color: rgb(0, 0, 0); background-color: rgb(152, 251, 152);">palegreen</option>
						<option value="#AFEEEE" style="color: rgb(0, 0, 0); background-color: rgb(175, 238, 238);">paleturquoise</option>
						<option value="#DB7093" style="color: rgb(0, 0, 0); background-color: rgb(219, 112, 147);">palevioletred</option>
						<option value="#FFEFD5" style="color: rgb(0, 0, 0); background-color: rgb(255, 239, 213);">papayawhip</option>
						<option value="#FFDAB9" style="color: rgb(0, 0, 0); background-color: rgb(255, 218, 185);">peachpuff</option>
						<option value="#CD853F" style="color: rgb(0, 0, 0); background-color: rgb(205, 133, 63);">peru</option>
						<option value="#FFC0CB" style="color: rgb(0, 0, 0); background-color: rgb(255, 192, 203);">pink</option>
						<option value="#DDA0DD" style="color: rgb(0, 0, 0); background-color: rgb(221, 160, 221);">plum</option>
						<option value="#B0E0E6" style="color: rgb(0, 0, 0); background-color: rgb(176, 224, 230);">powderblue</option>
						<option value="#800080" style="color: rgb(0, 0, 0); background-color: rgb(128, 0, 128);">purple</option>
						<option value="#FF0000" style="color: rgb(0, 0, 0); background-color: rgb(255, 0, 0);">red</option>
						<option value="#BC8F8F" style="color: rgb(0, 0, 0); background-color: rgb(188, 143, 143);">rosybrown</option>
						<option value="#4169E1" style="color: rgb(0, 0, 0); background-color: rgb(65, 105, 225);">royalblue</option>
						<option value="#8B4513" style="color: rgb(0, 0, 0); background-color: rgb(139, 69, 19);">saddlebrown</option>
						<option value="#FA8072" style="color: rgb(0, 0, 0); background-color: rgb(250, 128, 114);">salmon</option>
						<option value="#F4A460" style="color: rgb(0, 0, 0); background-color: rgb(244, 164, 96);">sandybrown</option>
						<option value="#2E8B57" style="color: rgb(0, 0, 0); background-color: rgb(46, 139, 87);">seagreen</option>
						<option value="#FFF5EE" style="color: rgb(0, 0, 0); background-color: rgb(255, 245, 238);">seashell</option>
						<option value="#A0522D" style="color: rgb(0, 0, 0); background-color: rgb(160, 82, 45);">sienna</option>
						<option value="#C0C0C0" style="color: rgb(0, 0, 0); background-color: rgb(192, 192, 192);">silver</option>
						<option value="#87CEEB" style="color: rgb(0, 0, 0); background-color: rgb(135, 206, 235);">skyblue</option>
						<option value="#6A5ACD" style="color: rgb(0, 0, 0); background-color: rgb(106, 90, 205);">slateblue</option>
						<option value="#708090" style="color: rgb(0, 0, 0); background-color: rgb(112, 128, 144);">slategray</option>
						<option value="#FFFAFA" style="color: rgb(0, 0, 0); background-color: rgb(255, 250, 250);">snow</option>
						<option value="#00FF7F" style="color: rgb(0, 0, 0); background-color: rgb(0, 255, 127);">springgreen</option>
						<option value="#4682B4" style="color: rgb(0, 0, 0); background-color: rgb(70, 130, 180);">steelblue</option>
						<option value="#D2B48C" style="color: rgb(0, 0, 0); background-color: rgb(210, 180, 140);">tan</option>
						<option value="#008080" style="color: rgb(0, 0, 0); background-color: rgb(0, 128, 128);">teal</option>
						<option value="#D8BFD8" style="color: rgb(0, 0, 0); background-color: rgb(216, 191, 216);">thistle</option>
						<option value="#FF6347" style="color: rgb(0, 0, 0); background-color: rgb(255, 99, 71);">tomato</option>
						<option value="#40E0D0" style="color: rgb(0, 0, 0); background-color: rgb(64, 224, 208);">turquoise</option>
						<option value="#EE82EE" style="color: rgb(0, 0, 0); background-color: rgb(238, 130, 238);">violet</option>
						<option value="#F5DEB3" style="color: rgb(0, 0, 0); background-color: rgb(245, 222, 179);">wheat</option>
						<option value="#FFFFFF" style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">white</option>
						<option value="#F5F5F5" style="color: rgb(0, 0, 0); background-color: rgb(245, 245, 245);">whitesmoke</option>
						<option value="#FFFF00" style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 0);">yellow</option>
						<option value="#9ACD32" style="color: rgb(0, 0, 0); background-color: rgb(154, 205, 50);">yellowgreen</option> 
<input name="ebookid[' . $tmp . '][selectcolor]" type="radio" id="color" value="1" checked /><font color="#009900"><b>Oui</b></font></label>
<label><input name="ebookid[' . $tmp . '][selectcolor]" type="radio" id="color" value="0" /><font color="#BB0000"><b>Non</b></label>
					</select>
	</td>
  </tr>

<tr>
<td class="td" width="50%"><b>Mot de passe :</b></td>
<td class="td" width="50%">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td width="70px">
<td><input name="ebookid['.$tmp.'][mdp]" type="text" value="Aucun" size="30" /></td>
</td></tr></tbody>
</table>
</td>
</tr>

<tr>
<td class="td"><b>Signature :</b></td>
<td class="td">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td width="70px">
<label for="checkbox11" />&nbsp;<input name="ebookid['.$tmp.'][sign]" id="checkbox11" class="crirHiddenJS" value="1" type="checkbox"></label></td>
<td><input name="ebookid['.$tmp.'][signature]" type="text" value="http://" size="30" /></td>
</tr></tbody>
</table>
</td>
</tr>
       
<tr>
<td class="td"><b>Lien de Remerciement ou Pub :</b></td>
<td class="td">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td width="70px">
<label for="checkbox12" />&nbsp;
<input name="ebookid['.$tmp.'][remerci]" id="checkbox12" class="crirHiddenJS" value="1" type="checkbox"></label></td>
<td><input name="ebookid['.$tmp.'][remerciement]" type="text" value="http://" size="30" /></td>
</tr></tbody>
</table>
</td>
</tr>

</table></td>
</tr>

<td border="0" cellpadding="0" cellspacing="5" width="100%"></td>

<tr>
<td align="center"><table class="infos" border="0" cellpadding="0" cellspacing="5" width="50%">
<td align="center"><img src="./images/presentation.png"/></center></td>
</table></td>
</tr>

<td border="0" cellpadding="0" cellspacing="5" width="100%"></td>

<tr>
<td><table class="infos" border="0" cellpadding="0" cellspacing="5" width="100%">

<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="5">
<tr>
<td class="td" width="100%"><center><b>Sélectionner le style de présentation :</b><br>Survolez avec le pointeur de votre souris le nom du style de présentation afin de faire apparaitre son image.</center>
</td></tr>

<tr>
<td class="td">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
				<td width="20%"><label for="radio54" class="radio_unchecked" ><input name="ebookid['.$tmp.'][style]" id="radio54" class="crirHiddenJS" type="radio" value="noir" ><span class="tooltip1" value="noir" >Noir<em><span><img src="img_cat/noir/syn_ebook.png" alt="Noir"></span></em></span></label></td>
				<td width="20%"><label for="radio55" class="radio_unchecked" ><input name="ebookid['.$tmp.'][style]" id="radio55" class="crirHiddenJS" type="radio" value="blanc" ><span class="tooltip1" value="blanc" >Blanc<em><span><img src="img_cat/blanc/syn_ebook.png" alt="Blanc"></span></em></span></label></td>
				<td width="20%"><label for="radio56" class="radio_unchecked" ><input name="ebookid['.$tmp.'][style]" id="radio56" class="crirHiddenJS" type="radio" value="bleu" ><span class="tooltip1" value="bleu" >Bleu<em><span><img src="img_cat/bleu/syn_ebook.png" alt="Bleu"></span></em></span></label></td>
				<td width="20%"><label for="radio57" class="radio_unchecked" ><input name="ebookid['.$tmp.'][style]" id="radio57" class="crirHiddenJS" type="radio" value="rouge" ><span class="tooltip1" value="rouge">Rouge<em><span><img src="img_cat/rouge/syn_ebook.png" alt="Rouge"></span></em></span></label></td>
				<td width="20%"><label for="radio58" class="radio_unchecked" ><input name="ebookid['.$tmp.'][style]" id="radio58" class="crirHiddenJS" type="radio" value="vert" ><span class="tooltip1" value="vert" >Vert<em><span><img src="img_cat/vert/syn_ebook.png" alt="Vert"></span></em></span></label></td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>

    </table></td>
  </tr>

  <tr>
    <td align="center"><input type="hidden" name="ebookid[' . $tmp . '][id]" value="' . $info['id'] . '"><input type="image" src="./images/gen.png" name="go" value="Générer la Présentation" onMouseOver="javascript:this.src=\'./images/gen2.png\';" onMouseOut="javascript:this.src=\'./images/gen.png\';"></td>
  </tr>
</table>';
		echo '</fieldset>';
        echo '</center>'; 
	    $tmp++;
	}
	}
}else{ 
echo '<meta http-equiv="Refresh"content="1;URL='.$PHP_SELF.'?page=ebooks">';
}
?>
</form>