JS Whear error

Gestart doorJesper13 reacties49 weergaven

14 berichten · pagina 1 van 1

Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb een probleem met de editor van whear
In internet explorer kan ik niks editen en verwijderen
Spoiler tonen
editor.js
function aboveBoxEffect(){
/*
$(#aboveBox).slideDown(800, function(){
$(#items).fadeIn(1000);
});
*/
}

function ajaxRequest(request, get) {
    var AJAX = null;
    if (window.XMLHttpRequest) {
        AJAX=new XMLHttpRequest();
    } else {
        AJAX=new ActiveXObject("Microsoft.XMLHTTP");
    }
    if (AJAX==null) {
        alert("Je browser accepteert geen AJAX. Er kunnen (veel grote) fouten voorkomen!");                    
        return false
    }
    AJAX.onreadystatechange = function() {
        if (AJAX.readyState==4 || AJAX.readyState=="complete") {
            callback(AJAX.responseText, AJAX.status);
        }
    }
    if(post){
        urlBase = window.location.protocol + // + window.location.hostname;
        AJAX.open(post, urlBase+/ajax.php, true);
          AJAX.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");
        AJAX.send(request=+request);
    }else{
        var url=+request;
        AJAX.open("GET", url, true);
        AJAX.send(null);
    }
}

function pageSize(what){
    oldHeight = parseInt(document.getElementById(items).style.height);
    if(what == bigger) newHeight = oldHeight + 125;
    if(what == smaller) newHeight = oldHeight - 125;
    document.getElementById(items).style.height = newHeight + px;
}

function delete_item(id){

var c = confirm(Weet je het zeker?);

if(c == true){
 $(#item + id).fadeOut(1000);
$.get(editor_delete.php?id= + id, function(data){
  
 });

}
 
}

function zz_index(id, index){

    if(index == down){
    $(#ajxrld).load(editor_zindex.php?id= + id + &index=down).fadeIn("slow");
        $(#item+id).style.zIndex = parseInt($(#item+id).style.zIndex) - 1;
    }else if(index == up){
    $(#ajxrld).load(editor_zindex.php?id= + id + &index=up).fadeIn("slow");
        $(#item+id).style.zIndex = parseInt($(#item+id).style.zIndex) + 1;
    }
}

function z_index(idd, index){

    if(index == down){
$.post(../editor_zindex.php?id= + idd + &index=down,function(data){
if (data == 1){

var myInteger;
myInteger = parseInt(document.getElementById(item+idd).style.zIndex) - 1;

        $(#item+idd).css(z-index, myInteger);
}else{
alert("Er heeft zich een error voorgedaan:

"+data);
}
   });

    }else if(index == up){
$.post(../editor_zindex.php?id= + idd + &index=up,function(data){
if (data == 1){
var myIinteger;
myIinteger = parseInt(document.getElementById(item+idd).style.zIndex) + 1;

        $(#item+idd).css(z-index, myIinteger);
}else{
alert("Er heeft zich een error voorgedaan:

"+data);
}
   });

    }
   
}

function setup() {
              //<![CDATA[

                // This call can be placed at any point after the
                // <textarea>, or inside a <head><script> in a
                // window.onload event handler.

                // Replace the <textarea id="editor"> with an CKEditor
                // instance, using default configurations.
                CKEDITOR.replaceAll();

            //]]>

}

function leavingpage(redirect_url){

var c = confirm(Weet je zeker dat je deze pagina wilt verlaten?
Je wijzigingen zullen niet opgeslagen zijn!);

if(c == true){

location.href = redirect_url;

}

}

function add_item(id, content, width, height, border_color, border_width, border_style, background){

var style = width:  + width + px; height:  + height + px; border:  + border_width + px  + border_style +   + border_color + ; background:  + background + ;;

document.getElementById(items).innerHTML = document.getElementById(items).innerHTML + <div id="item + id + " style="z-index: 0; position: absolute; top: 100px; left: 100px;"><img src="img/move.gif" style="cursor: move; z-index: 9999;" onmousedown="dragstart(document.getElementById(item + id + ), event,  + id + );" /> <a href="#" onclick="lightbox(editor_edittxt.php?id= + id + );"><img src="img/edit.gif" /></a> <a onclick="delete_item(+id+);" href="#"><img src="img/delete.gif" /></a> <a href="#" onclick="z_index( + id + , up);"><img src="img/shape_square_add.png"></a> <a href="#" onclick="z_index( + id + , down);"><img src="img/shape_square_delete.png"></a><br /><div id="item_content" style=" + style + "> + content + </div><input type="hidden" name="left[ + id + ]" id="left[+id+]" value="100" /><input type="hidden" name="top[ + id + ]" id="top[+id+]" value="100" /></div>;

}

function edit_item(id, newcontent){

document.getElementById(item_content + id).innerHTML = newcontent;

}
Spoiler tonen
editor.php
[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>Manxi</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery-ui.js"></script>
<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" language="javascript" src="js/colorPicker.js"></script>
<script type="text/javascript" src="http://manxi.nl/ckeditor/ckeditor.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="css/lightbox.css" />
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico" />
<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" /> Manxi</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] ?>.Manxi.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] ?>);">
<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 href="#" 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] ?>)"><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>

<div id="bottomPage">
<a href="#bottomPage" onclick="pageSize(bigger)"><img src="img/contentbigger.png" /> Pagina groter</a> &nbsp; <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]

?>
Plz help
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik denk dat in whear systeem standaard zit. Upload editor.js en php ff opnieuw?
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik wil dat het opgelost is jij hebt het ook opgelost
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik weet niet hoe ik dat heb gedaan. Ik heb denk ik niet aangepast. Upload de normale gewoon en kijk of die dan werkt.
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nee, dat heb ik al gedaan maar werkt niet...
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
De lightbox ook? Maak mapje aan genaamd whear en zet whear systeem er in. Ik denk toch dat dat gaat werken.
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
waar precies?
0
Berichten
3.074
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jespar schreef:
waar precies?
In de FTP. Als je de lightbox bedoelt: Hij staat in de map "css".
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
neee
Vriendje schreef:
De lightbox ook? Maak mapje aan genaamd whear en zet whear systeem er in. Ik denk toch dat dat gaat werken.
0
Berichten
3.074
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jespar schreef:
neee
Vriendje schreef:
De lightbox ook? Maak mapje aan genaamd whear en zet whear systeem er in. Ik denk toch dat dat gaat werken.
Waarom niet? t Zou kunnen werken. smile
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Al geprobeert alle css en js bestande terug gezet maar werkt niet
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jespar schreef:
neee
Vriendje schreef:
De lightbox ook? Maak mapje aan genaamd whear en zet whear systeem er in. Ik denk toch dat dat gaat werken.
Gewoon in hoofdmap, om te kijken of het daar ook niet doet.
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nop, doet het ook niet

toevoeging op 30 januari 2012, 181338:
Bumpyalfhaalchinees pompom
toevoeging op 30 januari 2012, 181413:
Bumpyafhaalchinees pompom
0
Jesper

Lid · Topicstarter

Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Bumpyafhaalchinees pompom
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