HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/komma-mediadesign.nl/wwwroot/oude root folder/hcevents/admin/index.php
 <? 	
		require("../../config/config.inc.php");
		include "../includes/header.php";
		include "fckeditor/fckeditor.php";
		
		if(isset($_GET['id']))
		{
			$id = $_GET['id'];
		}
		else
		{
			if(!isset($_GET['djtitle']))
			{
				$id = 4;
			}
		}
		if(isset($_GET['djtitle']))
		{
			$djtitle = $_GET['djtitle'];
		}
		
?>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<title>Yume:cms </title>

</head>
<body>
<div id="wrapper">
	<div id="header"></div>
   <div id="headermenu">
		<div id="titel">HC Events</div>
        <div id="logout">Logout</div>
   </div>
   <div id="fauxwrapper">
        <div id="menu"><?php include "menu.php";?></div>
        
        <div id="content">
       <?
	   if($id==4)
	   {
	   	echo "<h2>Welkom</h2>";
	   }
	    if($id==5)
	   {
	   	echo "<h2>Concept</h2>";
	   }
	    if($id==6)
	   {
	   	echo "<h2>Business events</h2>";
	   }
	      if($id==7)
	   {
	   	echo "<h2>Penning inside</h2>";
	   }
	    if($id==8)
	   {
	   	echo "<h2>Neutraal</h2>";
	   }
	    if($id==9)
	   {
	   	echo "<h2>Rabobank</h2>";
	   }
	   if($id==10)
	   {
	   	echo "<h2>Visie</h2>";
	   }
	 	  if($id==11)
	   {
	   	echo "<h2>Muziek</h2>";
	   }
		
		if($_GET['update'] == "update")
		{	
			$data = $_POST;
			$page = $pages->update_page($id,$data);
			$message['text'] = "De pagina is gewijzigd";
		}?>
	 <form name="update" method="post" action="?id=<? echo $id;?>&update=update"">
		<?
   		$content = $pages->get_page($id); 
						
        $oFCKeditor = new FCKeditor('content') ;
        $oFCKeditor->BasePath = 'fckeditor/' ;
        $oFCKeditor->Height = '375';
        $oFCKeditor->Width = '425';
        $oFCKeditor->ToolbarSet = 'Basic';
        $oFCKeditor->Value = $content['content'];
        $oFCKeditor->Create();
         ?>
			<input type="submit" value="Updaten" name"update">  
		</form>       
        </div>
        <div id="help"></div>
	</div>
 </div>
 </body>
</html>