MINI MINI MANI MO
<?
require_once "../_common/common.php";
include $_SERVER['DOCUMENT_ROOT'].'/_config/global.php';
include $_SERVER['DOCUMENT_ROOT'].'/_config/_class/phpfun.class.php';
$phpfun = new phpfun();
$SID = session_id();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, target-densitydpi=medium-dpi">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<title>°¿ø»ê¾÷-ÆóÂ÷/¼Õ»óÂ÷/ÀÜÁ¸¹°°æ°ø¸Å</title>
<link rel="stylesheet" type="text/css" href="../css/style.css">
<link href="../css/scale.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<div id="top">
<? include "../inc/sub_top.html"; ?>
</div>
<tr>
<td>
<!-- bar start-->
<!--table id="bar" width="100%" height="60" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="20"></td>
<td align="left"><img src="img/common/btn_home.png"></td>
<td valign="center" align="center"></td>
<td align="right"> </td>
<td width="20">
</tr>
</table-->
<!-- bar end--></td>
</tr>
<tr>
<td>
<!-- navi start-->
<table id="navi" width="100%" height="60" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="20"><table align="left"><tr><td align="left" style="padding-left:10px;"><strong>¸¶ÀÌÆäÀÌÁö : </strong><a href="/mypage/sub04.php"><font color="#000000">ÀÔÂûÇöȲ</font></a> | <a href="/mypage/sub05.php"><font color="#ff0000">³«ÂûÇöȲ</font></a> | <a href="/mypage/sub03.php"><font color="#000000">°ü½ÉÂ÷·®</font></a></td>
</tr></table></td>
</tr>
<tr><td height="1" bgcolor="#0066CC"></td></tr>
<tr><td height="10" ></td></tr>
</table></td>
</tr>
</table>
<!-- navi end-->
</td>
</tr>
<tr>
<td>
<!-- contents start-->
<table width="100%" height="33" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td height="300" valign="top" >
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tbody>
<tr>
<td bgcolor="#ebebeb"><table width="100%" bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="0">
<form action="/mypage/nmypage02.php" method="post" name="searchForm" id="searchForm">
<tbody>
<td align="center"><table width="97%" class="join_form" bordercolor="#666666" border="1" cellspacing="0" cellpadding="0">
<!--Ãß°¡ ¿¡·¯-->
<tr>
<th width="11%" height="25" rowspan="2" align="center" bgcolor="#CCCCCC" ><strong>no</strong></th>
<th width="39%" align="center" bgcolor="#CCCCCC"><strong>Â÷·®¹øÈ£</strong></th>
<th width="26%" align="center" bgcolor="#CCCCCC"><strong>ÀÔÂûÀ¯Çü</strong></th>
<th width="24%" align="center" bgcolor="#CCCCCC"><strong>³«ÂûÀÏÀÚ</strong></th>
</tr>
<tr>
<th align="center" bgcolor="#CCCCCC"><strong>Â÷·®¸í</strong></th>
<th width="26%" align="center" bgcolor="#CCCCCC"><strong>³«Âû±Ý¾×</strong></th>
<th width="24%" align="center" bgcolor="#CCCCCC"><strong>³«ÂûÁ¤»ê¼</strong></th>
</tr>
<?php
$tb_name = "woojung_bid ";
$view_article = 10; // ÇÑȸ鿡 ³ªÅ¸³¯ °Ô½Ã¹°ÀÇ ÃÑ °³¼ö
if (!$page) $page = 1; // ÇöÀç ÆäÀÌÁö ÁöÁ¤µÇÁö ¾Ê¾ÒÀ» °æ¿ì 1·Î ÁöÁ¤
$start = ($page-1)*$view_article;
$href = "&id=$id&Search_mode=$Search_mode&Search_text=$Search_text";
$where = " 1=1 ";
//echo $where;
$query = "select count(*) from woojung_bid as a
left join woojung_car as b on a.auct_key = b.wc_idx
left join woojung_car_go c on a.auct_key = c.wcg_wcidx
where a.userId='$loginId'
and a.bid_sort = 'Y'
and ( b.wc_gubun2='2' || b.wc_gubun2='3' || b.wc_gubun2='6')
and b.wc_gubun4='4'";
//echo $query;
$result = mysql_query($query);
//echo $result;
$temp = mysql_fetch_array($result);
$total_article = $temp[0]; // ÇöÀç Äõ¸®ÇÑ °Ô½Ã¹°ÀÇ ÃÑ °³¼ö¸¦ ±¸ÇÔ
$qry = "select * from woojung_bid as a
left join woojung_car as b on a.auct_key = b.wc_idx
left join woojung_car_go c on a.auct_key = c.wcg_wcidx
where a.userId='$loginId'
and a.bid_sort = 'Y'
and ( b.wc_gubun2='2' || b.wc_gubun2='3' || b.wc_gubun2='6')
and b.wc_gubun4='4'
order by b.wc_auction_date desc LIMIT $start, $view_article";
$auctQuery = $db->query($qry);
@mysql_close();
while($auctRow = mysql_fetch_object($auctQuery)) {
$num = $total_article-$i-(($page-1)*$view_article);
?>
<tr >
<td width="11%" height="25" rowspan="2" align="center" valign="middle" bgcolor="#FFFFFF"><?=$num?></td>
<td width="39%" align="center" valign="middle" bgcolor="#FFFFFF"><span style="cursor:pointer; color:#0066CC"><?=$auctRow->wc_no?></span></td>
<td width="26%" align="center" valign="middle" bgcolor="#FFFFFF"><?=WriteArrHTML('checkbox', '', $ArrgoSale, $auctRow->sale_type, '', 0, 'direct', '', '', '');?></td>
<td width="24%" align="center" valign="middle" bgcolor="#FFFFFF"><?=substr($auctRow->wc_auction_date,0,10)?></td>
</tr>
<tr >
<td width="39%" align="center" valign="middle" bgcolor="#FFFFFF"><span style="cursor:pointer; color:#0066CC"><?=$auctRow->wc_model?> <?=$auctRow->wc_model2?$auctRow->wc_model2:""?></span></td>
<td align="center" valign="middle" bgcolor="#FFFFFF"><?=number_format($auctRow->bid_price)?></td>
<td align="center" valign="middle" bgcolor="#FFFFFF"><strong><font color="#0066CC" onclick="window.open('/inc/my_popup_03.php?wc_idx=<?=$auctRow->wc_idx?>','jungsan','width=700, height=900, scrollbars=yes');" style="cursor:pointer;">Á¤»ê¼</font></strong></td>
</tr>
<?
$i++;
}
?>
</table></td>
</tr>
<tr>
<td align="center" > </td>
</tr>
</tbody>
</form>
</table></td>
</tr>
</tbody>
</table> <p><? include "../../inc/page.php";?></p></td>
</tr>
<tr>
<td height="1" bgcolor="#cccccc"></td>
</tr>
</table>
<!-- contents end-->
</td>
</tr>
<div id="btm">
<? include "../inc/btm.html"; ?>
</div>
OHA YOOOO