<?php global $db; require_once '../confy.php'; require_once '../functions.php'; require_once '../functions-2.php'; tep_db_connect(); $spid = '1'; use_class('jng_sp_catalog'); $class_jc = new jng_sp_catalog(); $class_jc->recalcReplacementDays(); tep_db_close();