Nieuw lid |
|
<?
header("Content-language: nl");
header("Content-Type: text/html; charset=ISO-8859-1");
mysql_connect("localhost","discogids_demo","demo");
mysql_select_db("discogids_demo");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>demo</title>
<meta name="keywords" content="webwinkel, cms, samenstellen, builder" />
<meta name="description" content="Handig website cms met webwinkel en samenstel systeem om te bestellen." />
<meta name="author" content="Redbaronmusic.nl" />
<meta name="robots" content="all" />
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class='container'>
<div class='header'>
<a href=''>
plaats voor het logo
<!--- <script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
Installeer Flash.
</div>
<script type="text/javascript">
var so = new SWFObject("header.swf", "movie", "897", "101", "7", "#336699");
so.write("flashcontent");
</script> -->
</a>
</div>
<div class='menu'><Table border="1" cellspacing="1" bgcolor="#33ff00">
<td><a href="?cat1=overhetbedrijf">over het bedrijf</a></td>
<td><a href="?cat1=diensten">diensten</a></td>
<td><a href="?cat1=producten2">producten</a></td>
<td><a href="?cat1=aanbiedingen">aanbiedingen</a></td>
<td><a href="?cat1=pcproblemen">pcproblemen</a></td>
<td><a href="?cat1=pcbuilder">pcbuilder</a></td>
<td><a href="?cat1=contact">contact</a></td>
<td><a href="?cat1=bm">mededelingen</a></td>
</table>
</div>
<div class='minicontainer'>
<div class='paddingbox'>
<div class='inhm' ><? include("paginascript.php"); ?></div>
<div class='credits'>
(C)redbaronmusic 2009<a href=http://www.redbaronmusic.nl>www.redbaronmusic.nl</a>
</div>
</div>
</div>
</div>
</body>
</html>
<? header("Content-language: nl"); header("Content-Type: text/html; charset=ISO-8859-1"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" > <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>demo</title> <meta name="keywords" content="webwinkel, cms, samenstellen, builder" /> <meta name="description" content="Handig website cms met webwinkel en samenstel systeem om te bestellen." /> <meta name="author" content="Redbaronmusic.nl" /> <meta name="robots" content="all" /> <link href="stylesheet.css" rel="stylesheet" type="text/css" /> </head> <body> <div class='container'> <div class='header'> <a href=''> plaats voor het logo <!--- <script type="text/javascript" src="swfobject.js"></script> <div id="flashcontent"> Installeer Flash. </div> <script type="text/javascript"> var so = new SWFObject("header.swf", "movie", "897", "101", "7", "#336699"); so.write("flashcontent"); </script> --> </a> </div> <div class='menu'><Table border="1" cellspacing="1" bgcolor="#33ff00"> <td><a href="?cat1=overhetbedrijf">over het bedrijf</a></td> <td><a href="?cat1=diensten">diensten</a></td> <td><a href="?cat1=producten2">producten</a></td> <td><a href="?cat1=aanbiedingen">aanbiedingen</a></td> <td><a href="?cat1=pcproblemen">pcproblemen</a></td> <td><a href="?cat1=pcbuilder">pcbuilder</a></td> <td><a href="?cat1=contact">contact</a></td> <td><a href="?cat1=bm">mededelingen</a></td> </table> </div> <div class='minicontainer'> <div class='paddingbox'> <div class='inhm' ><? include("paginascript.php"); ?></div> <div class='credits'> (C)redbaronmusic 2009<a href=http://www.redbaronmusic.nl>www.redbaronmusic.nl</a> </div> </div> </div> </div> </body> </html>
me index
<?
if($_GET['cat1'] == "contact")
{
include("system/contact.php");
}
else if($_GET['cat1'] == "pcbuilder")
{
include("system/pcbuilder.php");
}
else if($_GET['cat1'] == "pcbuilder_toevoegen")
{
include("system/pcbuilder_toevoegen.php");
}
else if($_GET['cat1'] == "bestel")
{
include("system/bestel.php");
}
else if($_GET['cat1'] == "overzicht")
{
include("system/pcbuilder/prodpagelink.php");
}
else if($_GET['cat1'] == "producten2")
{
include("system/pcbuilder/producten_iframe.php");
}
else
{
if(empty($_GET['cat1']))
{
include("../demo/gids/gids_overzicht.php");
}
}
?>
<? if($_GET['cat1'] == "contact") { include("system/contact.php"); } else if($_GET['cat1'] == "pcbuilder") { include("system/pcbuilder.php"); } else if($_GET['cat1'] == "pcbuilder_toevoegen") { include("system/pcbuilder_toevoegen.php"); } else if($_GET['cat1'] == "bestel") { include("system/bestel.php"); } else if($_GET['cat1'] == "overzicht") { include("system/pcbuilder/prodpagelink.php"); } else if($_GET['cat1'] == "producten2") { include("system/pcbuilder/producten_iframe.php"); } else { { include("../demo/gids/gids_overzicht.php"); } } ?>
paginascript
<head>
<title>Discogids v2.0</title>
<link href="overzicht.css" rel="stylesheet" type="text/css">
</head>
<BODY STYLE="background-color:transparent">
<?
$cat4=$_GET['cat4'];
mysql_connect("localhost","discogids_demo","demo");
mysql_select_db("discogids_demo");
if(!empty($_GET['cat4']))
{
$id = mysql_query("SELECT DISTINCT type FROM pcbuilder_verpl WHERE 4cat = '$cat4' ORDER BY type ASC");
}
else
{
$id = mysql_query("SELECT DISTINCT type FROM pcbuilder_verpl ORDER BY type ASC");
}
$i=0;
while($x = mysql_fetch_array($id))
{
$type = $x['type'];
include ("typesorter.php");
$typearray[$i]=$type;
$soortcomponent[$i]='- '.$type.'';
$i++;
}
if(!empty($_GET['cat4']))
{
$id = mysql_query("SELECT DISTINCT `type` FROM gids WHERE 4cat = '$cat4' ORDER BY type ASC");
}
else
{
$id = mysql_query("SELECT DISTINCT `type` FROM gids ORDER BY type ASC");
}
while($x = mysql_fetch_array($id))
{
$type = $x['type'];
$typex = str_replace(' ','_',$type);
$typearray[$i]=$typex;
include ("typesorter.php");
$soortcomponent[$i]='- '.$type.'';
$i++;
}
$i--;
$c=0;
$u=0;
sort($soortcomponent);
sort($typearray);
$type=$_GET['typer'];
include ("typesorter.php");
$typerxx = str_replace('_',' ',$type);
?>
<p></p>
<table width="180" border="1" cellspacing="2" cellpadding="0">
<tr>
<td><?echo "<div class='titel1'><h1>".ucfirst($cat4)."</h1><br/><input onclick='history.back()' type='button'value='Vorige pagina' /></div>";?></td>
<td align="center" valign="top"><?echo "<div class='titelz'><h1>".$typerxx."</h1></div><div class='clear'></div>";?></td>
<td></td>
</tr>
<tr>
<td></td>
<td><?echo "<div class='line'><div class='spacer'></div><div class='line'>
<div class='label'>Plaats</div>
<div class='label'>Naam</div><div class='labelp'>Adres</div>
<div class='spacer2'>
</div>
</div>
</div>
<br/>";?></td>
<td></td>
</tr>
<tr>
<td align="left" valign="top"><? echo "<div class='line1'>";
while($c <= $i)
{
if($u!=8795)
{
include ("typesorter_reverse.php");
echo "<a href=?cat4=".$cat4."&typer=".$typearray[$c].">";
}
$u++;
echo "<b>".$soortcomponent[$c]."</b></a>";
echo "<br/>";
$c++;
}
echo "</div>";
$type=$_GET['typer'];
include ("typesorter.php");
$typerxx = str_replace('_',' ',$type);
echo "<div class='lister'>";
$typerx=$_GET['typer'];
?></td>
<td><?//toebehoren
$typerxx = str_replace('_',' ',$typerx);
$id = mysql_query("SELECT * FROM gids WHERE type='$typerxx' ORDER BY id ASC");
while($x = mysql_fetch_array($id))
{
$type = $x['type'];
include ("typesorter.php");
$nmx = $x['naam'];
$naamx = str_replace(' ','_',$nmx);
$boxed = $x['boxed'];
if($boxed == 'boxed')
{
$type = 'Processor/Koeler';
}
echo "<div class='line'><div class='line'><a href=http://demo.disco-gids.nl/gids/detail_gids.php?id=".$x['id']."&source=detail TARGET=inhm><img src=http://demo.disco-gids.nl/".$x['picurl']." height='100' width='100'></a></div><div class='line'>
<div class='label'>".$x['type']."</div><div class='label'>".$x['naam']."</div><div class='labelp'>".str_replace(".",",",$x['prijs'])."</div>
<div class='label'><!--- <a href=/gids/bestel.php?prod=".$naamx."&prijs=".$x['prijs'].">Bestel!</a> ---></div></div></div><br/>";
}
echo "<div class='clear'></div>";
echo "</div>";
?>
</td>
<td></td>
</tr>
</table>
</body>
<head> <title>Discogids v2.0</title> <link href="overzicht.css" rel="stylesheet" type="text/css"> </head> <BODY STYLE="background-color:transparent"> <? $cat4=$_GET['cat4']; if(!empty($_GET['cat4'])) { $id = mysql_query("SELECT DISTINCT type FROM pcbuilder_verpl WHERE 4cat = '$cat4' ORDER BY type ASC"); } else { $id = mysql_query("SELECT DISTINCT type FROM pcbuilder_verpl ORDER BY type ASC"); } $i=0; { $type = $x['type']; include ("typesorter.php"); $typearray[$i]=$type; $soortcomponent[$i]='- '.$type.''; $i++; } if(!empty($_GET['cat4'])) { $id = mysql_query("SELECT DISTINCT `type` FROM gids WHERE 4cat = '$cat4' ORDER BY type ASC"); } else { $id = mysql_query("SELECT DISTINCT `type` FROM gids ORDER BY type ASC"); } { $type = $x['type']; $typearray[$i]=$typex; include ("typesorter.php"); $soortcomponent[$i]='- '.$type.''; $i++; } $i--; $c=0; $u=0; $type=$_GET['typer']; include ("typesorter.php"); ?> <p></p> <table width="180" border="1" cellspacing="2" cellpadding="0"> <tr> <td> <? echo "<div class='titel1'><h1>".ucfirst($cat4)."</h1><br/><input onclick='history.back()' type='button'value='Vorige pagina' /></div>";? ></td> <td align="center" valign="top"> <? echo "<div class='titelz'><h1>".$typerxx."</h1></div><div class='clear'></div>";? ></td> <td></td> </tr> <tr> <td></td> <td> <? echo "<div class='line'><div class='spacer'></div><div class='line'> <div class='label'>Plaats</div> <div class='label'>Naam</div><div class='labelp'>Adres</div> <div class='spacer2'> </div> </div> </div> <br/>";?></td> <td></td> </tr> <tr> <td align="left" valign="top"> <? echo "<div class='line1'>"; while($c <= $i) { if($u!=8795) { include ("typesorter_reverse.php"); echo "<a href=?cat4=".$cat4."&typer=".$typearray[$c].">"; } $u++; echo "<b>".$soortcomponent[$c]."</b></a>"; $c++; } $type=$_GET['typer']; include ("typesorter.php"); echo "<div class='lister'>"; $typerx=$_GET['typer']; ?></td> <td><?//toebehoren $id = mysql_query("SELECT * FROM gids WHERE type='$typerxx' ORDER BY id ASC"); { $type = $x['type']; include ("typesorter.php"); $nmx = $x['naam']; $boxed = $x['boxed']; if($boxed == 'boxed') { $type = 'Processor/Koeler'; } echo "<div class='line'><div class='line'><a href=http://demo.disco-gids.nl/gids/detail_gids.php?id=".$x['id']."&source=detail TARGET=inhm><img src=http://demo.disco-gids.nl/".$x['picurl']." height='100' width='100'></a></div><div class='line'> <div class='label'>".$x['type']."</div><div class='label'>".$x['naam']."</div><div class='labelp'>".str_replace(".",",",$x['prijs'])."</div> <div class='label'><!--- <a href=/gids/bestel.php?prod=".$naamx."&prijs=".$x['prijs'].">Bestel!</a> ---></div></div></div><br/>"; } echo "<div class='clear'></div>"; ?> </td> <td></td> </tr> </table> </body>
overzicht
<head>
<title>Discogids v2.0</title>
<link href="overzicht.css" rel="stylesheet" type="text/css">
</head>
<BODY STYLE="background-color:transparent">
<?
$ratingBestand = "rating.php";
mysql_connect("localhost","discogids_demo","demo");
mysql_select_db("discogids_demo");
if(!empty($_GET['id']))
{
$idx = $_GET['id'];
}
if(!empty($_GET['basket']))
{
$basket = $_GET['basket'];
}
$id = mysql_query("SELECT * FROM gids WHERE id='$idx'");
while($x = mysql_fetch_array($id))
{
include("rating.php");
echo "
<div class='right'>
<div class='clear'><input onclick='history.back()' type='button'value='Vorige pagina' /><span style='FONT-SIZE: x-small; FONT-FAMILY: Comic Sans MS'><span style='FONT-SIZE: small; FONT-FAMILY: Times New Roman'> </span></span></div>
<div class='img_space'><img src=".$x['picurl']." width='200'></div><div>
</div>
<div class='clear'></div><div class='label2'>Plaats</div><div class='label'>".$x['type']."</div>
<div class='clear'></div><div class='label2'>Naam</div><div class='label'>".$x['naam']."</div>
<div class='clear'></div><div class='label2'>Omschrijving</div><div class='label'>".$x['omschrijving']."</div>
<div class='clear'></div><div class='label2'>Adres</div><div class='label'>".str_replace(".",",",$x['prijs'])."</div>
<div class='clear'></div><div class='label2'>Postcode</div><div class='label'>".$x['pc']."</div>
<div class='clear'></div><div class='label2'>Tel</div><div class='label'>".$x['telnr']."</div>
<div class='clear'></div><div class='label2'></div>";
if(empty($_GET['source'])){
echo "<div class='label'><a href=overzicht_optioneel.php?mobo=".$_GET['mobo']."&proc=".$_GET['proc']."&proc_koeler=".$_GET['proc_koeler']."&hdd=".$_GET['hdd']."&geh=".$_GET['geh']."&gfx=".$_GET['gfx']."&optdrv=".$_GET['optdrv']."&voeding=".$_GET['voeding']."&behuizing=".$_GET['behuizing']."&id=".$x['id']."&basket=".$basket."v".$idx.">Kies dit artikel</a> <a href=overzicht_optioneel.php?mobo=".$_GET['mobo']."&proc=".$_GET['proc']."&proc_koeler=".$_GET['proc_koeler']."&hdd=".$_GET['hdd']."&geh=".$_GET['geh']."&gfx=".$_GET['gfx']."&optdrv=".$_GET['optdrv']."&voeding=".$_GET['voeding']."&behuizing=".$_GET['behuizing']."&id=".$x['id']."&basket=".$_GET['basket'].">Terug</a></div>";
}
if(!empty($_GET['source'])){
$nmx = $x['naam'];
$naamx = str_replace(' ','_',$nmx);
echo "<div class='label'><!--<a href=bestel.php?prod=".$naamx."&prijs=".$x['prijs'].">Bestel!</a>--></div>";
}echo "</div></div>";
require("comments/comments.php");
}
echo "<div class='clear'></div>";
?>
</div>
</body>
<head> <title>Discogids v2.0</title> <link href="overzicht.css" rel="stylesheet" type="text/css"> </head> <BODY STYLE="background-color:transparent"> <? $ratingBestand = "rating.php"; { $idx = $_GET['id']; } if(!empty($_GET['basket'])) { $basket = $_GET['basket']; } $id = mysql_query("SELECT * FROM gids WHERE id='$idx'"); { include("rating.php"); <div class='right'> <div class='clear'><input onclick='history.back()' type='button'value='Vorige pagina' /><span style='FONT-SIZE: x-small; FONT-FAMILY: Comic Sans MS'><span style='FONT-SIZE: small; FONT-FAMILY: Times New Roman'> </span></span></div> <div class='img_space'><img src=".$x['picurl']." width='200'></div><div> </div> <div class='clear'></div><div class='label2'>Plaats</div><div class='label'>".$x['type']."</div> <div class='clear'></div><div class='label2'>Naam</div><div class='label'>".$x['naam']."</div> <div class='clear'></div><div class='label2'>Omschrijving</div><div class='label'>".$x['omschrijving']."</div> <div class='clear'></div><div class='label2'>Adres</div><div class='label'>".str_replace(".",",",$x['prijs'])."</div> <div class='clear'></div><div class='label2'>Postcode</div><div class='label'>".$x['pc']."</div> <div class='clear'></div><div class='label2'>Tel</div><div class='label'>".$x['telnr']."</div> <div class='clear'></div><div class='label2'></div>"; if(empty($_GET['source'])){ echo "<div class='label'><a href=overzicht_optioneel.php?mobo=".$_GET['mobo']."&proc=".$_GET['proc']."&proc_koeler=".$_GET['proc_koeler']."&hdd=".$_GET['hdd']."&geh=".$_GET['geh']."&gfx=".$_GET['gfx']."&optdrv=".$_GET['optdrv']."&voeding=".$_GET['voeding']."&behuizing=".$_GET['behuizing']."&id=".$x['id']."&basket=".$basket."v".$idx.">Kies dit artikel</a> <a href=overzicht_optioneel.php?mobo=".$_GET['mobo']."&proc=".$_GET['proc']."&proc_koeler=".$_GET['proc_koeler']."&hdd=".$_GET['hdd']."&geh=".$_GET['geh']."&gfx=".$_GET['gfx']."&optdrv=".$_GET['optdrv']."&voeding=".$_GET['voeding']."&behuizing=".$_GET['behuizing']."&id=".$x['id']."&basket=".$_GET['basket'].">Terug</a></div>"; } if(!empty($_GET['source'])){ $nmx = $x['naam']; echo "<div class='label'><!--<a href=bestel.php?prod=".$naamx."&prijs=".$x['prijs'].">Bestel!</a>--></div>"; require("comments/comments.php"); } echo "<div class='clear'></div>"; ?> </div> </body>
detail
en van overzicht doorschakelen naar detail glipt hij uit de index en is de pagina blank heb al met target geprobeerd en alles helaas werkt dat niet |