*/ ?>
PL EN RU
'.$lang_main[4].''; $sql7 = "SELECT * FROM pmshop_page WHERE act=1 AND menu=1 AND id!=8 ORDER BY poz ASC;"; $wynik7 = @mysql_query ($sql7); $irow = mysql_num_rows($wynik7); if($irow>0){ $menu_i=0; while ($db_menu = @mysql_fetch_array ($wynik7)){ $menu_i++; if($g_menu_page==$db_menu['id']){$menuact='pmsite_menu_act';}else{$menuact='pmsite_menu_deact';} if($db_menu['id']==8){ $g_href=URL; if($page_url=='home.php') $g_href='#'; }else{ $t=$db_menu['tx1'.$lang_db]; $b=false; if(strlen($t)>=7){ $s=''; for ($i=0; $i<=6; $i++) { $s.=$t[$i]; } if($s=='

http'){ $srep=array('

','

'); $s=str_replace($srep,'',$t); $b=true; } } if($b){ $g_href=$s; }else{ $g_href=prepareURL(text_lang($db_menu['title']),$db_menu['id'],'g'); } } echo ''.text_lang($db_menu['title']).''; }} ?>
0){ ?>