View file guest/function.php

File size: 1.4Kb
<?php
function antimat($a) {
	$a=strtr($a,array("сука"=>"****",
	"падла"=>"*****",
	"мразь"=>"*****",
	"уебище"=>"******",
	"ублюдок"=>"*******",
	"хуйло"=>"*****",
	"даун"=>"****",
	"чмо"=>"***",
	"гандон"=>"******",
	"тварь"=>"*****",
	"сучара"=>"******",
	"хуй"=>"***",
	"пизда"=>"*****",
	"блядь"=>"*****",
	"пидор"=>"*****",
	"пидар"=>"*****",
	"ебать"=>"*****",
	"сцука"=>"*****",
	"дурак"=>"*****",
	"дура"=>"****",
	"идиот"=>"*****",
	"лошара"=>"******",
	"целка"=>"*****",
	"педик"=>"*****", 
	"пиздец"=>"******", 
	"жопа"=>"****"));
	return $a;
	                 } 
function smiles($text) {
    $text = str_replace(':hello','<img src="smiles/hello.png" alt="*"',$text);
    $text = str_replace(':)','<img src="smiles/).gif" alt="*"',$text);
    $text = str_replace(':(','<img src="smiles/(.gif" alt="*"',$text);
    $text = str_replace(':cofe','<img src="smiles/cofe.gif" alt="*"',$text);
    $text = str_replace(':privet','<img src="smiles/privet.gif" alt="*"',$text);
    $text = str_replace(':poka','<img src="smiles/poka.gif" alt="*"',$text);
    $text = str_replace(':zzz','<img src="smiles/zzz.gif" alt="*"',$text);
    $text = str_replace(':kiss','<img src="smiles/kiss.gif" alt="*"',$text);
    $text = str_replace(':D','<img src="smiles/D.gif" alt="*"',$text);
    return $text;
}
?>