function delete_before() { $tbname = config::get('database','prefix').'archive'; $typeid = front::$get['id']; $where = "typeid = '$typeid'"; $arc=new archive(); $arc->rec_delete($tbname,$where); }
function delete_before() { $tbname = config::get('database','prefix').'archive'; $typeid = front::$get['id']; $where = "typeid = '$typeid'"; $arc=new archive(); $arc->rec_delete($tbname,$where); }