header("Cache-control: private"); $DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT']; include $DOCUMENT_ROOT."/importantShare/dbcon.php"; include $DOCUMENT_ROOT."/importantShare/var.inc.php"; include $DOCUMENT_ROOT."/importantShare/function.inc.php"; extract($_GET); $product_code = $product; $course_code = $cd; // 상품코드 if(!$product_code) { $product_code = "1"; } // 신청경로 if(!$course_code) { $course_code = "0"; } $refer_url = $_SERVER["HTTP_REFERER"]; $course = $course_code; if(!$div) { if($product_code=="1") { $div = "I"; } else { $div = "H"; } } // 한문자열로 만들어 $cookie_string = getCrypt($product_code."|".$course_code."|".$refer_url); // 쿠키 굽기 setcookie("inicis_app_path", $cookie_string, 0, "/"); // 쿠키 굽기 if(!$_COOKIE["app_home_url"]) { setcookie("app_home_url", $REQUEST_URI, 0, "/"); setcookie("right_menu", "hidden", 0, "/"); $app_home_url = $REQUEST_URI; $right_menu = "hidden"; } // 결제폼여부 $settlement = "N"; if(file_exists("./product_img/".$product_code.".jpg")) { $img_main = "./product_img/".$product_code.".jpg"; } else if(file_exists("./product_img/".$product_code.".JPG")) { $img_main = "./product_img/".$product_code.".JPG"; } else if(file_exists("./product_img/".$product_code.".gif")) { $img_main = "./product_img/".$product_code.".gif"; } else if(file_exists("./product_img/".$product_code.".GIF")) { $img_main = "./product_img/".$product_code.".GIF"; } else { $img_main = "./product_img/title.gif"; } $img_main = "./product_img/title.gif"; if($product_code) { $sql = "select * from product where product_code='".$product_code."' "; if($vtmp = mysqli_fetch_array(mysqli_query($mysql_conn, $sql))) { $product_name = $vtmp[product_name]; } } /////////////////// 후킹 //$domain = "http://www.inicis.com/"; if($div=="I"){ header("location:".INICIS_DOMAIN."/service-application?cd=$cd&product=$product&settlement=$settlement"); }else{ header("location:".INICIS_DOMAIN."/service-application?cd=$cd&product=$product&settlement=$settlement"); } exit; /* if(file_exists("./product_img/".$product.".jpg")) { $img_main = "./product_img/".$product.".jpg"; } else if(file_exists("./product_img/".$product.".JPG")) { $img_main = "./product_img/".$product.".JPG"; } else if(file_exists("./product_img/".$product.".gif")) { $img_main = "./product_img/".$product.".gif"; } else if(file_exists("./product_img/".$product.".GIF")) { $img_main = "./product_img/".$product.".GIF"; } else { $img_main = "temp.gif"; } */ $pageNum = "1"; $subNum = "1"; $_title = "01"; $_left = "application"; include "{$_SERVER['DOCUMENT_ROOT']}/landing/inc/header_application.inc"; ?>
|
||||||||||||