<?php
/*******************************************************************************
** File : static.php **
** Author : G.Ramkumar **
** Description : static page **
** Date : 14/07/2005 **
** Last Modified : 02/08/2005 **
** PHP Version : 5.0.3 **
** **
*******************************************************************************/
$stat_id=$_REQUEST['id'];
if($stat_id!="")
{
include('header.php');
$qry="select * from static where page_id=$stat_id and language='".$lang."'";
$qry_res=$pg_sql->query_pass($qry,"4");
if(count($qry_res)==0)
{
$flag="No Content Available";
}
$stat_ext=pathinfo($qry_res[0]['image']);
$path_stat=$stat_ext[extension];
$dir_stat="login/static_images/".$stat_id.".".$path_stat;
if(file_exists($dir_stat))
{
$image_stat="<a href='".$dir_stat."' target='new'><img src='".$dir_stat."' border='0' width='60' height='70'></a>";
}
?>
<tr>
<td width="180" align="left" valign="top">
<?include("list_categories.php")?>
</td>
<td width="600" align="left" valign="top">
<table width="100%" border="0" align="center" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top" class="bgybluewolineCopy" height="17"> <span class="cont_co"><?=$your_?> :</span><a class="contlink" href="http://www.belgium.be/eportal/application?languageParameter=<?=$lang?>"><?=$home_?></a>: <img src="images/arrow.gif"><span class="cont_co"><?=$qry_res[0][title]?></span></td>
</tr>
</table>
<table cellpadding="0" width="95%" align="center" cellspacing="3" border="0">
<tr><td colspan="2" height="25" class="heading5"><?=$qry_res[0][title]?></td></tr>
<tr><td class="cont1" valign="top"> <?=$qry_res[0]['description']?></td><td align="center" valign="Top"><?=$image_stat?></td>
</tr>
<?if($flag!=""){?>
<tr><td class="msg" align="center">
<?=$flag?>
</td></tr>
<?}?>
</table>
</td>
<td width="187" align="left" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top" class="bgybluewolineCopy" height="19"></td>
</tr>
</table>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td align="left" valign="middle"> <?include('readalso.php')?></td>
</tr>
</table>
</td>
</tr>
<?
include('footer.php');
}else{
header("location:index.php?lang=".$_REQUEST['lang']);
exit;
}
?>