AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.23.92.50


Current Path : /var/www/lhjmq-records.qc.ca/public_html/administration/news_temple/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/administration/news_temple/select.php

<?
//Modules information
$moduleclassid = "{193k-890679e}-(4q9hq5a-348b1hu)";
$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 = 'temple_show_fr'", $mysql_link));
$show_fr = $row[var_num];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'temple_title_fr'", $mysql_link));
$title_fr = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'temple_pic_fr'", $mysql_link));
$pic_fr = $row[var_num];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'temple_link_fr'", $mysql_link));
$link_fr = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'temple_desc_fr'", $mysql_link));
$desc_fr = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'temple_show_en'", $mysql_link));
$show_en = $row[var_num];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'temple_title_en'", $mysql_link));
$title_en = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'temple_pic_en'", $mysql_link));
$pic_en = $row[var_num];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'temple_link_en'", $mysql_link));
$link_en = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'temple_desc_en'", $mysql_link));
$desc_en = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'temple_photo_fr'", $mysql_link));
$_POST['photo_fr'] = $row[var_text];
$row = mysql_fetch_array(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'temple_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">&nbsp;</td>
      <td colspan="3" bgcolor="#000099"><strong><font size="+1"><span class="darktitle">Configuration de la section &quot;Temple de la Renomm&eacute;e&quot;</span></font></strong></td>
    </tr>
    <tr> 
      <td width="30" bgcolor="#000099">&nbsp;</td>
      <td width="200" align="right">&nbsp;</td>
      <td width="20">&nbsp;</td>
      <td width="350" align="left">&nbsp;</td>
    </tr>
    <tr> 
      <td width="30" bgcolor="#000099">&nbsp;</td>
      <td colspan="3" align="left" class="cellpadding5"><p><strong>Informations:</strong></p>
				<p>Ce module permet de g&eacute;rer les informations affich&eacute;es sur la page frontispice quant &agrave; la section Temple de la Renomm&eacute;e.</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">&nbsp;</td>
							<td align="right" nowrap>&nbsp;</td>
							<td width="20">&nbsp;</td>
							<td>&nbsp;</td>
							<td width="30">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>Section Temple de la Renomm&eacute;e activ&eacute;e? (Fran&ccedil;ais)</td>
							<td width="20">&nbsp;</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">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>Section Temple de la Renomm&eacute;e activ&eacute;e? (Anglais)</td>
							<td width="20">&nbsp;</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">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>&nbsp;</td>
							<td width="20">&nbsp;</td>
							<td>&nbsp;</td>
							<td width="30">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>Titre de la section (Fran&ccedil;ais)</td>
							<td width="20">&nbsp;</td>
							<td><input name="title_fr" type="text" id="title_fr" value="<?php echo $title_fr; ?>" size="30" maxlength="30"></td>
							<td width="30">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>Titre de la section (Anglais)</td>
							<td width="20">&nbsp;</td>
							<td><input name="title_en" type="text" id="title_en" value="<?php echo $title_en; ?>" size="30" maxlength="30"></td>
							<td width="30">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>&nbsp;</td>
							<td width="20">&nbsp;</td>
							<td>&nbsp;</td>
							<td width="30">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>Afficher photo (Fran&ccedil;ais)</td>
							<td width="20">&nbsp;</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">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>Afficher photo (Anglais)</td>
							<td width="20">&nbsp;</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">&nbsp;</td>
						</tr>
						<tr>
            	<td>&nbsp;</td>
            	<TD align="right" valign="top"><STRONG>Photo (Fran&ccedil;aise)</STRONG></TD>
            	<TD>&nbsp;</TD>
            	<TD>&nbsp; </TD>
            	<td>&nbsp;</td>
						</tr>
						<tr>
            	<td>&nbsp;</td>
            	<td align="right">Utiliser le lien</td>
            	<td>&nbsp;</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>&nbsp;</td>
						</tr>
						<tr>
            	<td>&nbsp;</td>
            	<td align="right" nowrap>Ou envoyez une nouvelle photo</td>
            	<td>&nbsp;</td>
            	<td>
            		<input name="photo_fr_upload" type="file" class="blackText11px" id="photo_fr_upload" size="50" style="border: 1px solid #546085">
            		</td>
            	<td>&nbsp;</td>
						</tr>
						<tr>
            	<td>&nbsp;</td>
            	<TD align="right" valign="top">&nbsp;</TD>
            	<TD>&nbsp;</TD>
            	<TD>&nbsp;</TD>
            	<td>&nbsp;</td>
						</tr>
						<tr>
            	<td>&nbsp;</td>
            	<TD align="right" valign="top"><STRONG>Photo (Anglaise)</STRONG></TD>
            	<TD>&nbsp;</TD>
            	<TD>&nbsp; </TD>
            	<td>&nbsp;</td>
						</tr>
						<tr>
            	<td>&nbsp;</td>
            	<td align="right">Utiliser le lien</td>
            	<td>&nbsp;</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">&nbsp;</td>
						</tr>
						<tr>
            	<td>&nbsp;</td>
            	<td align="right" nowrap>Ou envoyez une nouvelle photo</td>
            	<td>&nbsp;</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">&nbsp;</td>
						</tr>
						<tr>
            	<td>&nbsp;</td>
            	<td align="right" nowrap>&nbsp;</td>
            	<td>&nbsp;</td>
            	<td>&nbsp;</td>
            	<td align="left" valign="top">&nbsp;</td>
						</tr>
						<?php if(is_file("../../images/homepage/temple_fr")){?>
						<?php } ?>
						<?php if(is_file("../../images/homepage/temple_en")){?>
						<?php } ?>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>Lien sur photo (Fran&ccedil;ais)</td>
							<td width="20">&nbsp;</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">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>Lien sur photo (Anglais)</td>
							<td width="20">&nbsp;</td>
							<td><input name="link_en" type="text" id="link_en" value="<?php echo $link_en; ?>" size="40" maxlength="250"></td>
							<td width="30">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>&nbsp;</td>
							<td width="20">&nbsp;</td>
							<td>&nbsp;</td>
							<td width="30">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>Description (Fran&ccedil;ais)</td>
							<td width="20">&nbsp;</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">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>Description (Anglais)</td>
							<td width="20">&nbsp;</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">&nbsp;</td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td align="right" nowrap>&nbsp;</td>
							<td>&nbsp;</td>
							<td><a href="#" onClick="MM_openBrWindow('../help/popup_templestore.htm','help','scrollbars=yes,width=500,height=400')">Aide - Boutique LHJMQ &amp; Temple de la renom&eacute;e</a></td>
							<td align="left" valign="top">&nbsp;</td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td align="right" nowrap>&nbsp;</td>
							<td>&nbsp;</td>
							<td><a href="#" onClick="MM_openBrWindow('../help/popup_html.htm','help','scrollbars=yes,width=500,height=400')">Aide HTML</a></td>
							<td align="left" valign="top">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</td>
							<td align="right" nowrap>&nbsp;</td>
							<td width="20">&nbsp;</td>
							<td>&nbsp;</td>
							<td width="30" align="left" valign="top">&nbsp;</td>
						</tr>
						<tr>
							<td width="30">&nbsp;</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">&nbsp;</td>
							<td>&nbsp;</td>
							<td width="30">&nbsp;</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");
?>