예제 #1
0
function display_gal($galid, $start = 1)
{
    global $s_joueur, $config;
    global $strGalerieInconnue, $strUploaderFichier, $strFichier, $strEnvoyer, $strUploadFichierConsignes, $strRetour, $grade;
    if (!is_gallery($galid)) {
        show_erreur($strGalerieInconnue);
    } else {
        display_gallery_dir($galid);
        display_thumbnails($galid, "", $start);
        if (($grade['a'] == 'a' || $grade['b'] == 'b' || $grade['q'] == 'q') && $galid != "") {
            echo "<form name=input action=\"?page=galerie&op=upload&g={$galid}\" method=post enctype=\"multipart/form-data\">";
            echo "<table border=0 cellpadding=0 cellspacing=0 class=bordure2><tr><td>";
            echo "<table cellspacing=1 cellpadding=0 border=0>";
            echo "<tr><td class=headerfiche>{$strUploaderFichier} {$galid}</td></tr>";
            echo "<tr><td>";
            echo "<table cellspacing=0 cellpadding=3 border=0 width=100%>";
            echo "<tr>";
            echo "<td class=titlefiche>{$strFichier} <font color=red><b>*</b></font> :</td>";
            echo "<td class=textfiche><input type=file name=userfile size=40 maxlength=80></td>";
            echo "</tr>";
            echo "<tr><td class=footerfiche align=center colspan=2><input type=submit value=\"{$strEnvoyer}\"></td></tr>";
            echo "</table>";
            echo "</td></tr></table>";
            echo "</td></tr></table>";
            echo "</form>";
            show_consignes($strUploadFichierConsignes . coolsize($config['gallery_max_filesize']));
        }
        $arraygal = explode("/", $galid);
        $linkgal = "{$arraygal['0']}";
        // to avoid the first "/"
        if ($galid) {
            for ($i = 1; $i < count($arraygal) - 1; $i++) {
                $linkgal .= "/" . $arraygal[$i];
            }
            if (count($arraygal) == 1) {
                $linkgal = "";
            }
            echo "<br><img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=\"?page=galerie&g={$linkgal}\" class=action>{$strRetour}</a><br>";
        } else {
            echo "<br><img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=\"javascript:back()\" class=action>{$strRetour}</a><br>";
        }
    }
}
예제 #2
0
    echo "<td class=textfiche><input type=rang name=rang size=5></td></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td class=textfiche colspan=2 align=center>";
    buttonBB('contenu');
    echo "</td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td class=titlefiche>{$strDescription} :</td>";
    echo "<td class=textfiche><textarea cols=50 rows=6 name=contenu ID=contenu wrap=virtual ONSELECT=\"storeCaret(this);\" ONCLICK=\"storeCaret(this);\" ONKEYUP=\"storeCaret(this);\"></textarea></td>";
    echo "</tr>";
    echo "<tr><td class=footerfiche align=center colspan=2><input type=submit value=\"{$strAjouter}\"></td></tr>";
    echo "</table>";
    echo "</td></tr></table>";
    echo "</td></tr></form></table>";
    show_consignes($strAdminSponsorsConsignes);
    echo "<br><img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=javascript:back() class=action>{$strRetour}</a><br>";
} else {
    /*** liste des tous les  sponsors  ***/
    if (empty($id)) {
        echo "<p class=title>.:: {$strSponsors} ::.</p>";
        $db->select("*");
        $db->from("{$dbprefix}sponsors");
        $db->order_by("rang");
        $sponsors = $db->exec();
        if ($db->num_rows($sponsors) == 0) {
            echo "<table cellspacing=2 cellpadding=2 border=0>";
            echo "<tr><td class=title>{$strPasDeSponsor}</td></tr>";
            echo "</table>";
        } else {
            while ($sponsor = $db->fetch($sponsors)) {
예제 #3
0
			
			<table cellspacing="0" cellpadding="3" border="0" width="100%">
			<tr>
			<td class="textfiche" colspan="2" align="center">';
                buttonBB('reglement');
                echo '</td>
			</tr>
			<tr>
			<td class="textfiche" colspan="2" align="center"><textarea cols="80" rows="10" name="reglement" ID="reglement" wrap="virtual" ONSELECT="storeCaret(this);" ONCLICK="storeCaret(this);" ONKEYUP="storeCaret(this);">' . $lad_mod->reglement . '</textarea></td>
			</tr>
			<tr><td class="footerfiche" colspan="2" align="center"><input type="submit" value="' . $strModifier . '"></td></tr>
			</table>
			</td></tr></table>
			</td></tr></table>
	</form>';
                show_consignes($strLadderADD);
            } else {
                if ($op == "do_mod_lad") {
                    if ($grade['a'] != 'a' && $grade['b'] != 'b' && $grade['u'] != 'u') {
                        js_goto('?page=login');
                    }
                    $str = '';
                    $erreur = 0;
                    /*$db->select("ladder_name");
                    	$db->from("${dbprefix}ladder_data WHERE ladder_name='$ladder_name'");
                    	$db->exec();
                    	$lad_mod=$db->fetch();
                    	
                    	if ($lad_mod->ladder_name==$ladder_name) {
                    	$erreur=1;
                    	$str=$strLadalreadyexist;
예제 #4
0
            if ($match->type == 'W' || $match->type == 'L') {
                if ($match->type == 'W') {
                    $type = $strWinner;
                } elseif ($match->type == 'L') {
                    $type = $strLooser;
                }
                if ($match->finale > 1) {
                    echo "1/{$match->finale} {$strFinale} {$type} #{$match->numero}";
                } elseif ($match->finale == 1) {
                    echo "{$strFinale} {$type} #{$match->numero}";
                } else {
                    echo "{$strGrandFinal}";
                }
            } elseif ($match->type == 'P') {
                echo "{$strPoule} {$match->poule} - {$strTour} {$match->tour}";
            }
            echo "</td>";
            echo "</tr>";
        }
        echo "</table>";
    } else {
        echo '<table cellspacing="0" cellpadding="0" border="0">';
        echo '<tr><td><img src="images/spacer.gif" height="2" alt=""></td></tr>';
        echo '<tr><td class="info" align="center" width="200">' . $strPasDeMatch . '</td></tr>';
        echo '</table>';
    }
    echo '</table>';
    echo '</form><br>';
    show_consignes($strRapporterConsignes);
    echo '<img src="images/back.gif" border="0" align="absmiddle"> <a href="javascript:back()" class="action">' . $strRetour . '</a><br>';
}
예제 #5
0
                 echo "<option value=\"I\">{$strInscrit}";
                 echo '</select>';
                 echo "<input type=submit value=\"{$strValider}\"></td></tr>";
                 echo "</form></table>";
             }
         } else {
             if ($list == 'I' || $list == 'P' || $list == 'C') {
                 echo "<table cellspacing=2 cellpadding=2 border=0>";
                 echo "<tr><td class=title>{$strPasDeJoueur}</td></tr>";
                 echo "</table>";
             }
         }
     }
     echo "<br>";
     if ($op != 'admin') {
         show_consignes($strJoueursConsignes);
     }
 } else {
     echo "<table cellspacing=2 cellpadding=2 border=0>";
     echo "<tr><td class=title>{$strPasDeJoueur}</td></tr>";
     echo "</table><br>";
 }
 /*** ajout d'un joueur ***/
 if ($op == 'admin') {
     // => Option rehcercher joueur & ajout joueur
     echo '<table border="0" cellpadding="1" cellspacing="1"><tr> <td>';
     // => END Option rehcercher joueur & ajout joueur
     echo '<form method="post" action="?page=joueurs&op=add">';
     echo '<table border=0 cellpadding="0" cellspacing="0" class="bordure2"><tr><td>';
     echo '<table cellspacing="1" cellpadding="0" border="0">';
     echo "<tr><td class=\"headerfiche\">{$strAjouterJoueur}</td></tr>";
예제 #6
0
            echo "<td colspan=2 align=center valign=top><br>";
            /***  Grandfinal ***/
            echo "<table border=0 cellpadding=0 cellspacing=0 align=center>";
            echo "<tr><td class=title align=center>{$strGrandFinal}</td></tr>";
            echo "</table>";
            echo "<table cellspacing=1 cellpadding=2 border=0 class=bordure1>";
            echo "<tr><td class=headerliste>{$strDate}</td></tr>";
            $db->select("*");
            $db->from("{$dbprefix}horaires_tournois");
            $db->where("tournois={$s_tournois}");
            $db->where("type = 'W'");
            $db->where("finale = 0");
            $res = $db->exec();
            $horaire = $db->fetch($res);
            $date = strftime(DATESTRING, $horaire->date);
            if (!$horaire->date) {
                $date = '';
            }
            echo "<td class=textliste><input type=text name=W0 value='{$date}' maxlength=20 size=20></td>";
            echo "</tr></table>";
            echo "</td>";
        }
        echo "</tr></table>";
    }
    echo "<table align=center>";
    echo "<tr><td align=center><input type=submit value=\"{$strValider}\"></td></tr>";
    echo "</table>";
    echo "</form>";
    show_consignes($strHorairesTournoisConsignes);
    echo "<img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=javascript:back() class=action>{$strRetour}</a><br>";
}
예제 #7
0
                echo "<tr>";
                echo "<td class=textliste align=center>" . $tab_serveurs[$j]->id . "</td>";
                echo "<td class=textliste align=center><img src=\"images/jeux/" . $tab_serveurs[$j]->icone . "\" border=0 align=absmiddle></td>";
                echo "<td class=textliste><img src=\"images/flags/" . $tab_serveurs[$j]->origine . ".gif\" border=0 align=absmiddle> {$servername}</td>";
                echo "<td class=textliste>" . $tab_serveurs[$j]->adresse . ":" . $tab_serveurs[$j]->port . "</td>";
                echo "<td class=textliste align=center><input type=checkbox name=tab_serveurs[] value=\"" . $tab_serveurs[$j]->id . "\" style=\"border=0px;background-color:transparent;\"";
                if (utilise_serveur($tab_serveurs[$j]->id, $s_tournois)) {
                    echo " CHECKED";
                }
                echo ">";
                echo "</td>";
                echo "</tr>";
            }
            echo "</table>";
            echo "</td></tr></table>";
            echo "</td>";
        }
        echo "</tr></table>";
        echo "<table cellspacing=1 cellpadding=2 border=0>";
        echo "<tr><td class=text align=center><a href=javascript:select_all('liste')>{$strToutSelectionner}<a/> - <a href=javascript:unselect_all('liste')>{$strToutDeselectionner}<a/></td></tr>";
        echo "<tr><td class=text align=center><input type=submit value=\"{$strValider}\"></td></tr>";
        echo "</table><br>";
        echo "</form>";
    } else {
        echo "<table cellspacing=2 cellpadding=2 border=0>";
        echo "<tr><td class=title>{$strPasDeServeur}</td></tr>";
        echo "</table><br>";
    }
    show_consignes($strServeursTournoisConsignes);
    echo "<img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=javascript:back() class=action>{$strRetour}</a><br>";
}
예제 #8
0
                 echo "<option value=\"V\">{$strValidee}";
                 echo '</select>';
                 echo "<input type=submit value=\"{$strValider}\"></td></tr>";
                 echo "</form></table>";
             }
         } else {
             if ($list == 'A' || $list == 'V' || $list == 'C') {
                 echo "<table cellspacing=2 cellpadding=2 border=0>";
                 echo "<tr><td class=title>{$strPasDEquipe}</td></tr>";
                 echo "</table>";
             }
         }
     }
     echo "<br>";
     if ($op != 'admin') {
         show_consignes($strEquipesConsignes);
     }
 } else {
     echo "<table cellspacing=2 cellpadding=2 border=0>";
     echo "<tr><td class=title>{$strPasDEquipe}</td></tr>";
     echo "</table><br>";
 }
 /*** ajout d'une equipe ***/
 if ($op == 'admin') {
     echo "<form method=post action=?page=equipes&op=add>";
     echo "<table border=0 cellpadding=0 cellspacing=0 class=bordure2><tr><td>";
     echo "<table cellspacing=1 cellpadding=0 border=0>";
     echo "<tr><td class=headerfiche>{$strAjouterEquipe}</td></tr>";
     echo "<tr><td>";
     echo "<table cellspacing=0 cellpadding=3 border=0 width=100%>";
     echo "<tr>";
예제 #9
0
        echo "</tr></table>";
    }
    /*** ajout d'un jeu ***/
    echo "<form method=post action=?page=jeux&op=add>";
    echo "<table border=0 cellpadding=0 cellspacing=0 class=bordure2><tr><td>";
    echo "<table cellspacing=1 cellpadding=0 border=0>";
    echo "<tr><td class=headerfiche colspan=2>{$strAjouterJeu}</td></tr>";
    echo "<tr><td>";
    echo "<table cellspacing=0 cellpadding=3 border=0 width=100%>";
    echo "<tr><td class=titlefiche>{$strNom} <font color=red><b>*</b></font> : </td><td class=textfiche><input type=text name=nom></td>";
    echo "<tr><td class=titlefiche>{$strSigle} <font color=red><b>*</b></font> :</td><td class=textfiche><input type=text name=sigle></td>";
    echo "<tr><td class=titlefiche>{$strIcone} <font color=red><b>*</b></font> :</td>";
    echo "<td class=textfiche>";
    echo "<select name=icone>";
    $fd = opendir("images/jeux");
    while ($file = readdir($fd)) {
        if ($file != "." && $file != "..") {
            echo "<option value=\"{$file}\">{$file}";
        }
    }
    echo "</select>";
    closedir($fd);
    echo "</td>";
    echo "<tr><td class=footerfiche colspan=2 align=center><input type=submit value=\"{$strAjouter}\"></td></tr>";
    echo "</table>";
    echo "</td></tr></table>";
    echo "</td></tr></table>";
    echo "</form>";
    show_consignes($strAdminJeuxConsignes);
    echo "<img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=javascript:back() class=action>{$strRetour}</a><br>";
}
예제 #10
0
        echo "</td></tr>";
        echo "<tr>";
        echo "<td class=textfiche colspan=2 align=center>";
        buttonBB('contenu');
        echo "</td>";
        echo "</tr>";
        echo "<tr>";
        echo "<td class=titlefiche style=\"white-space:normal\">{$strContenu} :</td>";
        echo "<td class=textfiche><textarea cols=60 rows=10 name=contenu ID=contenu wrap=virtual ONSELECT=\"storeCaret(this);\" ONCLICK=\"storeCaret(this);\" ONKEYUP=\"storeCaret(this);\"></textarea></td>";
        echo "</tr>";
        echo "<tr><td class=footerfiche colspan=2 align=center><input type=submit value=\"{$strAjouter}\"></td></tr>";
        echo "</table>";
        echo "</td></tr></table>";
        echo "</td></tr></table>";
        echo "</form>";
        show_consignes($strAddPageConsignes);
    }
}
/********************************************************
 * List pour modif d'une page 
 */
if ($_GET['op'] == "listm") {
    if ($grade['a'] == 'a' || $grade['b'] == 'b' || $grade['g'] == 'g') {
        echo "<table border=0 cellpadding=0 cellspacing=0 class=bordure2><tr><td>";
        echo "<table cellspacing=1 cellpadding=0 border=0>";
        echo "<tr><td class=header  fiche>&nbsp;&nbsp;&nbsp; {$strModifierPageR} &nbsp;&nbsp;&nbsp;</td></tr>";
        echo "<tr><td>";
        echo "<table cellspacing=0 cellpadding=3 border=0 width=100%>";
        $sqlx = "SELECT rubrique,id FROM {$dbprefix}page GROUP BY rubrique";
        $reqx = mysql_query($sqlx) or die('Erreur SQL !<br>' . $sqlx . '<br>' . mysql_error());
        $i2 = '1';
예제 #11
0
            /***  Grandfinal ***/
            echo "<br><table border=0 cellpadding=0 cellspacing=0 align=center>";
            echo "<tr><td class=title align=center>{$strGrandFinal}</td></tr>";
            echo "</table>";
            echo "<table cellspacing=1 cellpadding=2 border=0 class=bordure1>";
            echo "<tr>";
            for ($i = 1; $i <= $nb_manches_max_tournois; $i++) {
                echo "<td class=headerliste>{$strMap} {$strManche} {$i}</td>";
            }
            echo "</tr>";
            for ($j = 1; $j <= $nb_manches_max_tournois; $j++) {
                $db->select("*");
                $db->from("{$dbprefix}maps_tournois");
                $db->where("tournois={$s_tournois}");
                $db->where("type = 'W'");
                $db->where("finale = 0");
                $db->where("manche = {$j}");
                $res = $db->exec();
                $maptournois = $db->fetch($res);
                echo "<td class=textliste><input type=text name=W0_{$j} value='{$maptournois->map}' maxlength=20 size=20> <a href=javascript:ouvrir_fenetre('?page=maps&op=list&input=W0_{$j}&header=win','maps',100,400)>[...]</a></td>";
            }
            echo "</tr></table>";
        }
    }
    echo "<table align=center>";
    echo "<tr><td align=center><input type=submit value=\"{$strValider}\"></td></tr>";
    echo "</table>";
    echo "</form>";
    show_consignes($strMapsTournoisConsignes);
    echo "<img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=javascript:back() class=action>{$strRetour}</a><br>";
}
예제 #12
0
                $equipes = equipes_joueur($s_joueur);
                if (count($equipes)) {
                    show_erreur_saisie($strJoueurNonManager);
                } else {
                    /* doit rejoindre une &eacute;quipe */
                    js_goto("?page=equipes&op=rejoindre");
                }
            }
        }
        echo "</select></td></tr>";
        echo "<tr><td class=footerfiche align=center colspan=2><input type=submit value=\"{$strValider}\"></td></tr>";
        echo "</table>";
        echo "</td></tr></table>";
        echo "</td></tr></table>";
        echo "</form>";
        show_consignes($strSelectionEquipeConsignes);
        echo "<img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=javascript:back() class=action>{$strRetour}</a><br>";
    } else {
        js_goto("?page=equipe&op=rejoindre");
    }
} elseif ($op == "libere") {
    /* pour l'instant, seul l'administrateur master/normal/de salle peut lib&eacute;rer une place */
    if ($grade['a'] == 'a' || $grade['b'] == 'b' || $grade['k'] == 'k') {
        $db->update("{$dbprefix}plan");
        $db->set("status = '0'");
        $db->where("place = '{$place}'");
        $db->exec();
    }
    js_goto("?page=plan");
} else {
    if ($op == 'admin' && ($grade['a'] != 'a' && $grade['b'] != 'b' && $grade['k'] != 'k')) {
예제 #13
0
            for ($j = $i; $j < count($tab_participants); $j = $j + $config['col_' . $equipesX]) {
                echo "<tr>";
                echo "<td class=textliste align=center>" . $tab_participants[$j]->id . "</td>";
                if ($tab_participants[$j]->status == "P") {
                    echo "<td class=textliste>" . $show($tab_participants[$j]->id, $op, '') . "</td>";
                } elseif ($tab_participants[$j]->status == "F") {
                    echo "<td class=textliste>" . $show($tab_participants[$j]->id, $op, 'F') . "</td>";
                } elseif ($tab_participants[$j]->status == "D") {
                    echo "<td class=textliste>" . $show($tab_participants[$j]->id, $op, 'D') . "</td>";
                }
                if ($tab_participants[$j]->seed && $tab_participants[$j]->seed != 10000) {
                    echo "<td class=textliste align=center>#" . $tab_participants[$j]->seed . "</td>";
                } else {
                    echo "<td class=textliste align=center> - </td>";
                }
                $date = strftime(DATESTRING1, $tab_participants[$j]->date);
                if ($date == 0) {
                    $date = '';
                }
                echo "<td class=textliste align=center>{$date}</td>";
                echo "</tr>";
            }
            echo "</table>";
            echo "</td></tr></table>";
            echo "</td>";
        }
        echo "</tr></table>";
    }
    show_consignes($strInscriptionsTournoisConsignes);
    echo "<img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=javascript:back() class=action>{$strRetour}</a><br>";
}
예제 #14
0
        $j++;
    }
    echo "{$line}";
    echo "</table>";
    /*** upload des fichier ***/
    if ($upload == 1) {
        echo "<br>";
        echo "<form name=input action=\"?page=matchs_browser&op=upload&header=win\" method=post enctype=\"multipart/form-data\">";
        echo "<input type=\"hidden\" name=\"match\" value=\"{$match}\">";
        echo "<input type=\"hidden\" name=\"directory\" value=\"{$directory}\">";
        echo "<table border=0 cellpadding=0 cellspacing=0 class=bordure2><tr><td>";
        echo "<table cellspacing=1 cellpadding=0 border=0>";
        echo "<tr><td class=headerfiche>{$strUploaderFichier} {$directory}</td></tr>";
        echo "<tr><td>";
        echo "<table cellspacing=0 cellpadding=3 border=0 width=100%>";
        echo "<tr>";
        echo "<td class=titlefiche>{$strFichier} <font color=red><b>*</b></font> :</td>";
        echo "<td class=textfiche><input type=file name=userfile size=40 maxlength=80></td>";
        echo "</tr>";
        echo "<tr><td class=footerfiche align=center colspan=2><input type=submit value=\"{$strEnvoyer}\"></td></tr>";
        echo "</table>";
        echo "</td></tr></table>";
        echo "</td></tr></table>";
        echo "</form>";
        show_consignes($strUploadFichierConsignes . coolsize($config['download_max_filesize']));
    }
    echo "<img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=javascript:close() class=action>{$strRetour}</a><br>";
}
?>
                                                                                                                                                                                
예제 #15
0
        $db->from("{$dbprefix}jeux");
        $db->order_by("sigle");
        $db->exec();
        while ($jeux = $db->fetch()) {
            echo "<option value={$jeux->id}>{$jeux->sigle}";
        }
        echo "</select></td></tr>";
        echo "<tr><td class=titlefiche>{$strQstatProtocole} :</td>";
        echo "<td class=textfiche><select name=protocole>";
        echo "<option value=''>";
        $tab_protos = file("qstat/protocoles");
        for ($i = 0; $i < count($tab_protos); $i++) {
            $tab_proto = split(',', $tab_protos[$i]);
            $proto_code = $tab_proto[0];
            $proto_name = $tab_proto[1];
            echo "<option value={$proto_code}";
            echo ">{$proto_name}";
        }
        echo "</select></td></tr>";
        echo "<tr><td class=titlefiche>Rcon : </td><td class=textfiche><input type=text size=15 name=rcon></td></tr>";
        echo "<tr><td class=titlefiche>{$strPublierServeurDans} : </td><td class=textfiche>{$strM4} <input type=checkbox style=\"border:0px\" name=insert_m4 value=1> {$strAdminBot} <input type=checkbox style=\"border:0px\" name=insert_ab value=1></td></tr>";
        echo "<tr><td class=footerfiche colspan=2 align=center><input type=submit value=\"{$strAjouter}\"></td></tr>";
        echo "</table>";
        echo "</td></tr>";
        echo "</form>";
        echo "</table>";
        echo "</td></tr></table>";
        show_consignes($strServeursConsignes);
    }
    echo "<br><img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=javascript:back() class=action>{$strRetour}</a><br>";
}
예제 #16
0
    echo "<input type=radio name=mail value='S' style=\"border: 0px;background-color:transparent;\"";
    if ($configuration->mail == 'S') {
        echo " CHECKED";
    }
    echo "> {$strSmtp}";
    echo "<input type=radio name=mail value='N' style=\"border: 0px;background-color:transparent;\"";
    if ($configuration->mail == 'N') {
        echo " CHECKED";
    }
    echo "> {$strNon}";
    echo "</td></tr>";
    /*** smtpserver ***/
    echo "<tr><td class=titlefiche width=33%>{$strSmtpServeur} :</td>";
    echo "<td class=textfiche><input type=text name=smtpserver value=\"{$configuration->smtpserver}\" size=50>";
    echo "</td></tr>";
    /*** smtpuser ***/
    echo "<tr><td class=titlefiche>{$strSmtpUser} :</td>";
    echo "<td class=textfiche><input type=text name=smtpuser value=\"{$configuration->smtpuser}\" size=20>";
    echo "</td></tr>";
    /*** smtppassword ***/
    echo "<tr><td class=titlefiche>{$strSmtpPassword} :</td>";
    echo "<td class=textfiche><input type=password name=smtppassword value=\"{$configuration->smtppassword}\" size=20>";
    echo "</td></tr>";
    echo "<tr><td class=footerfiche align=center colspan=2><input type=submit value=\"{$strModifier}\"> <input type=button value=\"{$strAnnuler}\" onclick=back()></td></tr>";
    echo "</table>";
    echo "</td></tr></table>";
    echo "</td></tr></table>";
    echo "</form>";
    show_consignes($strConfigurationConsignes);
    echo "<img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=javascript:back() class=action>{$strRetour}</a><br>";
}
예제 #17
0
            $db->exec();
            while ($jeux = $db->fetch()) {
                echo "<option value={$jeux->id}>{$jeux->sigle}";
            }
            echo "</select></td></tr>";
            echo "<tr>";
            echo "<td class=titlefiche>{$strModeEquipe} <font color=red><b>*</b></font> :</td>";
            echo "<td class=textfiche>";
            echo "<input type=radio name=modeequipe value=E CHECKED style=\"border: 0px;background-color:transparent;\">{$strEquipes}";
            echo "<input type=radio name=modeequipe value=J style=\"border: 0px;background-color:transparent;\">{$strJoueurs}";
            echo "</td></tr>";
            echo "<td class=titlefiche>{$strModeMatchScore} <font color=red><b>*</b></font> :</td>";
            echo "<td class=textfiche>";
            echo "<input type=radio name=modematchscore value=F CHECKED style=\"border: 0px;background-color:transparent;\">{$strFragAverage}";
            echo "<input type=radio name=modematchscore value=R style=\"border: 0px;background-color:transparent;\">{$strRoundAverage}";
            echo "<input type=radio name=modematchscore value=RF style=\"border: 0px;background-color:transparent;\">{$strRoundAverageFragAverage}";
            echo "</td></tr>";
            echo "<td class=titlefiche>{$strNbPlaces} :</td>";
            echo "<td class=textfiche>";
            echo "<input type=text name=nbplaces value=\"\" size=4>";
            echo "</td></tr>";
            echo "<tr><td class=footerfiche colspan=2 align=center><input type=submit value=\"{$strAjouter}\"></td></tr>";
            echo "</table>";
            echo "</td></tr></table>";
            echo "</td></tr></table>";
            echo "</form>";
            show_consignes($strTournoisConsignes);
        }
        echo "<img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=javascript:back() class=action>{$strRetour}</a><br>";
    }
}
예제 #18
0
    }
    echo "<table cellspacing=0 cellpadding=0 border=0 class=liste><tr valign=top>";
    for ($i = 0; $i < $colarbitre; $i++) {
        echo "<td>";
        echo "<table border=0 cellpadding=0 cellspacing=0 class=bordure1><tr><td>";
        echo "<table cellspacing=1 cellpadding=2 border=0>";
        echo "<tr align=\"center\"><td class=headerliste width=120>{$strPseudo}</td><td class=headerliste width=120>{$strEmailContact}</td><td class=headerliste width=120>{$strMSN}</td>";
        for ($j = $i; $j < count($tab_arbitre); $j = $j + $colarbitre) {
            echo "<tr>";
            echo "<td class=textliste align=center>" . $tab_arbitre[$j]->pseudo . "</td>";
            echo "<td class=textliste align=center><a href='mailto:" . $tab_arbitre[$j]->email . "'>" . $tab_arbitre[$j]->email . "</a></td>";
            echo "<td class=textliste align=center>" . $tab_arbitre[$j]->msn . "</td>";
            echo "</tr>";
        }
        echo "</table>";
        echo "</td></tr></table>";
        echo "</td>";
    }
    echo "</tr></table>";
} else {
    echo "<table cellspacing=0 cellpadding=0 border=0 class=liste><tr valign=top><td>";
    echo "<table border=0 cellpadding=0 cellspacing=0 class=bordure1><tr><td>";
    echo "<table cellspacing=1 cellpadding=2 border=0>";
    echo "<tr align=\"center\"><td class=headerliste>{$strPseudo}</td><td class=headerliste width=120>{$strEmailContact}</td><td class=headerliste align=\"center\" width=10>{$strMSN}</td></tr>";
    echo "<tr align=\"center\"><td class=textliste align=center colspan=3>{$strNoarbitres}</td></tr>";
    echo "</table>";
    echo "</td></tr></table>";
    echo "</td></tr></table>";
}
show_consignes($strInscriptionsTournoisArbitre);
echo "<img src=\"images/back.gif\" border=0 align=align=absmiddle> <a href=javascript:back() class=action>{$strRetour}</a><br>";