Nieuw lid |
|
ik kwam hier dit tegen
http://www.site...PHP/Rating
maar krijg hem niet hier als een include of iets in
wou heb achter me plaatje hebben
wie kan me helpen
<head>
<title>Discogids v2.0</title>
<link href="overzicht.css" rel="stylesheet" type="text/css">
</head>
<BODY STYLE="background-color:transparent">
<?
mysql_connect("localhost","------","----");
mysql_select_db("--------");
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))
{
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 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>";
}
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"> <? { $idx = $_GET['id']; } if(!empty($_GET['basket'])) { $basket = $_GET['basket']; } $id = mysql_query("SELECT * FROM gids WHERE id='$idx'"); { <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 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>"; } echo "<div class='clear'></div>"; ?> </div> </body>
|