query_execDB(" INSERT INTO ot_links SET id = 'NULL', link_author = '" . USER_ID . "', link_name = '" . addslashes($_POST['link_name']) . "', link_url = '" . addslashes($_POST['link_url']) . "', link_status = '" . $_POST['link_active'] . "' "); // Which ID did the link got? $_POST['link_id'] = mysql_insert_id(); header("Location: link-edit.php?link=" . $_POST['link_id'] . "&update=true"); } else { header("Location: err-403.php"); // Error } } // Create dropdown-menu 'yes-no' $Active = array(array('link' => 'Ja'), array('link' => 'Nee')); $PageTitle = " » Links » Toevoegen"; // Set page title include("admin-header.php"); // Load header ?>
Link naam: | Gelieve een gepaste, unieke naam te kiezen voor de link. |
---|---|
Link URL: | De website-URL naar de link. Het voorvoegsel 'http://' is niet verplicht. |
Activeren: | |