Ejemplo n.º 1
0
 function widget_donateplusform($args)
 {
     extract($args);
     // Each widget can store its own options. We keep strings here.
     $options = get_option('widget_donateplusform');
     $title = $options['title'];
     // These lines generate our output. Widgets can be very complex
     // but as you can see here, they can also be very, very simple.
     echo $before_widget . $before_title . $title . $after_title;
     DonatePlusForm();
     echo $after_widget;
 }
    <p class="total_amount">Donated so far<span class="total"><?php 
    DonatePlusTotal();
    ?>
</span></p>

    <?php 
}
?>

    <?php 
if (function_exists('DonatePlusForm')) {
    ?>

    <?php 
    DonatePlusForm();
    ?>

    <?php 
}
?>
	          

  </div>      
  <div class="featured-main-wide">
    <div class="donation_info">

      <p>We don't get donations from big private companies and unions like other parties do. Instead, we rely on small donations from lots of individuals. Can you help, please?</p>
      <p>What your donation could fund :</p>

      <p><strong>&pound;20</strong> would pay for 750 window posters for the next local elections.</p>