login($_POST["loginname"], $_POST["password"]); // Verwerken uitloggen if ($_GET["idd"] == "uitloggen") $inlogError = $website->logoff(); $_SESSION['language'] = $website->countryCheck($_GET["language"], "nl"); // default nl if (file_exists($_SERVER["DOCUMENT_ROOT"]."/".$siteroot."_languages/".$_SESSION['language'].".php")) include_once("_languages/".$_SESSION['language'].".php"); else include_once("_languages/nl.php"); if (file_exists($_SERVER["DOCUMENT_ROOT"]."/".$siteroot."_languages/forms_".$_SESSION['language'].".php")) include_once("_languages/forms_".$_SESSION['language'].".php"); else include_once("_languages/nl.php"); // Taalvariabelen declareren $menu = "menu_".$_SESSION["language"]; $title = "title_".$_SESSION["language"]; $url = "url_".$_SESSION["language"]; $text = "text_".$_SESSION["language"]; $search = "search_".$_SESSION["language"]; $redirect = "redirect_".$_SESSION["language"]; // Huidige record laden if (isset($_GET["object"])) { $table = "website"; $_record = $website->getMainRecord($tableprefix.$table, $_GET["object"], $_GET["id"], $_GET["idd"], $_GET["iddd"], $_GET["idddd"], true); $Breadcrumb = true; } else { $_record = $website->getRecord("website", 1033); $Breadcrumb = true; } ?> "> "> "> <? if ($_record[$title] != "") echo ucfirst($_record[$title])." - ".$sitename; elseif ($_record[$menu] != "") echo ucfirst($_record[$menu])." - ".$sitename; else echo $sitename; ?> "; //$path .= "home"; if (isset($_GET["object"])) $path .= "
  • ".$website->unsanitize($_GET["object"])."
  • "; if (isset($_GET["id"])) $path .= "
  • » ".$website->unsanitize($_GET["id"])."
  • "; if (isset($_GET["idd"])) $path .= "
  • » ".$website->unsanitize($_GET["idd"])."
  • "; if (isset($_GET["iddd"])) $path .= "
  • » ".$website->unsanitize($_GET["iddd"])."
  • "; $path .= ""; } ?>
    "; ?>
    ".$_record["$title"].""; if ($_parts = preg_split(";\\[(.*?)\\];", $tekst, 0, PREG_SPLIT_DELIM_CAPTURE|PREG_SPLIT_NO_EMPTY)) { foreach ($_parts as $key => $value) { $_subparts = explode("::", $value); if (count($_subparts) > 1) { if (file_exists("_includes/website/plugins/".$_subparts[0].".plugin.php")) { $pluginID = $_subparts[1]; include_once("_includes/website/plugins/".$_subparts[0].".plugin.php"); } } elseif (file_exists("_includes/website/plugins/".$value.".plugin.php")) include_once("_includes/website/plugins/".$value.".plugin.php"); elseif (strip_tags($value) != "") echo $value; } } else { echo stripslashes($tekst); } if ($_GET["object"] == "nieuws" and is_numeric($_GET["id"])) echo "


    Terug naar het overzicht

    "; break; } ?>

    Actueel

    = '".date("Y-m-d", time())."' OR publish_end = '0000-00-00') ORDER BY publish_start DESC LIMIT 4"; $result = mysql_query($qry) or die("Query mislukt! MySQL zegt: " . mysql_error() . ". PHP zegt: $error_msg."); $num = mysql_numrows($result); if (mysql_num_rows($result) > 0) { echo "\n"; } else { echo "
      \n"; echo "
    • Nog geen berichten aanwezig
    • \n"; echo "
    \n"; } ?>