session stop opeens

Gestart doorSmiegles4 reacties103 weergaven

5 berichten · pagina 1 van 1

Smiegles

Lid · Topicstarter

Berichten
4.912
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dag mensen,
ik heb deze code.
maar als ik er naartoe ga zegt hij log in!
en dan word je uitgelogd op de site.
iemand die weet hoe dat komt?

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]inc/config.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]uId[/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 leden_leden WHERE uId = "[/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]uId[/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]uId[/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>Whear</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>
<link rel="stylesheet" type="text/css" media="screen" href="/css/lightbox.css" />
<link rel="stylesheet" type="text/css" href="js/style.css" /> 
<link rel="stylesheet" type="text/css" href="css/jquery.css" /> 
<script type="text/javascript" src="inc/jquery.js"></script> 
<script type="text/javascript" src="inc/jqueryui.js"></script> 
<script type="text/javascript" language="javascript" src="js/script.js"></script> 
<script src="js/editor.js" type="text/javascript"></script>
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
<style type="text/css">
body, html {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
body {    
    padding: 0;
    margin: 0;
    font-size: 13px;
    font-family: Tahoma;
    background-image: url(water.png);
}
#items {
}
#aboveBox {
    background: url(images/img_25.png) repeat-x #FFFFFF;
    width: 98.9%;
    border-top: 0px;
    height: 16px;
    padding: 7px;
}
#aboveBoxItem {
    width: 209px;
    font-family: Calibri;
    float:left;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    margin-right: 3px;
    color: #000000;
}
#aboveBoxItem:hover {
    background:url(images/img_07.png) repeat-x #FFFFFF;
opacity : 0.7;
font-size : 16px;
color : #ffffff;
text-shadow : #000000 0 1px 0;
font-weight : normal;
}
#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;
}
.back{
    border : 0 solid #000;
    height:655px;
    width:1105px;
    margin : 0 auto;
    font-family : Tahoma, Arial, sans-serif;
    font-size : 10pt;
    background: url(images/Buiten.bmp);
}
</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">
<div class="back"> 
<form method="post" action="save.php">

<div id="aboveBox">

<div id="aboveBoxItem"><a href="#" onclick="leavingpage(index.php);"><img src="img/home.gif" /> Pixelfuture</a></div>
<div id="aboveBoxItem"><a href="#" onclick="leavingpage(http://www.pixel.hthosting.nl/pixelfuture/site.php?name=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uNaam[/COLOR][COLOR= #007700]];[/COLOR] ?>&p=[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"><input type="submit" name="submit" value="Opslaan" style="background: none; font-family: Calibri; font-weight: bold; color: #000000; border: 0; font-size: 16px;" /></div>
<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>
            <p id="text"> 
                <span class="hotspot" onMouseOver="tooltip.show(hier staat je huis!);" onMouseOut="tooltip.hide();"> 
                          <a href="#"><img src="images/huis1.PNG" /></a> 
                </span> 
            </p> 
<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]uId[/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]

?>
<body ondragstart="return false">
<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] ?>);">
<img src="img/move.gif" /> [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] ?><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="#"><img src="img/delete.gif" /></a> <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] ?>, 2);"><img src="img/shape_square_add.png"></a> <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>
</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]

?>
0
Berichten
747
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Staat in de config wel:
session_start();
0
Smiegles

Lid · Topicstarter

Berichten
4.912
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Arjan schreef:
Staat in de config wel:
session_start();
Jha
0
Fass

Lid

Berichten
3.771
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dat betekent toch gewoon dat er geen session uId is?
0
Berichten
515
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Zet eens ergens

print_r($_SESSION);

Kan je controleren of uId wel bestaat, of misschien leeg is?
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren