*"; header ('Content-type: text/html; charset=utf-8'); //$haystack = 'областях и юридические услуги'; //echo $haystack; if($_GET['urlnam'] == "") { include("include/location_detection.php"); } //$_SESSION[tab_count]=1; //echo "::".$_POST['hid_Lang']; $_SESSION['sessionid'] = session_id(); //echo $_SESSION['Lang']; if($_POST['btnspanish'] == "" && $_POST['btnenglish'] == "" && $_POST['btnlatin'] == "" && $_POST['btngerman'] == "" && $_POST['btnrussian'] == "") { if($_SESSION['Lang'] != "" && $loc_lang == "") { if($_SESSION['Lang'] == "en") { $lang = "english"; $_SESSION['Lang'] = $lang; } else if($_SESSION['Lang'] == "en") { $lang = "spanish"; $_SESSION['Lang'] = $lang; } else if($_SESSION['Lang'] == "da") { $lang = "latin"; $_SESSION['Lang'] = $lang; } else if($_SESSION['Lang'] == "de") { $lang = "german"; $_SESSION['Lang'] = $lang; } else if($_SESSION['Lang'] == "ru") { $lang = "russian"; $_SESSION['Lang'] = $lang; } } else if($loc_lang != "") { if($loc_lang == "en") { $language = "english"; } else if($loc_lang == "es") { $language = "spanish"; } else if($loc_lang == "da") { $language = "latin"; } else if($loc_lang == "de") { $language = "german"; } else if($loc_lang == "ru") { $language = "russian"; } else { $language = "spanish"; } $_SESSION['Lang'] = $language; $lang = $_SESSION['Lang']; } } else { //echo "else"; if($_POST['btnspanish'] != "") { $_SESSION['Lang'] = "spanish"; $lang = $_SESSION['Lang']; } else if($_POST['btnenglish'] != "") { $_SESSION['Lang'] = "english"; $lang = $_SESSION['Lang']; } else if($_POST['btnlatin'] != "") { $_SESSION['Lang'] = "latin"; $lang = $_SESSION['Lang']; } else if($_POST['btngerman'] != "") { $_SESSION['Lang'] = "german"; $lang = $_SESSION['Lang']; } else if($_POST['btnrussian'] != "") { $_SESSION['Lang'] = "russian"; $lang = $_SESSION['Lang']; } } if($_GET[urlnam]=="") { $defaultnam=mysql_fetch_array(mysql_query("Select * from contentmst where MenuId='1' ")); $_GET[urlnam]=stripslashes($defaultnam['UrlName']); } if(isset($_POST['sa'])) { $txt_search=mysql_escape_string(trim($_POST['q'])); header("location:search_query.php?txtsearch='".base64_encode($txt_search)."'"); } //manage content statrt if($_SESSION['Lang'] == 'spanish' || $_SESSION['Lang']=="") { //$haystack = 'областях и юридические услуги'; //$menuname=mysql_fetch_array(mysql_query("Select MenuName_Russian from menumst where MenuId=1")); //echo $browsertit1 = stripslashes($menuname[MenuName_Russian]); $sql_content = mysql_query("Select * from contentmst where UrlName='".htmlentities(utf8_decode($_GET[urlnam]))."'"); $sql_menu = mysql_num_rows($sql_content); $getcontent = mysql_fetch_array($sql_content); $menuid = $getcontent[MenuId]; $submenuid = $getcontent[MenubarId]; if($menuid!="1") { $linkPath = "news-photo/".stripslashes($getcontent['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; //echo "::".$linkPath; } $speciality1="Cobro deudas a Ayuntamientos y
Administraciones Públicas"; $speciality2="Reclamaciones a Promotores y Constructores"; $sql_speciality=mysql_query("select * from contentmst where MenuId=2 and MenubarId!=0"); $i=0; while($get_speciality=mysql_fetch_array($sql_speciality)) { $i=$i+1; if($get_speciality['UrlName']!="") { $linkspeciality[$i]=stripslashes($get_speciality['UrlName']); } else { $linkspeciality[$i]=stripslashes($get_speciality['Menubarname_Spanish']); } } if($getcontent[BrowserTitle_Spanish]!="") { $browsertit = stripslashes($getcontent[BrowserTitle_Spanish]); } else { if($submenuid!="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where MenubarId='".$submenuid."'")); $browsertit = stripslashes($submenuname[Menubarname_Spanish]); } else { $menuname=mysql_fetch_array(mysql_query("Select MenuName_Spanish from menumst where MenuId='".$menuid."'")); $browsertit = stripslashes($menuname[MenuName_Spanish]); } } if($getcontent[MetaTitle_Spanish]!="") { $browsertit_title = stripslashes($getcontent[MetaTitle_Spanish]); } else { if($submenuid!="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where MenubarId='".$submenuid."'")); $browsertit_title = stripslashes($submenuname[Menubarname_Spanish]); } else { $menuname=mysql_fetch_array(mysql_query("Select MenuName_Spanish from menumst where MenuId='".$menuid."'")); $browsertit_title = stripslashes($menuname[MenuName_Spanish]); } } $keyword = stripslashes($getcontent[Keywords_Spanish]); $descr = stripslashes($getcontent[MetaDescription_Spanish]); $content = stripslashes($getcontent[MainContent_Spanish]); if($menuid=="") { $_SESSION[menuname]=$submenuname[MenuId]; } else { $_SESSION[menuname]=$menuid; } } else if($_SESSION['Lang'] == 'english') { $sql_content=mysql_query("Select * from contentmst where UrlName ='".htmlentities(utf8_decode($_GET[urlnam]))."'"); $sql_menu = mysql_num_rows($sql_content); $getcontent = mysql_fetch_array($sql_content); $menuid = $getcontent[MenuId]; $submenuid = $getcontent[MenubarId]; if($menuid!="1") { $linkPath = "news-photo/".stripslashes($getcontent['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; } $speciality1="Debt recovery from Councils and
Public Administrations"; $speciality2="Claims against Developers and Builders"; $sql_speciality=mysql_query("select * from contentmst where MenuId=2 and MenubarId!=0"); $i=0; while($get_speciality=mysql_fetch_array($sql_speciality)) { $i=$i+1; if($get_speciality['UrlName']!="") { $linkspeciality[$i]=stripslashes($get_speciality['UrlName']); } else { $linkspeciality[$i]=stripslashes($get_speciality['Menubarname_English']); } } if($getcontent[BrowserTitle_English]!="") { $browsertit = stripslashes($getcontent[BrowserTitle_English]); } else { if($submenuid!="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where MenubarId='".$submenuid."'")); $browsertit = stripslashes($submenuname[Menubarname_English]); } else { $menuname=mysql_fetch_array(mysql_query("Select * from menumst where MenuId='".$menuid."'")); $browsertit = stripslashes($menuname[MenuName_English]); } } $keyword = stripslashes($getcontent[Keywords_English]); $descr = stripslashes($getcontent[MetaDescription_English]); $content = stripslashes($getcontent[MainContent_English]); if($menuid=="") { $_SESSION[menuname]=$submenuname[MenuId]; } else { $_SESSION[menuname]=$menuid; } } else if($_SESSION['Lang'] == 'latin') { $sql_content=mysql_query("Select * from contentmst where UrlName ='".htmlentities(utf8_decode($_GET[urlnam]))."'"); $sql_menu = mysql_num_rows($sql_content); $getcontent = mysql_fetch_array($sql_content); $menuid = $getcontent[MenuId]; $submenuid = $getcontent[MenubarId]; if($menuid!="1") { $linkPath = "news-photo/".stripslashes($getcontent['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; } $speciality1="Consejos de cobro de deudas y
Administraciones Públicas"; $speciality2="Reclamaciones a Promotores y Constructores"; $sql_speciality=mysql_query("select * from contentmst where MenuId=2 and MenubarId!=0"); $i=0; while($get_speciality=mysql_fetch_array($sql_speciality)) { $i=$i+1; if($get_speciality['UrlName']!="") { $linkspeciality[$i]=stripslashes($get_speciality['UrlName']); } else { $linkspeciality[$i]=stripslashes($get_speciality['Menubarname_Latin']); } } if($getcontent[BrowserTitle_Latin]!="") { $browsertit = stripslashes($getcontent[BrowserTitle_Latin]); } else { if($submenuid!="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where MenubarId='".$submenuid."'")); $browsertit = stripslashes($submenuname[Menubarname_Latin]); } else { $menuname=mysql_fetch_array(mysql_query("Select * from menumst where MenuId='".$menuid."'")); $browsertit = stripslashes($menuname[MenuName_Latin]); } } $keyword = stripslashes($getcontent[Keywords_Latin]); $descr = stripslashes($getcontent[MetaDescription_Latin]); $content = stripslashes($getcontent[MainContent_Latin]); if($menuid=="") { $_SESSION[menuname]=$submenuname[MenuId]; } else { $_SESSION[menuname]=$menuid; } } else if($_SESSION['Lang'] == 'german') { $sql_content=mysql_query("Select * from contentmst where UrlName ='".htmlentities(utf8_decode($_GET[urlnam]))."'"); $sql_menu = mysql_num_rows($sql_content); $getcontent = mysql_fetch_array($sql_content); $menuid = $getcontent[MenuId]; $submenuid = $getcontent[MenubarId]; if($menuid!="1") { $linkPath = "news-photo/".stripslashes($getcontent['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; } $speciality1="Forderungseinziehung gegen Rathäuser und öffentliche Verwaltungen"; $speciality2="Ansprüche gegen Bauträger und Bauunternehmer"; $sql_speciality=mysql_query("select * from contentmst where MenuId=2 and MenubarId!=0"); $i=0; while($get_speciality=mysql_fetch_array($sql_speciality)) { $i=$i+1; if($get_speciality['UrlName']!="") { $linkspeciality[$i]=stripslashes($get_speciality['UrlName']); } else { $linkspeciality[$i]=stripslashes($get_speciality['Menubarname_German']); } } if($getcontent[BrowserTitle_German]!="") { $browsertit = stripslashes($getcontent[BrowserTitle_German]); } else { if($submenuid!="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where MenubarId='".$submenuid."'")); $browsertit = stripslashes($submenuname[Menubarname_German]); } else { $menuname=mysql_fetch_array(mysql_query("Select * from menumst where MenuId='".$menuid."'")); $browsertit = stripslashes($menuname[MenuName_German]); } } $keyword = stripslashes($getcontent[Keywords_German]); $descr = stripslashes($getcontent[MetaDescription_German]); $content = stripslashes($getcontent[MainContent_German]); if($menuid=="") { $_SESSION[menuname]=$submenuname[MenuId]; } else { $_SESSION[menuname]=$menuid; } } else if($_SESSION['Lang'] == 'russian') { $sql_content=mysql_query("Select * from contentmst where UrlName ='".htmlentities(utf8_decode($_GET[urlnam]))."'"); $sql_menu = mysql_num_rows($sql_content); $getcontent = mysql_fetch_array($sql_content); $menuid = $getcontent[MenuId]; $submenuid = $getcontent[MenubarId]; if($menuid!="1") { $linkPath = "news-photo/".stripslashes($getcontent['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; } $speciality1="Услуги по взысканию долгов с государственных администраций"; $speciality2="Рекламации и иски против промоутеров и стротельных компаний"; $sql_speciality=mysql_query("select * from contentmst where MenuId=2 and MenubarId!=0"); $i=0; while($get_speciality=mysql_fetch_array($sql_speciality)) { $i=$i+1; if($get_speciality['UrlName']!="") { $linkspeciality[$i]=stripslashes($get_speciality['UrlName']); } else { $linkspeciality[$i]=stripslashes($get_speciality['Menubarname_Russian']); } } if($getcontent[BrowserTitle_Russian]!="") { $browsertit = stripslashes($getcontent[BrowserTitle_Russian]); } else { if($submenuid!="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where MenubarId='".$submenuid."'")); $browsertit = stripslashes($submenuname[Menubarname_Russian]); } else { $menuname=mysql_fetch_array(mysql_query("Select * from menumst where MenuId='".$menuid."'")); $browsertit = stripslashes($menuname[MenuName_Russian]); } } $keyword = stripslashes($getcontent[Keywords_Russian]); $descr = stripslashes($getcontent[MetaDescription_Russian]); $content = stripslashes($getcontent[MainContent_Russian]); if($menuid=="") { $_SESSION[menuname]=$submenuname[MenuId]; } else { $_SESSION[menuname]=$menuid; } } //manage content end //offmenu code start if($sql_menu <= 0) { if($_SESSION['Lang']=="" || $_SESSION['Lang']=="spanish") { $sql_content=mysql_query("Select * from offmenuitemsmst where UrlName='".str_replace(' ', ' ',htmlentities(utf8_decode($_GET[urlnam])))."'"); $row_content=mysql_fetch_array($sql_content); $num_off=mysql_num_rows($sql_content); $linkPath = "news-photo/".stripslashes($row_content['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; $speciality1="Consejos de cobro de deudas y
Administraciones Públicas"; $speciality2="Promotores y constructores de Reclamaciones"; if($row_content[BrowserTitle_Spanish]!="") { $browsertit = stripslashes($row_content[BrowserTitle_Spanish]); } else { $browsertit = utf8_decode($_GET[urlnam]); } $keyword = stripslashes($row_content[Keywords_Spanish]); $descr = stripslashes($row_content[MetaDescription_Spanish]); $content = stripslashes($row_content[MainContent_Spanish]); } else if($_SESSION['Lang']=="english") { $sql_content=mysql_query("Select * from offmenuitemsmst where UrlName='".str_replace(' ', ' ',htmlentities(utf8_decode($_GET[urlnam])))."'"); $row_content=mysql_fetch_array($sql_content); $num_off=mysql_num_rows($sql_content); $linkPath = "news-photo/".stripslashes($row_content['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; $speciality1="Councils debt collection and
Public Administrations"; $speciality2="Promoters and Builders Claims"; if($row_content[BrowserTitle_English]!="") { $browsertit = stripslashes($row_content[BrowserTitle_English]); } else { $browsertit = utf8_decode($_GET[urlnam]); } $keyword = stripslashes($row_content[Keywords_English]); $descr = stripslashes($row_content[MetaDescription_English]); $content = stripslashes($row_content[MainContent_English]); } else if($_SESSION['Lang']=="latin") { $sql_content=mysql_query("Select * from offmenuitemsmst where UrlName='".str_replace(' ', ' ',htmlentities(utf8_decode($_GET[urlnam])))."'"); $row_content=mysql_fetch_array($sql_content); $num_off=mysql_num_rows($sql_content); $linkPath = "news-photo/".stripslashes($row_content['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; $speciality1="Collectio conciliorum et debitum
Public administrationum"; $speciality2="Fautores et velit pulvinar"; if($row_content[BrowserTitle_Latin]!="") { $browsertit = stripslashes($row_content[BrowserTitle_Latin]); } else { $browsertit = utf8_decode($_GET[urlnam]); } $keyword = stripslashes($row_content[Keywords_Latin]); $descr = stripslashes($row_content[MetaDescription_Latin]); $content = stripslashes($row_content[MainContent_Latin]); } else if($_SESSION['Lang']=="german") { $sql_content=mysql_query("Select * from offmenuitemsmst where UrlName='".str_replace(' ', ' ',htmlentities(utf8_decode($_GET[urlnam])))."'"); $row_content=mysql_fetch_array($sql_content); $num_off=mysql_num_rows($sql_content); $linkPath = "news-photo/".stripslashes($row_content['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; $speciality1="Councils Inkasso-und
öffentliche Verwaltungen"; $speciality2="Veranstalter und Builders Claims"; if($row_content[BrowserTitle_German]!="") { $browsertit = stripslashes($row_content[BrowserTitle_German]); } else { $browsertit = utf8_decode($_GET[urlnam]); } $keyword = stripslashes($row_content[Keywords_German]); $descr = stripslashes($row_content[MetaDescription_German]); $content = stripslashes($row_content[MainContent_German]); } else if($_SESSION['Lang']=="latin") { $sql_content=mysql_query("Select * from offmenuitemsmst where UrlName='".str_replace(' ', ' ',htmlentities(utf8_decode($_GET[urlnam])))."'"); $row_content=mysql_fetch_array($sql_content); $num_off=mysql_num_rows($sql_content); $linkPath = "news-photo/".stripslashes($row_content['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; $speciality1="Collectio conciliorum et debitum
Public administrationum"; $speciality2="Fautores et velit pulvinar"; if($row_content[BrowserTitle_Latin]!="") { $browsertit = stripslashes($row_content[BrowserTitle_Latin]); } else { $browsertit = utf8_decode($_GET[urlnam]); } $keyword = stripslashes($row_content[Keywords_Latin]); $descr = stripslashes($row_content[MetaDescription_Latin]); $content = stripslashes($row_content[MainContent_Latin]); } else if($_SESSION['Lang']=="russian") { $sql_content=mysql_query("Select * from offmenuitemsmst where UrlName='".str_replace(' ', ' ',htmlentities(utf8_decode($_GET[urlnam])))."'"); $row_content=mysql_fetch_array($sql_content); $num_off=mysql_num_rows($sql_content); $linkPath = "news-photo/".stripslashes($row_content['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; $speciality1="Councils Inkasso-und
öffentliche Verwaltungen"; $speciality2="Veranstalter und Builders Claims"; if($row_content[BrowserTitle_German]!="") { $browsertit = stripslashes($row_content[BrowserTitle_Russian]); } else { $browsertit = utf8_decode($_GET[urlnam]); } $keyword = stripslashes($row_content[Keywords_Russian]); $descr = stripslashes($row_content[MetaDescription_Russian]); $content = stripslashes($row_content[MainContent_Russian]); } if($menuid=="") { $_SESSION[menuname]="0"; } else { $_SESSION[menuname]=$menuid; } } //offmenu code end //to get session menuid if($sql_menu=="0" && $num_off=="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where Menubarname_English='".htmlentities(utf8_decode($_GET[urlnam]))."' or Menubarname_Spanish='".htmlentities(utf8_decode($_GET[urlnam]))."' or Menubarname_Latin='".htmlentities(utf8_decode($_GET[urlnam]))."' or Menubarname_German='".htmlentities(utf8_decode($_GET[urlnam]))."'")); if($submenuname[MenuId]) { $_SESSION[menuname]=$submenuname[MenuId]; } else { $menuname=mysql_fetch_array(mysql_query("Select * from menumst where MenuName_English='".htmlentities(utf8_decode($_GET[urlnam]))."' or MenuName_Spanish='".htmlentities(utf8_decode($_GET[urlnam]))."' or MenuName_Latin='".htmlentities(utf8_decode($_GET[urlnam]))."' or MenuName_German='".htmlentities(utf8_decode($_GET[urlnam]))."'")); $_SESSION[menuname]=$menuname[MenuId]; } } if(isset($_POST['btmsubmit'])) { $_SESSION['fname']=$_POST['fname']; $fname = mysql_escape_string($_POST['fname']); $address = mysql_escape_string($_POST['address']); $city = mysql_escape_string($_POST['city']); $country = mysql_escape_string($_POST['country']); $email = mysql_escape_string($_POST['email']); $subject = mysql_escape_string($_POST['phone']); $mess = mysql_escape_string($_POST['message']); //$from = ""; $to = "legaladvisor@capitallaw.es"; $headers = "From: Capital Lawyer \r\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1\r\n"; $headers .= "MIME-Version: 1.0\n"; $sub="Capital Lawyer - Contacto"; $message="





Estimado Administrador,

Nombre: ".stripslashes($fname)."
Dirección: ".stripslashes($address)."
Ciudad: ".stripslashes($city)."
País: ".stripslashes($country)."
Teléfono: ".stripslashes($subject)."
Comentarios: ".stripslashes($mess)."
Contactado por,
".stripslashes($fname)."
".stripslashes($email)."
"; if(mail($to,$sub,$message,$headers)) { if($_SESSION['Lang']=="" || $_SESSION['Lang']=="spanish") { $msg1="Correo enviado con éxito."; } else if($_SESSION['Lang']=="english") { $msg1="Mail sent successfully."; } else if($_SESSION['Lang']=="latin") { $msg1="Mail misit successfully."; } else if($_SESSION['Lang']=="german") { $msg1="E-Mail erfolgreich gesendet."; } else if($_SESSION['Lang']=="russian") { $msg1="Почта успешно отправлено."; } } else { //echo $message; if($_SESSION['Lang']=="" || $_SESSION['Lang']=="spanish") { $msg1="Error al enviar correo"; } else if($_SESSION['Lang']=="english") { $msg1="Error in mail sending."; } else if($_SESSION['Lang']=="latin") { $msg1="Error in mail mittentes."; } else if($_SESSION['Lang']=="german") { $msg1="Fehler in Mail-Versand."; } else if($_SESSION['Lang']=="russian") { $msg1="Ошибка в отправке сообщения."; } } $_POST['fname']=""; $_POST['address']=""; $_POST['city']=""; $_POST['country']=""; $_POST['email']=""; $_POST['phone']=""; $_POST['message']=""; } function getThumbnailDimensions($req_width,$req_height,$path) { if(file_exists($path)) { list($width_orig, $height_orig) = getimagesize($path); if($width_orig<=$req_width && $height_orig <=$req_height) { $w=(int)$width_orig; $h=(int)$height_orig; $dimensions=array($w,$h); return $dimensions; } else { if ($height_orig > $width_orig) { $h = $req_height; $w = (($width_orig * $req_height) / $height_orig); if($w>$req_width) { $w = $req_width; $h = (($height_orig * $req_width) / $width_orig); } } elseif($height_orig < $width_orig) { $w = $req_width; $h = (($height_orig * $req_width) / $width_orig); if($h>$req_height) { $h = $req_height; $w = (($width_orig * $req_height) / $height_orig); } } elseif($height_orig == $width_orig && $height_orig > $req_height) { $h = $req_height; $w = (($width_orig * $req_height) / $height_orig); } elseif($height_orig == $width_orig && $height_orig < $req_height) { $w = $req_width; $h = (($height_orig * $req_width) / $width_orig); } $w=(int)$w; $h=(int)$h; $dimensions=array($w,$h); return $dimensions; } } else { return 0; } } ?>
Administraciones Públicas"; $speciality2="Reclamaciones a Promotores y Constructores"; $sql_speciality=mysql_query("select * from contentmst where MenuId=2 and MenubarId!=0"); $i=0; while($get_speciality=mysql_fetch_array($sql_speciality)) { $i=$i+1; if($get_speciality['UrlName']!="") { $linkspeciality[$i]=stripslashes($get_speciality['UrlName']); } else { $linkspeciality[$i]=stripslashes($get_speciality['Menubarname_Spanish']); } } if($getcontent[BrowserTitle_Spanish]!="") { $browsertit = stripslashes($getcontent[BrowserTitle_Spanish]); } else { if($submenuid!="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where MenubarId='".$submenuid."'")); $browsertit = stripslashes($submenuname[Menubarname_Spanish]); } else { $menuname=mysql_fetch_array(mysql_query("Select MenuName_Spanish from menumst where MenuId='".$menuid."'")); $browsertit = stripslashes($menuname[MenuName_Spanish]); } } $keyword = stripslashes($getcontent[Keywords_Spanish]); $descr = stripslashes($getcontent[MetaDescription_Spanish]); $content = stripslashes($getcontent[MainContent_Spanish]); if($menuid=="") { $_SESSION[menuname]=$submenuname[MenuId]; } else { $_SESSION[menuname]=$menuid; } } else if($_SESSION['Lang'] == 'english') { $sql_content=mysql_query("Select * from contentmst where UrlName ='".htmlentities(utf8_decode($_GET[urlnam]))."'"); $sql_menu = mysql_num_rows($sql_content); $getcontent = mysql_fetch_array($sql_content); $menuid = $getcontent[MenuId]; $submenuid = $getcontent[MenubarId]; if($menuid!="1") { $linkPath = "news-photo/".stripslashes($getcontent['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; } $speciality1="Debt recovery from Councils and
Public Administrations"; $speciality2="Claims against Developers and Builders"; $sql_speciality=mysql_query("select * from contentmst where MenuId=2 and MenubarId!=0"); $i=0; while($get_speciality=mysql_fetch_array($sql_speciality)) { $i=$i+1; if($get_speciality['UrlName']!="") { $linkspeciality[$i]=stripslashes($get_speciality['UrlName']); } else { $linkspeciality[$i]=stripslashes($get_speciality['Menubarname_English']); } } if($getcontent[BrowserTitle_English]!="") { $browsertit = stripslashes($getcontent[BrowserTitle_English]); } else { if($submenuid!="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where MenubarId='".$submenuid."'")); $browsertit = stripslashes($submenuname[Menubarname_English]); } else { $menuname=mysql_fetch_array(mysql_query("Select * from menumst where MenuId='".$menuid."'")); $browsertit = stripslashes($menuname[MenuName_English]); } } $keyword = stripslashes($getcontent[Keywords_English]); $descr = stripslashes($getcontent[MetaDescription_English]); $content = stripslashes($getcontent[MainContent_English]); if($menuid=="") { $_SESSION[menuname]=$submenuname[MenuId]; } else { $_SESSION[menuname]=$menuid; } } else if($_SESSION['Lang'] == 'latin') { $sql_content=mysql_query("Select * from contentmst where UrlName ='".htmlentities(utf8_decode($_GET[urlnam]))."'"); $sql_menu = mysql_num_rows($sql_content); $getcontent = mysql_fetch_array($sql_content); $menuid = $getcontent[MenuId]; $submenuid = $getcontent[MenubarId]; if($menuid!="1") { $linkPath = "news-photo/".stripslashes($getcontent['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; } $speciality1="Cobro deudas a Ayuntamientos y
Administraciones Públicas"; $speciality2="Reclamaciones a Promotores y Constructores"; $sql_speciality=mysql_query("select * from contentmst where MenuId=2 and MenubarId!=0"); $i=0; while($get_speciality=mysql_fetch_array($sql_speciality)) { $i=$i+1; if($get_speciality['UrlName']!="") { $linkspeciality[$i]=stripslashes($get_speciality['UrlName']); } else { $linkspeciality[$i]=stripslashes($get_speciality['Menubarname_Latin']); } } if($getcontent[BrowserTitle_Latin]!="") { $browsertit = stripslashes($getcontent[BrowserTitle_Latin]); } else { if($submenuid!="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where MenubarId='".$submenuid."'")); $browsertit = stripslashes($submenuname[Menubarname_Latin]); } else { $menuname=mysql_fetch_array(mysql_query("Select * from menumst where MenuId='".$menuid."'")); $browsertit = stripslashes($menuname[MenuName_Latin]); } } $keyword = stripslashes($getcontent[Keywords_Latin]); $descr = stripslashes($getcontent[MetaDescription_Latin]); $content = stripslashes($getcontent[MainContent_Latin]); if($menuid=="") { $_SESSION[menuname]=$submenuname[MenuId]; } else { $_SESSION[menuname]=$menuid; } } else if($_SESSION['Lang'] == 'german') { $sql_content=mysql_query("Select * from contentmst where UrlName ='".htmlentities(utf8_decode($_GET[urlnam]))."'"); $sql_menu = mysql_num_rows($sql_content); $getcontent = mysql_fetch_array($sql_content); $menuid = $getcontent[MenuId]; $submenuid = $getcontent[MenubarId]; if($menuid!="1") { $linkPath = "news-photo/".stripslashes($getcontent['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; } $speciality1="Forderungseinziehung gegen Rathäuser und öffentliche Verwaltungen"; $speciality2="Ansprüche gegen Bauträger und Bauunternehmer"; $sql_speciality=mysql_query("select * from contentmst where MenuId=2 and MenubarId!=0"); $i=0; while($get_speciality=mysql_fetch_array($sql_speciality)) { $i=$i+1; if($get_speciality['UrlName']!="") { $linkspeciality[$i]=stripslashes($get_speciality['UrlName']); } else { $linkspeciality[$i]=stripslashes($get_speciality['Menubarname_German']); } } if($getcontent[BrowserTitle_German]!="") { $browsertit = stripslashes($getcontent[BrowserTitle_German]); } else { if($submenuid!="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where MenubarId='".$submenuid."'")); $browsertit = stripslashes($submenuname[Menubarname_German]); } else { $menuname=mysql_fetch_array(mysql_query("Select * from menumst where MenuId='".$menuid."'")); $browsertit = stripslashes($menuname[MenuName_German]); } } $keyword = stripslashes($getcontent[Keywords_German]); $descr = stripslashes($getcontent[MetaDescription_German]); $content = stripslashes($getcontent[MainContent_German]); if($menuid=="") { $_SESSION[menuname]=$submenuname[MenuId]; } else { $_SESSION[menuname]=$menuid; } } else if($_SESSION['Lang'] == 'russian') { $sql_content=mysql_query("Select * from contentmst where UrlName ='".htmlentities(utf8_decode($_GET[urlnam]))."'"); $sql_menu = mysql_num_rows($sql_content); $getcontent = mysql_fetch_array($sql_content); $menuid = $getcontent[MenuId]; $submenuid = $getcontent[MenubarId]; if($menuid!="1") { $linkPath = "news-photo/".stripslashes($getcontent['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; } $speciality1="Услуги по взысканию долгов с государственных администраций"; $speciality2="Рекламации и иски против промоутеров и стротельных компаний"; $sql_speciality=mysql_query("select * from contentmst where MenuId=2 and MenubarId!=0"); $i=0; while($get_speciality=mysql_fetch_array($sql_speciality)) { $i=$i+1; if($get_speciality['UrlName']!="") { $linkspeciality[$i]=stripslashes($get_speciality['UrlName']); } else { $linkspeciality[$i]=stripslashes($get_speciality['Menubarname_Russian']); } } if($getcontent[BrowserTitle_Russian]!="") { $browsertit = stripslashes($getcontent[BrowserTitle_Russian]); } else { if($submenuid!="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where MenubarId='".$submenuid."'")); $browsertit = stripslashes($submenuname[Menubarname_Russian]); } else { $menuname=mysql_fetch_array(mysql_query("Select * from menumst where MenuId='".$menuid."'")); $browsertit = stripslashes($menuname[MenuName_Russian]); } } $keyword = stripslashes($getcontent[Keywords_Russian]); $descr = stripslashes($getcontent[MetaDescription_Russian]); $content = stripslashes($getcontent[MainContent_Russian]); if($menuid=="") { $_SESSION[menuname]=$submenuname[MenuId]; } else { $_SESSION[menuname]=$menuid; } } //manage content end //offmenu code start if($sql_menu <= 0) { if($_SESSION['Lang']=="" || $_SESSION['Lang']=="spanish") { $sql_content=mysql_query("Select * from offmenuitemsmst where UrlName='".str_replace(' ', ' ',htmlentities(utf8_decode($_GET[urlnam])))."'"); $row_content=mysql_fetch_array($sql_content); $num_off=mysql_num_rows($sql_content); $linkPath = "news-photo/".stripslashes($row_content['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; $speciality1="Consejos de cobro de deudas y
Administraciones Públicas"; $speciality2="Promotores y constructores de Reclamaciones"; if($row_content[BrowserTitle_Spanish]!="") { $browsertit = stripslashes($row_content[BrowserTitle_Spanish]); } else { $browsertit = utf8_decode($_GET[urlnam]); } $keyword = stripslashes($row_content[Keywords_Spanish]); $descr = stripslashes($row_content[MetaDescription_Spanish]); $content = stripslashes($row_content[MainContent_Spanish]); //echo $content; } else if($_SESSION['Lang']=="english") { $sql_content=mysql_query("Select * from offmenuitemsmst where UrlName='".str_replace(' ', ' ',htmlentities(utf8_decode($_GET[urlnam])))."'"); $row_content=mysql_fetch_array($sql_content); $num_off=mysql_num_rows($sql_content); $linkPath = "news-photo/".stripslashes($row_content['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; $speciality1="Councils debt collection and
Public Administrations"; $speciality2="Promoters and Builders Claims"; if($row_content[BrowserTitle_English]!="") { $browsertit = stripslashes($row_content[BrowserTitle_English]); } else { $browsertit = utf8_decode($_GET[urlnam]); } $keyword = stripslashes($row_content[Keywords_English]); $descr = stripslashes($row_content[MetaDescription_English]); $content = stripslashes($row_content[MainContent_English]); } else if($_SESSION['Lang']=="latin") { $sql_content=mysql_query("Select * from offmenuitemsmst where UrlName='".str_replace(' ', ' ',htmlentities(utf8_decode($_GET[urlnam])))."'"); $row_content=mysql_fetch_array($sql_content); $num_off=mysql_num_rows($sql_content); $linkPath = "news-photo/".stripslashes($row_content['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; $speciality1="Collectio conciliorum et debitum
Public administrationum"; $speciality2="Fautores et velit pulvinar"; if($row_content[BrowserTitle_Latin]!="") { $browsertit = stripslashes($row_content[BrowserTitle_Latin]); } else { $browsertit = utf8_decode($_GET[urlnam]); } $keyword = stripslashes($row_content[Keywords_Latin]); $descr = stripslashes($row_content[MetaDescription_Latin]); $content = stripslashes($row_content[MainContent_Latin]); } else if($_SESSION['Lang']=="german") { $sql_content=mysql_query("Select * from offmenuitemsmst where UrlName='".str_replace(' ', ' ',htmlentities(utf8_decode($_GET[urlnam])))."'"); $row_content=mysql_fetch_array($sql_content); $num_off=mysql_num_rows($sql_content); $linkPath = "news-photo/".stripslashes($row_content['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; $speciality1="Councils Inkasso-und
öffentliche Verwaltungen"; $speciality2="Veranstalter und Builders Claims"; if($row_content[BrowserTitle_German]!="") { $browsertit = stripslashes($row_content[BrowserTitle_German]); } else { $browsertit = utf8_decode($_GET[urlnam]); } $keyword = stripslashes($row_content[Keywords_German]); $descr = stripslashes($row_content[MetaDescription_German]); $content = stripslashes($row_content[MainContent_German]); } else if($_SESSION['Lang']=="russian") { $sql_content=mysql_query("Select * from offmenuitemsmst where UrlName='".str_replace(' ', ' ',htmlentities(utf8_decode($_GET[urlnam])))."'"); $row_content=mysql_fetch_array($sql_content); $num_off=mysql_num_rows($sql_content); $linkPath = "news-photo/".stripslashes($row_content['HeaderPhoto']); $newDimensions=getThumbnailDimensions(950,284,$linkPath); $w=$newDimensions[0]; $h=$newDimensions[1]; $speciality1="Councils Inkasso-und
öffentliche Verwaltungen"; $speciality2="Veranstalter und Builders Claims"; if($row_content[BrowserTitle_Russian]!="") { $browsertit = stripslashes($row_content[BrowserTitle_Russian]); } else { $browsertit = utf8_decode($_GET[urlnam]); } $keyword = stripslashes($row_content[Keywords_Russian]); $descr = stripslashes($row_content[MetaDescription_Russian]); $content = stripslashes($row_content[MainContent_Russian]); } if($menuid=="") { $_SESSION[menuname]="0"; } else { $_SESSION[menuname]=$menuid; } } //offmenu code end //to get session menuid if($sql_menu=="0" && $num_off=="0") { $submenuname=mysql_fetch_array(mysql_query("Select * from menubars where Menubarname_English='".htmlentities(utf8_decode($_GET[urlnam]))."' or Menubarname_Spanish='".htmlentities(utf8_decode($_GET[urlnam]))."' or Menubarname_Latin='".htmlentities(utf8_decode($_GET[urlnam]))."' or Menubarname_German='".htmlentities(utf8_decode($_GET[urlnam]))."'")); if($submenuname[MenuId]) { $_SESSION[menuname]=$submenuname[MenuId]; } else { $menuname=mysql_fetch_array(mysql_query("Select * from menumst where MenuName_English='".htmlentities(utf8_decode($_GET[urlnam]))."' or MenuName_Spanish='".htmlentities(utf8_decode($_GET[urlnam]))."' or MenuName_Latin='".htmlentities(utf8_decode($_GET[urlnam]))."' or MenuName_German='".htmlentities(utf8_decode($_GET[urlnam]))."'")); $_SESSION[menuname]=$menuname[MenuId]; } } ?>
header image
 
 







no img  Refresh Verification Code

 
Tel: (+34) 954 12 21 40
Whatsapp: (+34) 669 88 80 78