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.144.255.198


Current Path : /var/www/lhjmq-records.qc.ca/public_html/lang_fr/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/lang_fr/watchout.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';

$events_column_block_separator_color = ($generateEventColumn == 2) ? '#BBBFCE' : '#737D9B';
?>
<table width="<?php echo $events_column_width; ?>" border="0" cellspacing="0" cellpadding="0" class="normalTableBg" align="center">
  <tr> 
    <td> 
      <!--- TITLE BAR --->
      <table width="100%" border="0" cellspacing="0" cellpadding="0"  style="background-color: <?php echo $events_column_bgcolor; ?>" class="lightTableBg">
	  <tr>
		  <td bgcolor="<?php echo $events_column_block_separator_color; ?>"><img src="../images/spacer.gif" width="1" height="3"></td>
        </tr>
        <tr> 
          <td 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/int_nouvelle/asurveiller_title<?php echo $generateEventColumn; ?>.gif" width="<?php echo $events_column_width; ?>" height="14"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0"  style="background-color: <?php echo $events_column_bgcolor; ?>" class="lightTableBg">
        <tr> 
          <!--- ARTICLE --->
          <td align="left" valign="top" class="cellPadding2"> 
          <table width="100%" cellpadding="0" cellspacing="0">
							<?php
							$res = mysql_query("SELECT * FROM lhjmq_variables AS lv LEFT JOIN site_watchouts AS sw ON sw.id_saison_watchout = lv.var_num WHERE lv.var_num = sw.id_saison_watchout AND lv.id_var = 'homepage_watchout' ORDER BY lv.id_index", $mysql_link);
							$row_index = -1;
							while($row = mysql_fetch_assoc($res)){								
								if($row[titre_fr] != ""){
									$row_index++;
									if ($row_index > 0){
								?>
									<tr> 
									  <td colspan="2" align="left" valign="top"> <img src="../images/int_nouvelle/nouvelle_seperator_articles<?php echo $generateEventColumn; ?>.gif" width="<?php echo $events_column_width; ?>" height="3"></td>
									</tr>
								<?php } // $row_index > 0 ?>
								<tr> 
									<td valign="top"><img src="../images/spacer.gif" width="5" height="5"><br><img src="../images/int_nouvelle/event_bullet3.gif"></td>
									<td width="<?php echo $events_article_column_width; ?>" class="cellPadding2" valign="top">
														<?php if($row['icon_1'] != '' || $row['icon_2'] != ''){ ?>
									  <table align="left" cellpadding="2" cellspacing="0" border="0">
															<?php if($row['icon_1'] != ''){?>
										<tr><td><a href="<?php echo $row[link_fr]; ?>"<?php if(substr($row[link_fr], 0, 5) != "index"){echo " target=\"_blank\"";} ?> class="lnkBase10px"><img src="<?php echo $row['icon_1']; ?>" border="0"></a></td></tr>
															<?php } ?>
															<?php	if($row['icon_2'] && $row['icon_1'] != $row['icon_2']){ ?>
										<tr><td><a href="<?php echo $row[link_fr]; ?>"<?php if(substr($row[link_fr], 0, 5) != "index"){echo " target=\"_blank\"";} ?> class="lnkBase10px"><img src="<?php echo $row['icon_2']; ?>" border="0"></a></td></tr>
															<?php } ?>
									  </table>
										<?php } ?>
										<span class="blackText9px"><a href="<?php echo $row[link_fr]; ?>"<?php if(substr($row[link_fr], 0, 5) != "index"){echo " target=\"_blank\"";} ?> class="lnkBase10px"><?php echo $row[titre_fr]; ?></a>
										</span>
									</td>
								</tr>
								<?php } ?>
							<?php } ?>
            </table>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0"  style="background-color: <?php echo $events_column_bgcolor; ?>" class="lightTableBg">
        <tr> 
          <td align="left" valign="top"> <img src="../images/int_nouvelle/nouvelle_seperator_articles<?php echo $generateEventColumn; ?>.gif" width="<?php echo $events_column_width; ?>" height="3"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0"  style="background-color: <?php echo $events_column_bgcolor; ?>" class="lightTableBg">
        <tr> 
          <td align="right" valign="top" class="cellPadding2"><img src="../images/int_nouvelle/event_bullet2<?php echo $generateEventColumn; ?>.gif" width="7" height="7"> 
            <a href="index.php?page=82316556" class="lnkBase9px">Autres</a>&nbsp;&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
</table>