Salut, comme script de base j'ai :
/********************************************************
* Creation d'un joueur externe
*/
elseif($op == "inscription") {
/*** verification securite ***/
if(!$config['inscription_joueur']) goto("?page=index");
if(!isset($ok) && $config['decharge']) {
echo "<p class=title>.:: $strConditionsGenerales ::.</p>";
$decharge=$config['decharge'];
$decharge=str_replace ( "..", "", $decharge);
if(file_exists("./include/html/decharge/$s_lang/$decharge") && !is_dir("./include/html/decharge/$s_lang/$decharge")) {
echo '<textarea readonly cols=60 rows=21 wrap=VIRTUAL>';
readfile("./include/html/decharge/$s_lang/$decharge");
echo '</textarea>';
}
echo "<table border=0><tr>";
echo "<td><input type=submit name=action value=\"$strJAccepte\" onclick=\"location='?page=joueurs&op=inscription&ok=1'\"></td>";
echo "<td><input type=submit name=action value=\"$strJeRefuse\" onclick=\"location='?page=index'\"></td>";
echo "</tr></table><br>";
}
Qui donne une page avec un iframe et les bouton en bas pour accepter !
Donc vu que je veux faire un tournoi avec des cadeaux il faut donner un allopass pour l'inscription donc j'enleve les cases :
/********************************************************
* Creation d'un joueur externe
*/
elseif($op == "inscription") {
/*** verification securite ***/
if(!$config['inscription_joueur']) goto("?page=index");
if(!isset($ok) && $config['decharge']) {
echo "<p class=title>.:: $strConditionsGenerales ::.</p>";
$decharge=$config['decharge'];
$decharge=str_replace ( "..", "", $decharge);
if(file_exists("./include/html/decharge/$s_lang/$decharge") && !is_dir("./include/html/decharge/$s_lang/$decharge")) {
echo '<textarea readonly cols=60 rows=21 wrap=VIRTUAL>';
readfile("./include/html/decharge/$s_lang/$decharge");
echo '</textarea>';
}
echo "<table border=0><tr>";
echo "</tr></table><br>";
}
J'usqua la sa marche toujours !!!
Maintenant sa beug :
Ou quand j'ajoute le script d'allopasse
ou alors quand je fait sa :
/********************************************************
* Creation d'un joueur externe
*/
elseif($op == "inscription") {
/*** verification securite ***/
if(!$config['inscription_joueur']) goto("?page=index");
if(!isset($ok) && $config['decharge']) {
echo "<p class=title>.:: $strConditionsGenerales ::.</p>";
$decharge=$config['decharge'];
$decharge=str_replace ( "..", "", $decharge);
if(file_exists("./include/html/decharge/$s_lang/$decharge") && !is_dir("./include/html/decharge/$s_lang/$decharge")) {
echo '<textarea readonly cols=60 rows=21 wrap=VIRTUAL>';
readfile("./include/html/decharge/$s_lang/$decharge");
echo '</textarea>';
}
echo "<table border=0><tr>";
if(file_exists("./include/html/paiement") && !is_dir("./include/html/paiement")) {
echo '<textarea readonly cols=60 rows=21 wrap=VIRTUAL>';
readfile("./include/html/paiement");
echo '</textarea>';
echo "</tr></table><br>";
}
La sa beug je comprend pas pourquoi sa me dit qu'il y a une erreur sur une ligne 500 ligne après qui est vide enplus !!!
Aider-moi !!!
Merci