id." - Plantilla ".get_plantilla($i->id_plantilla). " (".$i->id_plantilla.") -->"; echo ""; function get_file_css_js($file){ $path = "{_HTTP_PUBLIC}"; $file = $path.$file; $path_server = "{_HTTP_URL}"; $file_path = str_replace($path_server,$_SERVER["DOCUMENT_ROOT"]."/",$file); $v = date("Ymdhis",filemtime($file_path)); return $file."?date=".$v; } //SEO - TITOLS if($i->key_titol != ''){ $title=$i->key_titol; } elseif($i->titol){ $title=$i->titol. ($i->id_subarticle?'':' - {_key_titol}'); }else{ $title='{_key_titol}'; } if(!$limit) $limit = 60; if($_REQUEST['next']>0){ $pag=intval($_REQUEST['next']/$limit)+1; if($pag>1){ if($i->titol){ $title=$i->titol." - pag ".$pag." - {_key_titol}"; }else{ $title='{_key_titol} - pag '.$pag; } } } if($i->key_descripcio){ $description = $i->key_descripcio; }else{ $description = substr(strip_tags($i->descripcions),0,150); } // ********* ROBOTS ************** echo ""; $url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; if(($_REQUEST['action']=='p' || $_REQUEST['action']=='pc') && (strpos($_REQUEST['p'],'PUBLIC/CLIENT/') !== false || strpos($_REQUEST['p'],'PUBLIC/oneStepCart/') !== false)){ $robots="noindex,nofollow"; }else if($_REQUEST['action']=='legal' || isset($_REQUEST['noindex']) || strpos($url,'neorgdata') !== false || strpos($url,'neorgvirtual') !== false || $_REQUEST['next']=="0"){ $robots="noindex,nofollow"; }else if(isset($i->robots) && $i->robots!=""){ $robots=$i->robots; }else{ $robots = "all"; } $error = ""; if($_REQUEST['action'] == 'TPV_pagar_diferit_new' || $_REQUEST['action'] == 'TPV_message' ){ }else{ $error = '{_ERROR}'; } ?> key_titol != '') $title=$i->key_titol; else { if($i->titol) $title= $i->titol. ' - {_key_titol}'; } if($i->icon()) $og_icon = $i->icon(); else $og_icon = $logo_home; $titol_share=$i->key_titol." ".$i->titol; $url_share=$i->seo_url; */ ?> <?=$title?> FCOC id_plantilla, $array_plantilles) || !$i->id_plantilla){ ?> " /> "> "> "> "> "> "> "> "> "> "> "> "> "> "> "> key_descripcio,200))); ?>" /> " /> " /> " /> id_plantilla, $array_plantilles) || !$i->id_plantilla){ get_file("/files/public/SECCIONS/header_new.php"); ?> {_CONTENT} {_CONTENT}