- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
/*
-----------------------------------------------------------------
Маскировка ссылок в тексте
-----------------------------------------------------------------
*/
function antilink($var) {
$var = preg_replace('~\\[url=(https?://.+?)\\](.+?)\\[/url\\]|(https?://(www.)?[0-9a-z\.-]+\.[0-9a-z]{2,6}[0-9a-zA-Z/\?\.\~&_=/%-:#]*)~', '###', $var);
$var = strtr($var, array (
'.ru' => '***',
'.com' => '***',
'.biz' => '***',
'.cn' => '***',
'.in' => '***',
'.net' => '***',
'.org' => '***',
'.info' => '***',
'.mobi' => '***',
'.wen' => '***',
'.kmx' => '***',
'.h2m' => '***'
));
return $var;
}
wmmorgun 28.12.2010 16:28 # +2
guest 11.03.2017 21:27 # −17
bugmenot 28.12.2010 16:58 # +3
Vyacheslav 28.12.2010 17:29 # 0
guest 31.01.2017 04:34 # −16
NadiaVita 28.12.2010 17:38 # 0
istem 28.12.2010 18:41 # 0
Lure Of Chaos 28.12.2010 19:16 # +1
wmmorgun 28.12.2010 19:44 # −1
[сарказм]
guest 25.02.2017 19:42 # −16
barop 12.03.2017 04:15 # −16
что не так с .net?
guest 01.01.2011 17:04 # −16
guest 27.01.2017 00:47 # −16
guestinho 12.03.2017 09:25 # −16
TeaBag 04.06.2017 15:49 # 0
Ajlxumuk 05.06.2017 19:46 # 0
guest 28.04.2017 17:05 # −5
guest 28.04.2017 20:22 # −5
guest 29.04.2017 04:20 # −5
guest 29.04.2017 10:01 # −5
guest 30.05.2017 02:59 # 0
guest 30.05.2017 03:01 # 0
guest 30.05.2017 08:15 # 0
guest 30.05.2017 09:09 # 0
guest 30.05.2017 10:25 # 0
guest 30.05.2017 13:52 # 0
guest 30.05.2017 14:42 # 0
guest 30.05.2017 17:00 # 0
guest 30.05.2017 17:25 # 0
guest 30.05.2017 20:05 # 0
guest 01.06.2017 23:33 # 0
guest 01.06.2017 23:53 # 0
guest 02.06.2017 02:00 # 0
guest 02.06.2017 07:35 # 0
guest 02.06.2017 08:54 # 0
guest 02.06.2017 12:57 # 0
guest 02.06.2017 15:18 # 0
guest 02.06.2017 15:52 # 0
guest 02.06.2017 18:00 # 0
guest 02.06.2017 19:12 # 0
guest 02.06.2017 20:30 # 0
guest 03.06.2017 06:15 # 0
guest 03.06.2017 08:12 # 0
guest 03.06.2017 08:56 # 0
guest 03.06.2017 13:50 # 0
guest 03.06.2017 14:52 # 0
guest 03.06.2017 15:22 # 0
guest 03.06.2017 16:04 # 0
guest 03.06.2017 20:54 # 0
guest8 28.12.2018 13:10 # −999
guest8 04.01.2019 10:37 # −999
guest8 04.01.2019 10:38 # −999
guest8 04.01.2019 10:40 # −999
guest8 04.01.2019 10:42 # −999
guest8 04.01.2019 10:43 # −999