<?php
include('includes/db.inc.php');
if (isset($_GET['page'])) { $page = $_GET['page'];
} else {
$page = 1;
}
$query = "SELECT * FROM `page` WHERE page_id='$page'";
$text = $array[text];
?>
<html>
<head>
<title>www.toomie.nl</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css" media="all">
<script language="javascript">
<!--//
function edit() {
window.open("beheer/edit.php?id=
<?php echo $page; ?>", "popup", "width=500,height=500");
}
function fadd() {
window.open("beheer/add_photo.php", "popup", "width=400, height=300");
}
function aadd() {
window.open("beheer/add_book.php", "popup", "width=400, height=300");
}
function fotopop() {
window.open("beheer/fotopop.php?photo=
<?php echo $foto[0]; ?>", "popup", "width=400, height=300");
}
function delalbum(id) {
var conf = confirm("wilt u het fotoalbum met id "+id+" wissen?")
if (conf == true) {
// true php code
<?php
header("Location:beheer/album_verwijder.php?album="+id
); ?>
} else {
// false php code
}
//window.open("beheer/del_album.php?id="+id, "popup", "widht=400, height=300");
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center>
<!-- ImageReady Slices (layout1.jpg) -->
<table id="Table_01" width="751" height="551" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="26"> </td>
<td>
<img src="images/spacer.gif" width="1" height="16" alt=""></td>
</tr>
<tr>
<td colspan="17">
<img src="images/layout_02.jpg" width="492" height="8" alt=""></td>
<td colspan="8" rowspan="9" align="center" valign="middle" background="images/inlogbg.gif">
<form name="login_form" id="login_form" method="post" action="login.php" enctype="multipart/form-data">
<br>
<br>
<input name="naam" type="text" id="naam" value="Username" style="margin-bottom:3px" onClick="if(this.value=='Username') { this.value=''; }" />
<br>
<input name="pass" type="password" id="pass" value="password" style="margin:0" />
<img src="images/layout_26.jpg" alt="" width="20" height="26" border="0" align="absmiddle" style="cursor:pointer" onClick="return document.getElementById('login_form').submit()" />
</form>
</td>
<td rowspan="10">
<img src="images/layout_05.jpg" width="11" height="120" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="8" alt=""></td>
</tr>
<tr>
<td colspan="6" rowspan="2"> </td>
<td colspan="7" rowspan="2">
<img src="images/layout_07.jpg" width="199" height="46" alt=""></td>
<td colspan="4" rowspan="2"> </td>
<td>
<img src="images/spacer.gif" width="1" height="22" alt=""></td>
</tr>
<tr>
<td>
<img src="images/spacer.gif" width="1" height="24" alt=""></td>
</tr>
<tr>
<td rowspan="7"> </td>
<td colspan="3" rowspan="5">
<img src="images/layout_12.jpg" width="64" height="46" alt=""></td>
<td rowspan="2">
<img src="images/layout_13.jpg" width="36" height="12" alt=""></td>
<td colspan="2" rowspan="5">
<img src="images/layout_14.jpg" width="22" height="46" alt=""></td>
<td rowspan="2">
<img src="images/layout_15.jpg" width="58" height="12" alt=""></td>
<td rowspan="5">
<img src="images/layout_16.jpg" width="19" height="46" alt=""></td>
<td rowspan="2">
<img src="images/layout_17.jpg" width="50" height="12" alt=""></td>
<td rowspan="5">
<img src="images/layout_18.jpg" width="19" height="46" alt=""></td>
<td rowspan="2">
<img src="images/layout_19.jpg" width="34" height="12" alt=""></td>
<td colspan="2" rowspan="5">
<img src="images/layout_20.jpg" width="19" height="46" alt=""></td>
<td rowspan="2">
<img src="images/layout_21.jpg" width="48" height="12" alt=""></td>
<td rowspan="5">
<img src="images/layout_22.jpg" width="72" height="46" alt=""></td>
<td rowspan="7"> </td>
<td>
<img src="images/spacer.gif" width="1" height="5" alt=""></td>
</tr>
<tr>
<td>
<img src="images/spacer.gif" width="1" height="7" alt=""></form></td>
</tr>
<tr>
<td rowspan="2">
<a href="index.php"><img src="images/layout_28.jpg" alt="" width="36" height="23" border="0"></a></td>
<td rowspan="2">
<a href="index.php?page=2"><img src="images/layout_29.jpg" alt="" width="58" height="23" border="0"></a></td>
<td rowspan="2">
<a href="index.php?page=3"><img src="images/layout_30.jpg" alt="" width="50" height="23" border="0"></a></td>
<td rowspan="2">
<a href="index.php?page=4"><img src="images/layout_31.jpg" alt="" width="34" height="23" border="0"></a></td>
<td rowspan="2">
<a href="index.php?page=5"><img src="images/layout_32.jpg" alt="" width="48" height="23" border="0"></a></td>
<td>
<img src="images/spacer.gif" width="1" height="19" alt=""></td>
</tr>
<tr>
<td>
<img src="images/spacer.gif" width="1" height="4" alt=""></td>
</tr>
<tr>
<td>
<img src="images/layout_34.jpg" width="36" height="11" alt=""></td>
<td>
<img src="images/layout_35.jpg" width="58" height="11" alt=""></td>
<td>
<img src="images/layout_36.jpg" width="50" height="11" alt=""></td>
<td>
<img src="images/layout_37.jpg" width="34" height="11" alt=""></td>
<td>
<img src="images/layout_38.jpg" width="48" height="11" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="11" alt=""></td>
</tr>
<tr>
<td colspan="15" rowspan="2"> </td>
<td>
<img src="images/spacer.gif" width="1" height="12" alt=""></td>
</tr>
<tr>
<td colspan="8"> </td>
<td>
<img src="images/spacer.gif" width="1" height="8" alt=""></td>
</tr>
<tr>
<td colspan="26">
<img src="images/layout_41.jpg" width="750" height="16" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="16" alt=""></td>
</tr>
<tr>
<td colspan="2"> </td>
<td style="background-image:url(images/layout_43.jpg);"> </td>
<td colspan="18" valign="top">
<div id="main">
<?php
<div id="main_af"><img src="afbeeldingen/
<?php echo $page;?
>.jpg"></div>
<?php } ?>
<?php
if (!isset($_GET['id'])) { // text opbouwen uit database
}
?>
<?php
if(isset($_GET['page']) && $_GET['page'] == 5) { include('includes/mail.inc.php');
}
if(isset($_GET['page']) && $_GET['page'] == 3 && !isset($_GET['id'])) { include('includes/album.inc.php');
} elseif($_GET['page'] == 3 && isset($_GET['id'])) { include('includes/galerij.inc.php');
}
?>
</div>
<?php
if($_SESSION['KT_level'] == 1 && !$_GET['id']) {
echo "<img src=\"icoons/1018.gif\" alt=\"bewerken\" onClick=\"javascript:edit()\" style=\"cursor:pointer\"/></div>"; }
if ($_SESSION['KT_level'] == 1 && $_GET['page'] == 3 && !$_GET['id']) {
echo "<img src=\"icoons/1278.gif\" alt=\"foto toevoegen\" onClick=\"javascript:fadd()\" style=\"cursor:pointer\"/>"; echo "<img src=\"icoons/1569.gif\" alt=\"album toevoegen\" onClick=\"javascript:aadd()\" style=\"cursor:pointer\"/>"; } ?>
</td>
<td colspan="2" style="background-image:url(images/layout_45.jpg)"> </td>
<td>
<img src="images/layout_46.jpg" width="1" height="347" alt=""></td>
<td colspan="2"> </td>
<td>
<img src="images/spacer.gif" width="1" height="347" alt=""></td>
</tr>
<tr>
<td colspan="26">
<img src="images/layout_48.jpg" width="750" height="23" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="23" alt=""></td>
</tr>
<tr>
<td colspan="26">
<div id="copyright"> © 2005 by T.
Rodenhuis || ® 2005 by <a href="http://www.d-power.nl">D-tec</a> webmanagement </div></td>
<td>
<img src="images/spacer.gif" width="1" height="28" alt=""></td>
</tr>
<tr>
<td>
<img src="images/spacer.gif" width="23" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="18" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="8" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="38" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="36" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="14" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="8" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="58" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="19" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="50" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="19" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="34" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="11" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="8" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="48" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="72" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="28" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="38" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="15" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="133" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="10" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="5" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="4" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="41" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="11" height="1" alt=""></td>
<td></td>
</tr>
</table>
<!-- End ImageReady Slices -->
</center>
</body>
</html>