• Файл: zkh_piter.html
  • Полный путь: https://files.multura.space/qiwi/interface_old-osmp_v2.7.8/site/zkh_piter.html
  • Дата изменения: 10/09/2015 5:24 PM
  • Размер файла: 16.11 KB
  • MIME-тип: text/html
  • Кодировка: 8 bit
 
Открыть Назад
<html>

<head>

<title> -</title>

<meta http-equiv="refresh" content="180; URL=./index.html">
<meta http-equiv="pragma" content="no-cashe">
<meta http-equiv="content-type" content="text/html; charset=windows-1251">

<script src="./reklama.js"></script>

</head>

<body onLoad="press('c'); reklama('zkh_piter');" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">

<center>

<style>

.alert {
	font-size: 15;
	color: ffffff;
	font-family: arial;
	font-weight: bold;
}


.t_b {
	font-size: 20;
	color: 368DC4;
	font-family: arial
}




.t_b2 {
	font-size: 15;
	color: 368DC4;
	font-family: arial
}
.t_w {
	font-size: 20;
	color: white;
	font-family: arial;
}
.inp{
	font-family: arial;
	color: A61D00;
	font-size: 45;
	border-left-width: 0;
	border-right-width: 0;
	border-top-width: 0;
	border-bottom-width: 0;
	border-width: 0;
	background-color: f0f0f0;
	border-style: none;
	font-weight: bold;
	text-align: center;
}

.inp2{
	font-family: arial;
	color: A61D00;
	font-size: 45;
	border-left-width: 0;
	border-right-width: 0;
	border-top-width: 0;
	border-bottom-width: 0;
	border-width: 0;
	border-style: none;
	font-weight: bold;
	text-align: center;
}


.cname{
	font-family: arial;
	color: white;
	font-size: 20;
	border-left-width: 0;
	border-right-width: 0;
	border-top-width: 0;
	border-bottom-width: 0;
	border-width: 0;
	background-color: 368DC4;
	border-style: none;
	font-weight: bold;
	text-align: center;
}
</style>



<script>

var x = '';

function press(digit) {
	
	if (digit == 'c') {x='';}

	else if (digit == 'bs') {x = x.substring(0,x.length-1)}

	else {
		if (x.length < 27) {x = x + digit;}
	}
	
	ff._extra_account.value = '';
	ff._extra_from_m.value = '';
	ff._extra_to_m.value = '';
	ff._extra_year.value = ''; 
	ff.code.value = ''; 
	ff.phone.value = '';


	var error = "";
	var error2 = "";
	var error3 = "";
	var dibla = "";


        if(x.length < 9) {
		ff._extra_account.value = x.substring(0,9);
		}

        if(x.length >= 9) {
		ff._extra_from_m.value = x.substring(9,11);
		ff._extra_account.value = x.substring(0,9);
		}

        if(x.length >= 12) {
		ff._extra_to_m.value = x.substring(11,13);
		ff._extra_from_m.value = x.substring(9,11);
		ff._extra_account.value = x.substring(0,9);
		}

        if(x.length >= 13) {
		ff._extra_year.value = x.substring(13,17);
		ff._extra_to_m.value = x.substring(11,13);
		ff._extra_from_m.value = x.substring(9,11);
		ff._extra_account.value = x.substring(0,9);
		}

        if(x.length >= 17) {

		ff.code.value = x.substring(17,20);
		ff._extra_year.value = x.substring(13,17);
		ff._extra_to_m.value = x.substring(11,13);
		ff._extra_from_m.value = x.substring(9,11);
		ff._extra_account.value = x.substring(0,9);
		}


        if(x.length >= 20) {

		ff.phone.value = x.substring(20,27);
		ff.code.value = x.substring(17,20);
		ff._extra_year.value = x.substring(13,17);
		ff._extra_to_m.value = x.substring(11,13);
		ff._extra_from_m.value = x.substring(9,11);
		ff._extra_account.value = x.substring(0,9);
		}





	if (x.length == 11) {

			var from_mm = x.substring(9,11);
                        if (!((from_mm >= "01") && (from_mm <= "12")))  error += "<table cellpadding=\"10\" cellspacing=\"0\" border=\"0\" width=\"100%\" height=\"50\"><tr bgcolor=\"#c00303\"><td align=\"center\" valign=\"middle\"><img border=\"0\" src=\"./img/alert.gif\"></td><td class=\"alert\">!<br>  : <u> ()</u></td></tr></table>"
			
				if (error.length != 0)
					{
					document.getElementById('ERROR_MSG').innerHTML = error;
					ff._extra_from_m.value = '';
					x = x.substring(0, 9);
					}

				else document.getElementById('ERROR_MSG').innerHTML = "";

		}


	if (x.length == 13) {

			var to_mm = x.substring(11,13);
                        if (!((to_mm >= "01") && (to_mm <= "12")))  error2 += "<table cellpadding=\"10\" cellspacing=\"0\" border=\"0\" width=\"100%\" height=\"50\"><tr bgcolor=\"#c00303\"><td align=\"center\" valign=\"middle\"><img border=\"0\" src=\"./img/alert.gif\"></td><td class=\"alert\">!<br>  : <u> ()</u></td></tr></table>"
			                
				if (error2.length != 0)
					{
					document.getElementById('ERROR_MSG').innerHTML = error2;
					ff._extra_to_m.value = '';
					x = x.substring(0, 11);
					}

				else document.getElementById('ERROR_MSG').innerHTML = "";

		}


	if (x.length == 17) {

			var gyear = x.substring(13,17);
                        if (!((gyear >= "1995") && (gyear <= "2025")))  error3 += "<table cellpadding=\"10\" cellspacing=\"0\" border=\"0\" width=\"100%\" height=\"50\"><tr bgcolor=\"#c00303\"><td align=\"center\" valign=\"middle\"><img border=\"0\" src=\"./img/alert.gif\"></td><td class=\"alert\">!<br>  : <u>()</u></td></tr></table>"
			                
				if (error3.length != 0)
					{
					document.getElementById('ERROR_MSG').innerHTML = error3;
					ff._extra_year.value = '';
					x = x.substring(0, 13);
					}

				else document.getElementById('ERROR_MSG').innerHTML = "";

		}



	if (x.length == 27) {

			var dcode = x.substring(17,20);
			var dphone = x.substring(20,27);
                        if ((dcode == "666") && (dphone == "6666666"))  dibla += "<table cellpadding=\"10\" cellspacing=\"0\" border=\"0\" width=\"100%\" height=\"50\"><tr bgcolor=\"#c00303\"><td align=\"center\" valign=\"middle\"><img border=\"0\" src=\"./img/alert.gif\"></td><td class=\"alert\">  !  ?   ? </u></td></tr></table>"
			                
				if (dibla.length != 0)
					{
					document.getElementById('ERROR_MSG').innerHTML = dibla;
					ff.code.value = '';
					ff.phone.value = '';
					x = x.substring(0,17);
					}

				else document.getElementById('ERROR_MSG').innerHTML = "";

		}




	


	ff.getAccountNumber.value = x.substring(0,9);
	ff._extra_phonenumber.value = x.substring(17,27);
        	
	document.account.src='./img/set_1.gif';
	document.from_m.src='./img/set_0.gif';
	document.to_m.src='./img/set_0.gif';
	document.year.src='./img/set_0.gif';

	if (x.length >= 9) {
		document.account.src='./img/set_0.gif';
		document.from_m.src='./img/set_1.gif';
		document.to_m.src='./img/set_0.gif';
		document.year.src='./img/set_0.gif';
		document.code.src='./img/set_0.gif';
		document.phone.src='./img/set_0.gif';
		}

	if (x.length >= 11) {
		document.account.src='./img/set_0.gif';
		document.from_m.src='./img/set_0.gif';
		document.to_m.src='./img/set_1.gif';
		document.year.src='./img/set_0.gif';
		document.code.src='./img/set_0.gif';
		document.phone.src='./img/set_0.gif';
		}

	if (x.length >= 13) {
		document.account.src='./img/set_0.gif';
		document.from_m.src='./img/set_0.gif';
		document.to_m.src='./img/set_0.gif';
		document.year.src='./img/set_1.gif';
		document.code.src='./img/set_0.gif';
		document.phone.src='./img/set_0.gif';
		}

	if (x.length >= 17) {
		document.account.src='./img/set_0.gif';
		document.from_m.src='./img/set_0.gif';
		document.to_m.src='./img/set_0.gif';
		document.year.src='./img/set_0.gif';
		document.code.src='./img/set_1.gif';
		document.phone.src='./img/set_0.gif';
		}

	if (x.length >= 20) {
		document.account.src='./img/set_0.gif';
		document.from_m.src='./img/set_0.gif';
		document.to_m.src='./img/set_0.gif';
		document.year.src='./img/set_0.gif';
		document.code.src='./img/set_0.gif';
		document.phone.src='./img/set_1.gif';
		}

	if (x.length >= 27) {
		document.account.src='./img/set_0.gif';
		document.from_m.src='./img/set_0.gif';
		document.to_m.src='./img/set_0.gif';
		document.year.src='./img/set_0.gif';
		document.code.src='./img/set_0.gif';
		document.phone.src='./img/set_0.gif';
		}


	if (x.length >= 27) {document.next.src='./img/continiue.gif';}

	else {document.next.src='./img/set_0.gif';}

}

function gonext() {
	if (x.length > 9) {
		location.href='enter_sum.html';
			}
	}


</script>



<table cellpadding="0" cellspacing="0" border="0" width="100%" height="97%">

<tr><td colspan="3" bgcolor="#c0c0c0" height="1" name="rek" id="rek"></td></tr>

<tr><td valign="top">
	
	<form name="ff" action="./validate_confirm.html" method="post">
        <input type="hidden" name="getAccountNumber">
        <input type="hidden" name="_extra_phonenumber">
	
	<table cellpadding="0" cellspacing="0" border="0" width="450">
	<tr><td style="padding-top: 100px;" colspan="2"><img border="0" src="./img/enter_number.gif"></td></tr>
	</table>

	<table cellpadding="0" cellspacing="0" border="0" width="450">
	<tr><td width="70"></td><td class="t_b">
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
	
		<tr>
		<td colspan="3" class="t_b" height="50" valign="bottom">   </td>
		</tr>
	
		<tr>
		<td width="11"><img border="0" src="./img/in_left.gif"></td><td bgcolor="#f0f0f0"><input name="_extra_account" type="text" maxlenght="9" class="inp" style="width: 300;"></td><td width="11"><img border="0" src="./img/in_right.gif"></td>
		</tr>

		<tr>
		<td colspan="3" align="center"><img border="0" src="./img/set_1.gif" name="account" id="account" style="margin-top: 10;"></td>
		</tr>

		</table>
	</td><td width="50"></td></tr>
	</table>


	<table cellpadding="0" cellspacing="0" border="0">
	<tr><td width="70"></td><td class="t_b">
		<table cellpadding="0" cellspacing="0" border="0" width="100%">

		<tr>
		<td colspan="11" class="t_b" height="30" valign="bottom">  </td>
    		</tr>
		
		<tr>
		<td colspan="3" class="t_b">  ()</td>
		<td width="10"></td>
		<td colspan="3" class="t_b">  ()</td>
		<td width="10"></td>
		<td colspan="3" class="t_b"> ()</td>
		</tr>

		<tr>
		<td width="11" bgcolor="#f0f0f0"><img border="0" src="./img/in_left.gif"></td><td bgcolor="#f0f0f0" width="80"><input name="_extra_from_m" type="text" maxlenght="2" class="inp" style="width: 120;"></td><td width="11"><img border="0" src="./img/in_right.gif"></td>
		<td width="10"></td>
		<td width="11" bgcolor="#f0f0f0"><img border="0" src="./img/in_left.gif"></td><td bgcolor="#f0f0f0" width="80"><input name="_extra_to_m" type="text" maxlenght="2" class="inp" style="width: 120;"></td><td width="11"><img border="0" src="./img/in_right.gif"></td>	
		<td width="10"></td>		
		<td width="11" bgcolor="#f0f0f0"><img border="0" src="./img/in_left.gif"></td><td bgcolor="#f0f0f0" width="100"><input name="_extra_year" type="text" maxlenght="4" class="inp" style="width: 170;"></td><td width="11"><img border="0" src="./img/in_right.gif"></td>
		</tr>

		<tr>
                <td colspan="3" align="center"><img border="0" src="./img/set_0.gif" name="from_m" id="from_mm" style="margin-top: 10;"></td>
		<td width="10"></td>
                <td colspan="3" align="center"><img border="0" src="./img/set_0.gif" name="to_m" id="to_mm" style="margin-top: 10;"></td>
		<td width="10"></td>
                <td colspan="3" align="center"><img border="0" src="./img/set_0.gif" name="year" id="year" style="margin-top: 10;"></td>
		</tr>

		</table>
	</td><td width="50"></tr>
	</table>


	<table cellpadding="0" cellspacing="0" border="0">
	<tr><td width="70"></td><td class="t_b">
		<table cellpadding="0" cellspacing="0" border="0" width="100%">

		<tr>
		<td colspan="11" class="t_b">  :</td>
		</tr>

		<tr>
		<td class="inp2" width="30">8</td>
		<td width="11" bgcolor="#f0f0f0"><img border="0" src="./img/in_left.gif"></td><td width="9" bgcolor="#f0f0f0"><img border="0" src="./img/in_c_left.gif"></td><td bgcolor="#f0f0f0" width="100"><input name="code" type="text" maxlenght="2" class="inp" style="width: 100;"></td><td width="9" bgcolor="#f0f0f0"><img border="0" src="./img/in_c_right.gif"></td><td width="11" bgcolor="#ffffff"><img border="0" src="./img/in_right.gif"></td>
		<td width="10" bgcolor="#ffffff"></td>
		<td width="11" bgcolor="#f0f0f0"><img border="0" src="./img/in_left.gif"></td><td bgcolor="#f0f0f0" width="150"><input name="phone" type="text" maxlenght="2" class="inp" style="width: 200;"></td><td width="11"><img border="0" src="./img/in_right.gif"></td>	
		</tr>

		<tr>
		<td></td>
		<td colspan="5" align="center"><img border="0" src="./img/set_0.gif" name="code" id="code" style="margin-top: 10;"></td>
		<td width="10" bgcolor="#ffffff"></td>
		<td colspan="3" align="center"><img border="0" src="./img/set_0.gif" name="phone" id="phone" style="margin-top: 10;"></td>
		</tr>


		<tr>
		<td colspan="11" class="t_b2"><br>      <br>      .</td>
		</tr>

		</table>



	</td><td width="50"></tr>
	</table>


	<table cellpadding="0" cellspacing="0" border="0">
	<tr><td width="70"></td><td class="t_b">
		<table cellpadding="0" cellspacing="0" border="0" width="100%">

		<tr>
		<td height="10"></td>
		</tr>

		<tr>
		<td><div id=ERROR_MSG></div></td>
		</tr>
		</table>



	</td><td width="50"></tr>


	</table>




	</form>

</td><td align="right" valign="top">

	<table cellpadding="0" cellspacing="0" border="0" width="300">
	<tr><td align="center"><img border="0" src="./img/zkh_piter.jpg" style="margin-top: 50;"></td></tr>
	</table>

	<table cellpadding="0" cellspacing="0" border="0">
	<tr>
	<td><img src="img/01_off.gif" onmouseover="this.src='img/01_on.gif'" onmouseout="this.src='img/01_off.gif'" onClick="press('1');" alt="" width="100" height="112" border="0"></td>
	<td><img src="img/02_off.gif" onmouseover="this.src='img/02_on.gif'" onmouseout="this.src='img/02_off.gif'" onClick="press('2');" alt="" width="100" height="112" border="0"></td>
	<td><img src="img/03_off.gif" onmouseover="this.src='img/03_on.gif'" onmouseout="this.src='img/03_off.gif'" onClick="press('3');" alt="" width="100" height="112" border="0"></td>
	</tr>
	<tr>
	<td><img src="img/04_off.gif" onmouseover="this.src='img/04_on.gif'" onmouseout="this.src='img/04_off.gif'" onClick="press('4');" alt="" width="100" height="112" border="0"></td>
	<td><img src="img/05_off.gif" onmouseover="this.src='img/05_on.gif'" onmouseout="this.src='img/05_off.gif'" onClick="press('5');" alt="" width="100" height="112" border="0"></td>
	<td><img src="img/06_off.gif" onmouseover="this.src='img/06_on.gif'" onmouseout="this.src='img/06_off.gif'" onClick="press('6');" alt="" width="100" height="112" border="0"></td>
	</tr>
	<tr>
	<td><img src="img/07_off.gif" onmouseover="this.src='img/07_on.gif'" onmouseout="this.src='img/07_off.gif'" onClick="press('7');" alt="" width="100" height="112" border="0"></td>
	<td><img src="img/08_off.gif" onmouseover="this.src='img/08_on.gif'" onmouseout="this.src='img/08_off.gif'" onClick="press('8');" alt="" width="100" height="112" border="0"></td>
	<td><img src="img/09_off.gif" onmouseover="this.src='img/09_on.gif'" onmouseout="this.src='img/09_off.gif'" onClick="press('9');" alt="" width="100" height="112" border="0"></td>
	</tr>
	<tr>
	<td><img src="img/c_off.gif" onmouseover="this.src='img/c_on.gif'" onmouseout="this.src='img/c_off.gif'"  onClick="press('c');" alt="" width="100" height="112" border="0"></td>
	<td><img src="img/00_off.gif" onmouseover="this.src='img/00_on.gif'" onmouseout="this.src='img/00_off.gif'" onClick="press('0');" alt="" width="100" height="112" border="0"></td>
	<td><img src="img/arr_off.gif" onmouseover="this.src='img/arr_on.gif'" onmouseout="this.src='img/arr_off.gif'" onClick="press('bs');" alt="" width="100" height="112" border="0"></td>
	</tr>

	</table>



</td><td width="70"></td></tr>

<tr><td colspan="3" height="150">
	
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
	
	<tr><td width="70"></td><td align="left"><a href="./zkh_all.html"><img border="0" src="./img/back.gif" vspace="15"></a></td><td align="right"><img src="./img/continiue.gif" vspace="15" onclick='document.cookie="Phone_Number="+ ff.getAccountNumber.value; ff.submit();' id="next" name=next border="0"></td><td width="70"></td></tr>
	
	</table>


</td></tr>

<tr><td colspan="3" bgcolor="#cb002d" height="30"></td></tr>



</body>


</html>