else {
        	$ds->initTempIdentity($email,$identity,null);
        	
        }
        */
        $ds->initTempIdentity($email, $identity, null);
        setcookie('identity', $identity, time() + 30 * 24 * 3600, '/');
        header('Location:' . $url);
        exit;
    }
}
if (!$forum) {
    $forum = 'pointofviewworld';
}
if ($publisher || $approver) {
    $approval_count = $ds->getApprovalCount($identity);
}
if ($user_lang && !$lang_was_set) {
    $lang = $user_lang;
}
$page_html = '<html lang="' . $lang . '">';
$show_on_start = 0;
if ($threadid_was_set) {
    $show_on_start = 1;
}
$forum_details = $ds->getForumDetails($forum);
$rec = $ds->getCommunityForums($forum, $identity);
//forum==comunity
$community_forums = $rec['community_forums'];
$f_str = '[';
$c = 0;