"; } echo "
  • {$text}"; $sql1 = mysql_query("select * from `jos_menu` where `published` = 1 and `menutype` = 'mainmenu' and `parent_id` = {$rows['id']}"); echo ""; echo "
  • "; } } function turn_greeklish($string) { $string = str_replace("γκ","g",$string); $string = str_replace("γγ","g",$string); $string = str_replace("α","a",$string); $string = str_replace("β","b",$string); $string = str_replace("γ","g",$string); $string = str_replace("δ","d",$string); $string = str_replace("ε","e",$string); $string = str_replace("ζ","z",$string); $string = str_replace("η","h",$string); $string = str_replace("θ","8",$string); $string = str_replace("ι","i",$string); $string = str_replace("κ","k",$string); $string = str_replace("λ","l",$string); $string = str_replace("μ","m",$string); $string = str_replace("ν","n",$string); $string = str_replace("ξ","x",$string); $string = str_replace("ο","o",$string); $string = str_replace("π","p",$string); $string = str_replace("ρ","r",$string); $string = str_replace("σ","s",$string); $string = str_replace("τ","t",$string); $string = str_replace("υ","y",$string); $string = str_replace("φ","f",$string); $string = str_replace("χ","x",$string); $string = str_replace("ψ","ps",$string); $string = str_replace("ω","w",$string); $string = str_replace("ά","a",$string); $string = str_replace("έ","e",$string); $string = str_replace("ή","h",$string); $string = str_replace("ί","i",$string); $string = str_replace("ό","o",$string); $string = str_replace("ύ","y",$string); $string = str_replace("ώ","w",$string); $string = str_replace("ϊ","i",$string); $string = str_replace("ΐ","i",$string); $string = str_replace("ς","s",$string); $string = str_replace("ΓΚ","G",$string); $string = str_replace("ΓΓ","G",$string); $string = str_replace("Α","A",$string); $string = str_replace("Β","B",$string); $string = str_replace("Γ","G",$string); $string = str_replace("Δ","D",$string); $string = str_replace("Ε","E",$string); $string = str_replace("Ζ","Z",$string); $string = str_replace("Η","H",$string); $string = str_replace("Θ","8",$string); $string = str_replace("Ι","I",$string); $string = str_replace("Κ","K",$string); $string = str_replace("Λ","L",$string); $string = str_replace("Μ","M",$string); $string = str_replace("Ν","N",$string); $string = str_replace("Ξ","X",$string); $string = str_replace("Ο","O",$string); $string = str_replace("Π","P",$string); $string = str_replace("Ρ","R",$string); $string = str_replace("Σ","S",$string); $string = str_replace("Τ","T",$string); $string = str_replace("Υ","Y",$string); $string = str_replace("Φ","F",$string); $string = str_replace("Χ","X",$string); $string = str_replace("Ψ","PS",$string); $string = str_replace("Ω","W",$string); $string = str_replace("Ά","A",$string); $string = str_replace("Έ","E",$string); $string = str_replace("Ή","I",$string); $string = str_replace("Ί","I",$string); $string = str_replace("Ό","O",$string); $string = str_replace("Ύ","Y",$string); $string = str_replace("Ώ","W",$string); $string = str_replace("Ϊ","I",$string); $string = str_replace("Ϊ","I",$string); $string = str_replace("Σ","S",$string); return $string; } con(); $article = $_GET['alias']; if (!empty($article)){ $sql = mysql_query("select * from `jos_content` where `alias` = '{$article}'"); $rows = mysql_fetch_array($sql); $title = $rows['title']; $introtext = $rows['introtext']; $introtext = str_replace("src=","src=/",$introtext); $introtext = str_replace("src =","src =/",$introtext); $introtext = str_replace(" <?echo $title;?>
    menu