| @@ 2036-2051 (lines=16) @@ | ||
| 2033 | * |
|
| 2034 | * @return mixed |
|
| 2035 | */ |
|
| 2036 | function emailcnvrt($email) |
|
| 2037 | { |
|
| 2038 | $search = array( |
|
| 2039 | "/\@/", |
|
| 2040 | "/\./", |
|
| 2041 | "/\mailto:/", |
|
| 2042 | ); |
|
| 2043 | ||
| 2044 | $replace = array( |
|
| 2045 | ' AT ', |
|
| 2046 | ' DOT ', |
|
| 2047 | '', |
|
| 2048 | ); |
|
| 2049 | ||
| 2050 | $text = preg_replace($search, $replace, $email); |
|
| 2051 | ||
| 2052 | return $text; |
|
| 2053 | } |
|
| 2054 | ||
| @@ 2060-2073 (lines=14) @@ | ||
| 2057 | * |
|
| 2058 | * @return mixed |
|
| 2059 | */ |
|
| 2060 | function printemailcnvrt($email) |
|
| 2061 | { |
|
| 2062 | $search = array( |
|
| 2063 | "/\ AT /", |
|
| 2064 | "/\ DOT /", |
|
| 2065 | ); |
|
| 2066 | ||
| 2067 | $replace = array( |
|
| 2068 | '@', |
|
| 2069 | '.', |
|
| 2070 | ); |
|
| 2071 | ||
| 2072 | $text = preg_replace($search, $replace, $email); |
|
| 2073 | ||
| 2074 | return $text; |
|
| 2075 | } |
|
| 2076 | ||
| @@ 52-65 (lines=14) @@ | ||
| 49 | * |
|
| 50 | * @return mixed |
|
| 51 | */ |
|
| 52 | function vcardemailcnvrt($email) |
|
| 53 | { |
|
| 54 | $search = array( |
|
| 55 | "/\ AT /", |
|
| 56 | "/\ DOT /", |
|
| 57 | ); |
|
| 58 | ||
| 59 | $replace = array( |
|
| 60 | '@', |
|
| 61 | '.', |
|
| 62 | ); |
|
| 63 | ||
| 64 | $text = preg_replace($search, $replace, $email); |
|
| 65 | ||
| 66 | return $text; |
|
| 67 | } |
|
| 68 | ||