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

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

팁앤테크

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

페이지 정보

본문

<?
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 770건 4 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 추천 날짜
695 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 37978 0 07-22
694 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13562 0 01-04
693 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15924 0 06-07
692 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 22109 0 01-03
691 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13700 0 04-18
690 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19394 0 03-29
689 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 16077 0 02-08
688 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13513 0 04-10
687 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15103 0 05-02
686 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13369 0 06-16
685 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 16737 0 11-05
684 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14360 0 01-16
683 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13486 0 04-18
682 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12059 0 05-22
681 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12881 0 08-07
680 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 17603 0 09-29
679 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12493 0 12-29
678 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11791 0 03-02
677 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13056 0 06-14
676 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13580 0 12-18
675 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11725 0 02-28
674 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 17795 0 01-20
673 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19757 0 09-02
672 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 17073 0 09-07
671 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11887 0 02-10

검색

회원로그인

회원가입

사이트 정보

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

접속자집계

오늘
5,691
어제
7,420
최대
8,233
전체
1,521,816
Copyright (c) 株式会社YHPLUS. All rights reserved.