<?php require_once 'MessageService.class.php'; $mesSer = new MessageService(); var_dump($mesSer->getMessage("уехЩ", "admin")); echo myconv('уехЩ');
function cmd_conv($t) { global $is_unix; $ret = $is_unix ? str_replace(array("\r", "\n", ' '), array('', '<br>', ' '), myconv(htmlspecialchars($t))) : str_replace(array("\r", "\n", ' '), array('', '<br>', ' '), myconv(htmlspecialchars(@convert_cyr_string($t, 'd', 'w')))); return "<html><body style=\"font-family:'Courier','Lucida Console';font-size:14px;\">" . $ret . "</body></html>"; }