[제나플러스] 지난달 포인트 랭킹 > 팁앤테크

본문 바로가기
사이트 내 전체검색

팁앤테크

[제나플러스] 지난달 포인트 랭킹

페이지 정보

본문

<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
echo "<script language=\"javascript\" src=\"$g4[path]/js/sideview.js\"></script>\n";

$year = date("Y");
$month = date("m");
$day = date("d");

$tmp = mktime(0, 0, 0, $month - 1, $day, $year, 0);
$nowdate = date("Y-m",$tmp); // 今月
$sYear = substr($nowdate, 0, 4)."年";
$sMonth = substr($nowdate,5,2)."月";

$sql = "SELECT * , COUNT(B.mb_id ) AS count, SUM( B.po_point ) AS point
FROM  $g4[member_table] as A
LEFT JOIN $g4[point_table] as B ON ( A.mb_id = B.mb_id AND A.mb_level > 1 AND A.mb_level < 10 AND A.mb_point >= 0) where date_format(B.po_datetime,'%Y-%m') = '$nowdate' group by B.mb_id order by point desc LIMIT 0, 5 ";

$result = sql_query($sql);
?>
  <table width=100% cellpadding=0 cellspacing=0 bgcolor="721625">
  <tr>
  <td height='25' align="left" style="padding:0 0 0 10;">
  <font color=ffffff>■ <?=$sMonth?> 랭킹</font>  
  </td>  
  </tr>
  </table>
<table width="100%" border="0" cellpadding="0" cellspacing="2" bgcolor="646464">
    <tr>
        <td>
            <table width="100%" border="0" cellpadding="0" cellspacing="3" bgcolor="FFFFFF">
                <tr>
                    <td align="center" valign="top" bgcolor="FFFFFF" style="padding:0px">

  <table width="100%" border="0" cellpadding="0" cellspacing="0">
   <?
   for ($i=1; $row=sql_fetch_array($result); $i++)
   {
   $name = get_sideview($row[mb_id], $row[mb_nick], $row[mb_email], $row[mb_homepage]);
   $point = number_format($row[point]);
   $mb_point= number_format($row[mb_point]);
   ?>
   <tr>
    <td width="5" height="24"></td>
    <td align="left">
     <img src="<?=$g4['path']?>/include/point_new_rank/rank/<?=$i?>.gif" border="0" align=absmiddle>
     <?=$row[mb_id]?></td>
   </tr>
   <?}?>
  </table>

</td></tr>
</table>
</td></tr>
</table>

추천0

댓글목록

등록된 댓글이 없습니다.

Total 825건 21 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 추천 날짜
325 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14003 0 06-12
324 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13995 0 04-10
323 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13975 0 07-29
322 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13958 0 08-25
321 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13951 0 12-18
320 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13947 0 03-17
열람중 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13925 0 05-23
318 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13923 0 12-09
317 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13913 0 04-18
316 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13906 0 11-13
315 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13891 0 06-11
314 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13881 0 05-21
313 미믹스쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13874 0 10-26
312 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13873 0 11-13
311 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13870 0 05-21
310 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13860 0 01-12
309 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13859 0 05-30
308 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13832 0 01-04
307 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13832 0 02-25
306 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13827 0 12-14
305 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13824 0 05-02
304 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13819 0 02-29
303 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13817 0 04-18
302 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13813 0 12-24
301 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13811 1 01-27

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
2,172
어제
7,582
최대
8,233
전체
1,580,624
Copyright (c) 株式会社YHPLUS. All rights reserved.