function paw_ffl_create_form($vertical = '', $horizontal = '')
{
    $frontendlogin = new FrontendLogin();
    $options = get_option('flexible_frontend_login');
    if (empty($vertical)) {
        $vertical_position = $options['vertical_position'];
    } else {
        $vertical_position = $vertical;
    }
    if (empty($horizontal)) {
        $horizontal_position = $options['horizontal_position'];
    } else {
        $horizontal_position = $horizontal;
    }
    $frontendlogin->vertical_position = $vertical_position;
    $frontendlogin->horizontal_position = $horizontal_position;
    $frontendlogin->popup_link_text = $options['popup_link_text'];
    $frontendlogin->html_block = $options['html_block'];
    $output = $frontendlogin->ffl_wrap_form_before();
    $output .= $frontendlogin->ffl_create_html_form();
    $output .= $frontendlogin->ffl_wrap_form_after();
    return $output;
}
$html .= __('Test your settings before using shortcode, template tags or widgets.', 'flexible-frontend-login');
$html .= "<br>";
$html .= __('You need to save your settings first!', 'flexible-frontend-login');
$html .= "<br>";
$html .= __('It might still look slightly different on your website depending on your theme.', 'flexible-frontend-login');
$html .= "</small>";
$html .= "<table style='width:100%' cellpadding='10'><tr><td style='width:33%; padding:1em; vertical-align:top;'>";
$html .= __('Lightbox effect preview...', 'flexible-frontend-login');
$html .= "<div style='background:#EAF1F6; border:1px solid #333; padding:1em;'>";
$html .= $frontendlogin->ffl_wrap_form_modal_before();
$html .= $frontendlogin->ffl_create_html_form();
$html .= $frontendlogin->ffl_wrap_form_modal_after();
$html .= "</div></td><td style='width:33%; padding:1em; vertical-align:top;'>";
$html .= __('Simple popup preview...', 'flexible-frontend-login');
$html .= "<div style='background:#EAF1F6; border:1px solid #333; padding:1em;'>";
$html .= $frontendlogin->ffl_wrap_form_before();
$html .= $frontendlogin->ffl_create_html_form();
$html .= $frontendlogin->ffl_wrap_form_after();
$html .= "</div></td><td style='width:33%; padding:1em; vertical-align:top;'>";
$html .= __('Preview for logged in users...', 'flexible-frontend-login');
$html .= "<div style='background:#EAF1F6; border:1px solid #333; padding:1em;'>";
$html .= $links;
$html .= "</div></td></tr></table>";
$options_panel->addParagraph($html);
$options_panel->CloseTab();
// Help
$options_panel->OpenTab('options_3');
//title
$options_panel->Title(__('Help', 'flexible-frontend-login'));
$helphtml = "<div>";
$helphtml .= "<h3>" . __('Templating and styling', 'flexible-frontend-login') . "</h3>";