include "head.php";
include "./lib/_gm_counter.php";
$MAIN_PAGE = 1;
$MAIN_BEST_GOODS_COL = $design[mainBestGoodsW]; //º£½ºÆ® »óǰ °¡·Î Ãâ·Â¼ö
$MAIN_BEST_GOODS_ROW = $design[mainBestGoodsH]; //º£½ºÆ® »óǰ ¼¼·Î Ãâ·Â¼ö
$MAIN_HIT_GOODS_COL = $design[mainHitGoodsW]; //È÷Æ® »óǰ °¡·Î Ãâ·Â¼ö
$MAIN_HIT_GOODS_ROW = $design[mainHitGoodsH]; //È÷Æ® »óǰ ¼¼·Î Ãâ·Â¼ö
//if($this_site_name == 'hadansk')
//{
// echo("");
//}
//½Å±Ô Ãß°¡(´ñ±Û ÆË¾÷ ±â´É)
if( ($this_site_name == 'ndeal') || ($this_site_name == 'cqnt') || ($this_site_name == 'jmotive') )
{
$system_row = $MySQL->fetch_array("select *from system_config limit 1");
if($system_row[system_point_popup] == 1)
{
if(${GM_NOTICE_COOKIE_COMMENT}!="no" ) //Äí±â°ª¾øÀ»°æ¿ì
include "./comment_pop.php";
}
}
/*************************************************************************************
* Index Controller
*************************************************************************************/
include "./lib/_gm_popup.php"; //ÆË¾÷â ¸ðµâ
include "top.php";
include "./skin/".$this_skin_name."/index.php";
include "copy.php";
/*********************************************************** End - Index Controller */
/*************************************************************************************
* Model ¿µ¿ª(Àç»ç¿ë Ŭ·¡½º ¹× ¼±¾ð)
*************************************************************************************/
class IndexClass
{
public $mysql_;
//»ý¼ºÀÚ
function __construct($mysql)
{
$this->mysql_ = $mysql;
}
//Àå¹Ù±¸´Ï ½Ç½Ã°£ ¼öÁ¤
function UpdateCart()
{
for($i=0; $imysql_->query($qry);
}
else
{
$qry = "update cart set op_cnt = '$num_mcnt[$i]' where idx='$cart_cur_idx[$i]'";
$this->mysql_->query($qry);
}
for($j=0; $jmysql_->query($qry);
}
}
}
}
/********************************************************************** End - Model ¿µ¿ª */
?>