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



Your IP : 52.14.7.103


Current Path : /var/www/lhjmq-records.qc.ca/public_html/lang_en/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/lang_en/store.php

<?php
if (!isset($generateEventColumn)) $generateEventColumn = 3;

$events_column_width = ($generateEventColumn == 2) ? 191 : 159;

$events_article_column_width = ($generateEventColumn == 2) ? 172 : 140;

$events_column_bgcolor = ($generateEventColumn == 2) ? '#BBBFCE' : '#8a92ab';

//Get the store flags
$row = mysql_fetch_assoc(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_show_en'", $mysql_link));
$store_show = $row[var_num];
$row = mysql_fetch_assoc(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_title_en'", $mysql_link));
$store_title = $row[var_text];
$row = mysql_fetch_assoc(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_pic_en'", $mysql_link));
$store_pic = $row[var_num];
$row = mysql_fetch_assoc(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_link_en'", $mysql_link));
$store_link = $row[var_text];
$row = mysql_fetch_assoc(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_desc_en'", $mysql_link));
$store_desc = $row[var_text];
$row = mysql_fetch_assoc(mysql_query("SELECT * FROM lhjmq_variables WHERE id_var = 'store_photo_en'", $mysql_link));
$store_photo = $row[var_text];

?>
<?php if($store_show == 1){ ?> 
<!--- STORE ---> 
<table width="<?php echo $events_column_width; ?>" border="0" cellspacing="0" cellpadding="0" style="background-color: <?php echo $events_column_bgcolor; ?>" class="lightTableBg" align="center">
<tr>
<td>
<table width="<?php echo $events_column_width; ?>" border="0" cellspacing="0" cellpadding="0" align="center"> 
	<tr> 
		<td height="20" align="left" valign="top"><img src="../images/int_nouvelle/nouvelle_seperator_section<?php echo $generateEventColumn; ?>.gif" width="<?php echo $events_column_width; ?>" height="3"><br><img src="images/nouvelles/store_title<?php echo $generateEventColumn; ?>.gif" width="<?php echo $events_column_width; ?>" height="14"></td> 
	</tr> 
	<tr> 
		<td align="left" valign="top" width="<?php echo $events_column_width; ?>" height="2"><spacer type="BLOCK" width="<?php echo $events_column_width; ?>" height="2"></td> 
	</tr> 
	<?php if($store_title != ""){ ?> 
	<tr> 
		<td align="left" valign="top" width="<?php echo $events_column_width; ?>" height="2"><span class="blackText10px"><?php echo $store_title; ?></span></td> 
	</tr> 
	<tr> 
		<td align="left" valign="top" width="<?php echo $events_column_width; ?>" height="2"><spacer type="BLOCK" width="<?php echo $events_column_width; ?>" height="2"></td> 
	</tr> 
	<?php } ?> 
</table> 
<?php if($store_pic == 1){ ?> 
<table width="<?php echo $events_column_width; ?>" border="0" cellspacing="0" cellpadding="0" align="center"> 
	<tr> 
		<td align="center" > 
			<?php if($store_link != ""){?> 
			<a href="<?php echo $store_link; ?>" target="_blank"> 
			<?php } ?> 
			<img src="<?php echo $store_photo; ?>" border="0"> 
			<?php if($store_link != ""){?> 
			</a> 
			<?php } ?> 
		</td> 
	</tr> 
</table> 
<?php } ?> 
<?php if($store_desc != ""){ ?> 
<table width="<?php echo $events_column_width; ?>" border="0" cellspacing="0" cellpadding="0" class="normalTableBg" align="center"> 
	<tr> 
		<td align="left" valign="top" width="<?php echo $events_column_width; ?>" height="2"><spacer type="BLOCK" width="<?php echo $events_column_width; ?>" height="2"></td> 
	</tr> 
	<tr> 
		<td align="left" valign="top" width="<?php echo $events_column_width; ?>" height="2"><span class="blackText10px"><?php echo $store_desc; ?></span></td> 
	</tr> 
	<tr> 
		<td align="left" valign="top" width="<?php echo $events_column_width; ?>" height="2"><spacer type="BLOCK" width="<?php echo $events_column_width; ?>" height="2"></td> 
	</tr> 
</table> 
<?php
}
?> 
</td>
</tr>
</table>
<?php
}
?>