Пример #1
0
function close_doc()
{
    signoff();
    print "</body>\n</html>\n";
    exit;
}
/**
 * function to use footer content in templates
 */
function the_footer_content()
{
    global $nl, $option_label;
    $footer_content = get_option($option_label['footer_content']);
    $footer_content = stripslashes($footer_content);
    $footer_content .= signoff();
    $footer_content = str_replace("[year]", date('Y'), $footer_content);
    echo $footer_content;
    return;
}