• Login
  • Register
  • Zoek
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Filebase Entry
  • More Options

ICTscripters

Dé plek voor IT

Dé plek voor IT

Login

Geavanceerde opties
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Dé plek voor IT - ICTscripters
  2. Forum
  3. Scripting & programmeren
  4. Overige
  5. Archief
  6. Request

Forum

  • Beta-testers gezocht voor Crypto-oefenplatform

    Syntax 29 januari 2026 om 16:11
  • Na 15 jaar terug van weggeweest: iCriminals.nl is terug (BETA)!

    Syntax 19 januari 2026 om 09:34
  • Developer Gezocht

    Mikevdk 10 januari 2026 om 18:57
  • Op zoek naar de legends

    Syntax 5 januari 2026 om 13:50
  • [FREE] WeFact Hosting module

    Jeroen.G 13 oktober 2025 om 14:09
  • Help testers nodig voor android app Urgent

    urgentotservices 26 september 2025 om 10:21
  • Versio vervanger

    Jeroen.G 25 augustus 2025 om 15:56
  • Afspraken systeem met planbeperking

    Lijno 1 augustus 2025 om 23:04

Marktplaats

  • 350 Nieuwe Domeinnamen Januari 2026

    shiga 1 februari 2026 om 14:21
  • 321 Nieuwe Domeinnamen December 2025

    shiga 1 januari 2026 om 10:26
  • Meerdere mafia game template te koop

    Syntax 26 december 2025 om 00:07

Probleem met site

  • tim521
  • 21 maart 2010 om 09:53
  • tim521
    Intermediate
    Berichten
    393
    • 21 maart 2010 om 09:53
    • #1

    Hallo,
    OP mijn site krijg ik deze foutmelding: Parse error: syntax error, unexpected '<' in /home/a6147335/public_html/template/test/style.php on line 209

    Het script is:

    PHP
    <?php
    // Paar basis instellingen
    include_once("./includes/instellingen.php");
    
    
    $border = "#C0C0C0";
    $bg1 	= "#F0F0F0";
    $bg2 	= "#F8F7F7";
    $bg3 	= "#FFFFFF";
    
    
    
    
    function top($titel)
    {
    	echo "<table bgcolor='#D6D7D7' cellpadding='4' cellspacing='0' width='100%' style='border: 1px solid #FFFFFF'><td width='100%' style='border: 1px solid #C0C0C0'>
    	<table cellpadding='0' cellspacing='0' width='100%' style='border: 1px solid #C0C0C0'><td width='100%'>
    		<table cellpadding='0' cellspacing='0' width='100%'>
    			<td width='100%' style='border: 1px solid #2C586F;' bgcolor='#FFFFFF'>
    				<table cellpadding='0' cellspacing='1' width='100%'>
    					<td class='content' width='100%' bgcolor='#366C88' background='template/test/content_bg.gif' height='25'>
    						&nbsp;<font color='#FFFFFF'><b>- ".$titel."</b></font>
    					</td>
    				</table>";
    }
    
    
    function bottom()
    {
    	echo "</td></table></td></table></td></table><font size='1'>&nbsp;</font>";
    }
    
    
    
    
    function tabel($id,$gebruiker,$bericht,$quote,$bewerken,$datum,$ip)
    {
    	$tabel_leden = @mysql_query("SELECT id,gebruikersnaam,status,waarschuwingen,posts,avatar FROM cms_leden WHERE gebruikersnaam='".$gebruiker."'")or die(mysql_errro());
    	$tabel_user   = mysql_fetch_assoc($tabel_leden);
    
    
    	$ejiujee = mysql_query("SELECT showavatar FROM cms_leden WHERE gebruikersnaam='".$_COOKIE['gebruikersnaam']."'")or die(mysql_error());
    	$suh 	 = mysql_fetch_assoc($ejiujee);
    
    
    	If(!mysql_num_rows($ejiujee) || !$tabel_user['avatar'] || !$suh['showavatar'])
    	{
    		$avatar = "";
    	}
    	Else
    	{
    		$avatar = "<td bgcolor='#F8F7F7' width='100%' style='border: 1px solid #C0C0C0'>
    				<center><img src='images/avatars/".$gebruiker.".gif' alt='De avatar van ".$gebruiker."'></center>
    				</td><TR>";
    	}
    
    
    	echo "<table width='100%' cellpadding='1' cellspacing='1'>
    	<td width='100%'>
    		<table style='border: 1px solid #C0C0C0;' width='100%' cellpadding='0' cellspacing='0'>
    			<td bgcolor='#F0F0F0' style='border-bottom: 1px solid #C0C0C0' height='21' width='20%'>
    				<center><a name='".$id."'></a><b>Auteur</b></center>
    			</td>
    			<td bgcolor='#F0F0F0' style='border-bottom: 1px solid #C0C0C0; border-left: 1px solid #C0C0C0;' height='21' width='80%'>
    				<center><b>Bericht</b></center>
    			</td><TR>
    
    
    			<td valign='top' bgcolor='#F0F0F0' height='21' width='20%'>
    				<table cellpadding='2' cellspacing='0' width='100%'>
    					<td width='100%'>
    						<table cellpadding='2' cellspacing='2' width='100%'>
    							<td bgcolor='#F8F7F7' width='100%' style='border: 1px solid #C0C0C0'>
    								".status($gebruiker,$tabel_user['status'])."
    							</td><TR>
    							".$avatar."
    							<td bgcolor='#F8F7F7' width='100%' style='border: 1px solid #C0C0C0'>
    								Status: ".$tabel_user['status']."
    							</td><TR>
    							<td bgcolor='#F8F7F7' width='100%' style='border: 1px solid #C0C0C0'>
    								Posts: ".$tabel_user['posts']."
    							</td><TR>
    							<td bgcolor='#F8F7F7' width='100%' style='border: 1px solid #C0C0C0'>
    								Strafpunten: ".$tabel_user['waarschuwingen']."/3
    							</td><TR>
    						</table>
    					</td>
    				</table>
    			</td>
    
    
    			<td valign='top' bgcolor='#F8F7F7' style='border-left: 1px solid #C0C0C0' height='21' width='80%'>
    				<table cellpadding='1' cellspacing='0' width='100%'>
    					<td bgcolor='#FFFFFF' width='100%' style='border-bottom: 1px solid #C0C0C0'>
    						<font size='1'>Geplaatst op ".$datum.",</font>
    					</td>
    				</table>
    				<table cellpadding='2' cellspacing='0' width='100%' style='table-layout: fixed;'>
    					<td width='100%'>
    						".ubb($bericht)."
    					</td>
    				</table>
    			</td><TR>
    		<td height='18' style='border-top: 1px solid #C0C0C0' bgcolor='#F0F0F0'>&nbsp;</td>
    		<td align='right' valign='middle' height='18' bgcolor='#F0F0F0' style='border-left: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0'>
    		<a href='index.php?sg=leden/profiel.php&id=".html($gebruiker)."'>Profiel</a> - <a href='index.php?sg=priveberichten/opstellen.php&id=".html($gebruiker)."'>Privébericht</a>";
    	If($quote)
    	{
    		echo " - <a href='index.php?sg=".$quote."'>Quote</a>";
    	}
     	If($bewerken)
    	{
    		echo " - <a href='index.php?sg=".$bewerken."'>Bewerken</a>";
    	}
    	echo "&nbsp;</td>
    	</table>
    </table>";
    }
    
    
    
    
    
    
    If($ingelogd == 0)
    {
    	function menu_lid()
    	{
    
    
    		return "<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    			&nbsp;&nbsp;&nbsp;Welkom <i>Gast,</i>
    		</td><TR>
    		<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;<a href='index.php'>Beginpagina</a>
    		</td><TR>
    		<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=leden/inloggen.php'>Inloggen</a>
    		</td><TR>
    		<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=leden/aanmelden.php'>Aanmelden</a>
    		</td><TR>
    		<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=leden/ledenlijst.php'>Ledenlijst</a>
    		</td><TR>
    		<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=vip/index.php'><b>VIP Onderdeel</b></a>
    		</td><TR>
    		<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=leden/ww_opvragen.php'>Wachtwoord Vergeten</a>
    		</td><TR>";
    
    
    	}
    }
    Else
    {
    	function menu_lid()
    	{
    
    
    		$aantal_tel_pb = @mysql_query("SELECT count(1) FROM cms_priveberichten WHERE naar='".$_COOKIE['gebruikersnaam']."' AND gelezen='nee'")or die(mysql_error());
    
    
    		return "<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;Welkom <i><a href='index.php?sg=leden/profiel.php&id=".$_COOKIE['id']."'>".ucfirst($_COOKIE['gebruikersnaam'])."</a>,</i>
    		</td><TR>
    		<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;<a href='index.php'>Beginpagina</a>
    		</td><TR>
    		<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=leden/configuratiescherm.php'>Configuratiescherm</a>
    		</td><TR>
    		<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=priveberichten/index.php'>Privéberichten (".mysql_result($aantal_tel_pb, 0).")</a>
    		</td><TR>
    		<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=leden/ledenlijst.php'>Ledenlijst</a>
    		</td><TR>
    		<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=vip/index.php'><b>VIP Onderdeel</b></a>
    		</td><TR>
    		<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
     			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=leden/uitloggen.php'>Uitloggen</a>
    		</td><TR>";
    
    
    	}
    }
    
    
    
    
    function layout($titel)
    {
     	echo "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
     	<html>
    	<head>
    	<title>".$titel."</title>
    	<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>
    	<meta http-equiv='Content-Language' content='nl'>
    	<meta name='title' content='Webfanaat-SG'>
    	<meta name='description' content='Webfanaat-SG'>
    	<meta name='keywords' content='source, resource, ultimate, PHP, CGI, MSQL, MySQL, SQL, OOP, Webdesign, Java, database, databases, polls, forum, artikelen, loginsysteem, webmasters, scripts, banner, bannersysteem, statistieken, PHP, CGI, MySQL, Photoshop, Paintshop pro, ASP, Links, stylesheets, FTP, script, foutmeldingen, banners, webmaster, stylesheet, login, systeem, mailbomber, mailbom, gastenboek, bezoekers, stats, hits, mail, Sun, Object, programming, GD, slashes, slash, addslashes, add, binair, Home, panel, table, tabels, row, tag, forms, formulieren, optimaal, back, forward, end, home, taal, language, array, arrays, Flash, Data, print, body, head, header, articles, admin, system, mouse, key, keyword, wrap, body, template'>
    
    
    	<link rel='stylesheet' type='text/css' href='template/test/style.css'>
    	<script type='text/javascript' src='template/test/javascript.js'></script>
    	<script language='JavaScript'> 
    
    
    	function blockError()
    	{
    		return true;
    	} 
    
    
    	window.onerror = blockError; 
    
    
    	</script>
    	</head>
    	<body bgcolor='#EBEAEA' topmargin='0' leftmargin='0' rightmargin='0'>
    
    
    	<form method='POST' onsubmit=\"document.forms.form.submit.disabled='true'; return true;\" enctype='multipart/form-data' name='form'>
    	<table width='100%' cellpadding='0' cellspacing='0'>
    	<td width='175' valign='top'>
    		<table width='175' cellpadding='0' cellspacing='0' valign='top'>
    			<td height='25' width='175' background='template/test/menu_bg.gif' style='border-right: 1px solid #7B7B7B;'>
    				&nbsp;<font color='#FFFFFF'><b>Leden Menu</b></font>
    			</td>
    			<TR>".menu_lid().
    
    
    			<td height='25' width='175' background='template/test/menu_bg.gif' style='border-right: 1px solid #7B7B7B;'>
    				&nbsp;<font color='#FFFFFF'><b>Battle Arena</b></font>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				 &nbsp;&nbsp;&nbsp;<a href='index.php?sg=battle/actief.php'>Actieve Battles</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				 &nbsp;&nbsp;&nbsp;<a href='index.php?sg=battle/voltooid.php'>Voltooide Battles</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				 &nbsp;&nbsp;&nbsp;<a href='index.php?sg=battle/nieuw.php'>Nieuwe Battle</a>
    			</td>
    			<TR>
    
    
    
    
    
    
    			<td height='25' width='175' background='template/test/menu_bg.gif' style='border-right: 1px solid #7B7B7B;'>
    				&nbsp;<font color='#FFFFFF'><b>Forum</b></font>
    			</td>
    			<TR>";
    
    
    				$top 	       = @mysql_query("Select id,titel,laatstepost,status,short,tijd from cms_topics Order By tijd DESC LIMIT 0,10") or die(mysql_error());
    
    
    				while ($for = mysql_fetch_assoc($top)) 
    				{
    					$forum_bg = ($i++ % 2) ? '2' : '1';
    					
    					echo "<td background='template/test/menu_bg".$forum_bg.".gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    					&nbsp;<img src='template/test/".$for['status']."1.gif'> <font color='#8CBCCF'>[".date("H:i", $for['tijd'])."]</font> <a title='".$for['short']." | ".html($for['titel'])."' href='index.php?sg=forum/topic.php&id=".$for['id']."'>".substr(stripslashes(html($for['titel'])), 0, 12)."..</a>
    					</td><TR>";
    				}
    
    
    
    
    			echo "<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=forum/index.php'>Forum Index</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=forum/actief.php'>Actieve Topics</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=forum/vandaag.php'>Topics Vandaag</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    			&nbsp;&nbsp;&nbsp;<a href='index.php?sg=forum/zoeken.php'>Zoeken</a>
    			</td>
    			<TR>
    
    
    
    
    
    
    			<td height='25' width='175' background='template/test/menu_bg.gif' style='border-right: 1px solid #7B7B7B;'>
    				&nbsp;<font color='#FFFFFF'><b>Menu</b></font>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=artikelen/index.php'>Artikelen</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=downloads/index.php'>Downloads</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=keuring/index.php'>Site Keuring</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=scripts/index.php'>Scripts</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=games/index.php'>Games</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=gallerij/index.php'>Screenshot Gallerij</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=links/index.php'>Links</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=tweaks/index.php'>Tweaks</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=templates/index.php'>Templates</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=functies/index.php'>Functies</a>
    			</td>
    			<TR>
    
    
    
    
    			<td height='25' width='175' background='template/test/menu_bg.gif' style='border-right: 1px solid #7B7B7B;'>
    				&nbsp;<font color='#FFFFFF'><b>Reviews</b></font>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=reviews/games/index.php'>Games</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=reviews/software/index.php'>Software</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=reviews/films/index.php'>Films</a>
    			</td>
    			<TR>
    			<td height='25' width='175' background='template/test/menu_bg.gif' style='border-right: 1px solid #7B7B7B;'>
    				&nbsp;<font color='#FFFFFF'><b>Overige</b></font>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=leden/crew.php'>Crew</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=overige/submits.php'>Nieuwste Submits</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=overige/statistieken.php'>Statistieken</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=overige/poll.php'>Web Poll</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=overige/regels.php'>Reglement</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=software/index.php'>SG-Software</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=overige/tips.php'>Website Tips</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=overige/faq.php'>Veel gestelde vragen</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				&nbsp;&nbsp;&nbsp;<a href='index.php?sg=overige/zoeken.php'>Zoeken</a>
    			</td>
    			<TR>
    
    
    
    
    
    
    			<td height='25' width='175' background='template/test/menu_bg.gif' style='border-right: 1px solid #7B7B7B;'>
    				&nbsp;<font color='#FFFFFF'><b>LinkXChange</b></font>
    			</td>
    			<TR>";
    
    
    				$queru = @mysql_query("Select id,titel,inhit from partners Order By inhit DESC LIMIT 0,5") or die(mysql_error());
    
    
    				while ($u = mysql_fetch_assoc($queru)) 
    				{
    					$forum_bg = ($i++ % 2) ? '2' : '1';
    
    
    					echo "<td background='template/test/menu_bg".$forum_bg.".gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    					&nbsp;&nbsp;&nbsp;<a href='index.php?sg=partners/uit.php&id=".$u['id']."' target='_blank'>".stripslashes(html($u['titel']))."</a> <font color='#8CBCCF'>(".$u['inhit'].")</font>
    					</td><TR>";
    				}
    
    
    
    
    			echo "<td background='template/test/menu_bg2.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				 &nbsp;&nbsp;&nbsp;<a href='index.php?sg=partners/overzicht.php'>Partner Overzicht</a>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				 &nbsp;&nbsp;&nbsp;<a href='index.php?sg=partners/aanmelden.php'>Partner Worden</a>
    			</td>
    			<TR>
    
    
    
    
    			<td height='25' width='175' background='template/test/menu_bg.gif' style='border-right: 1px solid #7B7B7B;'>
    				&nbsp;<font color='#FFFFFF'><b>Nu Online</b></font>
    			</td>
    			<TR>
    			<td background='template/test/menu_bg1.gif' width='175' style='border-right: 1px solid #7B7B7B;' height='16'>
    				 &nbsp;&nbsp;&nbsp;<a href='index.php?sg=leden/online.php'>".mysql_result(mysql_query("SELECT count(1) FROM cms_online"), 0)." bezoekers online.</a>
    			</td>
    			<TR>
    
    
    			<td height='25' width='175' background='template/test/menu_bg.gif' style='border-right: 1px solid #7B7B7B;'>
    				&nbsp;<font color='#FFFFFF'><b>Sponsor</b></font>
    			</td>
    			<TR>
    			<td bgcolor='#EDEDEB' width='175' style='border-right: 1px solid #7B7B7B; border-bottom: 1px solid #7B7B7B;' height='16'>
    				 <center><a title='Bezoek onze sponsor ook eens!' href='http://www.lighthosting.biz' target='_blank'><img src='banner.gif' border='0'></a></center>
    			</td>
    			<TR>
    		</table>
    	</td>
    	<td width='100%' valign='top'>
    		<table width='100%' cellpadding='0' cellspacing='0'>
    			<td bgcolor='#2A5D7D' width='100%' height='91' background='template/test/header_bg.gif'>
    				<span style='float:right'><img src='template/test/header_right.gif' border='0'></span><a href='index.php'><img src='template/test/header_left.gif' border='0'><img src='template/test/header.gif' border='0'></a>
    			</td>
    			<TR>
    			<td width='100%' height='30'>
    				<table width='100%' height='30' cellpadding='1' cellspacing='2'>
    					<td bgcolor='#FFFFFF' height='30' width='100%' style='border: 1px solid #7B7B7B'>
    						<table width='100%' height='30' cellpadding='2' cellspacing='3'>
    							<td onclick=\"window.location='index.php'\" bgcolor='#1186AF' background='template/test/testx.gif' onmouseover=\"this.background='template/test/testz.gif'; this.style.cursor='hand';\" onmouseout=\"this.background='template/test/testx.gif'\" style='border: 1px solid #7B7B7B'><B><font color='#FFFFFF'><center>Beginpagina</center></font></B></td>
    							<td onclick=\"window.location='index.php?sg=forum/index.php'\" bgcolor='#1186AF' background='template/test/testx.gif' onmouseover=\"this.background='template/test/testz.gif'; this.style.cursor='hand';\" onmouseout=\"this.background='template/test/testx.gif'\" style='border: 1px solid #7B7B7B'><B><font color='#FFFFFF'><center>Forum</center></font></B></td>
    							<td onclick=\"window.location='index.php?sg=overige/poll.php'\" bgcolor='#1186AF' background='template/test/testx.gif' onmouseover=\"this.background='template/test/testz.gif'; this.style.cursor='hand';\" onmouseout=\"this.background='template/test/testx.gif'\" style='border: 1px solid #7B7B7B'><B><font color='#FFFFFF'><center>Web Poll</center></font></B></td>
    							<td onclick=\"window.location='index.php?sg=overige/zoeken.php'\" bgcolor='#1186AF' background='template/test/testx.gif' onmouseover=\"this.background='template/test/testz.gif'; this.style.cursor='hand';\" onmouseout=\"this.background='template/test/testx.gif'\" style='border: 1px solid #7B7B7B'><B><font color='#FFFFFF'><center>Zoeken</center></font></B></td>
    							<td onclick=\"window.location='index.php?sg=overige/sitemap.php'\" bgcolor='#1186AF' background='template/test/testx.gif' onmouseover=\"this.background='template/test/testz.gif'; this.style.cursor='hand';\" onmouseout=\"this.background='template/test/testx.gif'\" style='border: 1px solid #7B7B7B'><B><font color='#FFFFFF'><center>Sitemap</center></font></B></td>
    							<td onclick=\"window.location='index.php?sg=overige/regels.php'\" bgcolor='#1186AF' background='template/test/testx.gif' onmouseover=\"this.background='template/test/testz.gif'; this.style.cursor='hand';\" onmouseout=\"this.background='template/test/testx.gif'\" style='border: 1px solid #7B7B7B'><B><font color='#FFFFFF'><center>Regels</center></font></B></td>
    							<td onclick=\"window.location='index.php?sg=overige/contact.php'\" bgcolor='#1186AF' background='template/test/testx.gif' onmouseover=\"this.background='template/test/testz.gif'; this.style.cursor='hand';\" onmouseout=\"this.background='template/test/testx.gif'\" style='border: 1px solid #7B7B7B'><B><font color='#FFFFFF'><center>Contact</center></font></B></td>
    						</table>
    					</td>
    				</table>
    			</td>
    			<TR>
    			<td width='100%'  style='background-image: url(template/test/schaduw1.gif); background-repeat: repeat-x;'>
    				<table cellpadding='0' cellspacing='5' width='100%'>
    					<td width='100%'>";
    }
    
    
    function layout_bottom($copy)
    {
    	$leden_online = @mysql_query("SELECT gebruikersnaam FROM cms_online WHERE soort='Lid' ORDER by gebruikersnaam")or die(mysql_error());
    	If(mysql_num_rows($leden_online) != 0)
    	{
    		echo "<table bgcolor='#D6D7D7' cellpadding='4' cellspacing='0' width='100%' style='border: 1px solid #FFFFFF'><td width='100%' style='border: 1px solid #C0C0C0'>
    		<table cellpadding='0' cellspacing='1' width='100%' style='border: 1px solid #C0C0C0'><td width='100%'>
    		<table cellpadding='1' cellspacing='0' width='100%'>
    			<td width='100%' style='border: 1px solid #2C586F;' bgcolor='#FFFFFF'>
    				<table cellpadding='0' cellspacing='0' width='100%'>
    					<td class='content' width='100%' bgcolor='#366C88' background='template/test/content_bg.gif' height='25'>
    						&nbsp;<font color='#FFFFFF'><b>- Online Leden (".date("H:i").")</b></font>
    					</td>
    				</table>
    				<table cellpadding='1' cellspacing='1' width='100%'><td width='100%'>";
    
    
    					while($xl = mysql_fetch_assoc($leden_online))
    					{
    						$lx = mysql_fetch_assoc(mysql_query("SELECT status FROM cms_leden WHERE gebruikersnaam='".$xl['gebruikersnaam']."'"))or die(mysql_error());
    						echo status($xl['gebruikersnaam'],$lx['status']).", ";
    					}
    
    
    				echo "</td></table></td></table></td></table></td></table><font size='1'>&nbsp;</font>
    				</td></table></td></table></td></table></body></html>";
    	}
    	Else
    	{	
    		echo "</td></table></td></table></td></table></body></html>";
    	}
    }
    ?>
    Toon Meer
  • Guest, wil je besparen op je domeinnamen? (ad)
  • Creativ3
    Professional
    Berichten
    1.658
    • 21 maart 2010 om 10:03
    • #2
    PHP
    <tr>".menu_lid()."</tr>

    zet dit is op regel 207

    Met vriendelijke groet,
    Creativ3

  • tim521
    Intermediate
    Berichten
    393
    • 21 maart 2010 om 10:05
    • #3

    het werkt bedankt!

    Nieuwe reactie samengevoegd met originele reactie op 21.03.10 10:15:30:
    en un is er weer error:
    Fatal error: Call to undefined function layout() in /home/a6147335/public_html/index.php on line 6

    Warning: include_once() [function.include]: Failed opening 'template/test/style.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a6147335/public_html/index.php on line 4

    Warning: include_once(template/test/style.php) [function.include-once]: failed to open stream: No such file or directory in /home/a6147335/public_html/index.php on line 4

    En dit is index.php:

    PHP
    <?php
    ob_start();
    include_once("./includes/instellingen.php");
    include_once("template/".$gebruiker['thema']."/style.php");
    
    
    echo layout("".$site['naam']." ? ".$gebruiker['gebruikersnaam']." ? ".substr($_SERVER['REQUEST_URI'], 1)."");
    
    
    If(!$_GET['sg'])
    {
    	include_once("modules/nieuws/nieuws.php");
    }
    Else
    {
    	$include = include_once("./modules/".$_GET['sg']."");
    
    
    	If(!$include)
    	{
    		header("Location: index.php?sg=fout.php&url=".$_GET['sg']."");
    	}
    }
    
    
    echo '<center><b>Mede mogenlijk gemaakt door <a href="http://crimepoint.net23.net" target="_blank">Crimepoint</a></b></center>';
    echo layout_bottom("0");
    
    
    If($gebruiker['type'] >= 2)
    {
    	echo "<center><b><a href='index.php?sg=beheer/index.php'>Klik hier om naar het administratie paneel te gaan.</a></b></center>";
    }
    
    
    mysql_close();
    
    
    ob_end_flush();
    ?>
    Toon Meer



    Nieuwe reactie samengevoegd met originele reactie op 21.03.10 10:52:08:
    het werkt alweer :)

Participate now!

Heb je nog geen account? Registreer je nu en word deel van onze community!

Maak een account aan Login

ICT Nieuws

  • Fijne feestdagen

    tcbhome 28 december 2025 om 13:55
  • Kritieke update voor Really Simple Security-plug-in

    K.Rens 16 november 2024 om 16:12
  • ING Nederland streeft naar ondersteuning van Google Pay tegen eind februari

    K.Rens 2 november 2024 om 16:09

Blogs

  • Functioneel ontwerp

    Dees 28 december 2014 om 12:38
  • Access Control List implementatie in PHP/MySQL - deel 1/2

    FangorN 28 december 2018 om 12:35
  • Access Control List implementatie in PHP/MySQL - deel 2/2

    FangorN 29 december 2018 om 12:37

Gebruikers die dit topic bekijken

  • 1 Gasten
  1. Marktplaats
  2. Design
  3. Voorwaarden
  4. Ons team
  5. Leden
  6. Geschiedenis
  7. Regels
  8. Links
  9. Privacy Policy
ICTscripters ©2005 - 2026 , goedkope hosting door DiMoWeb.com, BE0558.915.582
Sponsors: Beste kattenhotel provincie Antwerpen | Beste Zetes eid kaartlezer webshop
Style: Nexus by cls-design
Stylename
Nexus
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design