?>
:</label>
    <input class="search-input" id="post-search-input" type="text" value="<?php 
echo $search;
?>
" name="s"/>
    <input class="button" type="submit" value="<?php 
_e("Search Posts", "gd-star-rating");
?>
" name="gdsr_search" />
</p>
<div class="tablenav">
    <div class="alignleft">
<?php 
GDSRDatabase::get_combo_months($filter_date);
GDSRDatabase::get_combo_categories($filter_cats);
?>
        <input class="button-secondary delete" type="submit" name="gdsr_filter" value="<?php 
_e("Filter", "gd-star-rating");
?>
" />
    </div>
    <div class="tablenav-pages">
        <?php 
echo $pager;
?>
    </div>
</div>
<br class="clear"/>
<?php 
$sql = GDSRDBMulti::get_stats($set_id, $select, ($page_id - 1) * $posts_per_page, $posts_per_page, $filter_date, $filter_cats, $search);
  </tr>
  <tr>
    <td width="100"></td>
    <td nowrap="nowrap" colspan="2">
        <div class="gdsr-table-split-filter"></div>
    </td>
  </tr>
  <tr>
    <td width="100"></td>
    <td width="150" nowrap="nowrap"><?php 
_e("Article Category", "gd-star-rating");
?>
:</td>
    <td align="right">
        <label><?php 
GDSRDatabase::get_combo_categories($instance['category'], $this->get_field_name('category'));
?>
</label>
    </td>
  </tr>
  <tr>
    <td width="100"></td>
    <td nowrap="nowrap" colspan="2" height="25">
        <label for="gdstarr-categorytoponly" style="text-align:right;"><input class="checkbox" type="checkbox" <?php 
echo $instance['category_toponly'] ? 'checked="checked"' : '';
?>
 id="<?php 
echo $this->get_field_id('category_toponly');
?>
" name="<?php 
echo $this->get_field_id('category_toponly');
Exemple #3
0
_e("Visitors Only", "gd-star-rating");
?>
</option>
            <option value="users"><?php 
_e("Users Only", "gd-star-rating");
?>
</option>
        </select></label></td>
      </tr>
      <tr>
        <td class="gdsrleft"><?php 
_e("Category", "gd-star-rating");
?>
:</td>
        <td class="gdsrright"><?php 
GDSRDatabase::get_combo_categories('', 'srCategory');
?>
</td>
      </tr>
      <tr>
        <td class="gdsrleft"><?php 
_e("Minimum Votes", "gd-star-rating");
?>
:</td>
        <td class="gdsrright"><input style="text-align: right;" type="text" size="8" id="srMinVotes" name="srMinVotes" value="5" /></td>
      </tr>
    </table>
</fieldset>

<fieldset>
<legend><?php 
  </tr>
  <tr>
    <td width="100"></td>
    <td nowrap="nowrap" colspan="2">
        <div class="gdsr-table-split-filter"></div>
    </td>
  </tr>
  <tr>
    <td width="100"></td>
    <td width="150" nowrap="nowrap"><?php 
_e("Article Category", "gd-star-rating");
?>
:</td>
    <td align="right">
        <label><?php 
GDSRDatabase::get_combo_categories($wpno['category'], $wpfn . '[category]');
?>
</label>
    </td>
  </tr>
  <tr>
    <td width="100"></td>
    <td nowrap="nowrap" colspan="2" height="25">
        <label for="gdstarr-categorytoponly" style="text-align:right;"><input class="checkbox" type="checkbox" <?php 
echo $wpno['category_toponly'] ? 'checked="checked"' : '';
?>
 id="gdstarr-categorytoponly" name="<?php 
echo $wpfn;
?>
[category_toponly]" /> <?php 
_e("Only selected category, no subcategories.", "gd-star-rating");