Location: PHPKode > projects > Esvon Personals > esvon-personals/modules/Cron_General/hw_admin.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') || !IsAdmin()) die('Access denied');

function Cron_General_main(){

  $f = (string)$_REQUEST['file'];
  $A_OK = array('exp_remind','log');

  if($f!='log') include HW_MOD_TPL.'top_nav.htm';
  
  if(!$f || !in_array($f,$A_OK)){
    // $pg = 'setup';
    echo ShowModSetupPage();
  }
  else{    
    include HW_MOD_DIR.'admin/'.$f.'.php';
  }   

}

function Cron_General_SetupValidate(){
  $err_msg = '';
  if(!ctype_digit($_POST['EXP_FOR_PAYM'])) $err_msg = 'Pending orders expiration time must be numeric';
  return $err_msg;
} 

function Cron_General_SetupPrepare(&$a_v){
  $a_v['CRON_TIME'] = strftime('%a %b %d %H:%M:%S %Y',CRON_TIME);
}

?>
Return current item: Esvon Personals