Example #1
0
 function widget_dm_top10($args)
 {
     $settings = get_option('widget_dm_top10');
     extract($args);
     $title = $settings['title'];
     echo $before_widget . $before_title . $title . $after_title;
     dm_get_most_downloaded('<li>', '</li>', $settings['limit'], $settings['avarage'], $settings['category']);
     echo $after_widget;
 }
Example #2
0
_e('10 Most Downloaded', 'downloads-manager');
?>
</th>
      </tr>
    </thead>
      <tr>
        <td><b><?php 
_e('Tot Downloads', 'downloads-manager');
?>
:</b> <?php 
echo $dm_stats->totdl;
?>
</td>
        <td rowspan="7">
          <?php 
dm_get_most_downloaded('<li>', '</li>', 10, true, true);
?>
        </td>
      </tr>
      <tr>
        <td><b><?php 
_e('Tot Clicks', 'downloads-manager');
?>
:</b> <?php 
echo $dm_stats->totclicks;
?>
</td>
      </tr>
      <tr>
        <td><b><?php 
_e('Tot Categories', 'downloads-manager');