本文整理汇总了PHP中myclass::get_total方法的典型用法代码示例。如果您正苦于以下问题:PHP myclass::get_total方法的具体用法?PHP myclass::get_total怎么用?PHP myclass::get_total使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类myclass
的用法示例。
在下文中一共展示了myclass::get_total方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$next_prev = $mc->db_result_next_prev('postedlooks', $plno, $looks, 'all');
$total_looks = $mc->get_res_len($looks);
$total_show_looks = $mc->get_total_limit_show(intval($total_looks), 30);
$mem_info = $mc->get_user_info_by_id($mno1);
$tlooks = number_format($mem_info[0]['tlooks']);
$tratings = number_format($otrating);
/*number_format($mem_info[0]['tratings']); */
$tfollower = number_format($mem_info[0]['tfollower']);
$tfollowing = number_format($mem_info[0]['tfollowing']);
$tpercentage = number_format($mem_info[0]['tpercentage']);
$lookmodalsstyle = $mc->lookdetails_set_size_of_the_look($img, $ri);
// $mc->add_look_view( $plno );
$look_countingPos = $mc->get_modal_position_detail($plno, $looks, 'plno');
$article_link = $li['article_link'];
$more = $mc->look_with_more($plno, $article_link);
$tlc = $mc->get_total('plcno', 'posted_looks_comments', 'plno', $_SESSION['plno']);
$modal['table_name'] = 'postedlooks';
$modal['table_id'] = $plno;
$modal['mno'] = $mno1;
$modal['kind'] = 'ARTICLE';
$modal['position'] = 1;
$modal['total'] = 30;
$modal['view_footer_id'] = 'lf_div_container';
$modal['thumbsUp'] = 'look-white-thumb.png';
$modal['thumbsDown'] = 'look-white-down-thumb.png';
$modal['stat_rated'] = 'look not rated';
$modal['stat_dripted'] = 'look not dripted';
$modal['stat_favorited'] = 'look not favorited';
$modal['headermssg'] = 'SUCCESSFULLY FAVORITED';
# this is for success message popup
$modal['contentmssg'] = 'This Look is now on your favorite list.';
示例2: myclass
<?php
require "../../../fs_folders/php_functions/connect.php";
require "../../../fs_folders/php_functions/function.php";
require "../../../fs_folders/php_functions/library.php";
require "../../../fs_folders/php_functions/source.php";
require "../../../fs_folders/php_functions/myclass.php";
$mc = new myclass();
$_SESSION['mno'] = $mc->get_cookie('mno', 136);
$mno = $mc->get_cookie('mno', 136);
$plno = !empty($_GET['plno']) ? $_GET['plno'] : 0;
$tlc = $mc->get_total('plcno', 'posted_looks_comments', 'plno', $plno);
?>
<span id='feed'> FEEDBACK </span>
<table id='look_comment_t1' border="0" cellpadding="0" cellspacing="0">
<tr>
<td id='header_comment_c_td'>