Boardunuzdaki Linkleri, Referer sil Sayfasin'dan yani [URL]www.anonym.to dan Linklere yönlendiriyor,
bu sayede karsi taraftaki Sitede kimse sizin Adresinizden gelindigini görmiyor
Anonym yönleniyor o Sayfaya......




acp/lib/class_parse.php AC

ARA:
[code]var $useCaching = 0;[/code]


ALTINA EKLE:

[code]var $boardurls = array();[/code]


2. ARA:
[code]function formaturl($url, $title = '', $maxwidth = 60, $width1 = 40, $width2 = -15) {
if (!wbb_trim($title)) {
$title = rehtmlconverter($url);
if (!preg_match("/[a-z]:\/\//si", $url)) $url = "http://$url";
if ($this->cuturls == 1 && wbb_strlen($title) > $maxwidth) $title = wbb_substr($title, 0, $width1)."...".wbb_substr($title, $width2);
return "".htmlconverter($this->stripSlashes($title))."";
}
else {
if (!preg_match("/[a-z]:\/\//si", $url)) $url = "http://$url";
return "".$title."";
}
}[/code]


BUNUN ILE DEGISTIR
[code]function formaturl($url, $title = '', $maxwidth = 60, $width1 = 40, $width2 = -15) {
global $boardurls;
$test = str_replace("http://", "", $boardurls);
$test = preg_replace('!\/(.*)![/swf2][swf3]', $test);
$this->boardurls = explode("\n",$test);
if (!wbb_trim($title)) {
$title = rehtmlconverter($url);
if (!preg_match("/[a-z]:\/\//si", $url)) $url = "http://$url";
$host = parse_url($url);
$host = $host['host'];
if ($this->cuturls == 1 && wbb_strlen($title) > $maxwidth) $title = wbb_substr($title, 0, $width1)."...".wbb_substr($title, $width2);
if (in_array($host, $this->boardurls)) {
return "".htmlconverter(str_replace("\\\"", "\"", $title))."";
} else {
return "".htmlconverter(str_replace("\\\"", "\"", $title))."";
}

}
else {
if (!preg_match("/[a-z]:\/\//si", $url)) $url = "http://$url";
$host = parse_url($url);
$host = $host['host'];
if (in_array($host, $this->boardurls)) {
return "".$title."";
} else {
return "".$title."";
}
}
}[/code]

Beğeniler: 1
Favoriler: 0
İzlenmeler: 987
favori
like
share
Joker515 Tarih: 17.12.2007 09:14
tesekkürler
myefsane Tarih: 12.11.2007 00:52
teşekkürler