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/member_bak/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/www/member_bak/mypage_left2.php
<link rel="stylesheet" type="text/css" href="/css/mypage_test.css" />
<script type="text/JavaScript"> 

function chkInsert(status) {
		var choose = confirm("正会員登録を申し込みますか?");
		if(choose){
			document.form.idx.value = status;
			document.form.action = "./mypage_proc.php";
			document.form.submit();
		}
	}

	function chkNo() {
		alert("既に申し込まれております。");
	}
	
</script>
<?
if($HTTP_SESSION_VARS[S_IDX]){
	$mIdx = $HTTP_SESSION_VARS[S_IDX];
	$qry = Get_dbres("select * from user where id = '$mIdx'");
	$row = mysql_fetch_array($qry);

  $regDate = substr($row[reg_date],0,10);
  $chkgiganNum = Get_db("select flag from user_cash where user_id = '$mIdx' order by id desc");
}else{
echo "<script>parent.location.href = '/member/?tab=12&tabs=4'</script>";
}
?>
<?
		if($row[auth_code] == 10){
			$end_arr = explode("-",$row[m_enddate]);
			$end_time = mktime(0,0,0,$end_arr[1], $end_arr[2], $end_arr[0]);
			$now_time = mktime(0,0,0,date("m"), date("d"), date("Y"));
			$giganCount = ($end_time - $now_time)/86400;
		}
?>
<div class="input_ti_mypg">
	<ul>
	<li><img src="/images/sub/sub_title_17.jpg" /></li>
	<li class="jap"><img src="/images/sub/sub_title_18.jpg" /></li>
	<li class="monitor"><img src="/images/sub/sub_title_19.jpg" /></li>
	</ul>
</div>
<div class="mypg_cont">
	<div class="mypg_left">
		<h4>"<?=$row[jname]?>"<span>&nbsp;様のマイページ</span></h4>
		<ul class="mem_info">
		<li class="info">・正会員情報&nbsp;
			<a href="javascript:<?if($chkgiganNum=="A" || $giganCount >100){echo"chkNo();";}else{echo"chkInsert('$mIdx');";}?>">
			<span class="btn_extension">正会員<?if($chkgiganNum!="A"){echo"申込";}else{echo"延長";}?></span></a></li>
		<li class="mem_term">正会員期間<br />
			<?
				if($row[auth_code] == 10){
					echo $row[m_startdate]."~".$row[m_enddate];
				}else{
					echo"正会員に登録してください";
				}
			?>
			
		</li>
		<li class="until"><span>・残りの期間</span>
		<span class="blue">
		<?if($giganCount) echo "$giganCount 日";?>
		</span></li>
		</ul>	<!--	mem_info	-->
		<dl>
		<dt><img src="/images/member/icon_info.gif" width="18" height="18" />&nbsp;&nbsp;正会員情報</dt>
		<dd>・&nbsp;&nbsp;<a href="/member/?tab=12&tabs=5">申込内訳</a></dd>
		<dd>・&nbsp;&nbsp;<a href="javascript:<?if($chkgiganNum=="A" || $giganCount >100){echo"chkNo();";}else{echo"chkInsert('$mIdx');";}?>">
						正会員<?if($chkgiganNum!="A"){echo"申込";}else{echo"延長";}?></a></dd>
		<dd>・&nbsp;&nbsp;<span style="font-weight:bold;"><a href="/member/?tab=12&tabs=9">正会員特典・ガイド</a></span></dd>
		</dl>
		<dl>
		<dt><img src="/images/member/icon_mem.gif" width="18" height="18" />&nbsp;&nbsp;会員情報管理</dt>
		<a href="/member/?tab=12&tabs=10"><dd>・&nbsp;&nbsp;会員情報修正</dd></a>
		<!--dd>・&nbsp;&nbsp;パスワード変更</dd-->
		<a href="javascript:alert('準備中です.')"><dd>・&nbsp;&nbsp;会員退会</dd></a>
		</dl>
		<dl>
		<dt><img src="/images/member/icon_qna.gif" width="18" height="18" />&nbsp;&nbsp;サービスセンター</dt>
		<a href="javascript:alert('準備中です.')"><dd>・&nbsp;&nbsp;Q&amp;A</dd></a>
		</dl>
	</div>		<!--	mypg_left	-->
</div>	

Anon7 - 2021