Ik weet ondertussen neit wat er niet klopt, ik krijg steeds deze melding: Parse error: syntax error, unexpected T_ELSE in /home/zabyeay50/domains/challas.nl/public_html/editor.php on line 198
dit is het script kan iemand het nalezen?
dit is het script kan iemand het nalezen?
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]db_connect.php[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]])){[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Log in![/COLOR][COLOR= #007700];
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]])){[/COLOR]
[COLOR= #0000BB]$pQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM pages WHERE id = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[COLOR= #0000BB]$pFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$pQuery[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$uQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM users WHERE id = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[COLOR= #0000BB]$uFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$uQuery[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$pQuery[/COLOR][COLOR= #007700]) ==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]){[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Pagina niet gevonden.[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/die"]die[/URL][COLOR= #007700]();
}[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$pFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]author[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]]){[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Deze pagina is niet van jouw.[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/die"]die[/URL][COLOR= #007700]();
}[/COLOR]
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Challas</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="js/dragdrop.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<script type="text/javascript" src="http://Challas.nl/ckeditor/ckeditor.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="css/lightbox.css" />
<script src="js/editor.js" type="text/javascript"></script>
<style type="text/css">
body, html {
width: 100%;
height: 100%;
}
body {
margin: 0;
padding: 0;
font-size: 13px;
font-family: Tahoma;
background-image: url([COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$pFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bgimg[/COLOR][COLOR= #007700]];[/COLOR] ?>);
background-repeat: [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$pFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bgrepeat[/COLOR][COLOR= #007700]];[/COLOR] ?>;
background-color: #[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$pFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bgcolor[/COLOR][COLOR= #007700]];[/COLOR] ?>;
}
#items {
}
#aboveBox {
background: url(img/abovebox.png) repeat-x #FFFFFF;
width: 98.5%;
-webkit-border-bottom-right-radius: 15px;
-webkit-border-bottom-left-radius: 15px;
-moz-border-radius-bottomright: 15px;
-moz-border-radius-bottomleft: 15px;
border-bottom-right-radius: 15px;
border-bottom-left-radius: 15px;
border-top: 0px;
border: #C1C1C1 1px solid;
height: 40px;
padding: 7px;
}
#aboveBoxItem {
width: 180px;
font-family: Calibri;
float: left;
font-size: 16px;
cursor: pointer;
font-weight: bold;
text-align: center;
-webkit-border-radius: 11px;
-moz-border-radius: 11px;
border-radius: 11px;
margin-right: 3px;
color: #000000;
}
#aboveBoxItem:hover {
background: url(img/abovebox_hover.png) repeat-x #F3F3F3;
}
#aboveBoxItem a {
color: #000000;
text-decoration: none;
}
a img {
border: 0;
}
#bottomPage {
position: fixed;
bottom: 0px;
padding: 7px;
}
#bottomPage a {
color: #0000FF;
text-decoration: none;
}
</style>
</head>
<body onload="aboveBoxEffect()">
<noscript><style type="text/css">#container {display: none;} body { background: #FFFFFF; }</style><span style="font-size: 20px; color: red;">Javascript moet aanstaan als je de editor wilt gebruiken!</span></noscript>
<div id="lightBox"></div>
<div id="lightBoxContent"></div>
<div id="container">
<form method="post" action="index.php?p=save">
<div id="aboveBox">
<div id="aboveBoxItem"><a href="#" onclick="leavingpage(index.php);"><img src="img/home.gif" /> Challas</a></div>
<div id="aboveBoxItem"><a href="#" onclick="leavingpage(http://[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]];[/COLOR] ?>.Challas.nl/[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$pFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]title[/COLOR][COLOR= #007700]];[/COLOR] ?>);"><img src="img/view.gif" /> Bekijk pagina</a></div>
<div id="aboveBoxItem"><a href="#" onclick="leavingpage(index.php?p=pages);"><img src="img/page_edit.gif" /> Mijn paginas</a></div>
<div id="aboveBoxItem"><input type="submit" name="submit" value="Opslaan" style="background: none; font-family: Calibri; font-weight: bold; color: #000000; border: 0; font-size: 16px;" /></div>
<br style="clear: both;" />
<div id="aboveBoxItem"><a href="#" onclick="lightbox(editor_addtxt.php?id=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$pFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>);"><img src="img/add_textbox.gif" /> Tekst invoegen</a></div>
<div id="aboveBoxItem"><a href="#" onclick="lightbox(editor_addimg.php?id=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$pFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>);"><img src="img/add_image.gif" /> Foto invoegen</a></div>
<div id="aboveBoxItem"><a href="#" onclick="lightbox(editor_editbg.php?id=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$pFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>);"><img src="img/color.gif" /> Achtergrond</a></div>
<div id="aboveBoxItem"><a href="#" onclick="lightbox(editor_music.php?id=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$pFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>);"><img src="img/sound.png" /> Achtergrondmuziek</a></div>
<div id="aboveBoxItem"><a href="#" onclick="lightbox(editor_addmenu.php?id=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$pFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>);"><img src="img/add_menu.gif" /> Menu</a></div>
</div>
<div id="items" style="height: 100%;">
[COLOR= #0000BB]<?php
$iQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM items WHERE page_id = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]" AND author = "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iQuery[/COLOR][COLOR= #007700])){[/COLOR]
?>
<div id="item[COLOR= #0000BB]<?[/COLOR]php [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>" style="position: absolute; left: [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pos_left[/COLOR][COLOR= #007700]];[/COLOR] ?>px; top: [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pos_top[/COLOR][COLOR= #007700]];[/COLOR] ?>px; z-index: [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]z_index[/COLOR][COLOR= #007700]];[/COLOR] ?>;" onmousedown="dragstart(this, event, [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>);">
<a href="#" onclick="lightbox(editor_edittxt.php?id=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>);"><img src="img/edit.gif" /></a>[COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] ?><a href="#" onclick="lightbox(editor_edittxt.php?id=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>);"><img src="img/edit.gif" /></a>[COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] ?><a href="#" onclick="lightbox(editor_edittxt.php?id=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>);"><img src="img/edit.gif" /></a>[COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] ?> <a onclick="delete_item([COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>);" href="#"> <a href="#" onclick="z_index([COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>, 1);"><img src="img/shape_square_delete.png"></a><br />
<div id="item_content[COLOR= #0000BB]<?[/COLOR]php [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>" style="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]width[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]){[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]width: [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]width[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]px;[/COLOR][COLOR= #007700]; }[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]height[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]){[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]height: [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]height[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]px;[/COLOR][COLOR= #007700]; }[/COLOR] ?> border: [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]border_color[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700]){[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000] #[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]border_color[/COLOR][COLOR= #007700]]; }[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]border_width[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700]){[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000] [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]border_width[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]px[/COLOR][COLOR= #007700]; }[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]border_style[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700]){[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000] [/COLOR] [COLOR= #007700].[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]border_style[/COLOR][COLOR= #007700]]); }[/COLOR] ?>; [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]background[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700]){[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]background: #[/COLOR] [COLOR= #007700].[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]background[/COLOR][COLOR= #007700]]); }[/COLOR] ?>"">
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]type[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [URL="http://www.php.net/stripslashes"]stripslashes[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/str_replace"]str_replace[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]cookie[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]text[/COLOR][COLOR= #007700]]));
}[/COLOR][URL="http://www.php.net/elseif"]elseif[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]type[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700]){[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<img src="[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]img_url[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" />[/COLOR][COLOR= #007700];
}[/COLOR][URL="http://www.php.net/elseif"]elseif[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]type[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]3[/COLOR][COLOR= #007700]){[/COLOR]
menu[COLOR= #007700]([/COLOR][COLOR= #0000BB]$pFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]author[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]]);
}[/COLOR]
?>
</div>
<input type="hidden" id="left[[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>]" name="left[[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>]" value="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pos_left[/COLOR][COLOR= #007700]];[/COLOR] ?>" />
<input type="hidden" id="top[[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>]" name="top[[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>]" value="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$iFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pos_top[/COLOR][COLOR= #007700]];[/COLOR] ?>" />
</div>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?>
</div>
</form>
<a id="bottomPage"></a>
<div id="bottomPage">
<a href="#bottomPage" onclick="pageSize(bigger)"><img src="img/contentbigger.png" /> Pagina groter</a> <a href="#bottomPage" onclick="pageSize(smaller)"><img src="img/contentsmaller.png" /> Pagina kleiner</a>
</div>
</body>
</html>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Je hebt geen pagina gekozen.[/COLOR][COLOR= #007700];
}
}
function[/COLOR] menu[COLOR= #007700]([/COLOR][COLOR= #0000BB]$f_id[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$f_item_id[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$e_id[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$f_id[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$e_item_id[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$f_item_id[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]editor_menu.php[/COLOR][COLOR= #007700]);
}[/COLOR]
?>