.
Qui non si fanno distinzioni razziali, qui si rispetta gentaglia come negri, ebrei, italiani o messicani, qui vige l'eguaglianza, non conta un cazzo nessuno!";
//end WildBuzz img random
// It's important to use the $before_widget, $before_title,
// $after_title and $after_widget variables in your output.
echo $before_widget;
echo $before_title . $title . $after_title;
//echo $img[$num2];
echo $text;
echo $after_widget;
}
// This is the function that outputs the form to let users edit
// the widget's title and so on. It's an optional feature, but
// we'll use it because we can!
function widget_mywidgetphoto_control() {
// Collect our widget's options.
$options = get_option('widget_mywidgetphoto');
// This is for handing the control form submission.
if ( $_POST['mywidgetphoto-submit'] ) {
// Clean up control form submission options
$newoptions['title'] = strip_tags(stripslashes($_POST['mywidgetphoto-title']));
$newoptions['text'] = strip_tags(stripslashes($_POST['mywidgetphoto-text']));
}
// If original widget options do not match control form
// submission options, update them.
if ( $options != $newoptions ) {
$options = $newoptions;
update_option('widget_mywidgetphoto', $options);
}
// Format options as valid HTML. Hey, why not.
$title = htmlspecialchars($options['title'], ENT_QUOTES);
$text = htmlspecialchars($options['text'], ENT_QUOTES);
// The HTML below is the control form for editing options.
?>