De pagina werd succesvol opgeslaan.
Pagina bewerken
Hoofdpagina:
- Geen hoofdpagina
query_fetchDB("
SELECT id, post_title
FROM ot_posts
WHERE post_parent = '" . $TopPage['id'] . "' &&
post_type = 'page'
ORDER BY post_title ASC
"); // Get subpage
if($SubPages)
{
for($i = 0; $i < count($SubPages); $i++)
{
echo "";
echo "- ";
if($SubPages[$i]['id'] == $Page['0']['post_parent'])
{
get_form_radio("post_parent", $SubPages[$i]['id'], "checked");
}
else
{
get_form_radio("post_parent", $SubPages[$i]['id'], "unchecked");
}
echo " " .stripslashes($SubPages[$i]['post_title']) . "
";
get_subpage($SubPages[$i]);
echo "
";
}
return TRUE;
}
else
{
return FALSE;
}
}
// Fetch pages which have no parent !
$Pages = $DB->query_fetchDB("
SELECT id, post_title
FROM ot_posts
WHERE post_parent = 0 &&
post_type = 'page'
ORDER BY post_title ASC
"); // Fetch pages from DB
if($Pages) // Are there pages?
{
for($i = 0; $i < count($Pages); $i++)
{
echo "- ";
if($Page['0']['post_parent'] == $Pages[$i]['id'])
{
get_form_radio("post_parent", $Pages[$i]['id'], "checked");
echo " " . $Pages[$i]['post_title'] . "
";
}
else
{
get_form_radio("post_parent", $Pages[$i]['id'], "unchecked");
echo " " . $Pages[$i]['post_title'] . "";
}
get_subpage($Pages[$i]);
}
}
?>
Pagina status:
";
}
else
{
if($Page['0']['post_status'] == "goedkeuring")
{
get_form_radio("post_status", "goedkeuring", "checked");
}
else
{
get_form_radio("post_status", "goedkeuring", "unchecked");
}
echo " Goedkeuring
";
}
if($Page['0']['post_status'] == "klad")
{
get_form_radio("post_status", "klad", "checked");
}
else
{
get_form_radio("post_status", "klad", "unchecked");
}
echo " Klad
";
if($Page['0']['post_status'] == "privé")
{
get_form_radio("post_status", "privé", "checked");
}
else
{
get_form_radio("post_status", "privé", "unchecked");
}
echo " Privé
";
if($Page['0']['post_status'] == "toekomst")
{
get_form_radio("post_status", "toekomst", "checked");
}
else
{
get_form_radio("post_status", "toekomst", "unchecked");
}
echo " Toekomst";
?>
Reactiemogelijkheden:
";
if($Page['0']['post_comment_status'] == "gesloten")
{
get_form_radio("post_comment_status", "gesloten", "checked");
}
else
{
get_form_radio("post_comment_status", "gesloten", "unchecked");
}
echo " Gesloten
";
if($Page['0']['post_comment_status'] == "leden")
{
get_form_radio("post_comment_status", "leden", "checked");
}
else
{
get_form_radio("post_comment_status", "leden", "unchecked");
}
echo " Geregistreerde leden";
}
elseif(CONF_COMMENT == 0)
{
get_form_radio("post_comment_status", "open", "unchecked");
echo " Open
";
get_form_radio("post_comment_status", "gesloten", "checked");
echo " Gesloten
";
get_form_radio("post_comment_status", "leden", "unchecked");
echo " Geregistreerde leden";
}
?>
Titel:
Inhoud:
Bestand toevoegen
Met onderstaande knop "Bestanden toevoegen" kan u bestanden toevoegen aan uw weblog. De duur van het uploaden is afhankelijk van de grootte van het bestand (max. 2MB) en uw verbindingssnelheid.
Na het uploadproces zal u automatisch de URL naar het bestand krijgen.