A PHP Error was encountered

Severity: Warning

Message: Declaration of MX_Lang::load($langfile, $lang = '', $return = false, $add_suffix = true, $alt_path = '', $_module = '') should be compatible with CI_Lang::load($langfile = '', $idiom = '', $return = false, $add_suffix = true, $alt_path = '')

Filename: MX/Lang.php

Line Number: 38

A PHP Error was encountered

Severity: Warning

Message: Declaration of MX_Loader::library($library, $params = NULL, $object_name = NULL) should be compatible with CI_Loader::library($library = '', $params = NULL, $object_name = NULL)

Filename: MX/Loader.php

Line Number: 131

A PHP Error was encountered

Severity: Warning

Message: Declaration of MX_Loader::helper($helper) should be compatible with CI_Loader::helper($helpers = Array)

Filename: MX/Loader.php

Line Number: 102

A PHP Error was encountered

Severity: Warning

Message: Declaration of MX_Loader::helpers($helpers) should be compatible with CI_Loader::helpers($helpers = Array)

Filename: MX/Loader.php

Line Number: 117

A PHP Error was encountered

Severity: Warning

Message: Declaration of MX_Loader::language($langfile, $idiom = '', $return = false, $add_suffix = true, $alt_path = '') should be compatible with CI_Loader::language($file = Array, $lang = '')

Filename: MX/Loader.php

Line Number: 122

A PHP Error was encountered

Severity: Warning

Message: Declaration of MX_Loader::_ci_get_component($component) should be compatible with & CI_Loader::_ci_get_component($component)

Filename: MX/Loader.php

Line Number: 261

A PHP Error was encountered

Severity: Notice

Message: Only variables should be assigned by reference

Filename: core/Loader.php

Line Number: 150

A PHP Error was encountered

Severity: Notice

Message: Only variables should be assigned by reference

Filename: core/Loader.php

Line Number: 656

config->base_url(APPPATH . $uri) . "/"; } } # seo lang if (!function_exists('seo_lang')) { function seo_lang($str = '') { return my_url_title(convert_accented_characters(lang($str))); } } /** * Create URL Title that allows Arabic characters * * Takes a "title" string as input and creates a * human-friendly URL string with a "separator" string * as the word separator. * * @access public * @param string the string * @param string the separator * @return string */ function my_url_title($str, $separator = '-', $lowercase = FALSE) { if ($separator == 'dash') { $separator = '-'; } else if ($separator == 'underscore') { $separator = '_'; } $q_separator = preg_quote($separator); $trans = array( //'&.+?;' => '', //'[^[U+0621]-[U+064a]a-z0-9 _-]' => '', // '\s+' => $separator, //'(' . $q_separator . ')+' => $separator '«' => '', '»' => '', '’' => '', '"' => '', ',' => '', '!' => '', '\'' => '', '&.+?;' => '', '[^[U+0621]-[U+064a]a-z0-9 _-]' => '', '\s+' => $separator, '('.$q_separator.')+' => $separator ); $str = strip_tags($str); foreach ($trans as $key => $val) { $str = preg_replace("#" . $key . "#i", $val, $str); } if ($lowercase === TRUE) { $str = strtolower($str); } return trim($str, $separator); }';//Eşit }else if($rw>$rh){ $mtop = floor($h-($rh*$h/$rw))/2; return ''.$alt.'';//Yatay"; }else if($rw<$rh){ return ''.$alt.'';//"Dikey"; } } } function img_resize_crop($img,$w,$h,$alt=false){ if(file_exists($img)){ $style = 'style="position:relative; display:block; width:'.$w.'px; height:'.$h.'px; overflow:hidden;"'; $resim = @getimagesize($img); $rw = $resim[0]; $rh = $resim[1]; if($w==$h){ if($rw==$rh){ return '
'.$alt.'
';//Eşit }else if($rw>$rh){ $mtop = floor($w-($rh*$h/$rw))/2; return '
'.$alt.'
';//Yatay"; }else if($rw<$rh){ $mtop = floor($h-($rw*$w/$rh))/2; return '
'.$alt.'
';//"Dikey"; } }else if($w>$h){ $mtop = floor(($w*$rh/$rw)-$h)/2; return '
'.$alt.'
';//Yatay"; }else if($w<$h){ $mtop = floor(($h*$rw/$rh)-$w)/2; return '
'.$alt.'
';//Yatay"; } } } ?>