|
|
My Coins |
|
//ÀÌÀü¿ùÀÌ ÀÖ´Â °æ¿ì
$now_year = date("Y");
$now_month = date("m");
if($n_year == "" || $n_month == ""){
$n_year = date("Y");
$n_month = date("m");
}
if($n_month == "01"){
$next_year = sprintf("%d",(int)$n_year);
$next_month = sprintf("%02d",(int)$n_month + 1);
$prv_year = sprintf("%d",(int)$n_year - 1);
$prv_month = sprintf("%02d",12);
}
else if($n_month == "12"){
$next_year = sprintf("%d",(int)$n_year + 1);
$next_month = sprintf("%02d",1);
$prv_year = sprintf("%d",(int)$n_year - 1);
$prv_month = sprintf("%02d",12);
}
else{
$next_year = $n_year;
$next_month = sprintf("%02d",(int)$n_month + 1);
$prv_year = $n_year;
$prv_month = sprintf("%02d",(int)$n_month - 1);
}
if($s_year >= $now_year && $s_month < $now_month && $s_month < $n_month )
echo " << ÀÌÀü´Þ ::";
else
echo " << ÀÌÀü´Þ ::";
if($n_year <= $now_year && $n_month < $now_month )
echo " ´ÙÀ½´Þ >>";
else
echo " ´ÙÀ½´Þ >>";
//
echo " ";
echo " ";
echo " ";
echo " ";
echo "$n_year ³â $n_month ¿ù ÇöÀç";
if($row[product] == "1"){
$product = "»ï¼º ¸ÅÁ÷½ºÅ×ÀÌ¼Ç M5317";
$agree_month = 24;
$agree_money = number_format(2400000);
}
else{
$product = "»ï¼º ³ëÆ®ºÏ ¼¾½º S640";
$agree_mon = 24;
$agree_money = number_format(2400000);
}
mysql_free_result($result);
$sql = "SELECT COUNT(*) view_month FROM view_tm WHERE usrid = '$shid' AND view_day like '$n_year$n_month%' AND ";
$sql .= "first_cnt >= '01' AND second_cnt >= '79' ";
$row = mysql_fetch_array(mysql_query($sql));
$view_count = $row[view_month];
$sql = "SELECT COUNT(*) sup_cnt FROM gld_usrinfo WHERE supid = '$shid' AND usrid <> '$shid' AND sdate like '$n_year$n_month%' ";
$row = mysql_fetch_array(mysql_query($sql));
$sup_count = $row[sup_cnt];
if($sup_count >= 3)
$dc_count = 25;
else if($sup_count == 2)
$dc_count = 16;
else if($sup_count == 1)
$dc_count = 8;
else
$dc_count = 0;
$point_money = number_format($view_count * $dayofmoney + $dc_count * $dayofmoeny);
$e_money = number_format(($view_count * $dayofmoney + $dc_count * $dayofmoeny) * $e_point);
mysql_close($conn);
$v_month = $n_month - $s_month;
$l_month = 24 - ($n_month - $s_month);
?>
|
|
¼º
¸í : |
|
±¤°í±¸µ¶
°è¾à±â°£ : |
|
±¤°í±¸µ¶
°è¾à±Ý¾× : |
¿ø |
±¤°í±¸µ¶
°³½ÃÀÏ : |
|
±Ý¿ù
±¤°í±¸µ¶Àϼö : |
ÀÏ |
±Ý¿ù
ÃßõID º¸³Ê½º : |
¸í |
±Ý¿ù ±¤°í±¸µ¶ Àû¸³±Ý :
|
¿ø |
Áö±Ý±îÁö
±¤°í±¸µ¶ °³¿ù¼ö : |
°³¿ù |
³²Àº
±¤°í±¸µ¶ °³¿ù¼ö : |
°³¿ù |
»çÀ̹ö
¸Ó´Ï Àû¸³±Ý : |
¿ø |
|
|
|
|
|
|
|
ÃßõID º¸³Ê½º´Â ¿ù ÃÖ°í 3¸íÀ¸·ÎºÎÅÍ Ãßõ¹ÞÀ» ¼ö ÀÖÀ¸¸ç, 1¸íÀÌ °ñµåȸ¿øÀ¸·Î °¡ÀÔ½Ã
º»ÀÎÀÇ ID°¡ Ãßõ¹ÞÀ» ¶§¸¶´Ù 8ÀÏÀ» °¨¸é¹ÞÀ¸½Ã°í, 3¸íÀÏ °æ¿ì¿¡´Â
1°³¿ù ±¤°í ±¸µ¶°¨¸é ÇýÅÃÀ»
¹ÞÀ» ¼ö ÀÖ½À´Ï´Ù. |
|
|
|
»çÀ̹ö ¸Ó´Ï´Â º» ¼îÇθô ÀÌ¿ë½Ã »ç¿ëÇÒ ¼ö ÀÖ´Â ±Ý¾×ÀÔ´Ï´Ù. |
|
|
|
±âŸ ¹®ÀÇ»çÇ×Àº °í°´¼¾ÅÍ : 033)241-3933 |
|