' : ''; $rating = get_rating($id); if($_GET['testimonial'] == 1) { $thetime = date('Y-m-d H:i:s', time()); $thestrtime = time(); $count_down_arr = array(); $new_title = 'Umpan Balik'; $detailed_content .= ' '; $sql = 'SELECT `rate_id` FROM `user_rating` WHERE `rated`=\''.$id.'\' '; $res = mysql_query($sql); $num = @mysql_num_rows($res); if($num) { $perpage = 10; $page_curr = isset($_GET['page_curr']) && intval($_GET['page_curr']) >= 1 ? intval($_GET['page_curr']):1; $param_curr = 'id='.$user['membershipid'].'&testimonial=1'; $pagination = paging($perpage, $num, $page_curr, $param_curr, 'page_curr'); $sql = 'SELECT user_rating.* , adm_membership.membershipusername FROM `user_rating` LEFT JOIN adm_membership ON adm_membership.membershipid=user_rating.rater WHERE `rated`=\''.$id.'\' ORDER BY timestamp DESC limit '.$pagination['from'].', '.$perpage.' '; $res = mysql_query($sql); $num = @mysql_num_rows($res); if($num) { $detailed_content .= ' '; $detailed_content .= ' '; $i=0; $backcolor = '#efefef'; while($row = mysql_fetch_assoc($res)) { $backcolor = $backcolor == '#f5f5f5' ? '#efefef' : '#f5f5f5' ; $bg_color = ' bgcolor="'.$backcolor.'" '; $encname = substr($row['membershipusername'], 1, 2).'***'.substr($row['membershipusername'], 1, -1); $icon_rating_type = $row['rate'] == 2 ? 'icon-minus.gif' : 'icon-true.gif'; $detailed_content .= ''; $detailed_content .= ''; $detailed_content .= ''; $detailed_content .= ''; $detailed_content .= ''."\n"; $i++; } $detailed_content .= '
Tipe Waktu Pemberi rating Komentar
'.date('d-m-Y H:i:s', strtotime($row['timestamp'])).''.$encname.''.nl2br($row['comment']).'
'."\n"; $detailed_content .= '

'.$pagination['first'].$pagination['prev'].''.$pagination['page'].''.$pagination['next'].$pagination['last'].'

'; } } else { $detailed_content .= '
 
Maaf belum terdapat testimonial terhadap user ini.


 
'; } } else { $new_title = 'Barang Ditawarkan'; $perpage = 7; $page_curr = isset($_GET['page_curr']) && intval($_GET['page_curr']) >= 1 ? intval($_GET['page_curr']):1; $param_curr = 'id='.$id.''; $sql = 'SELECT item_id FROM `item_list` WHERE `membershipid`=\''.$id.'\' AND sale_end > \''.$thetime.'\' AND endstat != 1 AND item_list.item_suspend=0 ORDER BY sale_end ASC '; $res = mysql_query($sql); $num = @mysql_num_rows($res); $pagination = paging($perpage, $num, $page_curr, $param_curr, 'page_curr'); $sql = 'SELECT item_list.* FROM `item_list` WHERE item_list.`membershipid`=\''.$id.'\' AND item_list.sale_end > \''.$thetime.'\' AND item_list.endstat != 1 AND item_list.item_suspend=0 ORDER BY item_list.sale_end ASC limit '.$pagination['from'].', '.$perpage.' '; $res = mysql_query($sql); $num = @mysql_num_rows($res); if($num) { $detailed_content .= ''; $detailed_content .= ' '; $no = $pagination['from']+1; $thetime = time(); while($row= mysql_fetch_assoc($res)) { $image = $row['mainimagename'] != '' && is_file('./upload/thumb_'.$row['mainimagename']) ? ''.$row['mainimagename'].'' : ' '; $bgcolor = $bgcolor == 'style1' ? 'style2' : 'style1'; $sale_end = strtotime($row['sale_end']); $detailed_content .= ' '; $no++; } $detailed_content .= '
Keterangan Barang Sistem penawaran Waktu berakhir Detil
'.$row['item_name'].'
'.$image.'
'.format_uang($row['item_price']).'
'.($row['sale_method'] == 2 ? 'Jual' : 'Lelang').' '.date('d-m-Y H:i:s', $sale_end) .' '; $detailed_content .= 'Lihat detil..
'; $detailed_content .= '

'.$pagination['first'].$pagination['prev'].''.$pagination['page'].''.$pagination['next'].$pagination['last'].'

'; } else { $detailed_content .= '

Maaf, tidak ada data di dalam database

'; } } $detailed_content = '
'.$new_title.'  
 
 
'.$detailed_content.'
 
 
'; } else { die('Invalid userID'); } ?> Rajalelang.com - Portal Lelang Online dan Jual Beli Barang Terbesar di Indonesia - Online Auction and Online Shopping Portal
 
 
Laporkan User  
 
 

'.$_SESSION['err_sreportspam'].'

 
 
'; unset($_SESSION['err_sreportspam']); } ?>
Info User  
 
 


Laporkan user ini
 
 
scope="col">
Rating:
Level:


Lokasi user:


HP:

Verified Seller'; } ?>
 
 
>