Location: PHPKode > projects > News Manager - RSS aggregator > newsmanager/view_rss.php
<?php
session_start();
include('header.php');

if($_REQUEST['flag']!=""){
  $flag__="&flag=".$_REQUEST['flag'];
  $available="<font class='headingsmall'>".$avail_feeds__."</font>";
}elseif($_REQUEST['cat_id']!="" && $_REQUEST['subcat_id']=="" ){
  $flag__="&cat_id=".$_REQUEST['cat_id'];
  $cat_rss_qry="select * from category where category_id=".$_REQUEST['cat_id'];
  $cat_rss_qry_res=$pg_sql->query_pass($cat_rss_qry,"4");
  $cat_rss_name=$cat_rss_qry_res[0]['category_name'];
  $theme_name="&theme=".$cat_rss_name;

  $available="<font class='headingsmall'>".$avail_feeds_for__."</font><font class='cont'><i>'".$cat_rss_name."'</i></font>";

}elseif($_REQUEST['cat_id']!="" && $_REQUEST['subcat_id']){
  $flag__="&cat_id=".$_REQUEST['cat_id']."&subcat_id=".$_REQUEST['subcat_id'];
  $subcat_rss_qry="select * from subcategory where subcategory_id=".$_REQUEST['subcat_id'];
  $subcat_rss_qry_res=$pg_sql->query_pass($subcat_rss_qry,"4");
  $subcat_rss_name=$subcat_rss_qry_res[0]['subcategory_name'];
  $available="<font class='headingsmall'>".$avail_feeds_for__."</font><font class='cont'><i>'".$subcat_rss_name."'</i></font>";
  $theme_name="&theme=".$subcat_rss_name;
}else{
  $flag__="";
  $available="<font class='headingsmall'>".$avail_feeds__."</font>";
}

include('rssexist.php');

?>
<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">&nbsp;&nbsp;<span class="cont"><?=$your_?> :</span><a class="contlink" href="http://www.belgium.be/eportal/application?languageParameter=<?=$lang?>"><?=$home_?></a>:&nbsp;<img src="images/arrow.gif">&nbsp;<span class="cont">News</span>&nbsp;<img src="images/arrow.gif"><span class="cont"><?=$rss_services_?></span></td>
  		  </tr>
     </table>
	 <table cellpadding="3" width="95%" align="center" cellspacing="3" border="0">
	 <tr><td class="heading5" height="25" colspan="5"><?=$rss_services_?></td></tr>
	 <tr><td class="cont" height="25" colspan="5"><?=$available?></td></tr>
       <? if($spotlight_!=""){?>
      <tr><td class="cont"><?=$spotlight_?></td>
          <td class="cont"><?=$spot_en?></td>
          <td class="cont"><?=$spot_fr?></td>
          <td class="cont"><?=$spot_nl?></td>
          <td class="cont"><?=$spot_de?></td>
      </tr>
      <?}if($readalso_!=""){?>
      <tr>
          <td class="cont"><?=$readalso_?></td>
          <td class="cont"><?=$read_en?></td>
		  <td class="cont"><?=$read_fr?></td>
		  <td class="cont"><?=$read_nl?></td>
          <td class="cont"><?=$read_de?></td>
      </tr>
      <?}if($allnews_!=""){?>
      <tr>
          <td class="cont"><?=$allnews_?></td>
          <td class="cont"><?=$all_en?></td>
		  <td class="cont"><?=$all_fr?></td>
		  <td class="cont"><?=$all_nl?></td>
          <td class="cont"><?=$all_de?></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 border="0"  height="100%" width="100%" cellspacing="0" cellpadding="3">
	     <tr>
          <td align="left" valign="middle"> <?include('readalso.php')?></td>
	    </tr>
	 </table>
 </td>
 </tr>

<?
include('footer.php');
?>

Return current item: News Manager - RSS aggregator