Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 18.222.182.226
<?
//Modules information
$moduleclassid = "{46ce-o6u347w}-(fk70437-126t7bo)";
$permission = 3;
//Load the standard includes
include("../includes/secur_isloggedin.php");
include("../includes/mysql_connect.php");
include("../includes/secur_accessverify.php");
//Fetch the current settings
$res = mysql_query("SELECT * FROM lhjmq_variables WHERE id_var LIKE 'homepage_column2%' ORDER BY id_index", $mysql_link);
while($row = mysql_fetch_assoc($res)){
$col2_item[$row['id_index']] = $row['var_num'];
}
$res = mysql_query("SELECT * FROM lhjmq_variables WHERE id_var LIKE 'homepage_column3%' ORDER BY id_index", $mysql_link);
while($row = mysql_fetch_assoc($res)){
$col3_item[$row['id_index']] = $row['var_num'];
}
?>
<html>
<head>
<title>Administration - www.lhjmq.qc.ca</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../css/base.css" type="text/css">
<link rel="stylesheet" href="../css/admintheme.css" type="text/css">
<link rel="stylesheet" href="../css/tablespecials.css" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
if(selObj.options[selObj.selectedIndex].value != ""){
eval(targ + ".location='" + selObj.options[selObj.selectedIndex].value + "'");
if (restore) selObj.selectedIndex=0;
}
}
//-->
</script>
<script language="JavaScript" type="text/javascript">
function VerifyForm(myForm){
return true;
}
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center" class="normaltext"><span class="titletext"><br>
Module d'administration</span><br>
<span class="subtitletext">www.lhjmq.qc.ca</span>
<hr width="70%" size="1" noshade>
<a href="../session/session_menu.php?currentmenu=news" class="normallink">Retour au menu principal</a><br>
<hr width="70%" size="1" noshade>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="normaltext">
<tr>
<td width="30" class="lightbgcorner"> </td>
<td colspan="3" bgcolor="#000099"><strong><font size="+1"><span class="darktitle">Ordre des éléments des colonnes 2 et 3</span></font></strong></td>
</tr>
<tr>
<td width="30" bgcolor="#000099"> </td>
<td width="200" align="right"> </td>
<td width="20"> </td>
<td width="350" align="left"> </td>
</tr>
<tr>
<td width="30" bgcolor="#000099"> </td>
<td colspan="3" align="left" class="cellpadding5"><p><strong>Informations:</strong></p>
<p>Ce module permet de choisir l'ordre et les items à afficher dans les colonnes 2 et 3 de la page principale. Choisissez les modules dans les listes déroulantes ci-dessous. Vous pouvez laisser des trous dans les colonnes mais ils ne s'afficheront pas.</p>
<form action="select_script.php" method="post" enctype="multipart/form-data">
<table width="840" border="0" cellpadding="3" cellspacing="0" class="normaltext">
<tr>
<td width="400">
<!-- Start of column 2 -->
<table width="100%" border="0" cellpadding="3" cellspacing="0" class="normaltext">
<tr>
<td width="30" height="10"> </td>
<td width="300"> </td>
<td width="30"> </td>
</tr>
<tr>
<td width="30" height="10"> </td>
<td width="300"><strong>Colonne 2</strong></td>
<td width="30"> </td>
</tr>
<tr>
<td width="30" height="10"> </td>
<td width="300"> </td>
<td width="30"> </td>
</tr>
<tr>
<td height="10"> </td>
<td width="300"><strong>Premier Item</strong></td>
<td> </td>
</tr>
<tr>
<td height="10"> </td>
<td width="300"><select name="col2_item[1]" id="col2_item[1]">
<option value="0"<?php if($col2_item[1] == 0){echo " SELECTED";} ?>>Aucun</option>
<option value="1"<?php if($col2_item[1] == 1){echo " SELECTED";} ?>>Événements</option>
<option value="2"<?php if($col2_item[1] == 2){echo " SELECTED";} ?>>À surveiller</option>
<option value="3"<?php if($col2_item[1] == 3){echo " SELECTED";} ?>>Joueurs de la semaine</option>
<option value="4"<?php if($col2_item[1] == 4){echo " SELECTED";} ?>>Joueurs du mois</option>
<option value="5"<?php if($col2_item[1] == 5){echo " SELECTED";} ?>>Coupe Postes Canada</option>
<option value="6"<?php if($col2_item[1] == 6){echo " SELECTED";} ?>>Abonnement LHJMQ Insider</option>
<option value="7"<?php if($col2_item[1] == 7){echo " SELECTED";} ?>>Temple de la Renommée</option>
<option value="8"<?php if($col2_item[1] == 8){echo " SELECTED";} ?>>Boutique LHJMQ</option>
<option value="9"<?php if($col2_item[1] == 9){echo " SELECTED";} ?>>Joueurs etudiant du mois</option>
</select></td>
<td> </td>
</tr>
<tr>
<td height="10"> </td>
<td width="300"> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td width="300" height="10"><strong>Deuxième Item</strong></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td width="300"><select name="col2_item[2]" id="col2_item[2]">
<option value="0"<?php if($col2_item[2] == 0){echo " SELECTED";} ?>>Aucun</option>
<option value="1"<?php if($col2_item[2] == 1){echo " SELECTED";} ?>>Événements</option>
<option value="2"<?php if($col2_item[2] == 2){echo " SELECTED";} ?>>À surveiller</option>
<option value="3"<?php if($col2_item[2] == 3){echo " SELECTED";} ?>>Joueurs de la semaine</option>
<option value="4"<?php if($col2_item[2] == 4){echo " SELECTED";} ?>>Joueurs du mois</option>
<option value="5"<?php if($col2_item[2] == 5){echo " SELECTED";} ?>>Coupe Postes Canada</option>
<option value="6"<?php if($col2_item[2] == 6){echo " SELECTED";} ?>>Abonnement LHJMQ Insider</option>
<option value="7"<?php if($col2_item[2] == 7){echo " SELECTED";} ?>>Temple de la Renommée</option>
<option value="8"<?php if($col2_item[2] == 8){echo " SELECTED";} ?>>Boutique LHJMQ</option>
<option value="9"<?php if($col2_item[2] == 9){echo " SELECTED";} ?>>Joueurs etudiant du mois</option>
</select></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td width="300" height="10"> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td width="300" height="10"><strong>Troisième Item</strong></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td width="300"><select name="col2_item[3]" id="col2_item[3]">
<option value="0"<?php if($col2_item[3] == 0){echo " SELECTED";} ?>>Aucun</option>
<option value="1"<?php if($col2_item[3] == 1){echo " SELECTED";} ?>>Événements</option>
<option value="2"<?php if($col2_item[3] == 2){echo " SELECTED";} ?>>À surveiller</option>
<option value="3"<?php if($col2_item[3] == 3){echo " SELECTED";} ?>>Joueurs de la semaine</option>
<option value="4"<?php if($col2_item[3] == 4){echo " SELECTED";} ?>>Joueurs du mois</option>
<option value="5"<?php if($col2_item[3] == 5){echo " SELECTED";} ?>>Coupe Postes Canada</option>
<option value="6"<?php if($col2_item[3] == 6){echo " SELECTED";} ?>>Abonnement LHJMQ Insider</option>
<option value="7"<?php if($col2_item[3] == 7){echo " SELECTED";} ?>>Temple de la Renommée</option>
<option value="8"<?php if($col2_item[3] == 8){echo " SELECTED";} ?>>Boutique LHJMQ</option>
<option value="9"<?php if($col2_item[3] == 9){echo " SELECTED";} ?>>Joueurs etudiant du mois</option>
</select></td>
<td height="100%" align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td height="10"> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td height="10"><strong>Quatrième Item</strong></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><select name="col2_item[4]" id="col2_item[4]">
<option value="0"<?php if($col2_item[4] == 0){echo " SELECTED";} ?>>Aucun</option>
<option value="1"<?php if($col2_item[4] == 1){echo " SELECTED";} ?>>Événements</option>
<option value="2"<?php if($col2_item[4] == 2){echo " SELECTED";} ?>>À surveiller</option>
<option value="3"<?php if($col2_item[4] == 3){echo " SELECTED";} ?>>Joueurs de la semaine</option>
<option value="4"<?php if($col2_item[4] == 4){echo " SELECTED";} ?>>Joueurs du mois</option>
<option value="5"<?php if($col2_item[4] == 5){echo " SELECTED";} ?>>Coupe Postes Canada</option>
<option value="6"<?php if($col2_item[4] == 6){echo " SELECTED";} ?>>Abonnement LHJMQ Insider</option>
<option value="7"<?php if($col2_item[4] == 7){echo " SELECTED";} ?>>Temple de la Renommée</option>
<option value="8"<?php if($col2_item[4] == 8){echo " SELECTED";} ?>>Boutique LHJMQ</option>
<option value="9"<?php if($col2_item[4] == 9){echo " SELECTED";} ?>>Joueurs etudiant du mois</option>
</select></td>
<td height="100%" align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td width="300" height="100%"> </td>
<td height="100%" align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td height="10"><strong>Cinquième Item</strong></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>
<select name="col2_item[5]" id="col2_item[5]">
<option value="0"<?php if($col2_item[5] == 0){echo " SELECTED";} ?>>Aucun</option>
<option value="1"<?php if($col2_item[5] == 1){echo " SELECTED";} ?>>Événements</option>
<option value="2"<?php if($col2_item[5] == 2){echo " SELECTED";} ?>>À surveiller</option>
<option value="3"<?php if($col2_item[5] == 3){echo " SELECTED";} ?>>Joueurs de la semaine</option>
<option value="4"<?php if($col2_item[5] == 4){echo " SELECTED";} ?>>Joueurs du mois</option>
<option value="5"<?php if($col2_item[5] == 5){echo " SELECTED";} ?>>Coupe Postes Canada</option>
<option value="6"<?php if($col2_item[5] == 6){echo " SELECTED";} ?>>Abonnement LHJMQ Insider</option>
<option value="7"<?php if($col2_item[5] == 7){echo " SELECTED";} ?>>Temple de la Renommée</option>
<option value="8"<?php if($col2_item[5] == 8){echo " SELECTED";} ?>>Boutique LHJMQ</option>
<option value="9"<?php if($col2_item[5] == 9){echo " SELECTED";} ?>>Joueurs etudiant du mois</option>
</select>
</td>
<td height="100%" align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td height="100%"> </td>
<td height="100%" align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td height="10"><strong>Sixième Item</strong></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>
<select name="col2_item[6]" id="col2_item[6]">
<option value="0"<?php if($col2_item[6] == 0){echo " SELECTED";} ?>>Aucun</option>
<option value="1"<?php if($col2_item[6] == 1){echo " SELECTED";} ?>>Événements</option>
<option value="2"<?php if($col2_item[6] == 2){echo " SELECTED";} ?>>À surveiller</option>
<option value="3"<?php if($col2_item[6] == 3){echo " SELECTED";} ?>>Joueurs de la semaine</option>
<option value="4"<?php if($col2_item[6] == 4){echo " SELECTED";} ?>>Joueurs du mois</option>
<option value="5"<?php if($col2_item[6] == 5){echo " SELECTED";} ?>>Coupe Postes Canada</option>
<option value="6"<?php if($col2_item[6] == 6){echo " SELECTED";} ?>>Abonnement LHJMQ Insider</option>
<option value="7"<?php if($col2_item[6] == 7){echo " SELECTED";} ?>>Temple de la Renommée</option>
<option value="8"<?php if($col2_item[6] == 8){echo " SELECTED";} ?>>Boutique LHJMQ</option>
<option value="9"<?php if($col2_item[6] == 9){echo " SELECTED";} ?>>Joueurs etudiant du mois</option>
</select>
</td>
<td height="100%" align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td height="100%"> </td>
<td height="100%" align="left" valign="top"> </td>
</tr>
</table>
<!-- End of column 2 -->
</td>
<td width="40"> </td>
<td width="400">
<!-- Start of column 3 -->
<table width="100%" border="0" cellpadding="3" cellspacing="0" class="normaltext">
<tr>
<td width="30" height="10"> </td>
<td width="300"> </td>
<td width="30"> </td>
</tr>
<tr>
<td width="30" height="10"> </td>
<td width="300"><strong>Colonne 3</strong></td>
<td width="30"> </td>
</tr>
<tr>
<td width="30" height="10"> </td>
<td width="300"> </td>
<td width="30"> </td>
</tr>
<tr>
<td height="10"> </td>
<td width="300"><strong>Premier Item</strong></td>
<td> </td>
</tr>
<tr>
<td height="10"> </td>
<td width="300"><select name="col3_item[1]" id="col3_item[1]">
<option value="0"<?php if($col3_item[1] == 0){echo " SELECTED";} ?>>Aucun</option>
<option value="1"<?php if($col3_item[1] == 1){echo " SELECTED";} ?>>Événements</option>
<option value="2"<?php if($col3_item[1] == 2){echo " SELECTED";} ?>>À surveiller</option>
<option value="3"<?php if($col3_item[1] == 3){echo " SELECTED";} ?>>Joueurs de la semaine</option>
<option value="4"<?php if($col3_item[1] == 4){echo " SELECTED";} ?>>Joueurs du mois</option>
<option value="5"<?php if($col3_item[1] == 5){echo " SELECTED";} ?>>Coupe Postes Canada</option>
<option value="6"<?php if($col3_item[1] == 6){echo " SELECTED";} ?>>Abonnement LHJMQ Insider</option>
<option value="7"<?php if($col3_item[1] == 7){echo " SELECTED";} ?>>Temple de la Renommée</option>
<option value="8"<?php if($col3_item[1] == 8){echo " SELECTED";} ?>>Boutique LHJMQ</option>
<option value="9"<?php if($col3_item[1] == 9){echo " SELECTED";} ?>>Joueurs etudiant du mois</option>
</select></td>
<td> </td>
</tr>
<tr>
<td height="10"> </td>
<td width="300"> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td width="300" height="10"><strong>Deuxième Item</strong></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td width="300"><select name="col3_item[2]" id="col3_item[2]">
<option value="0"<?php if($col3_item[2] == 0){echo " SELECTED";} ?>>Aucun</option>
<option value="1"<?php if($col3_item[2] == 1){echo " SELECTED";} ?>>Événements</option>
<option value="2"<?php if($col3_item[2] == 2){echo " SELECTED";} ?>>À surveiller</option>
<option value="3"<?php if($col3_item[2] == 3){echo " SELECTED";} ?>>Joueurs de la semaine</option>
<option value="4"<?php if($col3_item[2] == 4){echo " SELECTED";} ?>>Joueurs du mois</option>
<option value="5"<?php if($col3_item[2] == 5){echo " SELECTED";} ?>>Coupe Postes Canada</option>
<option value="6"<?php if($col3_item[2] == 6){echo " SELECTED";} ?>>Abonnement LHJMQ Insider</option>
<option value="7"<?php if($col3_item[2] == 7){echo " SELECTED";} ?>>Temple de la Renommée</option>
<option value="8"<?php if($col3_item[2] == 8){echo " SELECTED";} ?>>Boutique LHJMQ</option>
<option value="9"<?php if($col3_item[2] == 9){echo " SELECTED";} ?>>Joueurs etudiant du mois</option>
</select></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td width="300" height="10"> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td width="300" height="10"><strong>Troisième Item</strong></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td width="300"><select name="col3_item[3]" id="col3_item[3]">
<option value="0"<?php if($col3_item[3] == 0){echo " SELECTED";} ?>>Aucun</option>
<option value="1"<?php if($col3_item[3] == 1){echo " SELECTED";} ?>>Événements</option>
<option value="2"<?php if($col3_item[3] == 2){echo " SELECTED";} ?>>À surveiller</option>
<option value="3"<?php if($col3_item[3] == 3){echo " SELECTED";} ?>>Joueurs de la semaine</option>
<option value="4"<?php if($col3_item[3] == 4){echo " SELECTED";} ?>>Joueurs du mois</option>
<option value="5"<?php if($col3_item[3] == 5){echo " SELECTED";} ?>>Coupe Postes Canada</option>
<option value="6"<?php if($col3_item[3] == 6){echo " SELECTED";} ?>>Abonnement LHJMQ Insider</option>
<option value="7"<?php if($col3_item[3] == 7){echo " SELECTED";} ?>>Temple de la Renommée</option>
<option value="8"<?php if($col3_item[3] == 8){echo " SELECTED";} ?>>Boutique LHJMQ</option>
<option value="9"<?php if($col3_item[3] == 9){echo " SELECTED";} ?>>Joueurs etudiant du mois</option>
</select></td>
<td height="100%" align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td height="10"> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td height="10"><strong>Quatrième Item</strong></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><select name="col3_item[4]" id="col3_item[4]">
<option value="0"<?php if($col3_item[4] == 0){echo " SELECTED";} ?>>Aucun</option>
<option value="1"<?php if($col3_item[4] == 1){echo " SELECTED";} ?>>Événements</option>
<option value="2"<?php if($col3_item[4] == 2){echo " SELECTED";} ?>>À surveiller</option>
<option value="3"<?php if($col3_item[4] == 3){echo " SELECTED";} ?>>Joueurs de la semaine</option>
<option value="4"<?php if($col3_item[4] == 4){echo " SELECTED";} ?>>Joueurs du mois</option>
<option value="5"<?php if($col3_item[4] == 5){echo " SELECTED";} ?>>Coupe Postes Canada</option>
<option value="6"<?php if($col3_item[4] == 6){echo " SELECTED";} ?>>Abonnement LHJMQ Insider</option>
<option value="7"<?php if($col3_item[4] == 7){echo " SELECTED";} ?>>Temple de la Renommée</option>
<option value="8"<?php if($col3_item[4] == 8){echo " SELECTED";} ?>>Boutique LHJMQ</option>
<option value="9"<?php if($col3_item[4] == 9){echo " SELECTED";} ?>>Joueurs etudiant du mois</option>
</select></td>
<td height="100%" align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td width="300" height="100%"> </td>
<td height="100%" align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td height="10"><strong>Cinquième Item</strong></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>
<select name="col3_item[5]" id="col3_item[5]">
<option value="0"<?php if($col3_item[5] == 0){echo " SELECTED";} ?>>Aucun</option>
<option value="1"<?php if($col3_item[5] == 1){echo " SELECTED";} ?>>Événements</option>
<option value="2"<?php if($col3_item[5] == 2){echo " SELECTED";} ?>>À surveiller</option>
<option value="3"<?php if($col3_item[5] == 3){echo " SELECTED";} ?>>Joueurs de la semaine</option>
<option value="4"<?php if($col3_item[5] == 4){echo " SELECTED";} ?>>Joueurs du mois</option>
<option value="5"<?php if($col3_item[5] == 5){echo " SELECTED";} ?>>Coupe Postes Canada</option>
<option value="6"<?php if($col3_item[5] == 6){echo " SELECTED";} ?>>Abonnement LHJMQ Insider</option>
<option value="7"<?php if($col3_item[5] == 7){echo " SELECTED";} ?>>Temple de la Renommée</option>
<option value="8"<?php if($col3_item[5] == 8){echo " SELECTED";} ?>>Boutique LHJMQ</option>
<option value="9"<?php if($col3_item[5] == 9){echo " SELECTED";} ?>>Joueurs etudiant du mois</option>
</select>
</td>
<td height="100%" align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td height="100%"> </td>
<td height="100%" align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td height="10"><strong>Sixième Item</strong></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>
<select name="col3_item[6]" id="col3_item[6]">
<option value="0"<?php if($col3_item[6] == 0){echo " SELECTED";} ?>>Aucun</option>
<option value="1"<?php if($col3_item[6] == 1){echo " SELECTED";} ?>>Événements</option>
<option value="2"<?php if($col3_item[6] == 2){echo " SELECTED";} ?>>À surveiller</option>
<option value="3"<?php if($col3_item[6] == 3){echo " SELECTED";} ?>>Joueurs de la semaine</option>
<option value="4"<?php if($col3_item[6] == 4){echo " SELECTED";} ?>>Joueurs du mois</option>
<option value="5"<?php if($col3_item[6] == 5){echo " SELECTED";} ?>>Coupe Postes Canada</option>
<option value="6"<?php if($col3_item[6] == 6){echo " SELECTED";} ?>>Abonnement LHJMQ Insider</option>
<option value="7"<?php if($col3_item[6] == 7){echo " SELECTED";} ?>>Temple de la Renommée</option>
<option value="8"<?php if($col3_item[6] == 8){echo " SELECTED";} ?>>Boutique LHJMQ</option>
<option value="9"<?php if($col3_item[6] == 9){echo " SELECTED";} ?>>Joueurs etudiant du mois</option>
</select>
</td>
<td height="100%" align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td height="100%"> </td>
<td height="100%" align="left" valign="top"> </td>
</tr>
</table>
<!-- End of column 3 -->
</td>
</tr>
</table>
<table width="840" border="0" cellpadding="3" cellspacing="0" class="normaltext">
<tr>
<td align="center"><input type="submit" name="Submit" value="Sauvegarder">
<input name="id_saison" type="hidden" id="id_saison" value="<?php echo $id_saison; ?>">
</td>
<td> </td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<br>
<hr width="70%" size="1" noshade>
<a href="../session/session_menu.php?currentmenu=news" class="normallink">Retour au menu principal</a>
<hr width="70%" size="1" noshade>
<?include("../includes/logogroupimage.php");?>
</div>
</body>
</html>
<?
//Load the standard includes footers
include("../includes/mysql_cleanup.php");
?>
|