HEX
Server: Apache
System: Linux sg2plmcpnl492417.prod.sin2.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: nyiet8349bzl (9207396)
PHP: 8.1.34
Disabled: NONE
Upload Files
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 &amp; 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">
  &nbsp;&nbsp;
  <input name="btnBack" type="button" id="btnBack" value=" Back " onClick="window.history.back();" class="box">
 </p>
</form>
</center>