/*
- * Replacing the article chain with PHP
- * By bbs.it-home.org
- */
- Function _ base64_encode ($ t, $ str ){
- Return $ t. "\" ". base64_encode ($ str )."\"";
- }
- Function _ base64_decode ($ t, $ str ){
- Return $ t. "\" ". base64_decode ($ str )."\"";
- }
Function _ keylinks ($ txt, $ replacenum = '', $ link_mode = 1 ){
- /* Shield the original */
- $ Replace_a = "\ _ base64_encode ('ori _ a = ',' \ 0 ')";
- $ Replaceappsa = "\ stripslashes (base64_decode ('\ 1 '))";
- $ Search_a = "/.*? <\/A>/isxe ";
- $ Searchdomaina = "/ori_a = (\".*? \ ")/Isxe ";
- $ Txt = preg_replace ($ search_a, $ replace_a, $ txt );
/* Block alt title src */
- $ Search = "/(alt \ s * = \ s * | title \ s * = \ s * | src \ s * = \ s *) # find ([\ "\ '])? (.*?) # Find single or double quote
- (? (2) \ 2 | \ s + ?) # If quote found, match up to next matching
- # Quote, otherwise match up to next space
- /Isxe ";
- $ Replace = "\ _ base64_encode ('\ 1', '\ 3 ')";
- $ Replace1 = "\ _ base64_decode ('\ 1',' \ 3 ')";
- $ Txt = preg_replace ($ search, $ replace, $ txt );
-
- Echo $ txt;
- Echo"
Http://bbs.it-home.org/<br>
";
- /*
- $ Keywords = $ this-> data ['keyword'];
- If ($ keywords) $ keywords = strpos (',', $ keywords) = false? Explode ('', $ keywords): explode (',', $ keywords );
- If ($ link_mode &&! Empty ($ keywords )){
- Foreach ($ keywords as $ keyword ){
- $ Linkdatas [] = $ keyword;
- }
- } Else {
- $ Linkdatas = getcache ('keylink', 'commons ');
- }
- If ($ linkdatas ){
- $ Word = $ replacement = array ();
- Foreach ($ linkdatas as $ v ){
- If ($ link_mode & $ keywords ){
- $ Word1 [] = '/'. preg_quote ($ v ,'/').'/';
- $ Word2 [] = $ v;
- $ Replacement [] = ''. $ v .'';
- } Else {
- $ Word1 [] = '/'. preg_quote ($ v [0], '/'). '/';
- $ Word2 [] = $ v [0];
-
- $ Replacement [] = ''. $ v [0].'';
- }
- }
- If ($ replacenum! = ''){
- $ Txt = preg_replace ($ word1, $ replacement, $ txt, $ replacenum );
- } Else {
- $ Txt = str_replace ($ word2, $ replacement, $ txt );
- }
- }
- */
-
- /* Restore the original */
- $ Txt = preg_replace ($ search1_a, $ replace1_a, $ txt );
- /* Restore alt title src */
- $ Txt = preg_replace ($ search, $ replace1, $ txt );
-
- Echo $ txt;
-
- Return $ txt;
- }
- $ Con ="
Excessive sex life hurts the prostate. A harmonious and happy sex life is a natural physiological need of men and women. it is one of the adhesives of husband and wife feelings and is an essential part of husband and wife life. But couples with this idea should pay attention to it. Because x love is not the longer the better, the harmony and happiness of husband and wife's sexual life cannot be determined by the length of sex xai. On the contrary, timeout also affects the health of couples and even causes various diseases.
- ";
_ Keylinks ($ con );
- ?>
|