function smartSeo_post_markers_custom_box()
{
    //get post meta value
    global $post, $smartSeo;
    $prefix = $smartSeo->prefix;
    // use nonce for verification
    echo '<input type="hidden" name="smartSeo_post_markers_noncename" id="smartSeo_post_markers_noncename" value="' . wp_create_nonce('nyc-smartSeo') . '" />';
    foreach (post_option_fields() as $key => $value) {
        if ($value['type'] == 'upload') {
            echo '<div style="width: 100%;float: left; margin: 15px 0px 0px 10px;">';
            echo '<div style="float: left;width: 150px;font-weight: bold;">' . $value['name'] . '</div>';
            echo '<div style="float: left;width: 450px;font-weight: bold;">' . smartSeo_upload($value) . '</div>';
            echo '<div style="float: left"><i>' . $value['desc'] . '</i></div>';
            echo '</div>';
        }
        if ($value['type'] == 'text') {
            $value['std'] = get_post_meta($post->ID, $value['id'], true);
            echo '<div style="width: 100%;float: left;margin: 15px 0px 0px 10px; ">';
            echo '<div style="float: left;width: 150px;font-weight: bold;">' . $value['name'] . '</div>';
            echo '<div style="float: left;width: 450px;font-weight: bold;">' . smartSeo_text($value) . '</div>';
            echo '<div style="float: left"><i>' . $value['desc'] . '</i></div>';
            echo '</div>';
        }
        if ($value['type'] == 'textarea') {
            $value['std'] = get_post_meta($post->ID, $value['id'], true);
            echo '<div style="width: 100%;float: left;margin: 15px 0px 0px 10px; ">';
            echo '<div style="float: left;width: 150px;font-weight: bold;">' . $value['name'] . '</div>';
            echo '<div style="float: left;width: 450px;font-weight: bold;">' . smartSeo_textarea($value) . '</div>';
            echo '<div style="float: left"><i>' . $value['desc'] . '</i></div>';
            echo '</div>';
        }
    }
    echo '<div style="clear:both"></div>';
    //echo ;
}
function smartSeo_options_page_content($get_option = null, $only_form = false)
{
    global $admin_options, $smartSeo;
    $prefix = $smartSeo->prefix;
    $counter = 0;
    $draw_tabs_li = '';
    $heading_open = false;
    $tab_open = false;
    if (empty($get_option)) {
        $options = $admin_options;
    } else {
        $options = $get_option;
    }
    foreach ($options as $value) {
        if ($only_form === false && $value['type'] != "heading" && $value['type'] != "boxes" && $value['type'] != "tableList" && $value['type'] != "tab" && $value['type'] != "metabox") {
            $output .= '<div class="option option-' . $value['type'] . '">' . "\n" . '<div class="option-inner">' . "\n";
            $output .= '<label class="titledesc">' . $value['name'] . '</label>' . "\n";
            $output .= '<div class="formcontainer">' . "\n" . '<div class="forminp">' . "\n";
        }
        if (is_array($value['type'])) {
            $output .= smartSeo_array_type($value);
        }
        switch ($value['type']) {
            case "heading":
                if ($heading_open) {
                    $output .= '</div>' . "\n";
                    $heading_open = false;
                }
                $output .= '<div class="title postbox">';
                $output .= '<p class="submit"><input name="save" type="submit" value="Save All Changes" /></p>';
                $output .= '<h3>' . $value['name'] . '</h3>' . "\n";
                $output .= '</div>' . "\n";
                $output .= '<div class="option_content">' . "\n";
                $heading_open = true;
                break;
            case "tab":
                if ($tab_open) {
                    $output .= "</div></div>\n";
                    $tab_open = false;
                }
                $draw_tabs_li .= '<li><a href="#tab_' . $value['id'] . '">' . $value['name'] . '</a></li>' . "\n";
                $output .= '<div id="tab_' . $value['id'] . '">' . "\n";
                $tab_open = true;
                $heading_open = false;
                break;
            case "tableList":
                $output .= smartSeo_listdatabase($value);
                break;
            case 'text':
                $output .= smartSeo_text($value);
                break;
            case 'textarea':
                $output .= smartSeo_textarea($value);
                break;
            case 'select':
                $output .= smartSeo_select($value);
                break;
            case 'radio':
                $output .= smartSeo_radio($value);
                break;
            case 'checkbox':
                $output .= smartSeo_checkbox($value);
                break;
            case 'multicheck':
                $output .= smartSeo_multicheck($value);
                break;
            case 'dropdown_categories':
                $output .= smartSeo_dropdown_categories($value);
                break;
            case 'dropdown_pages':
                $output .= smartSeo_dropdown_pages($value);
                break;
            case 'upload':
                $output .= smartSeo_upload($value);
                break;
            case 'multi':
                $output .= smartSeo_multi($value);
                break;
            case 'slider':
                $output .= smartSeo_slider($value);
                break;
            case 'boxes':
                $output .= smartSeo_boxes($value);
                break;
        }
        //END switch ( $value['type'] )
        //-------------------------------------------//
        if ($only_form === false && $value['type'] != "heading" && $value['type'] != "boxes" && $value['type'] != "tableList" && $value['type'] != "tab" && $value['type'] != "metabox") {
            if ($value['type'] != "checkbox") {
                $output .= '<br/>';
            }
            $output .= '</div><div class="desc">' . $value['desc'] . '</div></div>' . "\n";
            $output .= '</div></div><div class="clear"></div>' . "\n";
        }
        // END if
    }
    //END foreach ($options as $value)
    if (empty($get_option)) {
        $output .= '</div></div>';
    }
    //generate header for tabs
    $draw_tabs = "<ul>\n";
    $draw_tabs .= $draw_tabs_li;
    $draw_tabs .= "</ul>\n";
    $output_content = '<div id="tabs">' . "\n";
    $output_content .= $draw_tabs . $output;
    $output_content .= '</div>' . "\n";
    if (empty($get_option)) {
        return $output_content;
    } else {
        return $output;
    }
}