verify()) { $logiran="false"; if (isSet($_COOKIE['RESPA_USER']) && isSet($_COOKIE['RESPA_EMAIL']) && isSet($_COOKIE['RESPA_PASS'])) { include("inc/cookie_login.php"); } } else if (($_SESSION['s_logiran'] == 'true')) { $logiran = "true"; } // PROVJERA EXPERTS SESIJE $iac = new ExpertsAuthClass(); if (!$iac->i_verify()) { $i_logiran="false"; if (isSet($_COOKIE['RESPA_I_USER']) && isSet($_COOKIE['RESPA_I_USERNAME']) && isSet($_COOKIE['RESPA_I_PASS'])) { include("inc/experts_cookie_login.php"); } } else if (($_SESSION['si_logiran'] == 'true')) { $i_logiran = "true"; } if ($action=="logout") { session_destroy(); setcookie("RESPA_IP",'', time()-3600,"/"); setcookie("RESPA_USER",'', time()-3600,"/"); setcookie("RESPA_EMAIL",'', time()-3600,"/"); setcookie("RESPA_PASS",'', time()-3600,"/"); setcookie("RESPA_I_IP",'', time()-3600,"/"); setcookie("RESPA_I_USER",'', time()-3600,"/"); setcookie("RESPA_I_USERNAME",'', time()-3600,"/"); setcookie("RESPA_I_PASS",'', time()-3600,"/"); $logiran = "false"; $i_logiran = "false"; echo ""; } //POSTAVLJANJE DEAFULT OPCIJE ZA TAGOVE, DESCRIPTION I THUMBNAIL $sql="select * from home_page where id=1 and language=$lang LIMIT 0,1"; $recordset=mysqli_query($con,$sql) or die(ERROR_DB_ACCESS); while ($row = mysqli_fetch_array($recordset, MYSQLI_ASSOC)) { $pageTitle = strip_tags(stripslashes($row[title])); $pageDesc = strip_tags(stripslashes($row[content])); $pageTags = stripslashes($row[tags]); $home_content = stripslashes($row[content]); } mysqli_free_result($recordset); $pageThumb = "/media/img/base/logo.png"; ?> <!--TITLE-->
We use cookies on our website to support technical features that enhance your user experience. We also use analytics.
with $pageTitle variable contents, and print the HTML $pageContents = str_replace ('', $KLIJENT." | ".$pageTitle, $pageContents); $pageContents = str_replace ('', $pageDesc, $pageContents); $pageContents = str_replace ('', $pageTags, $pageContents); $pageContents = str_replace ('', $SITE_URL . $pageThumb, $pageContents); $pageContents = str_replace ('', $KLIJENT." | ".$pageTitle, $pageContents); $pageContents = str_replace ('', $pageDesc, $pageContents); $pageContents = str_replace ('', $SITE_URL . $pageThumb, $pageContents); if ($action=='pages' || $action=='news' || $action=='trainings' || $action=='events' || $action=='articles' || $action=='activities' || $action=='external_events' || $action=='tenders' || $action=='external_events') { $pageContents = str_replace ('', $SITE_URL."/$link_id/$action/$id/$pageSlug", $pageContents); $pageContents = str_replace ('', $SITE_URL."/$link_id/$action/$id/$pageSlug", $pageContents); } else { $pageContents = str_replace ('', $SITE_URL."/$link_id/$action", $pageContents); $pageContents = str_replace ('', $SITE_URL."/$link_id/$action", $pageContents); } echo $pageContents; ?>