Example #1
0
 function widget_statpress($args)
 {
     extract($args);
     $options = get_option('widget_statpress');
     $title = $options['title'];
     $body = $options['body'];
     echo $before_widget;
     print $before_title . $title . $after_title;
     print iri_StatPress_Vars($body);
     echo $after_widget;
 }
Example #2
0
function heart5_dashboard_4_spc()
{
    $options = get_option('widget_statpress');
    $title = $options['title'];
    $body = $options['body'];
    $body = preg_replace("@%thistotalvisits%@", "<font color=gray>" . __("as many as you can", "statpresscn") . "(^_^)</font>", $body);
    print "<h3>" . $title . "</h3>";
    echo iri_StatPress_Vars($body);
    if (get_option('statpress_showspyonwidget') != "") {
        echo iriStatPressSpy(8);
    }
}