Beispiel #1
0
function wassupDashChart() {
	global $wpdb, $wassup_options;
	if ($wassup_options->wassup_dashboard_chart == 1) {
	$table_name = $wpdb->prefix . "wassup";
	$to_date = wassup_get_time();
	$Chart = New MainItems;
	$Chart->tableName = $table_name;
	$Chart->to_date = $to_date;

	echo '<h3>WassUp Stats <cite><a href="admin.php?page=wassup">More &raquo;</a></cite></h3>';
        echo $Chart->TheChart(1, "400", "125", "", $wassup_options->wassup_chart_type, "bg,s,00000000", "dashboard", "left");
	}
} //end function wassupDashChart