本文整理匯總了PHP中GDSRHelper::render_dash_widget_vote方法的典型用法代碼示例。如果您正苦於以下問題:PHP GDSRHelper::render_dash_widget_vote方法的具體用法?PHP GDSRHelper::render_dash_widget_vote怎麽用?PHP GDSRHelper::render_dash_widget_vote使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類GDSRHelper
的用法示例。
在下文中一共展示了GDSRHelper::render_dash_widget_vote方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: _e
<div class="postbox gdrgrid frontright myboxes">
<h3 class="hndle"><span><?php
_e("Votes for my comments", "gd-star-rating");
?>
</span></h3>
<div class="inside">
<?php
global $user_ID;
$data = gdsrAdmDB::filter_votes_by_type($user_ID, "'cmmthumb', 'comment'", false);
GDSRHelper::render_dash_widget_vote($data, "my-panel", "-my-comments");
?>
</div>
</div>
示例2:
<?php
$data = gdsrDB::filter_latest_votes($o);
GDSRHelper::render_dash_widget_vote($data);
?>
<div id="gdsr-latest-cmds">
<a class="button" href="admin.php?page=gd-star-rating-stats"><?php
_e("Articles Log", "gd-star-rating");
?>
</a>
<a class="button" href="admin.php?page=gd-star-rating-users"><?php
_e("Users Log", "gd-star-rating");
?>
</a>
</div>
示例3: _e
<div class="postbox gdrgrid frontright myboxes">
<h3 class="hndle"><span><?php
_e("My Latest 100 Votes", "gd-star-rating");
?>
</span></h3>
<div class="inside">
<?php
global $user_ID;
$data = gdsrDB::filter_latest_votes($sett, $user_ID);
GDSRHelper::render_dash_widget_vote($data, "my-panel", "-my-latest");
?>
</div>
</div>