$_SESSION['abonament']['arhiva'] && $numar_data<$_SESSION['abonament']['end']) { $full_article = 1; } else { $full_article = 0; } } else { $full_article = 0; } if ($SEO_ENABLED){ $self = basename($_GET['seo_url']); }else{ $self = basename($PHP_SELF); foreach ($_GET as $k=>$v) { if ($k!='limba') { $query = "$k=$v&"; } } $self = $self."?".substr($query,0,-1); } $smarty->assign("SELF", $self); /* 10.05.2016 sters articolul cu ID 4542 - http://www.masinisiutilaje.ro/masini-si-utilaje/numarul41/noul-dynafleet-un-control-mai-bun-asupra-transportului-mrfurilor.html Motiv: a fost raportat pe 03.05.2016 de Google Search Console ca fiind hacked cu URL Injection */ if ($_GET['artid'] == 4542) { header("HTTP/1.0 410 Gone"); die ("Pagina solicitata a fost stearsa.\n
The requested page has been removed."); } $numar = get_number_by_artid($_GET['artid']); $smarty->assign("NUMAR_CURENT", $numar); $articol = get_article($_GET['artid'], $numar['numar_id'], $h, $_SESSION['limba']); $smarty->assign("ARTICOL", $articol); $otherArticles = get_articles('random-latest', null, 6); $smarty->assign("otherArticles", $otherArticles); //debug($otherArticles,1); $smarty->assign("TITLU_PAGINA", $articol['art_titlu']." - ".$SITE_NAME); $smarty->assign("ARTICOL_INTEGRAL", $full_article); require_once($SITE_APP_PATH."/".$INCLUDES_DIR."/chestionare.php"); $chestionare = print_polls_revista(); $smarty->assign("CHESTIONARE", $chestionare); $smarty->display($configurare['template']."/articol.tpl"); ?>