|
|
|
|
ÇöÀçÀ§Ä¡:
Ȩ > ¼îÇθô±³À°¼¾ÅÍ> Q&A |
|
|
²À ºÁÁÖ¼¼¿ä... |
|
|
ÀÛ¼ºÀÚ
: shin ( wdfree@hotmail.com ) |
ÀÛ¼ºÀÏ
: 2009.10.30 05:44 |
Á¶È¸¼ö
: 2755 |
|
Âü°í»çÀÌÆ®
:
http://plusmall.truesolution.co.kr/ezmart.php?code=34&pcode=6&bcode=34
|
|
|
|
À籸¸Å ÇϱâÀü¿¡ Å×½ºÆ®¸¦ Çغ¸´Âµ¥ ¾ÈµÇ´Â°Ô ¸¹³×¿ä...
http://plusmall.truesolution.co.kr/ezmart.php?code=34&pcode=6&bcode=34
ó·³ µµ¼/À½¹Ý/dvd ó·³ 2Â÷Ä«Å×°ñ »óÅ¿¡¼ »ó´Ü¿¡ ¸Þ´ºµéÀÌ º¸¿©¾ß Çϴµ¥ ¸Þ´º°¡ ¾È³ªÅ¸³ª³×¿ä..
¿Ö ±×·±Áö ¸ð¸£°Ú³×¿ä..
firstlist.php ÆÄÀÏ ¼Ò½ºÀÔ´Ï´Ù.
Âü ±×¸®°í Ä«µå°áÁ¦¸ðµâ KCP ¾ÈµË´Ï´Ù...
<?
//Ä«Å×°í¸® ¸ÅÀå ºÐ·ù¿¡¼ »ç¿ëÀÚ Á¤ÀÇ°¡ µÇ¾îÀÖ¾î¸é ¾Æ·¡¿Í °°ÀÌ ½ÇÇàµÈ´Ù.
/*
$code ÇöÀç ÄÚµå ¹øÈ£
$pcode (ÇÏÀ§ Ä«Å×°í¸®°¡ ¾øÀ»°æ¿ì »óÀ§ Ä«Å×°í¸®) (parent code)
$bcode (bold ä·Î ÇØÁÖ±â À§ÇÑ ÄÚµå) (bold code)
*/
$sqlstr = "select * from ${CATEGORY_TABLE_NAME} where UID = '$code' and cat_flag='M'";
$codelist = _mysql_fetch_array($sqlstr);
$TmpPreserve = false;// ±âÁ¸°É À¯Áö ÇÒ°æ¿ì
if($codelist[cat_level] > 0) {
getTopParentUID ($codelist[cat_level] , $codelist[cat_pid] , 'M');
//$CategoryTopUID ; // 1Â÷ Ä«Å×°í¸®ÀÇ UID °ª
if($codelist[cat_preserve] == "Y") $TmpPreserve = true;// 1Â÷ Ä«Å×°í¸®¸¦ À¯Áö
}
if(!$TmpPreserve){
$CategoryTopContent = stripslashes($codelist[cat_top]);
$CategoryBottomContent = stripslashes($codelist[cat_bottom]);
$CategoryDetailContent = stripslashes($codelist[cat_detail]);// Ä«Å×°í¸® »ó¼¼ ¼³¸í
$TmpCategoryPicture = explode("|" , $codelist[cat_picture]);// »çÁø ÀÖÀ»°æ¿ì
$CategoryTopPicture = "${STOCK_FOLDER_NAME}/cat_image/" . $TmpCategoryPicture[0]; // »ó´Ü »çÁø
$CategoryBottomPicture = "${STOCK_FOLDER_NAME}/cat_image/" . $TmpCategoryPicture[1];// ÇÏ´Ü »çÁø
}else{// 1Â÷ Ä«Å×°í¸® ³»¿ëÀ» À¯Áö
$topsql = "select * from ${CATEGORY_TABLE_NAME} where UID = '$CategoryTopUID' and cat_flag='M'";
$toplist = _mysql_fetch_array($topsql);
$CategoryTopContent = stripslashes($toplist[cat_top]);
$CategoryBottomContent = stripslashes($toplist[cat_bottom]);
$CategoryDetailContent = stripslashes($toplist[cat_detail]);// Ä«Å×°í¸® »ó¼¼ ¼³¸í
$TmpCategoryPicture = explode("|" , $toplist[cat_picture]);// »çÁø ÀÖÀ»°æ¿ì
$CategoryTopPicture = "${STOCK_FOLDER_NAME}/cat_image/" . $TmpCategoryPicture[0]; // »ó´Ü »çÁø
$CategoryBottomPicture = "${STOCK_FOLDER_NAME}/cat_image/" . $TmpCategoryPicture[1];// ÇÏ´Ü »çÁø
}
//Ä«Å×°í¸® ¸ÅÀå ºÐ·ù¿¡¼ »ç¿ëÀÚ Á¤ÀÇ°¡ µÇ¾îÀÖ¾î¸é »ó±â¿Í °°ÀÌ ½ÇÇàµÈ´Ù.
// ŸÀÌƲ
getCategoryTitle($code, 'M' , $TitleString);
$CateogyLevel = getCateLevel($code , 'M');
if($CateogyLevel > 0) {// 2Â÷ ºÐ·ù ÀÏ°æ¿ì
getCategoryNum($CateogyLevel , $code , 'M' ,'Y');
}else{// 1Â÷ ºÐ·ù
getCategoryNum(0 , $code, 'M' , 'Y');
}
$ReallyCategoryValue = getDeleteComma($tmpCategoryNum);// ÇÏÀ§ ±îÁö Æ÷ÇÔÇÑ Ä«Å×°í¸® °ª
?>
<table width="<?=$SITE_WIDTH ?>" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="10" height="10"><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/sub_box01_01.gif" width="10" height="10"></td>
<td background="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/sub_box01_02.gif"></td>
<td width="10"><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/sub_box01_03.gif" width="10" height="10"></td>
</tr>
<tr align="left" valign="top">
<td style="background-image: url(<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/sub_box01_08.gif);background-repeat:repeat-y;"></td>
<td align="center"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><?
if($TmpCategoryPicture[0]): // »ó´Ü »çÁø Á¸Àç½Ã
echo "<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr>
<td><img src = '$CategoryTopPicture' border = 0 ></td>
</tr>
</table>
";
endif;
echo $CategoryTopContent;// ž ³»¿ë
?>
</td>
</tr>
<tr>
<td height = 20 ><? echo "<a href = './'>Home</a> $TitleString";?></td>
</tr>
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td height="10"><!-- º£½ºÆ®»óÇ° -->
<?
$BestOrderBy = " order by Ranking ASC , UID DESC" ;
$best_sql="SELECT * FROM ${MALL_TABLE_NAME} WHERE Category IN ($ReallyCategoryValue) AND Option3 like '%º£½ºÆ®%' AND Status = 'Y' AND Co_Product = 'N' $BestOrderBy LIMIT 0,3";
//echo"\$best_sql = $best_sql <br>";
$best_result = mysql_query($best_sql) or die(mysql_error());
$idx = 0 ;
while($best_list = mysql_fetch_array($best_result)):
$best_uid[$idx] = $best_list[UID];
$best_picture = explode("|" , $best_list[Picture]);
$BPicture[$idx] = "${STOCK_FOLDER_NAME}/${best_picture[1]}";
$best_name[$idx] = $best_list[Name];
$best_price[$idx] = $best_list[Price];
$best_category[$idx] = $best_list[Category];
$best_detail[$idx] = nl2br(stripslashes(STR_CUTTING($best_list[Description2],50)));
$linkUrl[$idx] = "${PHP_SELF}?query=view&no=$best_uid[$idx]&code=$best_category[$idx]&pcode=$pcode&bcode=$bcode";
$idx++;
endwhile;
?></td>
</tr>
<tr bgcolor="#CECECE">
<td height="1"></td>
</tr>
<tr bgcolor="#F5F5F5">
<td height="3"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="15"></td>
</tr>
<tr>
<td align="left" valign="middle"><!-- »óÇ°Á¦¸ñ -->
<a name = "#P"></a>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="9"></td>
<td width="302" align="left" valign="middle" ><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="middle" style="font-size:12px; font-weight:bold; color='#218EAD'"><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/bullet1.gif" width="12" height="14" align="absmiddle">
<!--<img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/title_driver.gif" width="178" height="18">-->
<span class="green-b"><? echo getCateName($code); ?></span></td>
</tr>
</table></td>
<td width="369" align="right" valign="middle"><table width = "100%">
<tr>
<form name = "NaviFrm" action = "<? echo $_SERVER['PHP_SELF'];?>" method="post">
<input type = "hidden" name = "code" value = "<? echo $code; ?>">
<input type = "hidden" name = "pcode" value = "<? echo $pcode; ?>">
<input type = "hidden" name = "bcode" value = "<? echo $bcode; ?>">
<input type = "hidden" name = "ArrangeBy" value = "<? echo $ArrangeBy; ?>">
<td width="52%" align = right><!-- ¸®½ºÆ® ¹Ú½º Ç¥½Ã -->
Àüü¼±ÅÃ
<input type = "checkbox" name = "CheckAll" onClick = "javascript:allcheck(document.mall_list)" style = "cursor:hand">
<select name = "ListMaxCnt" onChange = "this.form.submit();">
<option value = "" <? if(!$_COOKIE[ListMaxCnt]) echo " selected" ; ?>>»óÇ°Áø¿¼ö</option>
<?
$UserArrayListNo = explode(",",$UserArrayListNo);
foreach($UserArrayListNo as $key => $value){
if($ListNo == $value) $selected = " selected" ; else $selected = "";
echo "<option value = '$value' $selected>${value}°³</option>" ;
}
?>
</select>
<!-- ¸®½ºÆ® ¹Ú½º Ç¥½Ã-->
</td>
</form>
<td width="48%"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="55"><? if($ArrangeBy == "NP"){?>
<img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/btn_date_over.gif" name="date" width="52" height="19" border="0">
<? } else {?>
<a href="<? echo $_SERVER['PHP_SELF'];?>?code=<? echo $code;?>&pcode=<? echo $pcode;?>&bcode=<? echo $bcode; ?>&ArrangeBy=NP#P" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('date','','<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/btn_date_over.gif',1)"><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/btn_date.gif" name="date" width="52" height="19" border="0"></a>
<? } ?>
</td>
<td width="55"><? if($ArrangeBy == "HP"){?>
<img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/btn_up_price_over.gif" name="up" width="52" height="19" border="0">
<? } else {?>
<a href="<? echo $_SERVER['PHP_SELF'];?>?code=<? echo $code;?>&pcode=<? echo $pcode;?>&bcode=<? echo $bcode; ?>&ArrangeBy=HP#P" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('up','','<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/btn_up_price_over.gif',1)"><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/btn_up_price.gif" name="up" width="52" height="19" border="0"></a>
<? } ?>
</td>
<td width="55"><? if($ArrangeBy == "LP"){?>
<img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/btn_down_price_over.gif" name="down" width="52" height="19" border="0">
<? } else {?>
<a href="<? echo $_SERVER['PHP_SELF'];?>?code=<? echo $code;?>&pcode=<? echo $pcode;?>&bcode=<? echo $bcode; ?>&ArrangeBy=LP#P" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('down','','<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/btn_down_price_over.gif',1)"><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/btn_down_price.gif" name="down" width="52" height="19" border="0"></a>
<? } ?>
</td>
</tr>
</table></td>
</tr>
</table></td>
<td width="11"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="10"></td>
</tr>
<?
//if($pcode) $code = $pcode;
$LowerCateCnt = getSingleValue("select COUNT(UID) from ${CATEGORY_TABLE_NAME} WHERE cat_pid = '$code' and cat_flag = 'M' order by cat_rank ASC ");
if($LowerCateCnt > 0):
?>
<tr>
<td align="left" valign="top"><!-- ¼ÒºÐ·ùÄ«Å×°í¸® -->
<table width="100%" border="3" bordercolor="#0D81BF" cellspacing="0" cellpadding="7">
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" align="left" valign="top"><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="168" align="left" valign="middle" style="padding-left:8"></td>
<td width="168" align="left" valign="middle"style="padding-left:8"></td>
<td width="168" align="left" valign="middle"style="padding-left:8"></td>
<td width="168" align="left" valign="middle"style="padding-left:8"></td>
</tr>
<tr>
<?
$sqlcatstr = "select UID , cat_name from ${CATEGORY_TABLE_NAME} WHERE cat_pid = '$code' and cat_flag = 'M' and cat_visible = 'Y' order by cat_rank ASC ";
$sqlcatqry = mysql_query($sqlcatstr) or die(mysql_error());
$count = 1 ;
while($catlist = mysql_fetch_array($sqlcatqry)):
$CateLowerCnt = getSingleValue("select COUNT(UID) from ${CATEGORY_TABLE_NAME} WHERE cat_flag = 'M' and cat_visible = 'Y' and cat_pid = '$catlist[UID]'");
if($CateLowerCnt > 0 ) $TmpPreFixCode = "";
else $TmpPreFixCode = "&pcode=$code&bcode=$catlist[UID]";//ÇÏÀ§ Ä«Å×°í¸®°¡ Á¸Àç ÇÏÁö ¾ÊÀ¸¸é ÇöÀç Ä«Å×°í¸®¸¦ À¯Áö
?>
<td height="25" align="left" valign="middle" style="padding-left:8"><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/blit01.gif"> <a href="<? echo $_SERVER['PHP_SELF']; ?>?code=<?=$catlist[UID]?><? echo $TmpPreFixCode; ?>" <? if($catlist[UID] == $bcode) echo " style = 'font-weight:bold;color:red'" ; else echo "class='link_green' ";?>>
<?=$catlist[cat_name]?>
</a></td>
<?
if($count%4 == "0") echo "</tr><tr><td height='1' colspan = 100 bgcolor='#EDEDED'></td></tr><tr>" ;
$count++;
endwhile;
?>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<? endif; // ÇÏÀ§ Ä«Å×°í¸®°¡ ÀÖÀ¸¸é?>
</table>
<!-- »óÇ°¸®½ºÆ® -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form name='mall_list' action ='<? echo $CART_MAIN_FILE_NAME; ?>' method = "post" onsubmit='return cmp(this)'>
<input type = "hidden" name = "query" value='cmp'>
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="130" ></td>
<td width = 5></td>
<td width="130" ></td>
<td width = 5></td>
<td width="130" ></td>
<td width = 5></td>
<td width="130" ></td>
<td width = 5></td>
<td width="130" ></td>
</tr>
<tr align="center" valign="top">
<?
$PageNo = $SubPageNo ;
$WHERE = " WHERE 1 AND Status = 'Y' AND Co_Product = 'N' AND " ;
$TOTAL_STR = "SELECT count(UID) FROM ${MALL_TABLE_NAME} $WHERE Category IN ($ReallyCategoryValue) $szSearch";
//echo "\$TOTAL_STR : $TOTAL_STR";
$TOTAL = getSingleValue($TOTAL_STR);
if(empty($CURRENT_PAGE) || $CURRENT_PAGE <= 0) $CURRENT_PAGE = 1;
//--ÆäÀÌÁö ³ªÅ¸³»±â--
$TP = ceil($TOTAL / $ListNo) ; /* ÆäÀÌÁö ÇÏ´ÜÀÇ ÃÑ ÆäÀÌÁö¼ö */
$CB = ceil($CURRENT_PAGE / $PageNo);
$SP = ($CB - 1) * $PageNo + 1;
$EP = ($CB * $PageNo);
$TB = ceil($TP / $PageNo);
$START_NO = ($CURRENT_PAGE - 1) * $ListNo;
$BOARD_NO=$TOTAL-($ListNo*($CURRENT_PAGE-1));
if ($ArrangeBy == "NP") // ½Å»óÇ°
$szSearch = " ORDER BY UID DESC ";
elseif ($ArrangeBy == "HP" ) // °í°¡¼ø
$szSearch = " ORDER BY Price DESC ";
elseif ($ArrangeBy == "LP" ) // Àú°¡¼ø
$szSearch = " ORDER BY Price ASC ";
elseif ($ArrangeBy == "NMP" ) // À̸§¼ø
$szSearch = " ORDER BY Name ASC ";
elseif ($ArrangeBy == "MP" ) // ¸ðµ¨¼ø
$szSearch = " ORDER BY Model DESC ";
elseif ($ArrangeBy == "MVP" ) // È÷Æ®¼ø
$szSearch = " ORDER BY Hit DESC ";
elseif ($ArrangeBy == "EP" ) // »óÇ°Æò¼ø
$szSearch = " ORDER BY EstCnt DESC ";
elseif ($ArrangeBy == "PP" ) // Æ÷ÀÎÆ®¼ø
$szSearch = " ORDER BY Point DESC ";
else // NO°Ë»ö
$szSearch = " ORDER BY Ranking ASC, UID DESC ";
$SQL_STR="SELECT * FROM ${MALL_TABLE_NAME} $WHERE Category IN ($ReallyCategoryValue) $szSearch LIMIT $START_NO, $ListNo";
//echo"\$SQL_STR = $SQL_STR <br>";
$SQL_QRY=mysql_query($SQL_STR) or die(mysql_error());
$NO=0;
while($LIST=mysql_fetch_array($SQL_QRY)):
$Picture = explode("|", $LIST[Picture]);
$VIEW_LINK = "$PHP_SELF?query=view&code=$LIST[Category]&pcode=$pcode&bcode=$bcode&no=$LIST[UID]&ArrangeBy=$ArrangeBy&Brand=$Brand&ListNo=$ListNo";
?>
<td width="130" height="170"><table width="130" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="120" align="center" valign="middle"><table width="100" height="100" border="1" cellpadding="0" cellspacing="0" bordercolor="#EBEBEB">
<tr>
<td align="center" valign="top"><a href=<? echo $VIEW_LINK;?> ><img src=<? echo $STOCK_FOLDER_NAME; ?>/<?=$Picture[0]?> width="<? echo $SIMAGEW; ?>" height = "<? echo $SIMAGEH; ?>" border="0" /></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="60" align="center" valign="top"><table width = 130 cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="word-break:break-all;"><input type="checkbox" name="mall_chk[<?=$LIST[UID]?>]" value="1" <? echo IsCartEnable($OptionName,$LIST)?"":"disabled"; ?>><input type="hidden" name="GoodsPrice_<?=$LIST[UID]?>" value="<?=$LIST[Price]?>"><input type="hidden" name="GoodsPoint_<?=$LIST[UID]?>" value="<?=$LIST[Point]?>"><input type="hidden" name="BUYNUM_<?=$LIST[UID]?>" value="1"><a href=<? echo $VIEW_LINK;?> class="link_gray"><? echo $LIST[Name]; ?></a> </td>
</tr>
<tr>
<td align = center><s><?=number_format($LIST[Price1]);?></s> <font color="#FF0000"><?=number_format($LIST[Price])?></font></td>
</tr>
<tr>
<td align = center><?=getProductOptionIcon($LIST , 3);?></td>
</tr>
</table></td>
</tr>
</table></td>
<?
$NO++;
if($NO%$BreakListNo) echo "<td width=5></td>";
if(!($NO%$BreakListNo)) echo "</tr><tr align='center' valign='top'><td colspan = 10 height = 10></td></tr><tr><td height = 1 bgcolor='DBDBDB' colspan = 10></td></tr><tr align='center' valign='top'><td colspan = 10 height = 10></td></tr><tr align='center' valign='top'>";
endwhile;
$tmpcnt = $NO%$BreakListNo;
if($tmpcnt){
for($i=$tmpcnt; $i<$BreakListNo; $i++){
echo "<td width='130'></td>";
}
}
?>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20"></td>
</tr>
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top" bgcolor="#E9F5E5">
<td width="8" height="8"><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/box02_01.gif" width="8" height="8"></td>
<td></td>
<td width="8"><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/box02_02.gif" width="8" height="8"></td>
</tr>
<tr align="left" valign="top" bgcolor="#E9F5E5">
<td height="26"></td>
<td align="center" valign="middle"><?
$TransData = "code=$code&pcode=$pcode&bcode=$bcode&ArrangeBy=$ArrangeBy&Brand=$Brand&ListNo=$ListNo#P";
include "${SKIN_FOLDER_NAME}/page/${PageSkin}/index.php" ;
?>
</td>
<td></td>
</tr>
<tr align="left" valign="top" bgcolor="#E9F5E5">
<td height="8"><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/box02_04.gif" width="8" height="8"></td>
<td></td>
<td><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/box02_03.gif" width="8" height="8"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="50" align="right" valign="middle"><input type="image" src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/btn_cart.gif" border="0">
</td>
</tr>
</form>
<tr>
<td><?
//Ä«Å×°í¸® ¸ÅÀå ºÐ·ù¿¡¼ »ç¿ëÀÚ Á¤ÀÇ°¡ µÇ¾îÀÖ¾î¸é ¾Æ·¡¿Í °°ÀÌ ½ÇÇàµÈ´Ù.
if($TmpCategoryPicture[1]): // ÇÏ´Ü »çÁø Á¸Àç½Ã
echo "<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr>
<td><img src = '$CategoryBottomPicture' border = 0 ></td>
</tr>
</table>
";
endif;
echo $CategoryBottomContent;
//Ä«Å×°í¸® ¸ÅÀå ºÐ·ù¿¡¼ »ç¿ëÀÚ Á¤ÀÇ°¡ µÇ¾îÀÖ¾î¸é »ó±â¿Í °°ÀÌ ½ÇÇàµÈ´Ù.
?>
</td>
</tr>
</table></td>
</tr>
</table></td>
<td background="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/sub_box01_04.gif"></td>
</tr>
<tr align="left" valign="top">
<td width="10" height="10"><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/sub_box01_07.gif" width="10" height="10"></td>
<td background="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/sub_box01_06.gif"></td>
<td><img src="<? echo $SKIN_FOLDER_NAME; ?>/shop/<?=$ShopSkin?>/images/sub_box01_05.gif" width="10" height="10"></td>
</tr>
</table>
<script>
<!--
function cmp(f){
var i = 0;
var chked = 0;
for(i = 0; i < f.length; i++ ) {
if(f[i].type == 'checkbox') {
if(f[i].checked) {
chked++;
}
}
}
if( chked < 1 ) {
alert('Àå¹Ù±¸´Ï¿¡ ´ãÀ» Á¦Ç°À» ¼±ÅÃÇØ ÁÖ¼¼¿ä.');
return false;
}
}
function allcheck(f)
{
for (var i=0; i<f.elements.length; i++)
{
if (f.elements[i].name.indexOf('mall_chk')!=-1 && f.elements[i].disabled == false) f.elements[i].checked = document.NaviFrm.CheckAll.checked;
}
}
//-->
</script>
|
|
|
|
|
|
|
|
Truesolution |
|
KCP¸ðµâ »ç¿ëÀº µû·Î ¾Ë·Á µå·Á¾ß ÇÕ´Ï´Ù. ´Ù¸¥ ¸ðµâÇÏ°í ´Þ¸® KCP´Â Æ˾÷À» ¶Ù¾î¾ß Çϱ⠶§¹®¿¡¿ä..
KCP´Â ÇöÀç žÁ¦µÈ°Ç ¿¡½ºÅ©·Î ºÎºÐÀÌ¶ó¼ ½Å¿ëÄ«µå¸¸ ÇÏ½Å´Ù¸é ¸»¾¸ Áֽñ⠹ٶø´Ï´Ù.
ÇöÀç ¼Ò½º »ó¿¡´Â ÀÌ»óÀº ÀüÇô ¾ø±¸¿ä.
¸¸¾à ÇöÀç »óÅ À¯Áö¸¦ ¿øÇÏ½Ã¸é ¿äû ÁÖ½Ã¸é ±×ºÎºÐÀº ¼öÁ¤ Çص帮µµ·Ï ÇÏ°Ú½À´Ï´Ù.
Ä«Å×°í¸® depth¸¦ ¾Ë·Á ÁÖ½Ã¸é µË´Ï´Ù.
ÇÑ°¡Áö ¸»¾¸ µå¸®ÀÚ¸é Ç÷¯½º¸ôÀº ±âº»ÀûÀÎ ¼îÇαâ´É¿¡¼ ¾à°£ÀÇ ¼öÁ¤Àº Áö¿øÀ» Çص帮°í ÀÖ½À´Ï´Ù.
ÀÌÁ¡ Âü°í ÇØÁÖ¼¼¿ä.
°¨»çÇÕ´Ï´Ù. |
2009.10.30 |
|
|
|
|
|
|
| |
|