// Show registation form
function app_show_registration() {
//Set a cookie now to see if they are supported by the browser.
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
if ( SITECOOKIEPATH != COOKIEPATH )
setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
global $posted;
if ( isset($_POST['register']) && $_POST['register'] ) {
// redirect to ad creation page once they are registered
$result = app_process_register_form(CP_ADD_NEW_URL);
$errors = $result['errors'];
$posted = $result['posted'];
There are currently 1 users browsing this thread. (0 members and 1 guests)