|
|
|
|
include"include/left_banner.html"; ?> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
¹øÈ£ |
°Á¸í |
±³Àç |
°ÀÇ |
½ÅûÀϽÃ/¼ö°±â°£ |
°áÁ¦Á¤º¸ |
|
|
|
$MEMBER_ID = $_SESSION["MB_LOGID"];
$time = mktime();
$sqlstr = "SELECT count(UID) FROM wizBuyers WHERE ID = '$MEMBER_ID' ";
$sqlqry = mysql_query($sqlstr ,$DB_CONNECT ) or die(mysql_error());
$TOTAL = @mysql_result($sqlqry,0,0);
$LIST_QUERY = "SELECT * FROM wizBuyers WHERE ID = '$MEMBER_ID' ORDER BY UID DESC";
//echo $LIST_QUERY;
$TABLE_DATA = mysql_query($LIST_QUERY, $DB_CONNECT) or die(mysql_error());
while( $list = mysql_fetch_array( $TABLE_DATA ) ) :
$buy_uid = $list[UID];
$How_Buy = $list[How_Buy];
$PayWay = trim($How_Buy)?$PaySortArr[$How_Buy]:"¿Â¶óÀÎ";
$Co_Now = $list[Co_Now];
$big_code2 = substr($list[Bag_no],-2);
$down_count = $list[down_count];
$End_day = $list[End_day];
$All_buy = $list[All_buy];
$Sqlstr = "SELECT cat_name FROM wizCategory WHERE cat_no='0000${big_code2}'";
$Sqlquery = mysql_query($Sqlstr);
$big_name = mysql_result($Sqlquery, 0, 0);
$wizMall_no = $list[wizMall_no];
$mall_arr = explode("|",$wizMall_no);
$mid_code = substr($list[Bag_no], -4, 2);
$code = "00" . $mid_code . $big_code2;
if($mid_code > 0){
$Sqlstr = "SELECT cat_name,cat_down,cat_img FROM wizCategory WHERE cat_no='$code'";
$Sqlquery = mysql_query($Sqlstr);
$mid_name = mysql_result($Sqlquery, 0, 0);
$cat_down = mysql_result($Sqlquery, 0, 1);
$cat_img = mysql_result($Sqlquery, 0, 2);
$big_picture = explode("|",$cat_img);
}
?>
=$TOTAL?> |
[=$big_name?> / =$mid_name?>] |
if($All_buy == "Y") { ?>
- Àüü¿µ¿ª |
}else {
for($i=0; $i < sizeof($mall_arr); $i++) {
$sub_str = "select * from wizMall WHERE UID = $mall_arr[$i]";
//echo $sub_str . "";
$sub_qry = mysql_query($sub_str);
$sub_row = @mysql_fetch_array($sub_qry);
?>
- =$sub_row[Model]?> : =$sub_row[Name]?> |
}
}
?>
|
|
if($All_buy == "Y") { ?>
if($big_picture[2]) {
if($End_day >= $time) {
if($cat_down and $cat_down >= $down_count) {
echo " ";
}else {
echo "";
}
}else {
echo "";
}
}else {
echo "";
}
?>
|
|
}else {
for($i=0; $i < sizeof($mall_arr); $i++) {
$sub_str = "select * from wizMall WHERE UID = $mall_arr[$i]";
//echo $sub_str . "";
$sub_qry = mysql_query($sub_str);
$sub_row = @mysql_fetch_array($sub_qry);
$Picture = split("\|",$sub_row[Picture]);
?>
if($Picture[0]) {
if($End_day >= $time) {
if($cat_down and $cat_down >= $down_count) {
echo " ";
}else {
echo "";
}
}else {
echo "";
}
}
?>
|
if($Picture[1]) {
if($End_day >= $time) {
if($cat_down and $cat_down >= $down_count) {
echo " ";
}else {
echo "";
}
}else {
echo "";
}
}
?>
|
if($Picture[2]) {
if($End_day >= $time) {
if($cat_down and $cat_down >= $down_count) {
echo " ";
}else {
echo "";
}
}else {
echo "";
}
}
?>
|
if($Picture[3]) {
if($End_day >= $time) {
if($cat_down and $cat_down >= $down_count) {
echo " ";
}else {
echo "";
}
}else {
echo "";
}
}
?>
|
|
}
}
?>
|
|
if($All_buy == "Y") { ?>
|
}else {
for($i=0; $i < sizeof($mall_arr); $i++) {
$sub_str = "select * from wizMall WHERE UID = $mall_arr[$i]";
//echo $sub_str . "";
$sub_qry = mysql_query($sub_str);
$sub_row = @mysql_fetch_array($sub_qry);
?>
if($sub_row[CompName]) {
?>
}else { ?>
} ?>
|
}
}
?>
|
echo date("y.m.d[H:i:s]",$list[Buy_Date]);?>
|
( echo date("y.m.d",$list[Start_day]);?>~ echo date("y.m.d",$list[End_day]);?>) |
|
=number_format($list[Money]);?>¿ø
if($list[How_Buy] == "card") echo "Ä«µå°áÁ¦";
else echo "¹«ÅëÀåÀÔ±Ý";
?>
if($list[Co_Now] == "B") echo "[°áÁ¦´ë±â]";
else echo "[°áÁ¦¿Ï·á]";
?>
|
|
$TOTAL--;
endwhile;
?>
|
|
|
|
|
|
|