• 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

  • Developer Gezocht

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

    Syntax 5 januari 2026 om 13:50
  • Na 15 jaar terug van weggeweest: iCriminals.nl is terug (BETA)!

    Syntax 4 januari 2026 om 10:58
  • [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
  • Partner Gezocht om meerdere NFT Collecties op Open Sea te Plaatsen

    NFT Art Designer 1 maart 2025 om 14:08

Marktplaats

  • 321 Nieuwe Domeinnamen December 2025

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

    Syntax 28 december 2025 om 21:20
  • Van een pixelige afbeelding naar een strakke, moderne website

    Syntax 21 december 2025 om 17:05

Linken lukt niet

  • tim521
  • 21 maart 2010 om 12:25
  • Closed
  • tim521
    Intermediate
    Berichten
    393
    • 21 maart 2010 om 12:25
    • #1

    Hallo,
    Ik probeer al heel te tijd een link van een banner op mijn site te plaatsen, dit is de link:
    <A href="http://geldezeltje.tk/"><IMG src="banner.gif"></A>

    Als ik dat doe krijg ik een error?
    Weet iemand waar ik het moet plaatsen?
    Dit is het style.php script:

    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_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()."</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'>Regels</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>Linkpartners</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>
                             
    
    
    		</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


    En dit is het index.php script:

    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
  • Superior
    Master
    Berichten
    1.947
    • 21 maart 2010 om 12:27
    • #2

    Error melding zou handig zijn voor ons om te zien waar je fout gaat.

  • tim521
    Intermediate
    Berichten
    393
    • 21 maart 2010 om 12:29
    • #3

    ok dit is error: Parse error: syntax error, unexpected '<' in /home/a6147335/public_html/template/test/style.php on line 425

  • Georgo
    CreativeInc Designs
    Berichten
    750
    • 21 maart 2010 om 12:29
    • #4

    Zet dit gewoon in de banner rotator van de oude cf source,

    Dat is naar modules/banners ( in die richting )

    En leer af dat je geen hoofdletters gebruikt

    Dus niet <A Maar <a En geen <IMG Maar <img dat wordt wat makkelijker herkent;)

    MVG Georgo

    [offtopic][ CreativeInc.nl | All about graphics! ]
    [ My designers & Gamers name | REPLIC.nl ]
    [/offtopic]

    [ GamersReality.nl ][ GRTV ]

  • tim521
    Intermediate
    Berichten
    393
    • 21 maart 2010 om 12:30
    • #5

    en zo plaats ik eht in eht script:

    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_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()."</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'>Regels</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>Linkpartners</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>
                             
    
    
    		</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']).", ";
    					}
    
    
    <A href="http://geldezeltje.tk/"><IMG src="banner.gif"></A>
    				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



    Nieuwe reactie samengevoegd met originele reactie op 21.03.10 12:31:30:
    die \ in het script
    Zijn in mijn script "

  • Superior
    Master
    Berichten
    1.947
    • 21 maart 2010 om 12:32
    • #6

    Tim kom op ga eens PHP leren, je snapt toch zeker wel dat dit niet kan of niet soms?

    Je plaatst nu iets buiten een [func]echo[/func] dat gaat natuurlijk niet werken.

  • Willem
    Enlightened
    Ontvangen Reacties
    12
    Berichten
    3.839
    • 21 maart 2010 om 12:34
    • #7

    Misschien handig om hem in een nieuwe tabpagina of webpagina te laten openen ;)

    PHP
    <a target="_blank" title="banner" href="http://geldezeltje.tk/">
    	<img border="0" src="banner.gif" width="215" height="52" style="width: 315px; height: 52px"></a>
  • tim521
    Intermediate
    Berichten
    393
    • 21 maart 2010 om 12:35
    • #8

    Weet ik maar ik heb al overal geprobeerd bijna

  • Georgo
    CreativeInc Designs
    Berichten
    750
    • 21 maart 2010 om 12:36
    • #9

    Zozie zo wat ik net zeg, moet je het niet in de style.php plaatsen!

    Maar bij modules/banners/

    Daar heb je ook een bestand staan, waar je al je banners in flikkert, en dan is het klaar,

    Style.php is voor je layout, niet voor je banners...

    Daarom dat het ook template/test/style.php heet
    en geen banner.php

    Alles staat in modules, en als je dat veranderd, komen er problemen,

    Vooral als je niets van php afweet;)

    Dus onthoud style.php = voor layout
    Modules = voorde rest ( banners/artikelen ets etz )

    MVG Georgo

    En begrijp je het niet, moet je er nogmaals NIET AAN BEGINNEN!

    [offtopic][ CreativeInc.nl | All about graphics! ]
    [ My designers & Gamers name | REPLIC.nl ]
    [/offtopic]

    [ GamersReality.nl ][ GRTV ]

  • Superior
    Master
    Berichten
    1.947
    • 21 maart 2010 om 12:38
    • #10

    Leer eerst wat een [func]echo[/func] of een [func]print[/func] inhoud.
    Zo kom je er snel genoeg achter wat je fout doet, dit weet zelfs een beginnende PHP'er.
    Dit is vrijwel het eerste wat je leert op het PHP gebied, dus zou het toch even doorlezen ;)

  • tim521
    Intermediate
    Berichten
    393
    • 21 maart 2010 om 12:38
    • #11

    Okok
    Ik zag de map net :)
    Wist neit dat die bestond :)

  • Willem
    Enlightened
    Ontvangen Reacties
    12
    Berichten
    3.839
    • 21 maart 2010 om 12:40
    • #12

    Ik wordt trouwens ook gek van het scrollen telkens. Script is ellenlang joh.

    Zoals Georgie all zegt is style is niet voor een banner in te plaatsen maar voor je layout.

    Superior helemaal gelijk

  • Thisguyisgone
    Elite members
    Ontvangen Reacties
    197
    Berichten
    7.880
    • 21 maart 2010 om 12:41
    • #13

    verander de "qoutes naar 'quotes van de link en img ;)

  • tim521
    Intermediate
    Berichten
    393
    • 21 maart 2010 om 12:42
    • #14

    En nu vind ik de map banners niet?

  • Thisguyisgone
    Elite members
    Ontvangen Reacties
    197
    Berichten
    7.880
    • 21 maart 2010 om 12:45
    • #15
    PHP
    <a href='http://geldezeltje.tk/'><img src='banner.gif'></a>

    Doe het zo, waar je het wilt ;)

  • tim521
    Intermediate
    Berichten
    393
    • 21 maart 2010 om 12:57
    • #16

    @ ferhatje dat lukt ook niet :(

  • Thisguyisgone
    Elite members
    Ontvangen Reacties
    197
    Berichten
    7.880
    • 21 maart 2010 om 13:10
    • #17

    welke error?

  • L.Groot
    Elite members
    Ontvangen Reacties
    31
    Berichten
    4.888
    • 21 maart 2010 om 13:15
    • #18

    Ok je backslashed " of '.

    Als je niet eens wist dat echo(); bestaat?
    Dan heb je zeker nooit een tutorial doorgelezen waar als eerste script staat:

    PHP
    <?php
    echo 'Hello world!';
    ?>

    Vreemd..

  • Georgo
    CreativeInc Designs
    Berichten
    750
    • 21 maart 2010 om 13:16
    • #19

    Tim, ik ben het nu wel een beetje beu, ga eerst PHP leren, je laat iedereen aan jou script werken, en zelf kom je er ook geen barst mee verder,

    Als je het niet aankunt, dan moet je er niet aan beginnen,

    Als je amper HTML kent, dan is PHP al een hele zorg,

    Hou het op 1 ding, stop me de oudecf source, want dit is VEELSTE MOEILIJK voor jou.

    Begin eerst met tutorials, en Maak nou geen 3/4 topics per dag aan, voor elke fout die je ziet, probeer het zelf op telossen,

    Ik denk dat we nu moeten stoppen met tim helpen, want hij vraagt te veel..

    En heeft totaal geen kennis van PHP, Laat hem eerst wat leren,

    want dit gaat zeker uitlopen als je vorige topic, Dat je uiteindelijk helemaal uitgekotst wordt..

    Ik hoop dat je hier wel wat van opsteekt, want dit gaat niet langer zo meer;)

    MVG Georgo

    [offtopic]En ik weet zeker dat ik niet de enige ben, die er zo over denkt.[/offtopic]

    [offtopic][ CreativeInc.nl | All about graphics! ]
    [ My designers & Gamers name | REPLIC.nl ]
    [/offtopic]

    [ GamersReality.nl ][ GRTV ]

  • L.Groot
    Elite members
    Ontvangen Reacties
    31
    Berichten
    4.888
    • 21 maart 2010 om 13:18
    • #20

    [offtopic]@ Georgo, ik denk er ook zo over :p[/offtopic]

    Jouw TO-DO list:
    1) Ga naar de bieb / V&D.
    2) Zoek naar een PHP, HTML, CSS & MySQL boek.
    3) Leer dit boek goed.
    4) Come back @ cp with PHP questions.

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
  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