'a', 'б' => 'b', 'в' => 'v', 'г' => 'g', 'д' => 'd', 'е' => 'e', 'ё' => 'e', 'ж' => 'zh', 'з' => 'z', 'и' => 'i', 'й' => 'y', 'к' => 'k', 'л' => 'l', 'м' => 'm', 'н' => 'n', 'о' => 'o', 'п' => 'p', 'р' => 'r', 'с' => 's', 'т' => 't', 'у' => 'u', 'ф' => 'f', 'х' => 'h', 'ц' => 'c', 'ч' => 'ch', 'ш' => 'sh', 'щ' => 'sch', 'ь' => "-", 'ы' => 'y', 'ъ' => "'", 'э' => 'e', 'ю' => 'yu', 'я' => 'ya', 'А' => 'A', 'Б' => 'B', 'В' => 'V', 'Г' => 'G', 'Д' => 'D', 'Е' => 'E', 'Ё' => 'E', 'Ж' => 'ZH', 'З' => 'Z', 'И' => 'I', 'Й' => 'Y', 'К' => 'K', 'Л' => 'L', 'М' => 'M', 'Н' => 'N', 'О' => 'O', 'П' => 'P', 'Р' => 'R', 'С' => 'S', 'Т' => 'T', 'У' => 'U', 'Ф' => 'F', 'Х' => 'H', 'Ц' => 'C', 'Ч' => 'CH', 'Ш' => 'SH', 'Щ' => 'SCH', 'Ь' => "-", 'Ы' => 'Y', 'Ъ' => "'", 'Э' => 'E', 'Ю' => 'YU', 'Я' => 'YA' )); $s = preg_replace("/[^0-9a-z-_ ]/i", "", $s); // очищаем строку от недопустимых символов $s = str_replace(" ", "-", $s); // заменяем пробелы знаком минус $s = preg_replace("/-+/", '-', $s); return $s; } // ####################### SET PHP ENVIRONMENT ########################### error_reporting(E_ALL & ~E_NOTICE); // #################### DEFINE IMPORTANT CONSTANTS ####################### define('THIS_SCRIPT', 'articles'); define('CSRF_PROTECTION', true); // change this depending on your filename // ################### PRE-CACHE TEMPLATES AND DATA ###################### // get special phrase groups $phrasegroups = array(); // get special data templates from the datastore $specialtemplates = array(); // pre-cache templates used by all actions $globaltemplates = array('articles'); // pre-cache templates used by specific actions $actiontemplates = array(); // ######################### REQUIRE BACK-END ############################ // if your page is outside of your normal vb forums directory, you should change directories by uncommenting the next line chdir ('../forums'); require_once('./global.php'); // ####################################################################### // ######################## START MAIN SCRIPT ############################ // ####################################################################### $toheader=""; ob_start(); $ararr=array(); $query="select a.nodeid as id, a.url, b.title as title, d.category, b.creationdate as dt from vbb_cms_node a, vbb_cms_nodeinfo b, vbb_cms_nodecategory c, vbb_cms_category d where c.nodeid=a.nodeid and b.nodeid=a.nodeid and d.categoryid=c.categoryid and a.setpublish=1 and a.nodeid!=1 order by b.creationdate desc"; $res=$vbulletin->db->query_read($query); while ($row=mysql_fetch_array($res)) { $t=$row["title"]; $t=str_replace("'","\'",$t); $dt=date("d.m.y",$row["dt"]); $url=$row["url"]; $cat=$row["category"]; $id=$row["id"]; $url = translater($t); //$ararr[$cat][]="".$dt." ".$t."
"; $ararr[$cat][]="".$dt." ".$t."
"; } ?>

Начинающим

Как начать играть на бирже?