MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: /home/panama/public_html_old/news_detail-bak2.php
<? 
	include("include/config.php"); 
	if($_GET['news_id']<>"") 
	{
		$news_list = new database();
		$news=base64_decode($_GET['news_id']);	
		$news_list->where("sid=".$news);
		$news_list->selectstmt("embassy_services");
		if($news_list->row_count > 0)
		{
			$news_list->moveto($i);	
			$title= $news_list->f_title;
			$simg = $news_list->f_simg;
			$dt="";
			if($news_list->f_dat<>"0000-00-00") {
				list($y,$m,$d) = split("-",$news_list->f_dat);
				$dt  = date("M jM, Y",mktime(0,0,0,$m,$d,$y));                 
			}
			$description = $news_list->f_sdesc;
		}
   }
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="<?=$pagemetadesc?>" />
<meta name="keywords" content="<?=$pagemeta?>"/>
<title><?=SITE_TITLE."- ".$title?></title>
<!-- Stylesheets -->
<link rel="stylesheet" type="text/css" href="styles.css"/>
<!-- Javascript -->
<!--[if IE 6]><script src="js/ie6.js"></script><![endif]--> 
<link rel="stylesheet" href="css/dropdownmenu.css" type="text/css" />
<script type="text/javascript" src="js/dropdownmenu.js"></script>
<style>
#footer{ 
width:961px; 
height:62px; 
margin:0px auto; 
padding:20px 0px 0px 0px; 
position:relative; 
color:#656360; 
font-size:0.8em; 
text-align:center; 
background:url(images/bg_footer.png) repeat-x scroll center top; 
font-family:"Myriad Pro", Arial, Helvetica, sans-serif;
overflow:hidden;
}
#footer a:link, #footer a:visited {color:#747474; text-decoration:none;}
#footer a:hover, #footer a:active {color:#747474; text-decoration:underline;}
</style>
</head>

<body>
<? include('header.php')?>

<div id="contentwrapper">
     <div class="contentcontainer">
          <div class="maincontainer">
               <div class="servicesbannerwrapper"><img src="images/banner_services.jpg" width="958" height="178" alt=""/></div>
          </div>
          <div class="maincontainer">
			  <div class="maincontainer">
    	           <div class="servicetextwrapper">
                    
					<div class="title">
                       <div class="breadcrumbs">
                            <ul>
                                  <li class="first"><span class="titleicons"><img src="images/icon_news.png" width="36" height="42" alt=""/></span>&nbsp;<a href="news.php">News</a></li>
                                  <li><?=$title?></li>
                            </ul>
                        </div>
                    </div>
					<div class="servicescontainer">
					<p align="left"><?=$dt?></p>
					<p><img src="display_image.php?path=newsimg/<?php echo $simg;?>&width=100&height=75&watermark=-1" border="0" style="padding-bottom:5px; padding-top:5px;"></p>
					<p>
					  <?=$description?>					
					</p>
					</div>
               </div>
        	       <div class="servicesphotowrapper">
                    <div class="servicesphotocontainer">
                          <? include("right.php");?>
                    </div>
              </div>
			  </div>
          </div>
     </div>
     <? include('footer.php')?>
</div>
       
</body>
</html>