<?php
/**
* $Id: header.php v 1.0.2 02 july 2004 Liquid Exp $
* Module: WF-Downloads
* Version: v2.0.5a
* Release Date: 26 july 2004
* Author: WF-Sections
* Licence: GNU
*/
include_once '../../mainfile.php';
include XOOPS_ROOT_PATH.'/modules/xtorrent/include/functions.php';
if (!function_exists('QuS_sef')){
function QuS_sef($datab, $char ='-')
{
$replacement_chars = array();
$accepted = array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","m","o","p","q",
"r","s","t","u","v","w","x","y","z","0","9","8","7","6","5","4","3","2","1");
for($i=0;$i<256;$i++){
if (!in_array(strtolower(chr($i)),$accepted))
$replacement_chars[] = chr($i);
}
$return_data = (str_replace($replacement_chars,$char,$datab));
#print $return_data . "<BR><BR>";
return($return_data);
}
}
$myts = & MyTextSanitizer :: getInstance(); // MyTextSanitizer object
?>