"PHP" / Говнокод #5097 Ссылка на оригинал

0

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
  24. 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;
    }

JohnCMS 4, incfiles/classes/functions.php

Запостил: NadiaVita NadiaVita, (Updated )

Комментарии (55) RSS

  • а меня всегда забавляли говнофорумы ревниво пытающие быть единственным форумом в моей жизни
    Ответить
    • Ага. Страйко также может воспользоваться этим способом.
      Ответить
  • wh0cd138186 <a href=http://tretinoin100.top/>tretinoin cream 0.25 buy online</a> <a href=http://lasix8.us/>lasix</a> <a href=http://buyalbendazole-1.us/>where to buy albendazole</a> <a href=http://amoxil3.gdn/>amoxil</a> <a href=http://atenolol25.top/>atenolol</a>
    Ответить
  • wh0cd301266 <a href=http://cipro365.us.com/>Cipro For Sale</a> <a href=http://celebrex.us.com/>your domain name</a> <a href=http://buyatenolol.us.com/>tenormin</a>
    Ответить
  • wh0cd953593 <a href=http://buybuspar.us.org/>helpful hints</a> <a href=http://propecianorx.us.com/>propecia no rx</a> <a href=http://singulairgeneric.us.com/>singulair</a>
    Ответить
  • wh0cd159703 <a href=http://toradol365.us.com/>Toradol</a> <a href=http://clonidine.us.com/>generic clonidine</a> <a href=http://cheapcialis.us.org/>Cialis</a>
    Ответить
  • wh0cd517593 <a href=http://zoloft.us.com/>extra resources</a> <a href=http://erektionen.se/viagra-soft.html>viagra soft</a>
    Ответить
  • wh0cd603679 <a href=http://effexor-2016.gdn/>effexor</a> <a href=http://buypropranolol-6.top/>20 mg propranolol</a> <a href=http://advair3.gdn/>advair</a>
    Ответить
  • wh0cd518709 <a href=http://synthroid24.us.org/>synthroid ordering online</a>
    Ответить
  • wh0cd724834 <a href=http://sildenafil2010.top/>sildenafil</a> <a href=http://wellbutrin0.top/>generic wellbutrin price</a> <a href=http://medrol-8.top/>medrol tablets</a> <a href=http://cytotec9.gdn/>where to get misoprostol</a> <a href=http://triamterene2015.top/>triamterene</a>
    Ответить
  • wh0cd866399 <a href=http://augmentin365.us.com/>Augmentin Pills</a> <a href=http://buy-indocin.com/>cheap indomethacin</a>
    Ответить
  • wh0cd15905 <a href=http://viagrasoft24.us.org/>viagra soft</a> <a href=http://hydrochlorothiazide24.us.org/>microzide</a> <a href=http://medrol24.us.org/>medrol 4mg</a>
    Ответить
  • wh0cd953591 <a href=http://acyclovir247.us.org/>buy acyclovair online</a> <a href=http://cialis20mg24.us.org/>cialis 20</a> <a href=http://advairdiskus24.us.org/>advair</a>
    Ответить
  • wh0cd440598 <a href=http://buypropecia24.us.org/>Buy Propecia</a> <a href=http://advair247.us.org/>generic for advair diskus</a>
    Ответить
  • wh0cd984208 <a href=http://celebrex2016.us.com/>celebrex cost</a> <a href=http://vermox.us.com/>vermox mebendazole</a> <a href=http://ventolin.us.org/>Ventolin Inhaler</a>
    Ответить
  • wh0cd289945 <a href=http://cialiswithoutprescription.us.com/>buy cialis online safely</a> <a href=http://provera.us.org/>Buy Provera Online</a> <a href=http://wheretobuyviagra.us.com/>viagra prescriptions</a> <a href=http://proveraonline.us.com/>provera online</a>
    Ответить
  • wh0cd451913 <a href=http://buyproscar-2.top/>proscar</a> <a href=http://buyamoxicillin8.top/>buy amoxicillin</a> <a href=http://buywellbutrin50.top/>wellbutrin</a> <a href=http://buynolvadex10.top/>nolvadex pct buy</a> <a href=http://lisinopril2016.top/>lisinopril</a>
    Ответить
  • wh0cd116663 <a href=http://lisinopril24.us.org/>lisinopril</a> <a href=http://baclofen24.us.org/>Cheapest Baclofen</a>
    Ответить
  • wh0cd225383 <a href=http://indocin.us.org/>Indocin 50 mg</a> <a href=http://augmentin3.us/>augmentin</a> <a href=http://atorvastatin.us.com/>atorvastatin</a> <a href=http://albuterolipratropium.us.com/>albuterol tabs</a> <a href=http://chloramphenicol247.club/>read full report</a>
    Ответить
  • wh0cd809800 <a href=http://hydrochlorothiazide2011.top/>microzide</a> <a href=http://sildalis-2015.top/>sildalis</a> <a href=http://buyvaltrex16.top/>cheap valtrex</a> <a href=http://avodart911.top/>website here</a> <a href=http://buyprovera365.gdn/>provera</a> <a href=http://buyatarax16.top/>atarax</a> <a href=http://buytadacip2010.gdn/>tadacip</a>
    Ответить
  • wh0cd82708 <a href=http://cymbalta24.us.org/>cymbalta tablets</a> <a href=http://albendazole24.us.org/>Albendazole</a> <a href=http://allopurinol24.us.org/>Allopurinol Online</a>
    Ответить
  • wh0cd300155 <a href=http://buyatarax4.top/>buy atarax</a> <a href=http://buycelebrex-247.gdn/>where to buy celebrex</a> <a href=http://buyaugmentin8.top/>augmentin</a> <a href=http://buymethotrexate75.gdn/>methotrexate ectopic</a>
    Ответить
  • wh0cd746348 <a href=http://furosemide247.us.org/>furosemide</a> <a href=http://viagraonline24h7d.us.org/>Viagra Online</a> <a href=http://cialis20mg24.us.org/>cialis 20 mg</a>
    Ответить
  • wh0cd951357 <a href=http://buyatenolol9.top/>atenolol</a> <a href=http://buyviagrasoft4.top/>viagra soft tabs 100mg</a> <a href=http://buyprednisone12.top/>buy prednisone</a> <a href=http://acyclovir2014.gdn/>buy valacyclovir online</a> <a href=http://baclofen16.top/>baclofen</a> <a href=http://buytadacip15.top/>more help</a> <a href=http://buydiflucan9.top/>diflucan</a>
    Ответить
  • wh0cd887922 <a href=http://buycitalopram-2015.gdn/>citalopram online</a> <a href=http://levitra-0.top/>levitra buy online</a> <a href=http://buyrobaxin12.top/>robaxin</a> <a href=http://crestor2014.gdn/>crestor</a> <a href=http://buyrobaxin-2.top/>robaxin</a> <a href=http://buyamitriptyline11.gdn/>elavil</a>
    Ответить
  • wh0cd49868 <a href=http://genericcialis247.us.org/>generic cialis</a> <a href=http://zoloft247.us.org/>click here</a> <a href=http://nolvadex24.us.org/>nolvadex</a>
    Ответить
  • wh0cd116669 <a href=http://yasmin2017.top/>yasmin</a> <a href=http://buyretina1.top/>buy retin-a</a> <a href=http://buyadalat911.top/>buy adalat</a> <a href=http://yasmin2010.top/>yasmin</a> <a href=http://buycafergot25.gdn/>buy cafergot</a> <a href=http://clomid-7.top/>clomid</a> <a href=http://lisinopril2016.top/>lisinopril 15 mg</a>
    Ответить
  • wh0cd268428 <a href=http://hydrochlorothiazide24.us.org/>hydrochlorothiazide</a> <a href=http://buyviagraonline24.us.org/>buy viagra online</a> <a href=http://wellbutrin247.us.org/>wellbutrin order online</a>
    Ответить
  • wh0cd257107 <a href=http://priceofviagra.us.com/>viagra best price</a> <a href=http://viagrasoft247.us.org/>viagra soft tabs</a> <a href=http://glucophage.us.com/>glucophage</a>
    Ответить
  • wh0cd701082 <a href=http://fluoxetine365.us.com/>Order Fluoxetine</a> <a href=http://onlinecipro.us.com/>online cipro</a>
    Ответить

Добавить комментарий

Я, guest, находясь в здравом уме и твердой памяти, торжественно заявляю:

    А не использовать ли нам bbcode?


    8