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

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

팁앤테크

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

페이지 정보

본문

<?
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건 17 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 추천 날짜
425 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14869 0 11-11
424 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 17378 0 11-10
423 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14543 0 11-10
422 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 16809 0 11-09
421 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12151 0 11-08
420 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 17287 0 11-02
419 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 17210 0 10-28
418 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 16450 0 10-26
417 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14502 0 10-23
416 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12766 1 10-22
415 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 17262 0 10-16
414 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15430 0 10-16
413 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12192 0 10-14
412 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14316 0 10-08
411 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 16285 0 10-08
410 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 17794 0 10-06
409 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18887 0 10-06
408 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15511 0 10-03
407 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13176 0 09-20
406 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 16252 0 09-18
405 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13087 0 09-17
404 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12908 0 09-17
403 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 21832 0 08-25
402 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13107 0 08-15
401 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12396 0 08-12

검색

회원로그인

회원가입

사이트 정보

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

접속자집계

오늘
6,277
어제
7,420
최대
8,233
전체
1,522,402
Copyright (c) 株式会社YHPLUS. All rights reserved.