Execute($sql); $_GET["mi"] = $rs2->fields['mi']; $_GET["menu"] = $rs2->fields['menu']; $_REQUEST["mi"] = $rs2->fields['mi']; $_REQUEST["menu"] = $rs2->fields['menu']; if ($url_array[1]){ if ($rs2->fields['idName']!=""){ $sql = "SELECT id FROM ".$rs2->fields['sqlTable']." WHERE seoUrl = '".$url_array[1]."' LIMIT 1"; $rs3 = $conn->Execute($sql); $_GET[$rs2->fields['idName']] = $rs3->fields['id']; $_REQUEST[$rs2->fields['idName']] = $rs3->fields['id']; } } if ($url_array[2]){ if ($rs2->fields['idName2']!=""){ $sql = "SELECT id FROM ".$rs2->fields['sqlTable2']." WHERE muvesz_id = '".$_REQUEST["muvesz_id"]."' && seoUrl = '".$url_array[2]."' LIMIT 1"; $rs3 = $conn->Execute($sql); $_GET[$rs2->fields['idName2']] = $rs3->fields['id']; $_REQUEST[$rs2->fields['idName2']] = $rs3->fields['id']; } } } function clear_hun_char($str){ // $str=strtolower($str); $str=str_replace("Í","I",$str); $pat=array("/á/", "/Á/", "/é/", "/É/", "/í/", "/ó/", "/ö/", "/ő/", "/ú/", "/ü/", "/ű/","/Ó/", "/Ö/", "/Ő/", "/Ú/", "/Ü/", "/Ű/", "/[\s\~]/", "/[^\w-.\[\]\(\)]/"); $rep=array("a", "A", "e", "E", "i", "o", "o", "o", "u", "u", "u", "O", "O", "O", "U", "U", "U", "-", "-"); $str=preg_replace($pat,$rep,$str); $str=str_replace("-----","-",$str); $str=str_replace("----","-",$str); $str=str_replace("---","-",$str); $str=str_replace("--","-",$str); $str=str_replace(".","",$str); $str=str_replace("(","",$str); $str=str_replace(")","",$str); return $str; } // require("./inc/db.php"); ?> _OLDAL_TITLE_ -
magyar
english