本文整理汇总了PHP中myclass::print_look_comment_sorting_option方法的典型用法代码示例。如果您正苦于以下问题:PHP myclass::print_look_comment_sorting_option方法的具体用法?PHP myclass::print_look_comment_sorting_option怎么用?PHP myclass::print_look_comment_sorting_option使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类myclass
的用法示例。
在下文中一共展示了myclass::print_look_comment_sorting_option方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<table id='look_comment_t1' border="0" cellpadding="0" cellspacing="0">
<tr>
<td id='header_comment_c_td'>
<table id='comment_love_drip_t' border="0" cellspacing="0" cellpadding="0" >
<tr>
<td id='comment_tabs' >
<span title='comments' >( <?php
echo $tlc;
?>
) COMMENTS</span>
<hr id='comment_tabs_hr1' >
</td>
<td>
<div style="margin-left:20px;margin-top:-17px;" >
<?php
$mc->print_look_comment_sorting_option('postedlooks', $plno);
?>
</div>
</td>
</table>
</td>
<tr>
<td id='comment_header_line'>
<div>
</div>
</td>
<tr>
<td id='comment_content'>
<table border="0" cellpadding="0" cellspacing="0" style="width:100%;">
<tr>
示例2:
</table>
</div>
</td>
<td style="width: 27%">
<!-- <select class="sorting border-grey" onchange="sort_look_comment('<?php
echo $modal['table_id'];
?>
')" id="sort_look_comment" >
<option value="order by plcno desc"> NEWEST COMMENT </option>
<option value="order by plcno asc"> OLDEST COMMENT </option>
<option value="order by plctlikes desc"> MOST HELPFUL COMMENT</option>
<option value="order by plctdislike desc"> MOST NOT HELPFUL COMMENT</option>
</select> -->
<?php
$mc->print_look_comment_sorting_option($modal['table_name'], $modal['table_id']);
?>
</td>
<td class="hide">
<div class="details-edit "><img id="comment-message" src="fs_folders/images/details/comment-icon.png" onmousemove=" mousein_change_button ( '#comment-message' , 'fs_folders/images/details/comment-icon-mouse.png' )" onmouseout="mouseout_change_button ( '#comment-message' , 'fs_folders/images/details/comment-icon.png' ) "> </div>
</td>
</tr></tbody></table>
</div>
<div class="bs-example " data-example-id="media-list" style="padding:0px; margin:0px; width: 740px; border:1px solid none; margin: 0 auto; padding-bottom: 40px;padding-top: 20px; ">
<?php
$np = $mc->generate_next_prev_numbers($modal['comments_len'], 10);
?>
<ul id="look-comment-cotainer-ul" >
<li id="comment-top-next-prev" >