Voici le code de ma page allopass.php (je doit surement faire une co***rie).
<?php
/*************************
Coppermine Photo Gallery
************************
Copyright (c) 2003-2005 Coppermine Dev Team
v1.1 originaly written by Gregory DEMAR
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
********************************************
Coppermine version: 1.4.3
$Source: /cvsroot/coppermine/stable/faq.php,v $
$Revision: 1.8 $
$Author: gaugau $
$Date: 2005/11/28 07:42:14 $
**********************************************/
define('IN_COPPERMINE', true);
define('ALLOPASS_PHP', true);
global $CONFIG;
require('include/init.inc.php');
?>
<?php $album={$album['aid'];
if ($album=9){
<table border="0" cellpadding="0" cellspacing="0" width="300" bordercolor="Black">
<tr>
<td width="300" height="25" colspan="2" bgcolor="#FFFFFF" align="center" valign="top">
<img src="http://www.allopass.com/imgweb/script/fr_uk/acces_title.jpg" width="300" height="25" align="center" alt="Logo">
</td>
</tr>
<tr>
<td colspan="2" width="300" height="137" align="left">
<img name="acces_top" src="http://www.allopass.com/show_top2.php4?SITE_ID=73986&DOC_ID=194075&LG=fr_uk" width="300" height="137" align="center">
</td>
</tr>
<tr>
<td width=79 height=29 bgcolor="#FFFFFF" align="center" valign="top">
<img src="http://www.allopass.com/imgweb/script/fr_uk/acces_left.jpg" width="79" height="29" align="center">
</td>
<td width="254" height="29" bgcolor="#FFFFFF" align="right"><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=274877906948&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_fr.gif" width="35" height="29" alt="" /></a><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=8192&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_it.gif" width="35" height="29" alt="" /></a><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=33555456&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_es.gif" width="35" height="29" alt="" /></a><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=32&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_uk.gif" width="35" height="29" alt="" /></a><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=274945048576&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_be.gif" width="35" height="29" alt="" /></a><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=274886295616&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_ch.gif" width="35" height="29" alt="" /></a>
</td>
</tr>
<tr>
<td colspan="2" align='right' bgcolor='white'><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=4096&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_lu.gif" width="35" height="29" alt="" /></a><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=134217728&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_ca.gif" width="35" height="29" alt="" /></a><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=4398046511120&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_de.gif" width="35" height="29" alt="" /></a><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=2048&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_at.gif" width="35" height="29" alt="" /></a><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=512&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_nl.gif" width="35" height="29" alt="" /></a><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=16777216&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_se.gif" width="35" height="29" alt="" /></a><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=524288&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_hk.gif" width="35" height="29" alt="" /></a><a href="javascript:;" onClick="javascript:window.open('http://www.allopass.com/show_accessv2.php4?PALIER=2097152&SITE_ID=73986&DOC_ID=194075&LG=fr','phone','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=300,height=320');"><img border="0" src="http://www.allopass.com/imgweb/common/flag_nz.gif" width="35" height="29" alt="" /></a></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" colspan="2" width="300" valign="top" align="center">
<font face="Arial,Helvetica" size="1" color="#000000">
<B>Entrer votre code d'accès - Enter your access code</B>
<form name="APform" action="http://www.allopass.com/check/index.php4" method="post">
<input type="hidden" name="SITE_ID" value="73986">
<input type="hidden" name="DOC_ID" value="194075">
<input type="text" size="8" maxlength="10" value="" name="CODE0" style="BACKGROUND-COLOR: #E7E7E7; BORDER-BOTTOM: #000080 1px solid; BORDER-LEFT: #000080 1px solid; BORDER-RIGHT: #000080 1px solid; BORDER-TOP: #000080 1px solid; COLOR: #000080; CURSOR: text; FONT-FAMILY: Arial; FONT-SIZE: 10pt; FONT-WEIGHT:bold; LETTER-SPACING: normal; WIDTH:70; TEXT-ALIGN=center;"> <br />
<input type="button" name="APsub" value="" onclick=" this.form.submit(); this.form.APsub.disabled=true;" style="border:0px;margin:0px;padding:0px;width:48px; height:18px; background:url('http://www.allopass.com/imgweb/common/bt_ok.gif');"><br />
<font face="Arial,Helvetica" size=1 color="#000000">
Allopass
<a href="http://www.allopass.com" target="_blank">
<font color="Black" size=1>http://www.allopass.com</font>
</a>
</font>
</form>
</font>
</td>
</tr>
</table> };
else {
'{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}";
} ?>