/** * CodeIgniter * * An open source application development framework for PHP 5.1.6 or newer * * @package CodeIgniter * @author ExpressionEngine Dev Team * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc. * @license http://codeigniter.com/user_guide/license.html * @link http://codeigniter.com * @since Version 1.0 * @filesource */ // ------------------------------------------------------------------------ /** * CodeIgniter String Helpers * * @package CodeIgniter * @subpackage Helpers * @category Helpers * @author ExpressionEngine Dev Team * @link http://codeigniter.com/user_guide/helpers/string_helper.html */ // ------------------------------------------------------------------------ /** * Trim Slashes * * Removes any leading/trailing slashes from a string: * * /this/that/theother/ * * becomes: * * this/that/theother * * @access public * @param string * @return string */ if ( ! function_exists('trim_slashes')) { function trim_slashes($str) { return trim($str, '/'); } } // ------------------------------------------------------------------------ /** * Strip Slashes * * Removes slashes contained in a string or in an array * * @access public * @param mixed string or array * @return mixed string or array */ if ( ! function_exists('strip_slashes')) { function strip_slashes($str) { if (is_array($str)) { foreach ($str as $key => $val) { $str[$key] = strip_slashes($val); } } else { $str = stripslashes($str); } return $str; } } // ------------------------------------------------------------------------ /** * Strip Quotes * * Removes single and double quotes from a string * * @access public * @param string * @return string */ if ( ! function_exists('strip_quotes')) { function strip_quotes($str) { return str_replace(array('"', "'"), '', $str); } } // ------------------------------------------------------------------------ /** * Quotes to Entities * * Converts single and double quotes to entities * * @access public * @param string * @return string */ if ( ! function_exists('quotes_to_entities')) { function quotes_to_entities($str) { return str_replace(array("\'","\"","'",'"'), array("'",""","'","""), $str); } } // ------------------------------------------------------------------------ /** * Reduce Double Slashes * * Converts double slashes in a string to a single slash, * except those found in http:// * * http://www.some-site.com//index.php * * becomes: * * http://www.some-site.com/index.php * * @access public * @param string * @return string */ if ( ! function_exists('reduce_double_slashes')) { function reduce_double_slashes($str) { return preg_replace("#(^|[^:])//+#", "\\1/", $str); } } // ------------------------------------------------------------------------ /** * Reduce Multiples * * Reduces multiple instances of a particular character. Example: * * Fred, Bill,, Joe, Jimmy * * becomes: * * Fred, Bill, Joe, Jimmy * * @access public * @param string * @param string the character you wish to reduce * @param bool TRUE/FALSE - whether to trim the character from the beginning/end * @return string */ if ( ! function_exists('reduce_multiples')) { function reduce_multiples($str, $character = ',', $trim = FALSE) { $str = preg_replace('#'.preg_quote($character, '#').'{2,}#', $character, $str); if ($trim === TRUE) { $str = trim($str, $character); } return $str; } } // ------------------------------------------------------------------------ /** * Create a Random String * * Useful for generating passwords or hashes. * * @access public * @param string type of random string. basic, alpha, alunum, numeric, nozero, unique, md5, encrypt and sha1 * @param integer number of characters * @return string */ if ( ! function_exists('random_string')) { function random_string($type = 'alnum', $len = 8) { switch($type) { case 'basic' : return mt_rand(); break; case 'alnum' : case 'numeric' : case 'nozero' : case 'alpha' : switch ($type) { case 'alpha' : $pool = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; case 'alnum' : $pool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; case 'numeric' : $pool = '0123456789'; break; case 'nozero' : $pool = '123456789'; break; } $str = ''; for ($i=0; $i < $len; $i++) { $str .= substr($pool, mt_rand(0, strlen($pool) -1), 1); } return $str; break; case 'unique' : case 'md5' : return md5(uniqid(mt_rand())); break; case 'encrypt' : case 'sha1' : $CI =& get_instance(); $CI->load->helper('security'); return do_hash(uniqid(mt_rand(), TRUE), 'sha1'); break; } } } // ------------------------------------------------------------------------ /** * Alternator * * Allows strings to be alternated. See docs... * * @access public * @param string (as many parameters as needed) * @return string */ if ( ! function_exists('alternator')) { function alternator() { static $i; if (func_num_args() == 0) { $i = 0; return ''; } $args = func_get_args(); return $args[($i++ % count($args))]; } } // ------------------------------------------------------------------------ /** * Repeater function * * @access public * @param string * @param integer number of repeats * @return string */ if ( ! function_exists('repeater')) { function repeater($data, $num = 1) { return (($num > 0) ? str_repeat($data, $num) : ''); } } /* End of file string_helper.php */ /* Location: ./system/helpers/string_helper.php */

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/fuzecc/public_html/luiza/system/helpers/string_helper.php:289)

Filename: libraries/Session.php

Line Number: 670

Fuze - Luiza no Canadá

Ranking

  • 1 LUIZA CHRISTIAN.ALVES - 3246 pontos
  • 2 LUIZA JEANJALES - 3194 pontos
  • 3 LUIZA TONI - 3159 pontos
  • 4 LUIZA OLPKI - 2760 pontos
  • 5 LUIZA ARISTOTELINA - 2616 pontos
  • 6 LUIZA RODRIGO - 2384 pontos
  • 7 LUIZA LUCAS - 2374 pontos
  • 8 LUIZA FERNANDA - 2359 pontos
  • 9 LUIZA BANDSO - 2354 pontos
  • 10 LUIZA APOLINARIO - 2294 pontos
  • 11 LUIZA COSTA - 2252 pontos
  • 12 LUIZA BRUNA - 2227 pontos
  • 13 LUIZA LOPES - 2197 pontos
  • 14 LUIZA GODOY - 2170 pontos
  • 15 LUIZA FERNANDA - 2141 pontos
  • 16 LUIZA CANADENSE - 2115 pontos
  • 17 LUIZA NOCANADA - 2105 pontos
  • 18 LUIZA SUJO - 2100 pontos
  • 19 LUIZA JUIZA - 2073 pontos
  • 20 LUIZA PUTONADOFUNK - 2055 pontos
  • 21 LUIZA PUTONADOFUNK - 2053 pontos
  • 22 LUIZA LALA - 2048 pontos
  • 23 LUIZA SOUZA - 2038 pontos
  • 24 LUIZA CHRISTIAN.ALVES - 2033 pontos
  • 25 LUIZA MARTINS - 2028 pontos
  • 26 LUIZA CANADA - 2018 pontos
  • 27 LUIZA KKKK - 2018 pontos
  • 28 LUIZA LUXO - 2013 pontos
  • 29 LUIZA KILLER - 2008 pontos
  • 30 LUIZA PERDENDOOTEMPO - 2008 pontos
  • 31 LUIZA KILLER - 2003 pontos
  • 32 LUIZA CLEMENTE - 1998 pontos
  • 33 LUIZA RABELLO - 1988 pontos
  • 34 LUIZA GRUTZMANN - 1978 pontos
  • 35 LUIZA MAYARA - 1968 pontos
  • 36 LUIZA BERNARDINI - 1968 pontos
  • 37 LUIZA FASDFSDASD - 1951 pontos
  • 38 LUIZA NINA - 1946 pontos
  • 39 LUIZA AZIUL - 1943 pontos
  • 40 LUIZA KILLER - 1941 pontos
  • 41 LUIZA PIMENTA - 1936 pontos
  • 42 LUIZA ALMEIDA - 1936 pontos
  • 43 LUIZA DIASDEMEIRA - 1936 pontos
  • 44 LUIZA BRUNO - 1926 pontos
  • 45 LUIZA OLIVEIRA - 1921 pontos
  • 46 LUIZA GUEDES - 1911 pontos
  • 47 LUIZA MMMMMMM - 1911 pontos
  • 48 LUIZA DOCANADA - 1911 pontos
  • 49 LUIZA DIOGO - 1906 pontos
  • 50 LUIZA BLONT - 1906 pontos
  • 51 LUIZA ARISTOTELINA - 1900 pontos
  • 52 LUIZA MARILAC - 1896 pontos
  • 53 LUIZA DIASDEMEIRA - 1891 pontos
  • 54 LUIZA ESTADEVOLTA - 1886 pontos
  • 55 LUIZA PEREIRA - 1876 pontos
  • 56 LUIZA ALENCAR - 1871 pontos
  • 57 LUIZA MATHEUS - 1866 pontos
  • 58 LUIZA FUZE - 1866 pontos
  • 59 LUIZA BBOYALEMAO - 1866 pontos
  • 60 LUIZA FORTIN - 1864 pontos
  • 61 LUIZA L4CERD4 - 1861 pontos
  • 62 LUIZA CANADA - 1859 pontos
  • 63 LUIZA CHRISTIAN.ALVES - 1849 pontos
  • 64 LUIZA TEOFILO - 1846 pontos
  • 65 LUIZA GRUTZMANN - 1836 pontos
  • 66 LUIZA MAYARA - 1836 pontos
  • 67 LUIZA LUIZA - 1835 pontos
  • 68 LUIZA LELELE - 1829 pontos
  • 69 LUIZA NOCANADA - 1829 pontos
  • 70 LUIZA CADETU - 1829 pontos
  • 71 LUIZA ZUMPANO - 1824 pontos
  • 72 LUIZA MOURA - 1824 pontos
  • 73 LUIZA HKJHKG - 1814 pontos
  • 74 LUIZA SOUZA - 1806 pontos
  • 75 LUIZA NANA - 1804 pontos
  • 76 LUIZA MAGNO - 1804 pontos
  • 77 LUIZA CANADENSE - 1799 pontos
  • 78 LUIZA OLIVEIRA - 1799 pontos
  • 79 LUIZA MONSTER - 1794 pontos
  • 80 LUIZA MUUH - 1794 pontos
  • 81 LUIZA TULER - 1794 pontos
  • 82 LUIZA KILLER - 1794 pontos
  • 83 LUIZA BRONHA - 1794 pontos
  • 84 LUIZA BATISTA - 1791 pontos
  • 85 LUIZA PEDROFJL - 1789 pontos
  • 86 LUIZA MOURA - 1789 pontos
  • 87 LUIZA PAIVA - 1789 pontos
  • 88 LUIZA BAKELLAR - 1784 pontos
  • 89 LUIZA JARBAS - 1784 pontos
  • 90 LUIZA REISDORFER - 1779 pontos
  • 91 LUIZA LALALALALA - 1779 pontos
  • 92 LUIZA LEITTE - 1779 pontos
  • 93 LUIZA DUARTE - 1774 pontos
  • 94 LUIZA ALMEIDA - 1774 pontos
  • 95 LUIZA CHRISTIAN.ALVES - 1774 pontos
  • 96 LUIZA SOCORR - 1769 pontos
  • 97 LUIZA DIASDEMEIRA - 1769 pontos
  • 98 LUIZA POVOAS - 1769 pontos
  • 99 LUIZA PARAIBA - 1767 pontos
  • 100 LUIZA CAMPELO - 1759 pontos
©2012