<?php 
if (! defined('BASEPATH')) exit('No direct script access allowed');
	function link($q) {

$q = str_replace('','&#32;',$q);
$q = str_replace('!','&#33;',$q);
$q = str_replace("'",'&#34;',$q);
$q = str_replace('#','&#35;',$q);
$q = str_replace('$','&#36;',$q);
$q = str_replace('%','&#37;',$q);
$q = str_replace('&','&#38;',$q);
$q = str_replace("'",'&#39;',$q);
$q = str_replace('(','&#40;',$q);
$q = str_replace(')','&#41;',$q);
$q = str_replace('*','&#42;',$q);
$q = str_replace('+','&#43;',$q);
$q = str_replace(',','&#44;',$q);
$q = str_replace('-','&#45;',$q);
$q = str_replace('.','&#46;',$q);
$q = str_replace('/','&#47;',$q);
$q = str_replace('0','&#48;',$q);
$q = str_replace('1','&#49;',$q);
$q = str_replace('2','&#50;',$q);
$q = str_replace('3','&#51;',$q);
$q = str_replace('4','&#52;',$q);
$q = str_replace('5','&#53;',$q);
$q = str_replace('6','&#54;',$q);
$q = str_replace('7','&#55;',$q);
$q = str_replace('8','&#56;',$q);
$q = str_replace('9','&#57;',$q);
$q = str_replace(':','&#58;',$q);
$q = str_replace(';','&#59;',$q);
$q = str_replace('<','&#60;',$q);
$q = str_replace('=','&#61;',$q);
$q = str_replace('>','&#62;',$q);
$q = str_replace('?','&#63;',$q);
$q = str_replace('@','&#64;',$q);
$q = str_replace('A','&#65;',$q);
$q = str_replace('B','&#66;',$q);
$q = str_replace('C','&#67;',$q);
$q = str_replace('D','&#68;',$q);
$q = str_replace('E','&#69;',$q);
$q = str_replace('F','&#70;',$q);
$q = str_replace('G','&#71;',$q);
$q = str_replace('H','&#72;',$q);
$q = str_replace('I','&#73;',$q);
$q = str_replace('J','&#74;',$q);
$q = str_replace('K','&#75;',$q);
$q = str_replace('L','&#76;',$q);
$q = str_replace('M','&#77;',$q);
$q = str_replace('N','&#78;',$q);
$q = str_replace('O','&#79;',$q);
$q = str_replace('P','&#80;',$q);
$q = str_replace('Q','&#81;',$q);
$q = str_replace('R','&#82;',$q);
$q = str_replace('S','&#83;',$q);
$q = str_replace('T','&#84;',$q);
$q = str_replace('U','&#85;',$q);
$q = str_replace('V','&#86;',$q);
$q = str_replace('W','&#87;',$q);
$q = str_replace('X','&#88;',$q);
$q = str_replace('Y','&#89;',$q);
$q = str_replace('Z','&#90;',$q);
$q = str_replace('[','&#91;',$q);
$q = str_replace(']','&#93;',$q);
$q = str_replace('^','&#94;',$q);
$q = str_replace('_','&#95;',$q);
$q = str_replace('`','&#96;',$q);
$q = str_replace('a','&#97;',$q);
$q = str_replace('b','&#98;',$q);
$q = str_replace('c','&#99;',$q);
$q = str_replace('d','&#100;',$q);
$q = str_replace('e','&#101;',$q);
$q = str_replace('f','&#102;',$q);
$q = str_replace('g','&#103;',$q);
$q = str_replace('h','&#104;',$q);
$q = str_replace('i','&#105;',$q);
$q = str_replace('j','&#106;',$q);
$q = str_replace('k','&#107;',$q);
$q = str_replace('l','&#108;',$q);
$q = str_replace('m','&#109;',$q);
$q = str_replace('n','&#110;',$q);
$q = str_replace('o','&#111;',$q);
$q = str_replace('p','&#112;',$q);
$q = str_replace('q','&#113;',$q);
$q = str_replace('r','&#114;',$q);
$q = str_replace('s','&#115;',$q);
$q = str_replace('t','&#116;',$q);
$q = str_replace('u','&#117;',$q);
$q = str_replace('v','&#118;',$q);
$q = str_replace('w','&#119;',$q);
$q = str_replace('x','&#120;',$q);
$q = str_replace('y','&#121;',$q);
$q = str_replace('z','&#122;',$q);
$q = str_replace('{','&#123;',$q);
$q = str_replace('|','&#124;',$q);
$q = str_replace('}','&#125;',$q);
$q = str_replace('~','&#126;',$q);
$q = str_replace('','&#160;',$q);
$q = str_replace('¡','&#161;',$q);
$q = str_replace('¢','&#162;',$q);
$q = str_replace('£','&#163;',$q);
$q = str_replace('¤','&#164;',$q);
$q = str_replace('¥','&#165;',$q);
$q = str_replace('¦','&#166;',$q);
$q = str_replace('§','&#167;',$q);
$q = str_replace('¨','&#168;',$q);
$q = str_replace('©','&#169;',$q);
$q = str_replace('ª','&#170;',$q);
$q = str_replace('«','&#171;',$q);
$q = str_replace('¬','&#172;',$q);
$q = str_replace('­','&#173;',$q);
$q = str_replace('®','&#174;',$q);
$q = str_replace('¯','&#175;',$q);
$q = str_replace('°','&#176;',$q);
$q = str_replace('±','&#177;',$q);
$q = str_replace('²','&#178;',$q);
$q = str_replace('³','&#179;',$q);
$q = str_replace('´','&#180;',$q);
$q = str_replace('µ','&#181;',$q);
$q = str_replace('¶','&#182;',$q);
$q = str_replace('·','&#183;',$q);
$q = str_replace('¸','&#184;',$q);
$q = str_replace('¹','&#185;',$q);
$q = str_replace('º','&#186;',$q);
$q = str_replace('»','&#187;',$q);
$q = str_replace('¼','&#188;',$q);
$q = str_replace('½','&#189;',$q);
$q = str_replace('¾','&#190;',$q);
$q = str_replace('¿','&#191;',$q);
$q = str_replace('À','&#192;',$q);
$q = str_replace('Á','&#193;',$q);
$q = str_replace('Â','&#194;',$q);
$q = str_replace('Ã','&#195;',$q);
$q = str_replace('Ä','&#196;',$q);
$q = str_replace('Å','&#197;',$q);
$q = str_replace('Æ','&#198;',$q);
$q = str_replace('Ç','&#199;',$q);
$q = str_replace('È','&#200;',$q);
$q = str_replace('É','&#201;',$q);
$q = str_replace('Ê','&#202;',$q);
$q = str_replace('Ë','&#203;',$q);
$q = str_replace('Ì','&#204;',$q);
$q = str_replace('Í','&#205;',$q);
$q = str_replace('Î','&#206;',$q);
$q = str_replace('Ï','&#207;',$q);
$q = str_replace('Ð','&#208;',$q);
$q = str_replace('Ñ','&#209;',$q);
$q = str_replace('Ò','&#210;',$q);
$q = str_replace('Ó','&#211;',$q);
$q = str_replace('Ô','&#212;',$q);
$q = str_replace('Õ','&#213;',$q);
$q = str_replace('Ö','&#214;',$q);
$q = str_replace('×','&#215;',$q);
$q = str_replace('Ø','&#216;',$q);
$q = str_replace('Ù','&#217;',$q);
$q = str_replace('Ú','&#218;',$q);
$q = str_replace('Û','&#219;',$q);
$q = str_replace('Ü','&#220;',$q);
$q = str_replace('Ý','&#221;',$q);
$q = str_replace('Þ','&#222;',$q);
$q = str_replace('ß','&#223;',$q);
$q = str_replace('à','&#224;',$q);
$q = str_replace('á','&#225;',$q);
$q = str_replace('â','&#226;',$q);
$q = str_replace('ã','&#227;',$q);
$q = str_replace('ä','&#228;',$q);
$q = str_replace('å','&#229;',$q);
$q = str_replace('æ','&#230;',$q);
$q = str_replace('ç','&#231;',$q);
$q = str_replace('è','&#232;',$q);
$q = str_replace('é','&#233;',$q);
$q = str_replace('ê','&#234;',$q);
$q = str_replace('ë','&#235;',$q);
$q = str_replace('ì','&#236;',$q);
$q = str_replace('í','&#237;',$q);
$q = str_replace('î','&#238;',$q);
$q = str_replace('ï','&#239;',$q);
$q = str_replace('ð','&#240;',$q);
$q = str_replace('ñ','&#241;',$q);
$q = str_replace('ò','&#242;',$q);
$q = str_replace('ó','&#243;',$q);
$q = str_replace('ô','&#244;',$q);
$q = str_replace('õ','&#245;',$q);
$q = str_replace('ö','&#246;',$q);
$q = str_replace('÷','&#247;',$q);
$q = str_replace('ø','&#248;',$q);
$q = str_replace('ù','&#249;',$q);
$q = str_replace('ú','&#250;',$q);
$q = str_replace('û','&#251;',$q);
$q = str_replace('ü','&#252;',$q);
$q = str_replace('ý','&#253;',$q);
$q = str_replace('þ','&#254;',$q);
$q = str_replace('ÿ','&#255;',$q);
$q = str_replace('Œ','&#338;',$q);
$q = str_replace('œ','&#339;',$q);
$q = str_replace('Š','&#352;',$q);
$q = str_replace('š','&#353;',$q);
$q = str_replace('Ÿ','&#376;',$q);
$q = str_replace('ƒ','&#402;',$q);
$q = str_replace('–','&#8211;',$q);
$q = str_replace('—','&#8212;',$q);
$q = str_replace('‘','&#8216;',$q);
$q = str_replace('’','&#8217;',$q);
$q = str_replace('‚','&#8218;',$q);
$q = str_replace('“','&#8220;',$q);
$q = str_replace('”','&#8221;',$q);
$q = str_replace('„','&#8222;',$q);
$q = str_replace('†','&#8224;',$q);
$q = str_replace('‡','&#8225;',$q);
$q = str_replace('•','&#8226;',$q);
$q = str_replace('…','&#8230;',$q);
$q = str_replace('‰','&#8240;',$q);
$q = str_replace('€','&#8364;',$q);
$q = str_replace('™','&#8482;',$q);

return $q;
}
?>

Comments

apo2888 için bir cevap yazın Cevabı iptal et

E-posta hesabınız yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Şu HTML etiketlerini ve özelliklerini kullanabilirsiniz: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>