KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /home/queenjbs/yuchun/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/yuchun/store.php
<?
include"inc_top.php";

if(!$tab) $tab=1;
?>
 <style>
	 /************************ @@ MOVIE  ************************/
	/* LEFT MOVIE LIST */
.movieList_le								 		{	display:block;  text-align:left;}
.movieList_le	 li       {	margin:1px 1px 20px 1px; display:inline-block; vertical-align:top; text-align:center;}
.movieList_le	 li img			{	/*width:266px;*/ width:286px; height:160px;	}
.movieList_le	 li p					{	display:block; height:30px; padding:3px 0 3px 0; }


.movieComt_ls_box 		 	{width:20%; min-width:286px; min-height:160px; display:inline-block; vertical-align:top; }
.movieComt_ls_box   a {width:20%; max-width:264px; min-width:250px; height:146px;
																											display:table-cell;
																											vertical-align:top;
																											text-decoration:none;
																											transition:all .3s ease;
																											-moz-transition:all .3s ease;
																											-webkit-transition:all .3s ease;
																											opacity:0;}

.movieComt_ls_box  .on  .icon_on img     {padding-top:50px; height:50px; width:50px;text-align:center;}
.movieComt_ls_box  .on:hover     {background:rgba(0,0,0,0);  opacity:1; }
.movieComt_ls_box  .off  .icon_off img     {padding-top:50px; height:56px; width:50px;text-align:center;}
.movieComt_ls_box  .off:hover     {background:rgba(0,0,0,0);  opacity:1; border:7px solid #fec223;}


	/*RIGHT MOVIE COMMNET*/
.con_right1 														          {width:812px; height:500px; display:inline-table;  vertical-align:top;}
.movieBig 																	         {display:block; border: solid 1px rgb(211, 211, 211); background-color: rgb(245, 245, 245);/*padding:20px 20px 40px 20px;*/padding:10px 10px 40px 10px;}
.movieBig_del  .image.featured 	img	{display:block; width:100%; margin:0 0 2% 0;}
.movieBig_del   h2							           {color: rgb(51, 51, 51); font-size:1.5em; padding:16px 16px 0 16px; margin-bottom:20px;line-height:25px;}

.movie_icon  ul											{width:96%; padding:2%; display:block; border: solid 1px rgb(211, 211, 211); background-color: rgb(255, 255, 255);}
.movie_icon  li							   	{width:49%;  display:inline-block; color:rgb(74,74,74); font-weight:600;}
.movie_icon .li_like		img {text-align:left; vertical-align:middle; }
.movie_icon .li_gubun		  	{text-align:right;}
.movie_icon .li_gubun	.icon_txt 	{font-size:16px; color:#FEC223; font-weight:600; padding-left:5px;}

.movieComt_ar               {padding:2%;display:block;}
.movieComt_del              {padding:10px 10px 10px 0px; color:rgb(74,74,74); font-weight:600; }
.movieComt_del .icon_txt_02 {color:#FEC223; font-weight:600; padding-left:10px;}


.movieCom_name	 {position:relative; display:block;	width:100%;}
.mv_date_tit   								             {margin:0 auto; width:100%; padding:10px 0 5px 0;}
.mv_date_tit:after                  {clear: both; display: block; content: "";}

.mv_date_tit .mvCom_cot_le 			     	 {display:inline-block;	/*width:6%;*/	min-width:40px;	max-width:40px;  text-align: right; margin:5px 0 10px 0px;padding: 10px 2px 2px 2px;}
.mv_date_tit .mvCom_cot_ri 		 				  	{display:inline-block;	 width:92%;	/*min-width:200px; */ font-weight:bold;	vertical-align:top;}
.mvCom_cot_ri input[type=text],textarea    {width:100%; padding: 10px; margin: 0;  box-sizing: border-box;  border: none;  border: solid 1px rgb(254, 194, 35);background-color: rgb(255, 255, 255); font-size:12px;  margin-top:5px;}

.mv_input_but  ul        	{width:96%; border-bottom: 1px solid #d3d3d3; font-weight:600; color:rgb(51,51,51);padding:10px;}
.mv_input_but  li							 	{width:49%;  display:inline-block; color:rgb(74,74,74); font-weight:600;}
.mv_txt		   														{text-align:left; }
.mv_but		  															{text-align:right;}
.mv_but  .cancel	         {border: solid 1px rgb(211, 211, 211); background-color: rgb(245, 245, 245); padding:2px 10px 2px 10px;}
.mv_but  .submitIn        {background-color: rgb(254, 194, 35); padding:2px 10px 2px 10px; border: solid 1px rgb(254, 194, 35);}

.mv_date_tit   								             	{margin:0 auto; width:100%; padding:10px 0 5px 0;}
.mv_date_tit:after                   {clear: both; display: block; content: "";}

.nobody01  { background-color: rgb(254,194,34); }  	/* 노란인 */
.nobody02  { background-color: rgb(51,153,204); } 	 /* 파란인 */
.nobody03  { background-color: rgb(102,204,204); }  /* 파란인2 */

.mv_date_tit .mvdate_tit_le 			     	{display:inline-block;	width:6%; 	min-width:40px;	max-width:40px;  margin-top:2%; text-align: right;  margin:10px 0 10px 0px; padding: 10px 2px 2px 2px;}
.mv_date_tit .mvdate_tit_ri 		 						{display:inline-block;	 width:74%;	min-width:200px; padding: 10px 2px 2px 10px;  font-weight:bold;	vertical-align:top;}
.mv_date_tit .mvdate_tit_ri h2							{color:rgb(51, 51, 51); font-size:1em; line-height:21px; font-weight:normal; }
.mvis_date                           {color:rgb(153, 153, 153); padding:0 0 10px 10px; font-weight:normal;}

		/*********************  MORE  ********************************/
		.pagination03      {width:100%; text-align:center; height:32px;background-image:url(/images/sub/sub_pagbar.png); background-repeat:repeat-x; border:solid 1px rgb(204, 204, 204);}
		.pagination03   a  {width:100%;}
		.pagination03	img		{padding:12px  0 10px 0;}



		/********************* STORE_VIEW ********************************/
		.top_title													{	width:100%; font-size:1.3em;  font-weight:700; padding:0 0 10px 0; line-height:18px; text-align:left;  /*border-bottom:solid 1px #969ca3;*/}

		#goodsview2 																							{	display:block; width:100%;  }
		#goodsview2 .list_item													{	width:30%; display:inline-block; text-align:left; }
		#goodsview2 #pricebox 													{	width:60%;	display:inline-block; text-align:left; padding-left:4%; vertical-align:top; margin-top:0px; }
		#goodsview2 #pricebox .title 						{	width:100%;	padding:1% 0; font-size:1em; font-weight:bold; border-bottom:solid 1px #d1d1d1;	}
		#goodsview2 #pricebox .txt		 						{	min-height:25px; padding:3px 0 3px 0; font-size:1em; border-bottom:solid 1px #d1d1d1;	}

		.content-area 		{width:90%; padding:5%; text-align:left; }
		.content-review {width:90%; padding:5%; text-align:left; }
		.content-qna 			{width:90%; padding:5%; text-align:left; }

		.content-area  img <iframe {width:100%;max-width:760px;}

		#goodsview2 .goods-contents-area .goods-info-area {}
		#goodsview2 .goods-contents-area .goods-info-area .tab-area{ height:33px; font-family:dotum; padding-left:10px; padding-right:10px;}
		#goodsview2 .goods-contents-area .goods-info-area .tab-area .tab-basic{ float:left; background:#FFFFFF; repeat-x; width:33%; font-size:14px; color:#94959d; line-height:33px;text-align:center; font-weight:bold; border-bottom:solid 1px #dadada;}
		#goodsview2 .goods-contents-area .goods-info-area .tab-area .tab-review{ float:left; background:#FFFFFF; width:33%; font-size:14px; color:#94959d; line-height:33px;text-align:center; font-weight:bold;border-bottom:solid 1px #dadada;}
		#goodsview2 .goods-contents-area .goods-info-area .tab-area .tab-qna{ float:left; background:#FFFFFF; width:33%; font-size:14px; color:#94959d; line-height:33px;text-align:center; font-weight:bold;border-bottom:solid 1px #dadada;}
		#goodsview2 .goods-contents-area .tab-relative{ background:#FFFFFF; font-size:14px; color:#353535; line-height:33px; font-weight:bold;border-bottom:solid 1px #dadada; border-top:solid 1px #dadada; margin:30px 10px 0; padding-left: 10px;}
		#goodsview2 .goods-contents-area .goods-info-area .tab-area .bar-area{float:right; width:0px;height:33px;  no-repeat;}
		#goodsview2 .goods-contents-area .goods-info-area .tab-area .active-bar{}
		#goodsview2 .goods-contents-area .goods-info-area .tab-area .active-bar2{}
		#goodsview2 .goods-contents-area .goods-info-area .tab-area .active-tab {background:#FFFFFF; line-height:32px; border:solid 1px #dadada; border-bottom:none; color:#353535;}
		#goodsview2 .goods-contents-area .goods-info-area .content-area {padding:3%;}
		#goodsview2 .goods-contents-area .goods-info-area .content-review {padding:3%;}
		#goodsview2 .goods-contents-area .goods-info-area .content-qna {padding:3%;}

	.center_btn	{	width:100%; display:inline-block; padding:30px 0; text-align:center; 	}
	.btn_index  { display:inline-block; background: rgb(25, 25, 25) none repeat scroll 0 0; border: medium none currentcolor;   color: rgb(255, 255, 255);   font-family: "Meiryo","MS PGothic","MS UI Gothic",AppleGothic,sans-serif;    font-size: 15px;   font-weight: bold; height: 35px;line-height: 35px; margin: auto;	 text-align: center; width: 150px; cursor:pointer; border-radius:3px; margin-bottom: 10px; }
	#btn_01					{ display:inline-block; background: rgb(25, 25, 25) none repeat scroll 0 0; border: medium none currentcolor;   color: rgb(255, 255, 255);   font-family: "Meiryo","MS PGothic","MS UI Gothic",AppleGothic,sans-serif;    font-size: 15px;   font-weight: bold; height: 35px;line-height: 35px; margin: auto;	 text-align: center; width: 150px; cursor:pointer; border-radius:3px; margin-bottom: 10px;}

@media screen and (max-width: 360px) {
   /*.mv_name_sel, .mvtext, input[type=subject] {width: 98%; margin-top: 0;}*/
			.mvtext      {float:left; width:86%; margin-right:5px;}
}
</style>

<script>

$(document).ready(function(){
    if($('#tab').val()){
        icon_bar_view($('#tab').val());
        view_paging(1,$('#tmp_no').val(),"");
        main_gall_resize();
   }
});

$(window).resize(function(){
			main_gall_resize();
});

	function main_gall_resize()
	{
				var wid_width = window.document.body.offsetWidth;
				//alert(wid_width);
				if( wid_width < 1175 )
				{
								$(".movieList_le	").css({"width":810+"px"});
								$(".movieList_le	").css({"margin":"0 auto"});
				}
				if( wid_width > 1174 )
				{
								$(".movieList_le	").css({"width":290+"px"});
								$(".movieList_le	").css({"padding":0+"px"});
				}
				if( 835 < wid_width && 1173 > wid_width )
				{
								$(".movieList_le	").css({"width":910+"px"});
								$(".movieList_le	").css({"margin":"0 auto"});
				}
				if( wid_width < 835 )
				{
								$(".movieList_le	").css({"width":640+"px"});
								$(".movieList_le	").css({"margin":"0 auto"});
				}
				if( wid_width < 640 )
				{
								$(".movieList_le	").css({"width":270+"px"});
								$(".movieList_le").css({"padding":10+"px"});
								//$(".galleryList_le").css({"background-color":"#CCC"});
								$(".movieList_le").css({"margin":"0 auto"});
				}
	}

function icon_bar_view(vid)
 {
    var val_tail = "&chk_no="+ $('#tmp_no').val();
     for(var k=1;k < 5; k++){
        if(vid == k){
            $.ajax({
                type: "POST",
                url: "store_ls_ajax.php",
                data: "num="+ vid +val_tail,
                cache: false,
                success: function(data){
                    $("#tob_bar_ls"+vid).empty();
                    $("#tob_bar_ls"+vid).html(data);
                }
            });
            var imgurl = "../images/btn_new_menu0"+k+"_r.jpg";
            $('#src_Tab'+k).attr("src", imgurl);
            $('#tob_bar_ls'+k).show();
            $('#tab').val(k);
        }else{
            var imgurl = "../images/btn_new_menu0"+k+".jpg";
            $('#src_Tab'+k).attr("src", imgurl);
            $('#tob_bar_ls'+k).hide();
        }
    }
}

function searchChk() {
	//검색
	document.form.action = "./news.php";
	document.form.submit();
}
function chklist(val){
	if(document.all("list"+val).style.display == "none"){
		$('#list'+val).fadeIn('slow');
        $('#area'+val).fadeIn('slow');
		document.all("listBtn"+val).src='/images/sub/icon_arr_more.jpg';
	}else{
		$('#list'+val).fadeOut('slow');
        $('#area'+val).fadeOut('slow');
		document.all("listBtn"+val).src='/images/sub/icon_arr_more2.jpg';
	}
}

//좋아요
function content_like(val,val2,val3){
   var check_login = val3;
   if(check_login < 3){
       alert("ログイン後に使用可能です。");
       return ;
   }

   $.ajax({
       type: "POST",
       url: "like_ajax.php",
       dateType: "json",
       data: "num="+ val+"&division="+val2 ,
       cache: false,
       success: function(data){
									$("#voted_number"+val).html(data.now);
         if(data.checkUser == 0){
           $("#voted_img"+val).attr("src","/images/sub/icon_mv_like_off.png");

											$("#voted_color_"+val).css("color","#838383");
											$("#voted_number"+val).css("color","#838383");

         }else{
            $("#voted_img"+val).attr("src","/images/sub/icon_mv_like_on.png");
												$("#voted_color_"+val).css("color","#FF4D06");
												$("#voted_number"+val).css("color","#FF4D06");
         }


       }
   });

return false;
}


function left_paging(val_page,val_tail){
   var vid= $('#tab').val();
   $.ajax({
        type: "POST",
        url: "store_ls_ajax.php",
        data: "num="+ vid +"&page="+val_page+val_tail,
        cache: false,
        success: function(data){
            $("#tob_bar_ls"+vid).empty();
            $("#tob_bar_ls"+vid).html(data);
        }
    });

return;
}

function view_paging(val_page,val_num,val_tail){
				//alert(val_num);

        left_paging(val_page,"&chk_no="+val_num+val_tail);

        $.ajax({
            type: "POST",
            url: "store_view_ajax.php",
            data: "num="+ val_num +"&page="+val_page+val_tail,
            cache: false,
            success: function(data){
                //alert(data);
                $("#con_ls").empty();
                $("#con_ls").html(data);

                $('#tmp_no').val(val_num);
								$(window).scrollTop(0);
            }
        });


 return;

}

function changeTab(tab_type)
	{
		var thisUrl = location.href.replace(location.hash,"");

	//	$("[class=^tab-]").removeClass('active-tab');
		$(".tab-basic").removeClass('active-tab');
		$(".tab-review").removeClass('active-tab');
		$(".tab-qna").removeClass('active-tab');

		$(".tab-basic .bar-area").removeClass('active-bar').removeClass('active-bar2');
		$(".tab-review .bar-area").removeClass('active-bar').removeClass('active-bar2');

		$(".content-area").hide();
		$(".content-review").hide();
		$(".content-qna").hide();

		if(tab_type == 'basic') {
			$(".tab-basic").addClass('active-tab');
			$(".tab-basic .bar-area").addClass('active-bar');
			location.href = thisUrl + "#purchase";

			$(".content-area").show();
		}
		else if(tab_type == 'review') {
			$(".tab-review").addClass('active-tab');
			$(".tab-basic .bar-area").addClass('active-bar').addClass('active-bar2');
			$(".tab-review .bar-area").addClass('active-bar');
			location.href = thisUrl + "#goods-review";

			$(".content-review").show();
		}
		else if(tab_type == 'qna') {
			$(".tab-qna").addClass('active-tab');
			$(".tab-review .bar-area").addClass('active-bar').addClass('active-bar2');
			location.href = thisUrl + "#goods-qna";

			$(".content-qna").show();
		}
	}

	function formChange(val,mode){
		//내용변경
			$('#idx').val(val);
			$('#mode').val(mode);

			var queryString = $("form[name=form]").serialize() ;
			$.ajax({
				type: "POST",
				url: "store_order.php",
				data: queryString,
				success: function(data){
					$("#con_ls").empty();
          $("#con_ls").html(data);
				}
			});
	}


	function chkgoods(val,mode,goodsTotal){
		var tmpChk = "";
		if (goodsTotal == 0) goodsTotal=1;
		for(var k=0;k < goodsTotal;k++){
		if(document.getElementById('goodsCnt'+k).value != 0) tmpChk = 1;
		}

		if(tmpChk){
			//alert(tmpChk);
			//formChange(val,mode);
			document.form.idx.value = val;
			document.form.mode.value = mode;
			document.form.action = "./store_order.php";
			document.form.submit();
		}else{
			alert("数量を入れてください");
			return false;
		}

	}


	function setCookie( name, value, expiredays ) {
	var todayDate = new Date();
	todayDate.setDate( todayDate.getDate() + expiredays );
	document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
	}

	function getCookie( name )
	{
		var nameOfCookie = name + "=";
		var x = 0;
		while ( x <= document.cookie.length )
		{
			var y = (x+nameOfCookie.length);
			if ( document.cookie.substring( x, y ) == nameOfCookie ) {
				if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
					endOfCookie = document.cookie.length;
				return unescape( document.cookie.substring( y, endOfCookie ) );
			}
			x = document.cookie.indexOf( " ", x ) + 1;
			if ( x == 0 )
			break;
		}
	return "";
	}

	function cookieChk(idxval,tableNames){
		if ( getCookie( "storechuchun"+idxval) != "done" ) {

			setCookie("storechuchun"+idxval, "done" , 1 );
			showCustomer2( idxval ,tableNames );
			alert("お勧めしました.");
		}else{
			alert("既にお勧めしました");return false;
		}
	}
	function selectChk(cnt,tmpprice){
		tmp_sum_price = (tmpprice*cnt);
		document.getElementById("span_price1").innerHTML = tmp_sum_price;
	}

	function selectChk2(cnt,tmpprice,val){

		tmp_sum_price = (tmpprice*cnt);
		document.getElementById("span_price"+val).innerHTML = tmp_sum_price;
	}

	function resize_Image(){
	newX=event.x;
	newY=event.y;
	event.srcElement.width=newX;
	event.srcElement.height=newY;
	}


	function go_store()
	{
			//alert("test");
			location.href = "store.php";
	}

</script>


<SECTION>
	<ARTICLE class="article_news">

		<div class="article_news_area">

			<!-- LEFT -->
			<div class="con_left">
				<div class="con_tit"><img src="../images/sub/sub_tit_15.jpg" /></div>
				<div class="icon_bar">
					<input type="hidden" name="tab" id ="tab" value="<?=$tab?>">
          <input type="hidden" name="tmp_no" id ="tmp_no" value="<?=$tmp_no?>">
					<ul id="tob_bar_area1" class="icon_menu">
					<li class="icon_menu_ac1"><a href="javascript:icon_bar_view(1)"><img id="src_Tab1" src="../images/btn_new_menu01_r.jpg" width="56" height="56" /></a></li><li class="icon_menu_ac2"><a href="javascript:icon_bar_view(2)"><img id="src_Tab2" src="../images/btn_new_menu02.jpg" width="56" height="56" /></a></li><li class="icon_menu_ac3"><a href="javascript:icon_bar_view(3)"><img id="src_Tab3"  src="../images/btn_new_menu03.jpg" width="56" height="56" /></a></li><li class="icon_menu_ac4"><a href="javascript:icon_bar_view(4)"><img id="src_Tab4" src="../images/btn_new_menu04.jpg" width="56" height="56" /></a></li>
					</ul>

					<div id="tob_bar_ls1" class="rec_list_ar"></div>
					<div id="tob_bar_ls2" class="rec_list_ar"></div>
					<div id="tob_bar_ls3" class="rec_list_ar"></div>
					<div id="tob_bar_ls4" class="rec_list_ar"></div>
				</div>
			</div>
			<!-- LEFT -->

			<!-- RIGHT -->
			<div class="con_right" id="con_ls"></div>
			<!-- RIGHT -->

		</div>
	</ARTICLE>
</SECTION>

<?

	include"inc_bottom.php";

?>

 </body>
 </html>

Anon7 - 2021