Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 1.1.5.0
- * @ Author : DeZender
- * @ Release on : 09.06.2012
- * @ Official site : http://DeZender.Net
- *
- */
- function commenttable($rows, $type = '', $edit = '', $lc = false, $quote = false, $return = false) {
- global $is_mod;
- global $CURUSER;
- global $BASEURL;
- global $rootpath;
- global $pic_base_url;
- global $lang;
- global $usergroups;
- global $timeformat;
- global $dateformat;
- global $useajax;
- global $regdateformat;
- include_once( INC_PATH . '/functions_ratio.php' );
- $moderator = $is_mod;
- $dt = TIMENOW - TS_TIMEOUT;
- $totalrows = count( $rows );
- $quickmenu = '';
- $showcommentstable = '';
- $ajax_quick_edit_loaded = false;
- $QuickVoteLoaded = false;
- if (defined( 'LCID' )) {
- $_count = LCID;
- } else {
- $_count = 0;
- }
- $lang->load( 'comment' );
- foreach ($rows as $row) {
- if ($row['totalvotes'] != '0|0') {
- $TotalVotes = @explode( '|', $row['totalvotes'] );
- $row['totalvotes'] = $TotalVotes[0] - $TotalVotes[1];
- if (( $row['totalvotes'] <= 0 - 5 && !$moderator )) {
- continue;
- }
- } else {
- $row['totalvotes'] = 0;
- }
- ++$_count;
- $p_commenthistory = $p_edit = $p_delete = $p_text = $p_report = $p_quote = $p_approve = '';
- if ($QuickVoteLoaded == false) {
- $showcommentstable .= '<script type="text/javascript" src="' . $BASEURL . '/scripts/quick_vote.js?v=' . O_SCRIPT_VERSION . '"></script>';
- }
- ..................................................................................
- ..................................
- ............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement