File: /home/nyiet8349bzl/Backup/sbc_back/homedir/public_html/old-myadmin/NewUpdate/detail.php
<?php
if (!defined('WEB_ROOT')) {
exit;
}
if (isset($_GET['Id']) && $_GET['Id'] > 0) {
$Id = $_GET['Id'];
} else {
header('Location: index.php');
}
$sql = "SELECT * FROM newupdate WHERE nw_id = $Id";
$result = dbQuery($sql);
$row = dbFetchAssoc($result);
extract($row);
?>
<center>
<div id="ptitle"> :.: NEWS & UPDATES >> View Details </div>
<form action="processBanner.php?action=addBanner" method="post" enctype="multipart/form-data" name="frmAddBanner" id="frmAddBanner">
<table width="50%" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable">
<tr>
<td align="right"> <p align="center" class="formTitle"><h2>View Details </h2> </p> </td>
</tr>
<tr>
<td width="150" class="label">Title</td>
<td class="content"> <?php echo $nw_title; ?></td>
</tr>
<tr>
<td width="150" class="label">Link</td>
<td class="content"><a href="<?php echo WEB_ROOT.$nw_link; ?>" target="_blank"> <?php echo $nw_link; ?> </a></td>
</tr>
<tr>
<td width="150" class="label">ADD Date</td>
<td class="content"><?php echo $nw_add_date; ?></td>
</tr>
<tr>
<td width="150" class="label">Modify Date</td>
<td class="content"><?php echo $nw_edit_date; ?></td>
</tr>
</table>
<p align="center">
<input name="btnModifyDeals" type="button" id="btnModifyDeal" value="Modify Deal" onClick="window.location.href='index.php?view=modify&DId=<?php echo $DID; ?>';" class="box">
<input name="btnBack" type="button" id="btnBack" value=" Back " onClick="window.history.back();" class="box">
</p>
</form>
</center>