<?php
/**
  @licence GPL 2005-2011  The osCSS developers - osCSS Open Source E-commerce
  @portion code Copyright (c) 2002 osCommerce
  @package osCSS-2 <www http://www.oscss.org>
  @version 2.1.0
  @date  10/02/11, 19:11
  @author oscim <mail aurelien@oscim.fr> <www http://www.oscim.fr>
  @encode UTF-8
  @brief is notification by db , list and link
*/
if(!class_exists('adminNotif'))require_once(DIR_WS_MODULES.'pages/adminNotif.php');
?>
<div id="Notification" class="<?php echo $widg['class'] ?>">
 <h3><a href="<?php echo tep_href_link(FILENAME_ADMINNOTIF) ?>"><?php echo __('heading notification') ;?></a></h3>
  <ul>
    <?php foreach(adminNotif::$list as $p) { ?>
	<li>
	    <?php echo tep_datetime_short($p['notif_date']) ;?> <strong> <a href="<?php echo tep_href_link(FILENAME_ADMINNOTIF, 'action=view&amp;nID='.$p['notif_id']) ?>" ><?php echo $p['notif_key'] ?></a> </strong>
	</li>
    <?php } ?>
  </ul>

 <div class="separator"></div>
 </div>
