0) { $row = mysql_fetch_assoc($result); $inlogtry = 'succes'; $voornaam = getTextForLanguage($row['id'], 'profilefield_1' , 'text', LANGUAGE); $achternaam = getTextForLanguage($row['id'], 'profilefield_2' , 'text', LANGUAGE); $_SESSION['PROFILE_USERID'] = $row['id']; $_SESSION['PROFILE_EMAIL'] = $email; $_SESSION['PROFILE_FIRSTNAME'] = $voornaam; $_SESSION['PROFILE_LASTNAME'] = $achternaam; } } ?> ' . SITE_NAME . ' | ' . strtoupper(getTheSEOcontent($id, 'pageTitle')) . ' | '; $cTitles = getTheSEOcontent($id, 'contentTitle'); if(count($cTitles) > 0){ foreach($cTitles as &$contentTitle){ if(trim($contentTitle) != '') echo $contentTitle . ' |' ; } } $cKeys = getTheSEOcontent($id, 'keywords'); $countKey = 0; $theKeyString = ''; if(count($cKeys) > 0){ foreach($cKeys as &$keys){ $countKey = $countKey + 1; if(trim($keys) != '' && $countKey < 4) echo ' - ' . $keys; if(trim($keys) != '') $theKeyString .= $keys . ', '; } } echo' '; if(trim(getTheSEOcontent($id, 'description')) != ''){ echo''; } if(trim($theKeyString) != ''){ echo''; } //rss sitemap $sql = "SELECT * FROM sitemap LIMIT 1 "; $result = mysql_query($sql); if (mysql_num_rows($result) > 0) { $row = mysql_fetch_assoc($result); if($row['rss'] == 1){ echo''; } } ?> '); if (mysql_num_rows($result) > 0) { while($row = mysql_fetch_assoc($result)) { $ctype = $row['content_type']; $cid = $row['content_id']; foreach($plugins as $plugin) { if ($plugin['name'] == $ctype) { //staat er een head.php in de pluginmap? if (file_exists('plugins/'.$ctype.'/head.php')){ echo ' '; include_once 'plugins/'.$ctype.'/head.php'; echo ' '; } } } } } } if(isset($_SESSION['PROFILE_USERID'])){ echo ' '; } if(isset($_GET['p']) && $_GET['p'] == 'profile'){ include ('plugins/profile_content/head.php'); } if(isset($_GET['p'])) $id = intval($_GET['p']); else $id = PAGE_ID_HOME; launchHeadHandler($id); ?>