Location: PHPKode > projects > Esvon Personals > esvon-personals/modules/Cron_General/admin/log.php
<?php

// --------------------------------------------------------------------------
//
// Esvon Classifieds v.4.0
// Copyright(C), Esvon LTD, 2001-2010, All Rights Reserved.
// E-mail: hide@address.com
//
// All forms of reproduction, including, but not limited to, internet posting, 
// printing, e-mailing, faxing and recording are strictly prohibited.
// One license required per site running Esvon Classifieds. 
// To obtain a license for using Esvon Classifieds, please register at
// http://www.esvon.com/pg/products/p_classifieds/
//
// --------------------------------------------------------------------------

if(!defined('SITE_PATH')) die('Access denied');

ShowCronExecLog();

function ShowCronExecLog(){
global $db,$DATE_TIME_FMT,$HW_WRAP;

  $HW_WRAP = 0;

  $res = $db->query('SELECT entry, UNIX_TIMESTAMP(added) AS added FROM '.
    hwModTable('Cron_General','log').' ORDER BY id DESC LIMIT 100');

  while($v = mysql_fetch_assoc($res)){
    $v['added'] = strftime($DATE_TIME_FMT, $v['added']);
    echo "$v[entry] - $v[added]<br>\n";
    if($v['entry']=='START') echo "<hr size=1>\n";
  }
}

?>
Return current item: Esvon Personals