Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 3.21.244.34
<?
//Modules information
$moduleclassid = "{8367-2340d3n}-(7bjqb8k-782k46e)";
$permission = 3;
//Load the standard includes
include("../includes/secur_isloggedin.php");
include("../includes/mysql_connect.php");
include("../includes/secur_accessverify.php");
//Get the temple flags
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_show_fr'", $mysql_link));
$show_fr = $row[var_num];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_title_fr'", $mysql_link));
$title_fr = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_pic_fr'", $mysql_link));
$pic_fr = $row[var_num];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_link_fr'", $mysql_link));
$link_fr = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_desc_fr'", $mysql_link));
$desc_fr = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_show_en'", $mysql_link));
$show_en = $row[var_num];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_title_en'", $mysql_link));
$title_en = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_pic_en'", $mysql_link));
$pic_en = $row[var_num];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_link_en'", $mysql_link));
$link_en = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_desc_en'", $mysql_link));
$desc_en = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_photo_fr'", $mysql_link));
$_POST['photo_fr'] = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_photo_en'", $mysql_link));
$_POST['photo_en'] = $row[var_text];
?>
<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">
<!--
var gwhl_quickNav = null;
function nav_window(formtag, fieldname) {
if(gwhl_quickNav != null && gwhl_quickNav.closed == false){
gwhl_quickNav.close();
}
gwhl_quickNav = window.open('../info_filebrowser/quicknav.php?formtag='+formtag+'&fieldname='+fieldname, 'quicknav', 'width=250, height=400, scrollbars=yes, menu=no');
}
//-->
</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">Configuration de la section "Boutique LHJMQ"</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 gérer les informations affichées sur la page frontispice quant à la section Boutique LHJMQ.</p>
<form action="select_script.php" name="store_form" method="post" enctype="multipart/form-data">
<table width="100%" border="0" cellpadding="3" cellspacing="0" class="normaltext">
<tr>
<td width="30"> </td>
<td align="right" nowrap> </td>
<td width="20"> </td>
<td> </td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap>Section Boutique LHJMQ activée? (Français)</td>
<td width="20"> </td>
<td>
<input name="show_fr" type="radio" value="1"<?php if($show_fr == 1){ echo " CHECKED";} ?>> Oui
<input type="radio" name="show_fr" value="0"<?php if($show_fr == 0){ echo " CHECKED";} ?>> Non
</td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap>Section Boutique LHJMQ activée? (Anglais)</td>
<td width="20"> </td>
<td>
<input name="show_en" type="radio" value="1"<?php if($show_en == 1){ echo " CHECKED";} ?>>Oui
<input type="radio" name="show_en" value="0"<?php if($show_en == 0){ echo " CHECKED";} ?>> Non
</td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap> </td>
<td width="20"> </td>
<td> </td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap>Titre de la section (Français)</td>
<td width="20"> </td>
<td><input name="title_fr" type="text" id="title_fr" value="<?php echo $title_fr; ?>" size="30" maxlength="30"></td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap>Titre de la section (Anglais)</td>
<td width="20"> </td>
<td><input name="title_en" type="text" id="title_en" value="<?php echo $title_en; ?>" size="30" maxlength="30"></td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap> </td>
<td width="20"> </td>
<td> </td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap>Afficher photo (Français)</td>
<td width="20"> </td>
<td>
<input name="pic_fr" type="radio" value="1"<?php if($pic_fr == 1){ echo " CHECKED";} ?>> Oui
<input type="radio" name="pic_fr" value="0"<?php if($pic_fr == 0){ echo " CHECKED";} ?>> Non
</td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap>Afficher photo (Anglais)</td>
<td width="20"> </td>
<td>
<input name="pic_en" type="radio" value="1"<?php if($pic_en == 1){ echo " CHECKED";} ?>>Oui
<input type="radio" name="pic_en" value="0"<?php if($pic_en == 0){ echo " CHECKED";} ?>>Non
</td>
<td width="30"> </td>
</tr>
<tr>
<td> </td>
<TD align="right" valign="top"> </TD>
<TD> </TD>
<TD> </TD>
<td> </td>
</tr>
<tr>
<td width="30"> </td>
<TD align="right" valign="top"><STRONG>Photo (Française)</STRONG></TD>
<TD> </TD>
<TD> </TD>
<td width="30"> </td>
</tr>
<tr>
<td> </td>
<td align="right">Utiliser le lien</td>
<td> </td>
<td>
<input name="photo_fr" type="text" class="blackText11px" id="photo_fr" value="<?php echo stripslashes($_POST['photo_fr']); ?>" size="50">
<input name="nav_photo_fr" type="button" class="blackText11px" id="nav_photo_fr" value="Trouver" onClick="nav_window('store_form', 'photo_fr')">
</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td align="right" nowrap>Ou envoyez une nouvelle photo</td>
<td> </td>
<td>
<input name="photo_fr_upload" type="file" class="blackText11px" id="photo_fr_upload" size="50" style="border: 1px solid #546085">
</td>
<td> </td>
</tr>
<tr>
<td> </td>
<TD align="right" valign="top"> </TD>
<TD> </TD>
<TD> </TD>
<td> </td>
</tr>
<tr>
<td width="30"> </td>
<TD align="right" valign="top"><STRONG>Photo (Anglaise)</STRONG></TD>
<TD> </TD>
<TD> </TD>
<td width="30"> </td>
</tr>
<tr>
<td> </td>
<td align="right">Utiliser le lien</td>
<td> </td>
<td>
<input name="photo_en" type="text" class="blackText11px" id="photo_en" value="<?php echo stripslashes($_POST['photo_en']); ?>" size="50">
<input name="nav_photo_en" type="button" class="blackText11px" id="nav_photo_en" value="Trouver" onClick="nav_window('store_form', 'photo_en')">
</td>
<td align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td align="right" nowrap>Ou envoyez une nouvelle photo</td>
<td> </td>
<td>
<input name="photo_en_upload" type="file" class="blackText11px" id="photo_en_upload" size="50" style="border: 1px solid #546085">
</td>
<td align="left" valign="top"> </td>
</tr>
<tr>
<td> </td>
<td align="right" nowrap> </td>
<td> </td>
<td> </td>
<td align="left" valign="top"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap>Lien sur photo (Français)</td>
<td width="20"> </td>
<td><input name="link_fr" type="text" id="link_fr" value="<?php echo $link_fr; ?>" size="40" maxlength="250"></td>
<td width="30" align="left" valign="top"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap>Lien sur photo (Anglais)</td>
<td width="20"> </td>
<td><input name="link_en" type="text" id="link_en" value="<?php echo $link_en; ?>" size="40" maxlength="250"></td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap> </td>
<td width="20"> </td>
<td> </td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap>Description (Français)</td>
<td width="20"> </td>
<td><input name="desc_fr" type="text" id="desc_fr" value="<?php echo $desc_fr; ?>" size="40" maxlength="250"></td>
<td width="30" align="left" valign="top"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap>Description (Anglais)</td>
<td width="20"> </td>
<td><input name="desc_en" type="text" id="desc_en" value="<?php echo $desc_en; ?>" size="40" maxlength="250"></td>
<td width="30" align="left" valign="top"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap> </td>
<td width="20"> </td>
<td> </td>
<td width="30" align="left" valign="top"> </td>
</tr>
<tr>
<td width="30"> </td>
<td align="right" nowrap><input type="submit" name="Submit" value="Sauvegarder">
<input name="id_saison" type="hidden" id="id_saison" value="<?php echo $id_saison; ?>">
</td>
<td width="20"> </td>
<td> </td>
<td width="30"> </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");
?>
|