Ik hoop dat het dit is wat je nodig hebt. Dit is de code van één pagina waarin de Editor gebruikt wordt.
Kan je me anders iets specifieker meedelen waar ik de juiste info eventueel kan vinden, aub.
<?php require_once(‘Connections/db.php’); ?>
<?php
if (!function_exists(“GetSQLValueString”)) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = “”, $theNotDefinedValue = “”)
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists(“mysql_real_escape_string”) ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case “text”:
$theValue = ($theValue != “”) ? “’” . $theValue . “’” : “NULL”;
break;
case “long”:
case “int”:
$theValue = ($theValue != “”) ? intval($theValue) : “NULL”;
break;
case “double”:
$theValue = ($theValue != “”) ? “’” . doubleval($theValue) . “’” : “NULL”;
break;
case “date”:
$theValue = ($theValue != “”) ? “’” . $theValue . “’” : “NULL”;
break;
case “defined”:
$theValue = ($theValue != “”) ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
mysql_select_db($database_db, $db);
$query_page_rs = “SELECT * FROM pages_pg WHERE pages_id = 3”;
$page_rs = mysql_query($query_page_rs, $db) or die(mysql_error());
$row_page_rs = mysql_fetch_assoc($page_rs);
$totalRows_page_rs = mysql_num_rows($page_rs);
?><!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=ISO-8859-1” />
<title>Evy Bogaerts</title>
<link href=”evybogaerts.css” rel=”stylesheet” type=”text/css” />
</head>
<body>
<div align=”center”><div id=”middle”>
<table width=”100%” border=”0” cellpadding=”0” cellspacing=”0”>
<tr>
<td height=”139”><img src=”images/logos/logo_EB_g.jpg” alt=”Evy Bogaerts” width=”977” height=”142” /></td>
</tr>
<tr>
<td class=”background_behandelingen”><table width=”100%” border=”0” cellspacing=”0” cellpadding=”0”>
<tr>
<td width=”99” rowspan=”2”> </td>
<td rowspan=”2” align=”left” valign=”top”><table width=”100%” border=”0” cellspacing=”0” cellpadding=”0”>
<tr>
<td height=”55”> </td>
</tr>
<tr>
<td height=”325” align=”left” valign=”top”><?php echo $row_page_rs[‘pages_content’]; ?></td>
</tr>
<tr>
<td height=”99”><map name=”Map” id=”Map”>
<area shape=”poly” coords=”69,117,105,117,105,104,63,104,64,100,75,101,69,92,75,85,65,85,60,75,56,85,46,85,52,93,46,101,56,100,61,110,62,104,68,105” href=”index.php” />
<area shape=”poly” coords=”242,1,244,8,251,2,248,11,257,9,333,22,331,36,258,36,252,32,249,28,243,34,239,25,233,26,237,19,234,11,239,11” href=”bibliotheek.php” />
</map></td>
</tr>
</table></td>
<td height=”103” colspan=”2” valign=”top”><table width=”100%” border=”0” cellspacing=”0” cellpadding=”0”>
<tr>
<td width=”68” height=”14”> </td>
<td width=”428” height=”14”> </td>
<td> </td>
</tr>
<tr>
<td width=”68”> </td>
<td width=”428”><table width=”100%” border=”0” cellspacing=”0” cellpadding=”0”>
<tr>
<td width=”49” height=”25” align=”center” valign=”bottom” class=”timeline_pink”><a href=”visie.php” class=”links_tab”>visie</a></td>
<td width=”102” height=”25” align=”center” valign=”bottom” class=”timeline_pink”><a href=”behandelingen.php” class=”links_tab”>behandelingen</a></td>
<td width=”82” height=”25” align=”center” valign=”bottom” class=”timeline_blue”>workshops</td>
<td width=”66” height=”25” align=”center” valign=”bottom” class=”timeline_pink”><a href=”blog.php” class=”links_tab”>dagboek</a></td>
<td width=”67” height=”25” align=”center” valign=”bottom” class=”timeline_pink”><a href=”lezingen.php” class=”links_tab”>lezingen</a></td>
<td width=”62” height=”25” align=”center” valign=”bottom” class=”timeline_pink”><a href=”contact.php” class=”links_tab”>contact</a></td>
</tr>
</table></td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td width=”90”> </td>
<td width=”448” align=”left” valign=”top”><img src=”images/workshop/workshop_links_03_g.jpg” width=”448” height=”345” border=”0” usemap=”#Map”/></td>
</tr>
</table></td>
</tr>
<tr>
<td height=”31”> </td>
</tr>
</table>
</div></div></body>
</html>
<?php
mysql_free_result($page_rs);
?>