" > {AMP_LIBRARIES} "> '; echo ''; if (!class_exists("CustomCode")) require_once __DIR__."/../../../../cms/lib/plugins/builder_saas/replace_code.php"; // ESTO HAY QUE MEJORARLO PORQUE SI LA IMAGEN ES DE IDIOMA MOSTRARA LA IMAGEN EN ESPAÑOL // Buscamos en el campo 'meta_image' del registro $imageExists = @mysql_fetch_assoc(mysql_query("SELECT urlPath FROM ".$TABLE_PREFIX."uploads WHERE tableName='".str_replace($TABLE_PREFIX,"",$tabla)."' and recordNum=".intval(@$_REQUEST["num"])." and urlPath not like '%.pdf%' and fieldName='meta_image' ORDER BY `order` ASC LIMIT 1")); if (!@$imageExists) { // Buscamos en el primer upload del registro $imageExists = @mysql_fetch_assoc(mysql_query("SELECT urlPath FROM ".$TABLE_PREFIX."uploads WHERE tableName='".str_replace($TABLE_PREFIX,"",$tabla)."' and recordNum=".intval(@$_REQUEST["num"])." and urlPath not like '%.pdf%' ORDER BY `order` ASC LIMIT 1")); } if (!@$imageExists) { // Buscamos en el campo 'meta_imagen' de configuración $imageExists = @mysql_fetch_assoc(mysql_query("SELECT urlPath FROM ".$TABLE_PREFIX."uploads WHERE tableName='configuracion' and fieldName='meta_image' ORDER BY `order` ASC LIMIT 1")); } if (@$imageExists) { $image = CustomCode::imagec_inv($imageExists['urlPath'], 1200); } else { $image = CustomCode::imagec_inv($logo, 1200); } echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } ?> "> "> <?=$titulo_de_pagina;?> "> " type="image/x-icon" /> href="" /> " hreflang="" /> {TOP_LIBRARIES} RUTA_RAIZ]; $idiomas = ["es" => "Español","en" => "English","de" => "Deutsch","fr" => "Français","ru" => "Pусский","it" => "Italiano"]; $idioma_actual = ["corto" => @$_REQUEST["idioma"] ?: "es"]; $idioma_actual["largo"] = @$idiomas[$idioma_actual['corto']]; $session = @$_SESSION; $get = @$_GET; $GLOBALS["session"] = @$session; $GLOBALS["get"] = $get; global $thisrecord,$root,$request; $thisrecord = @$GLOBALS["apartado"]; $root = $GLOBALS; $request = @$_REQUEST; if (!@$_REQUEST["viewAMP"]){ ?> {CODE}