Help
RSS
API
Feed
Maltego
Contact
Domain > infinitysmokemd.com
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2020-02-04
104.18.46.69
(
ClassC
)
2024-11-04
104.21.37.119
(
ClassC
)
Port 80
HTTP/1.1 200 OKDate: Mon, 04 Nov 2024 03:54:50 GMTContent-Type: text/html; charsetUTF-8Transfer-Encoding: chunkedConnection: keep-aliveExpires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: no-store, no-cache, must-revalidatePragma: no-cacheSet-Cookie: PHPSESSIDelff0v8cgrgitrna498s76shh2; path/Vary: Accept-Encodingcf-cache-status: DYNAMICReport-To: {endpoints:{url:https:\/\/a.nel.cloudflare.com\/report\/v4?sZV78TfrT80hyX6ZyrAa4L%2Fkbq9fhU%2FlJoBy7uXyDbvT1NiSKGynfyEvVc0HIjSk5q0gSJM2AZghA88e9TwW4stV1%2BX%2FKk3oOT97C%2B5iBPc690CW521fOz13yh7XdXXH%2FTHR%2BXi1y},group:cf-nel,max_age:604800}NEL: {success_fraction:0,report_to:cf-nel,max_age:604800}Server: cloudflareCF-RAY: 8dd1aa3f9c782841-SEAalt-svc: h3:443; ma86400server-timing: cfL4;desc?protoTCP&rtt9038&sent1&recv3&lost0&retrans0&sent_bytes0&recv_bytes58&delivery_rate0&cwnd249&unsent_bytes0&cid0000000000000000&ts0&x0 !doctype html>html langro>head> meta charsetUTF-8/> title>Panel Administrativ ~ Aplicatie Evidenta Kalianuri/title> meta nameviewport contentwidthdevice-width, initial-scale1, shrink-to-fitno> meta namekeywords content /> meta namedescription content /> !--favicon--> link relicon hrefimages/favicon.png typeimage/x-icon /> link relshortcut icon hrefimages/favicon.png typeimage/x-icon /> !-- CSS files --> link relstylesheet hrefcss/main.css typetext/css /> link hrefhttps://fonts.googleapis.com/css?familyOpen+Sans:400,700&displayswap&subsetcyrillic-ext relstylesheet>/head>body classno_padding>div idwrapper classclearfix wrapper> div classtext-center logo_box> img srcimages/logo-small.png alt> /div> div classwhite_box small> div classtext-center> h2> Autentificare Client /h2> hr> /div> form action methodpost> input typehidden namecompany_login valuetrue /> label> span>Email/span> input typetext nameemail value placeholderE-mail required autocompleteoff autofocus> /label> label> span>Parola/span> input typepassword namepassword value placeholderParola required autocompleteoff> /label> div classform_submit> button classtap green fullwidth typesubmit>i classfa fa-lock>/i> Logare/button> /div> /form> /div> div classcopy> © 2024. Toate drepturile rezervate /div>/div>script srcjs/jquery-3.4.1.min.js>/script>script typetext/javascript srcjs/lib.js>/script>script> $(document).ready(function(){ function log(data){console.log(data);} $(document).on(click touch, .js_print, function (e) {e.preventDefault();window.print()}); $(document).on(click touch, .new_report_remove, function (e) { e.preventDefault(); $(#new_report, #new_assets).removeClass(active); $(.js_add_report, .js_add_assets).removeClass(active); }); $(document).on(click touch, .js_add_report, function (e) { e.preventDefault(); // hide $(#new_assets).removeClass(active); $(.js_add_assets).removeClass(active); $(this).toggleClass(active); $(#new_report).toggleClass(active); }); $(document).on(click touch, .js_add_assets, function (e) { e.preventDefault(); // hide $(#new_report).removeClass(active); $(.js_add_report).removeClass(active); $(this).toggleClass(active); $(#new_assets).toggleClass(active); }); var item_index 0; $(document).on(click touch, .js_add_condition, function (e) { e.preventDefault(); var extra_container $(this).parents(.item_salary).find(.extra_salary_conditions); // span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> extra_container.append(div classclearfix item_salary_row> span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> div classrow> div classcol-sm-12 col-md-4> label> span>Suma (MDL)/span> input classjs_item_salary typenumber min10 nameitem_salary value25 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Vanzari (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value101 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>Vanzari (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value150 placeholder required autocompleteoff> /label> /div>/div>/div>/div>/div>/div>); updateSalaryJSON(); }); $(document).on(click touch, .js_add_carbuni, function (e) { e.preventDefault(); var extra_container $(this).parents(.carbuni_types).find(.carbuni_extra); // span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> extra_container.append(div classcarbuni_holder> span classcarbuni_remove closer titleSterge>i classfa fa-times>/i>/span> label> span>CARBUNI/span> select nameid_c> option value98>Crown/option> /select> /label> label> span>Consum Carbuni/span> input classjs_item_consum_c typenumber min0 step0.000001 nameconsum_c value20 placeholder29.000 required autocompleteoff> /label> /div>); updateSalaryJSON(); updateCarbuniJSON(); }); $(document).on(click touch, .carbuni_remove, function (e) { e.preventDefault(); $(this).parents(.carbuni_holder).remove(); updateCarbuniJSON(); }); $(document).on(click touch, .salary_condition_remove, function (e) { e.preventDefault(); $(this).parents(.item_salary_row).remove(); updateSalaryJSON(); }); $(document).on(click touch, .js_add_item, function (e) { e.preventDefault(); var extra_container $(#k_extra); item_index++; // Closer // span classk_item_remove closer titleSterge acest item>i classfa fa-times>/i>/span> // extra_container.append(div classk_item_wrap> span classk_item_remove closer titleSterge acest item>i classfa fa-times>/i>/span> input typehidden classjs_salary_conditions namesalary_conditions value/> div classrow> div classcol-sm-12 col-md-6> label> span>Denumire/span> input classjs_item_name typetext nameitem_name value placeholderDenumire Kalian required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>Cost/span> input classjs_item_cost typenumber min10 nameitem_cost value placeholderCost Kalian required autocompleteoff> /label> /div>/div>div classrow> div classcol-sm-12 col-md-6> label> span>TABAC/span> select nameid_t> option value79>Premium tabac/option>option value94>Standart/option>option value103>Tangiers/option> /select> /label> /div>div classcol-sm-12 col-md-6> label> span>Consum Tabac/span> input classjs_item_consum_t typenumber min0 step0.000001 nameconsum_t value placeholder16.667 required autocompleteoff> /label> /div>/div>div classcarbuni_types> input typehidden classjs_carbuni_json namecarbuni_json value> div classtext-center> h5> strong>Carbuni/strong> /h5> /div>hr> div classcarbuni_holder> label> span>CARBUNI/span> select nameid_c> option value98>Crown/option> /select> /label> label> span>Consum Carbuni/span> input classjs_item_consum_c typenumber min0 step0.000001 nameconsum_c value placeholder29.000 required autocompleteoff> /label> /div>div classcarbuni_extra>/div>div classitem_add_carbuni mt15> button typebutton classtap js_add_carbuni sm titleAdauga carbuni> i classfa fa-plus>/i> Adauga carbuni /button> /div>/div>div classitem_salary> div classclearfix item_salary_row> div classrow> div classcol-sm-12 col-md-4> label> span>Suma (MDL)/span> input classjs_item_salary typenumber min0 nameitem_salary value15 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Cantitate (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value1 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>Vanzari (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value15 placeholder required autocompleteoff> /label> /div>/div>/div>/div>/div>/div>div classclearfix item_salary_row> div classrow> div classcol-sm-12 col-md-4> label> span>Salariu/span> input classjs_item_salary typenumber min10 nameitem_salary value20 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Cantitate (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value16 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>Cantitate (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value100 placeholder required autocompleteoff> /label> /div>/div>/div>/div>/div>/div>div classclearfix item_salary_row> span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> div classrow> div classcol-sm-12 col-md-4> label> span>Salariu/span> input classjs_item_salary typenumber min0 nameitem_salary value25 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Cantitate (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value101 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>Cantitate (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value150 placeholder required autocompleteoff> /label> /div>/div>/div>/div>/div>/div>div classclearfix item_salary_row> span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> div classrow> div classcol-sm-12 col-md-4> label> span>Salariu/span> input classjs_item_salary typenumber min10 nameitem_salary value30 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Cantitate (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value151 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>Cantitate (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value9999 placeholder required autocompleteoff> /label> /div>/div>/div>/div>/div>/div>div classextra_salary_conditions>/div>div classitem_salary_add_condition> button typebutton classtap js_add_condition sm titleAdauga conditie> i classfa fa-plus>/i> Adauga conditie /button> /div>/div>/div>); extra_container.append(div classk_item_wrap> span classk_item_remove closer titleSterge acest item>i classfa fa-times>/i>/span> input typehidden classjs_salary_conditions namesalary_conditions value/> div classrow> div classcol-sm-12 col-md-6> label> span>Denumire/span> input classjs_item_name typetext nameitem_name value placeholderDenumire Kalian required autocompleteoff/> /label> /div> div classcol-sm-12 col-md-6> div classrow> div classcol-sm-12 col-md-6> label> span>Cost/span> input classjs_item_cost typenumber min10 nameitem_cost value placeholderCost Kalian required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>% Local (MDL)/span> input classjs_item_percent typenumber min1 namelocal_cost value placeholderExemplu: 30 required autocompleteoff> /label> /div>/div>/div> /div>hr> div classrow> div classcol-sm-12 col-md-6> label> span>TABAC/span> select nameid_t> option value79>Premium tabac/option>option value94>Standart/option>option value103>Tangiers/option> /select> /label> /div>div classcol-sm-12 col-md-6> label> span>CONSUM TABAC (GRAME)/span> input classjs_item_consum_t typenumber min0 step0.000001 nameconsum_t value placeholder16.667 required autocompleteoff/> /label> /div>/div>hr> div classrow> div classcol-sm-12 col-md-6> label> span>Carbuni (de baza)/span> select nameid_c> option value98>Crown/option> /select> /label> /div>div classcol-sm-12 col-md-6> label> span>Consum carbuni de baza (Grame)/span> input classjs_item_consum_c typenumber min0 step0.000001 nameconsum_c value placeholder24.000 required autocompleteoff> /label> /div>/div>hr> div classrow> div classcol-sm-12 col-md-6> label> span>Carbuni (alternativ)/span> select nameid_ca> option value98>Crown/option> /select> /label> /div>div classcol-sm-12 col-md-6> label> span>Consum carbuni alternativ (Grame)/span> input classjs_item_consum_ca typenumber min0 step0.000001 nameconsum_ca value placeholder30.000 required autocompleteoff> /label> /div>/div>div classtext-center mt30> h3> Salariu /h3> /div>div classitem_salary> div classclearfix item_salary_row> div classrow> div classcol-sm-12 col-md-4> label> span>Suma (MDL)/span> input classjs_item_salary typenumber min0 nameitem_salary value15 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Vanzari (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value1 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-6> label> span>Vanzari (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value15 placeholder required autocompleteoff/> /label> /div>/div>/div>/div>/div>/div>div classclearfix item_salary_row> div classrow> div classcol-sm-12 col-md-4> label> span>Suma (MDL)/span> input classjs_item_salary typenumber min10 nameitem_salary value20 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Vanzari (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value16 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-6> label> span>Vanzari (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value100 placeholder required autocompleteoff/> /label> /div>/div>/div>/div>/div>/div>div classclearfix item_salary_row> span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> div classrow> div classcol-sm-12 col-md-4> label> span>Suma (MDL)/span> input classjs_item_salary typenumber min0 nameitem_salary value25 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Vanzari (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value101 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-6> label> span>Vanzari (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value150 placeholder required autocompleteoff/> /label> /div>/div>/div>/div>/div>/div>div classclearfix item_salary_row> span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> div classrow> div classcol-sm-12 col-md-4> label> span>Suma (MDL)/span> input classjs_item_salary typenumber min10 nameitem_salary value30 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Vanzari (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value151 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-6> label> span>Vanzari (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value9999 placeholder required autocompleteoff/> /label> /div>/div>/div>/div>/div>/div>div classextra_salary_conditions>/div>div classitem_salary_add_condition> button typebutton classtap js_add_condition sm titleAdauga conditie>i classfa fa-plus>/i> Adauga conditie/button> /div>/div>/div>); updateSalaryJSON(); }); $(document).on(click touch, .k_item_remove, function (e) { e.preventDefault(); item_index--; $(this).parents(.k_item_wrap).remove(); updateSalaryJSON(); }); $(document).on(click touch, .js_add_new_asset, function (e) { e.preventDefault(); var extra_container $(#extra_assets); // Closer // span classk_item_remove closer titleSterge>i classfa fa-times>/i>/span> extra_container.append(div classasset_row> div classrow> span classk_item_remove closer titleSterge>i classfa fa-times>/i>/span> div classcol-sm-12 col-md-4> label> span>Tip/span> select nameasset_type> option valuetabac>Tabac/option> option valuecarbuni>Carbuni/option> /select> /label> /div>div classcol-sm-12 col-md-4> label> span>Denumire/span> input typetext nameasset_name value placeholderNume required autocompleteoff> /label> /div>div classcol-sm-12 col-md-4> label> span>Consum (Grame)/span> input typenumber nameasset_consum value min0 step0.001 placeholderConsum required autocompleteoff> /label> /div>/div>/div>); }); function clean(obj) { var propNames Object.getOwnPropertyNames(obj); for (var i 0; i propNames.length; i++) { var propName propNamesi; delete objpropName; } } $(document).on(change keyup, .k_item_wrap input, function () { updateSalaryJSON(); }); $(document).on(change keyup, .js_item_consum_c, .carbuni_holder select, function () { updateCarbuniJSON(); }); $(document).on(change, .js_asset_type, function (e) { var val $(this).val(); if( val tabac ){ $(.js_select_t).removeClass(hide); $(.js_select_c).addClass(hide); } else if( val carbuni){ $(.js_select_t).addClass(hide); $(.js_select_c).removeClass(hide); } }); var salary {}; function updateSalaryJSON(){ // clear object first clean( salary ); $(.k_item_wrap).each(function (items_index) { var el $(this), row el.find(.item_salary_row), target_input el.find(.js_salary_conditions), object {}; row.each(function (condition_index) { var el $(this), payment el.find(.js_item_salary).val(), min el.find(.js_item_min).val(), max el.find(.js_item_max).val(), conditions {}; conditions.salary payment; conditions.min min; conditions.max max; objectcondition_index conditions; }); salary object; // Set json object target_input.attr(value, JSON.stringify(salary) ); }); } updateSalaryJSON(); var result {}; function updateCarbuniJSON(){ // clear object first clean( result ); $(.carbuni_types).each(function (index) { var el $(this), row el.find(.carbuni_holder), target_input el.find(.js_carbuni_json), object {}; row.each(function (condition_index) { var el $(this), id_c el.find(select).val(), consum el.find(.js_item_consum_c).val(), conditions {}; conditions.id id_c; conditions.consum consum; objectcondition_index conditions; }); result object; // Set json object target_input.attr(value, JSON.stringify(object) ); }); } updateCarbuniJSON(); $(document).on(click touch, .js_delete_company, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_companytrue&company_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); // remove el.parents(tr).fadeOut(200); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .js_company_new_items .js_add_item, function (e) { e.preventDefault(); $(.k_add).removeClass(hide); }); $(document).on(click touch, .js_menu_switcher, function (e) { e.preventDefault(); $(this).toggleClass(active) $(.main_menu).toggleClass(active) }); $(document).on(click touch, .top_bar ul > li > a, function (e) { $(.js_menu_switcher).toggleClass(active) $(.main_menu).toggleClass(active) }); $(document).on(keypress, form.add_report_form input, function (e) { if (e.which 13) { let form $(e.target).parents(form), form_input form.find(inputtypenumber, inputtypetext), el_index form_input.index(e.target), next el_index + 1; if(next form_input.length){ e.preventDefault(); setTimeout(function () { form_inputnext.focus(); }, 100); } } }); $(document).on(click touch, .js_form_reset, function () { var form $(this).parents(form); setTimeout(function () { form.find(input.js_reset).val(); }, 300); }); $(document).on(click touch, .js_update_entry_asset, function () { $.amaran({ message :Actualizat!, position :top right }); }); if( $(window).width() 1024 ){ $(.js_date).attr(readonly, ); } $(document).on(click touch, .k_item_delete, function (e) { e.preventDefault(); var el $(this), server_response el.parents(.k_item_wrap).find(.server_response), parent el.parents(.k_item_wrap); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_itemtrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); // remove parent.fadeOut(200); setTimeout(function () { parent.remove(); }, 500); server_response.html(data); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .delete_report_list_item, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_reporttrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); // remove el.parents(tr).fadeOut(200); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .js_close_salary, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: close_salarytrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); $.amaran({ message :Salariu incheiat!, position :top right }); setTimeout(function () { location.reload(); }, 1000); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .js_unclose_salary, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: unclose_salarytrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); $.amaran({ message :Salvat!, position :top right }); setTimeout(function () { location.reload(); }, 500); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .js_delete_asset_row, function (e) { e.preventDefault(); let el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_assettrue&item_id+ el.data(id)+&json_responsetrue, success: function(data) { console.log( data ); // remove el.parents(tr).fadeOut(200); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .delete_asset_item, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_asset_itemtrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); // remove el.parents(tr).fadeOut(200); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .delete_inventory_item, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_inventory_itemtrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); // remove el.parents(tr).fadeOut(200); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .js_delete_avans, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_avans_itemtrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); el.removeClass(disabled); $.amaran({ message :Sters!, position :top right }); setTimeout(function () { location.reload(); }, 1000); // remove //el.parents(.report_link).fadeOut(200); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(.js_avans_submit).on(click touch, function(e){ e.preventDefault(); var el $(this), parent el.parents(.avans_modal); el.addClass(disabled); // fields var type parent.find(nameavans_type).val(); var amount parent.find(nameavans_amount).val(); var comment parent.find(nameavans_comment).val(); var company_id parent.find(namecompany_id).val(); var report_id parent.find(namereport_id).val(); // log($type + + $amount + + $comment); $.ajax({ type: POST, url: lib/app.php, data: add_avanstrue&company_id+ company_id +&report_id+ report_id +&avans_type+ type +&avans_amount+ amount +&avans_comment+ comment +&json_responsetrue, success: function(data) { console.log( data ); el.removeClass(disabled); $.amaran({ message :Salvat!, position :top right }); setTimeout(function () { location.reload(); }, 1000); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(form.ajax_submit).on(submit, function(){ var form $(this), datastring form.serialize(), server_response form.find(.server_response), submit_btn form.find(buttontypesubmit); // Sleep submit_btn.addClass(disabled); $.ajax({ type: POST, url: form.attr(action), data: datastring + &json_responsetrue, success: function(data) { server_response.html( data ); console.log( data ); // Enable submit btn submit_btn.removeClass(disabled); if(form.hasClass(notify_saved)){ $.amaran({ message :Salvat!, position :top right }); } if( form.data(reload) true){ $.amaran({ message :Sters!, position :top right }); setTimeout(function () { location.reload(); }, 1000); } if(form.hasClass(add_report_form)){ let num_inputs form.find(inputtypenumber), date_input form.find(input.js_date); if(date_input.val().length > 6){ let d_split date_input.val().split(.), f_day d_split1 + . + d_split0 + . + d_split2; let day new Date(f_day), next_day $.date(day, 1); // date_input.val(next_day); } setTimeout(function () { num_inputs0.focus(); }, 100); } }, error: function() { server_response.html( div classclearfix info red>Server Error, Please try again/div> ); submit_btn.removeClass(disabled); console.log( Server Error, Please try again ); } }); return false; }); $.date function(dateObject, offset 0) { let d new Date(dateObject), nextDay new Date(d); nextDay.setDate(d.getDate() + parseInt(offset)); let day nextDay.getDate(), month nextDay.getMonth() + 1, year nextDay.getFullYear(); if (day 10) day 0 + day; if (month 10) month 0 + month; return day + . + month + . + year; }; var Password { _pattern : /a-zA-Z0-9_\-\+\./, _getRandomByte : function() { // http://caniuse.com/#featgetrandomvalues if(window.crypto && window.crypto.getRandomValues) { var result new Uint8Array(1); window.crypto.getRandomValues(result); return result0; } else if(window.msCrypto && window.msCrypto.getRandomValues) { var result new Uint8Array(1); window.msCrypto.getRandomValues(result); return result0; } else { return Math.floor(Math.random() * 256); } }, generate : function(length) { return Array.apply(null, {length: length}) .map(function() { var result; while(true) { result String.fromCharCode(this._getRandomByte()); if(this._pattern.test(result)) { return result; } } }, this) .join(); } }; $(document).on(click touch, .password_generator .pg_button, function (e) { e.preventDefault(); var input $(this).parent().find(input), output $(this).parent().find(.pg_result), ps Password.generate(8); input.val(); input.val(ps); output.text( ps ); }); $(document).on(click touch, .avans_btn, function (e) { e.preventDefault(); var parent $(this).parent(); $(.avans_box).not(parent).removeClass(active); parent.toggleClass(active); }); // Datepicker init $(.js_date).datepicker({ startDate: new Date(), dateFormat: dd.mm.yyyy, language: ru, autoClose: true, maxDate: new Date() }); $(.js_time).datepicker({ startDate: new Date(), dateFormat: dd.mm.yyyy -, language: ru, autoClose: false, timepicker: true, timeFormat: h:ii, maxDate: new Date() }); $(document).on(click touch,.js_select_all, function (e) { e.preventDefault(); var el $(this), form el.parents(form); if( el.hasClass(active) ){ form.find(:checkbox).each(function () { $(this).prop(checked, false); }); } else{ form.find(:checkbox).each(function () { $(this).prop(checked, true); }); } el.toggleClass(active); $(this).parents(form).find(.delete_reports_box).removeClass(hide); }); // delete_reports_box $(document).on(click touch,.table_checkbox input, function () { $(this).parents(form).find(.delete_reports_box).removeClass(hide); }); $(document).on(click touch,.js_comp_checkbox, function () { $(.select_reports_submit).removeClass(hide); }); $(document).on(click touch,.stats_toggle, function () { $(this).parent().toggleClass(active); }); function setCookie(name,value,days) { var expires ; if (days) { var date new Date(); date.setTime(date.getTime() + (days*24*60*60*1000)); expires ; expires + date.toUTCString(); } document.cookie name + + (value || ) + expires + ; path/; } function getCookie(name) { let nameEQ name + , ca document.cookie.split(;); for(let i0;i ca.length;i++) { let c cai; while (c.charAt(0) ) c c.substring(1,c.length); if (c.indexOf(nameEQ) 0) return c.substring(nameEQ.length,c.length); } return null; } function eraseCookie(name) { document.cookie name+; Max-Age-99999999;; } //setCookie(nightShift,true, 30); let ns getCookie(nightShift); if (ns && ns true) { enableNightShift(); $(.toggle_night_shift).addClass(active); } function enableNightShift(){ if( getCookie(nightShift) null){ setCookie(nightShift,true, 30); } $(body).addClass(night_shift); } function disableNightShift(){ if(getCookie(nightShift)){ eraseCookie(nightShift); } $(body).removeClass(night_shift); } $(document).on(click touch, .toggle_night_shift, function (e) { e.preventDefault(); if($(this).hasClass(active)){ disableNightShift(); $(this).removeClass(active); } else{ enableNightShift(); $(this).addClass(active); } }); // the time let currDate new Date(), hour currDate.getHours(); //if(hour > 19) enableNightShift();});/script>/body>/html>
Port 443
HTTP/1.1 200 OKDate: Mon, 04 Nov 2024 03:54:50 GMTContent-Type: text/html; charsetUTF-8Transfer-Encoding: chunkedConnection: keep-aliveExpires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: no-store, no-cache, must-revalidatePragma: no-cacheSet-Cookie: PHPSESSIDmdg4j0n0polu8sqrqnthghh43k; path/Vary: Accept-Encodingcf-cache-status: DYNAMICReport-To: {endpoints:{url:https:\/\/a.nel.cloudflare.com\/report\/v4?sVq%2BCZJ%2BOxdM7pL%2FtQyWhGjhPqEf4cWLUHGiXj%2FSUCLql5vr1qzFyxgg%2Bs7lLfFy3JN7jjOJeSVTES0SQq9AT9tleJqDBj9NoLUN%2BNvvxIAXs9juoRYxbCnXn%2BBMbPqFHaigqigw3},group:cf-nel,max_age:604800}NEL: {success_fraction:0,report_to:cf-nel,max_age:604800}Server: cloudflareCF-RAY: 8dd1aa421c8a3093-SEAalt-svc: h3:443; ma86400server-timing: cfL4;desc?protoTCP&rtt10586&sent5&recv6&lost0&retrans0&sent_bytes2875&recv_bytes730&delivery_rate277155&cwnd252&unsent_bytes0&cid021a7a8035b4cb5d&ts339&x0 !doctype html>html langro>head> meta charsetUTF-8/> title>Panel Administrativ ~ Aplicatie Evidenta Kalianuri/title> meta nameviewport contentwidthdevice-width, initial-scale1, shrink-to-fitno> meta namekeywords content /> meta namedescription content /> !--favicon--> link relicon hrefimages/favicon.png typeimage/x-icon /> link relshortcut icon hrefimages/favicon.png typeimage/x-icon /> !-- CSS files --> link relstylesheet hrefcss/main.css typetext/css /> link hrefhttps://fonts.googleapis.com/css?familyOpen+Sans:400,700&displayswap&subsetcyrillic-ext relstylesheet>/head>body classno_padding>div idwrapper classclearfix wrapper> div classtext-center logo_box> img srcimages/logo-small.png alt> /div> div classwhite_box small> div classtext-center> h2> Autentificare Client /h2> hr> /div> form action methodpost> input typehidden namecompany_login valuetrue /> label> span>Email/span> input typetext nameemail value placeholderE-mail required autocompleteoff autofocus> /label> label> span>Parola/span> input typepassword namepassword value placeholderParola required autocompleteoff> /label> div classform_submit> button classtap green fullwidth typesubmit>i classfa fa-lock>/i> Logare/button> /div> /form> /div> div classcopy> © 2024. Toate drepturile rezervate /div>/div>script srcjs/jquery-3.4.1.min.js>/script>script typetext/javascript srcjs/lib.js>/script>script> $(document).ready(function(){ function log(data){console.log(data);} $(document).on(click touch, .js_print, function (e) {e.preventDefault();window.print()}); $(document).on(click touch, .new_report_remove, function (e) { e.preventDefault(); $(#new_report, #new_assets).removeClass(active); $(.js_add_report, .js_add_assets).removeClass(active); }); $(document).on(click touch, .js_add_report, function (e) { e.preventDefault(); // hide $(#new_assets).removeClass(active); $(.js_add_assets).removeClass(active); $(this).toggleClass(active); $(#new_report).toggleClass(active); }); $(document).on(click touch, .js_add_assets, function (e) { e.preventDefault(); // hide $(#new_report).removeClass(active); $(.js_add_report).removeClass(active); $(this).toggleClass(active); $(#new_assets).toggleClass(active); }); var item_index 0; $(document).on(click touch, .js_add_condition, function (e) { e.preventDefault(); var extra_container $(this).parents(.item_salary).find(.extra_salary_conditions); // span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> extra_container.append(div classclearfix item_salary_row> span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> div classrow> div classcol-sm-12 col-md-4> label> span>Suma (MDL)/span> input classjs_item_salary typenumber min10 nameitem_salary value25 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Vanzari (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value101 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>Vanzari (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value150 placeholder required autocompleteoff> /label> /div>/div>/div>/div>/div>/div>); updateSalaryJSON(); }); $(document).on(click touch, .js_add_carbuni, function (e) { e.preventDefault(); var extra_container $(this).parents(.carbuni_types).find(.carbuni_extra); // span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> extra_container.append(div classcarbuni_holder> span classcarbuni_remove closer titleSterge>i classfa fa-times>/i>/span> label> span>CARBUNI/span> select nameid_c> option value98>Crown/option> /select> /label> label> span>Consum Carbuni/span> input classjs_item_consum_c typenumber min0 step0.000001 nameconsum_c value20 placeholder29.000 required autocompleteoff> /label> /div>); updateSalaryJSON(); updateCarbuniJSON(); }); $(document).on(click touch, .carbuni_remove, function (e) { e.preventDefault(); $(this).parents(.carbuni_holder).remove(); updateCarbuniJSON(); }); $(document).on(click touch, .salary_condition_remove, function (e) { e.preventDefault(); $(this).parents(.item_salary_row).remove(); updateSalaryJSON(); }); $(document).on(click touch, .js_add_item, function (e) { e.preventDefault(); var extra_container $(#k_extra); item_index++; // Closer // span classk_item_remove closer titleSterge acest item>i classfa fa-times>/i>/span> // extra_container.append(div classk_item_wrap> span classk_item_remove closer titleSterge acest item>i classfa fa-times>/i>/span> input typehidden classjs_salary_conditions namesalary_conditions value/> div classrow> div classcol-sm-12 col-md-6> label> span>Denumire/span> input classjs_item_name typetext nameitem_name value placeholderDenumire Kalian required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>Cost/span> input classjs_item_cost typenumber min10 nameitem_cost value placeholderCost Kalian required autocompleteoff> /label> /div>/div>div classrow> div classcol-sm-12 col-md-6> label> span>TABAC/span> select nameid_t> option value79>Premium tabac/option>option value94>Standart/option>option value103>Tangiers/option> /select> /label> /div>div classcol-sm-12 col-md-6> label> span>Consum Tabac/span> input classjs_item_consum_t typenumber min0 step0.000001 nameconsum_t value placeholder16.667 required autocompleteoff> /label> /div>/div>div classcarbuni_types> input typehidden classjs_carbuni_json namecarbuni_json value> div classtext-center> h5> strong>Carbuni/strong> /h5> /div>hr> div classcarbuni_holder> label> span>CARBUNI/span> select nameid_c> option value98>Crown/option> /select> /label> label> span>Consum Carbuni/span> input classjs_item_consum_c typenumber min0 step0.000001 nameconsum_c value placeholder29.000 required autocompleteoff> /label> /div>div classcarbuni_extra>/div>div classitem_add_carbuni mt15> button typebutton classtap js_add_carbuni sm titleAdauga carbuni> i classfa fa-plus>/i> Adauga carbuni /button> /div>/div>div classitem_salary> div classclearfix item_salary_row> div classrow> div classcol-sm-12 col-md-4> label> span>Suma (MDL)/span> input classjs_item_salary typenumber min0 nameitem_salary value15 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Cantitate (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value1 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>Vanzari (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value15 placeholder required autocompleteoff> /label> /div>/div>/div>/div>/div>/div>div classclearfix item_salary_row> div classrow> div classcol-sm-12 col-md-4> label> span>Salariu/span> input classjs_item_salary typenumber min10 nameitem_salary value20 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Cantitate (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value16 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>Cantitate (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value100 placeholder required autocompleteoff> /label> /div>/div>/div>/div>/div>/div>div classclearfix item_salary_row> span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> div classrow> div classcol-sm-12 col-md-4> label> span>Salariu/span> input classjs_item_salary typenumber min0 nameitem_salary value25 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Cantitate (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value101 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>Cantitate (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value150 placeholder required autocompleteoff> /label> /div>/div>/div>/div>/div>/div>div classclearfix item_salary_row> span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> div classrow> div classcol-sm-12 col-md-4> label> span>Salariu/span> input classjs_item_salary typenumber min10 nameitem_salary value30 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Cantitate (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value151 placeholder required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>Cantitate (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value9999 placeholder required autocompleteoff> /label> /div>/div>/div>/div>/div>/div>div classextra_salary_conditions>/div>div classitem_salary_add_condition> button typebutton classtap js_add_condition sm titleAdauga conditie> i classfa fa-plus>/i> Adauga conditie /button> /div>/div>/div>); extra_container.append(div classk_item_wrap> span classk_item_remove closer titleSterge acest item>i classfa fa-times>/i>/span> input typehidden classjs_salary_conditions namesalary_conditions value/> div classrow> div classcol-sm-12 col-md-6> label> span>Denumire/span> input classjs_item_name typetext nameitem_name value placeholderDenumire Kalian required autocompleteoff/> /label> /div> div classcol-sm-12 col-md-6> div classrow> div classcol-sm-12 col-md-6> label> span>Cost/span> input classjs_item_cost typenumber min10 nameitem_cost value placeholderCost Kalian required autocompleteoff> /label> /div>div classcol-sm-12 col-md-6> label> span>% Local (MDL)/span> input classjs_item_percent typenumber min1 namelocal_cost value placeholderExemplu: 30 required autocompleteoff> /label> /div>/div>/div> /div>hr> div classrow> div classcol-sm-12 col-md-6> label> span>TABAC/span> select nameid_t> option value79>Premium tabac/option>option value94>Standart/option>option value103>Tangiers/option> /select> /label> /div>div classcol-sm-12 col-md-6> label> span>CONSUM TABAC (GRAME)/span> input classjs_item_consum_t typenumber min0 step0.000001 nameconsum_t value placeholder16.667 required autocompleteoff/> /label> /div>/div>hr> div classrow> div classcol-sm-12 col-md-6> label> span>Carbuni (de baza)/span> select nameid_c> option value98>Crown/option> /select> /label> /div>div classcol-sm-12 col-md-6> label> span>Consum carbuni de baza (Grame)/span> input classjs_item_consum_c typenumber min0 step0.000001 nameconsum_c value placeholder24.000 required autocompleteoff> /label> /div>/div>hr> div classrow> div classcol-sm-12 col-md-6> label> span>Carbuni (alternativ)/span> select nameid_ca> option value98>Crown/option> /select> /label> /div>div classcol-sm-12 col-md-6> label> span>Consum carbuni alternativ (Grame)/span> input classjs_item_consum_ca typenumber min0 step0.000001 nameconsum_ca value placeholder30.000 required autocompleteoff> /label> /div>/div>div classtext-center mt30> h3> Salariu /h3> /div>div classitem_salary> div classclearfix item_salary_row> div classrow> div classcol-sm-12 col-md-4> label> span>Suma (MDL)/span> input classjs_item_salary typenumber min0 nameitem_salary value15 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Vanzari (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value1 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-6> label> span>Vanzari (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value15 placeholder required autocompleteoff/> /label> /div>/div>/div>/div>/div>/div>div classclearfix item_salary_row> div classrow> div classcol-sm-12 col-md-4> label> span>Suma (MDL)/span> input classjs_item_salary typenumber min10 nameitem_salary value20 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Vanzari (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value16 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-6> label> span>Vanzari (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value100 placeholder required autocompleteoff/> /label> /div>/div>/div>/div>/div>/div>div classclearfix item_salary_row> span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> div classrow> div classcol-sm-12 col-md-4> label> span>Suma (MDL)/span> input classjs_item_salary typenumber min0 nameitem_salary value25 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Vanzari (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value101 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-6> label> span>Vanzari (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value150 placeholder required autocompleteoff/> /label> /div>/div>/div>/div>/div>/div>div classclearfix item_salary_row> span classsalary_condition_remove closer titleSterge aceasta conditie>i classfa fa-times>/i>/span> div classrow> div classcol-sm-12 col-md-4> label> span>Suma (MDL)/span> input classjs_item_salary typenumber min10 nameitem_salary value30 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-8> div classitem_salary_fields> div classrow> div classcol-sm-12 col-md-6> label> span>Vanzari (Min)/span> input classjs_item_min typenumber min1 nameitem_quantity_min value151 placeholder required autocompleteoff/> /label> /div>div classcol-sm-12 col-md-6> label> span>Vanzari (Max)/span> input classjs_item_max typenumber min0 nameitem_quantity_max value9999 placeholder required autocompleteoff/> /label> /div>/div>/div>/div>/div>/div>div classextra_salary_conditions>/div>div classitem_salary_add_condition> button typebutton classtap js_add_condition sm titleAdauga conditie>i classfa fa-plus>/i> Adauga conditie/button> /div>/div>/div>); updateSalaryJSON(); }); $(document).on(click touch, .k_item_remove, function (e) { e.preventDefault(); item_index--; $(this).parents(.k_item_wrap).remove(); updateSalaryJSON(); }); $(document).on(click touch, .js_add_new_asset, function (e) { e.preventDefault(); var extra_container $(#extra_assets); // Closer // span classk_item_remove closer titleSterge>i classfa fa-times>/i>/span> extra_container.append(div classasset_row> div classrow> span classk_item_remove closer titleSterge>i classfa fa-times>/i>/span> div classcol-sm-12 col-md-4> label> span>Tip/span> select nameasset_type> option valuetabac>Tabac/option> option valuecarbuni>Carbuni/option> /select> /label> /div>div classcol-sm-12 col-md-4> label> span>Denumire/span> input typetext nameasset_name value placeholderNume required autocompleteoff> /label> /div>div classcol-sm-12 col-md-4> label> span>Consum (Grame)/span> input typenumber nameasset_consum value min0 step0.001 placeholderConsum required autocompleteoff> /label> /div>/div>/div>); }); function clean(obj) { var propNames Object.getOwnPropertyNames(obj); for (var i 0; i propNames.length; i++) { var propName propNamesi; delete objpropName; } } $(document).on(change keyup, .k_item_wrap input, function () { updateSalaryJSON(); }); $(document).on(change keyup, .js_item_consum_c, .carbuni_holder select, function () { updateCarbuniJSON(); }); $(document).on(change, .js_asset_type, function (e) { var val $(this).val(); if( val tabac ){ $(.js_select_t).removeClass(hide); $(.js_select_c).addClass(hide); } else if( val carbuni){ $(.js_select_t).addClass(hide); $(.js_select_c).removeClass(hide); } }); var salary {}; function updateSalaryJSON(){ // clear object first clean( salary ); $(.k_item_wrap).each(function (items_index) { var el $(this), row el.find(.item_salary_row), target_input el.find(.js_salary_conditions), object {}; row.each(function (condition_index) { var el $(this), payment el.find(.js_item_salary).val(), min el.find(.js_item_min).val(), max el.find(.js_item_max).val(), conditions {}; conditions.salary payment; conditions.min min; conditions.max max; objectcondition_index conditions; }); salary object; // Set json object target_input.attr(value, JSON.stringify(salary) ); }); } updateSalaryJSON(); var result {}; function updateCarbuniJSON(){ // clear object first clean( result ); $(.carbuni_types).each(function (index) { var el $(this), row el.find(.carbuni_holder), target_input el.find(.js_carbuni_json), object {}; row.each(function (condition_index) { var el $(this), id_c el.find(select).val(), consum el.find(.js_item_consum_c).val(), conditions {}; conditions.id id_c; conditions.consum consum; objectcondition_index conditions; }); result object; // Set json object target_input.attr(value, JSON.stringify(object) ); }); } updateCarbuniJSON(); $(document).on(click touch, .js_delete_company, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_companytrue&company_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); // remove el.parents(tr).fadeOut(200); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .js_company_new_items .js_add_item, function (e) { e.preventDefault(); $(.k_add).removeClass(hide); }); $(document).on(click touch, .js_menu_switcher, function (e) { e.preventDefault(); $(this).toggleClass(active) $(.main_menu).toggleClass(active) }); $(document).on(click touch, .top_bar ul > li > a, function (e) { $(.js_menu_switcher).toggleClass(active) $(.main_menu).toggleClass(active) }); $(document).on(keypress, form.add_report_form input, function (e) { if (e.which 13) { let form $(e.target).parents(form), form_input form.find(inputtypenumber, inputtypetext), el_index form_input.index(e.target), next el_index + 1; if(next form_input.length){ e.preventDefault(); setTimeout(function () { form_inputnext.focus(); }, 100); } } }); $(document).on(click touch, .js_form_reset, function () { var form $(this).parents(form); setTimeout(function () { form.find(input.js_reset).val(); }, 300); }); $(document).on(click touch, .js_update_entry_asset, function () { $.amaran({ message :Actualizat!, position :top right }); }); if( $(window).width() 1024 ){ $(.js_date).attr(readonly, ); } $(document).on(click touch, .k_item_delete, function (e) { e.preventDefault(); var el $(this), server_response el.parents(.k_item_wrap).find(.server_response), parent el.parents(.k_item_wrap); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_itemtrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); // remove parent.fadeOut(200); setTimeout(function () { parent.remove(); }, 500); server_response.html(data); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .delete_report_list_item, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_reporttrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); // remove el.parents(tr).fadeOut(200); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .js_close_salary, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: close_salarytrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); $.amaran({ message :Salariu incheiat!, position :top right }); setTimeout(function () { location.reload(); }, 1000); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .js_unclose_salary, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: unclose_salarytrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); $.amaran({ message :Salvat!, position :top right }); setTimeout(function () { location.reload(); }, 500); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .js_delete_asset_row, function (e) { e.preventDefault(); let el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_assettrue&item_id+ el.data(id)+&json_responsetrue, success: function(data) { console.log( data ); // remove el.parents(tr).fadeOut(200); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .delete_asset_item, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_asset_itemtrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); // remove el.parents(tr).fadeOut(200); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .delete_inventory_item, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_inventory_itemtrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); // remove el.parents(tr).fadeOut(200); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(document).on(click touch, .js_delete_avans, function (e) { e.preventDefault(); var el $(this); el.addClass(disabled); $.ajax({ type: POST, url: lib/app.php, data: delete_avans_itemtrue&item_id+ el.data(id) +&json_responsetrue, success: function(data) { console.log( data ); el.removeClass(disabled); $.amaran({ message :Sters!, position :top right }); setTimeout(function () { location.reload(); }, 1000); // remove //el.parents(.report_link).fadeOut(200); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(.js_avans_submit).on(click touch, function(e){ e.preventDefault(); var el $(this), parent el.parents(.avans_modal); el.addClass(disabled); // fields var type parent.find(nameavans_type).val(); var amount parent.find(nameavans_amount).val(); var comment parent.find(nameavans_comment).val(); var company_id parent.find(namecompany_id).val(); var report_id parent.find(namereport_id).val(); // log($type + + $amount + + $comment); $.ajax({ type: POST, url: lib/app.php, data: add_avanstrue&company_id+ company_id +&report_id+ report_id +&avans_type+ type +&avans_amount+ amount +&avans_comment+ comment +&json_responsetrue, success: function(data) { console.log( data ); el.removeClass(disabled); $.amaran({ message :Salvat!, position :top right }); setTimeout(function () { location.reload(); }, 1000); }, error: function() { console.log( Server Error, Please try again ); } }); }); $(form.ajax_submit).on(submit, function(){ var form $(this), datastring form.serialize(), server_response form.find(.server_response), submit_btn form.find(buttontypesubmit); // Sleep submit_btn.addClass(disabled); $.ajax({ type: POST, url: form.attr(action), data: datastring + &json_responsetrue, success: function(data) { server_response.html( data ); console.log( data ); // Enable submit btn submit_btn.removeClass(disabled); if(form.hasClass(notify_saved)){ $.amaran({ message :Salvat!, position :top right }); } if( form.data(reload) true){ $.amaran({ message :Sters!, position :top right }); setTimeout(function () { location.reload(); }, 1000); } if(form.hasClass(add_report_form)){ let num_inputs form.find(inputtypenumber), date_input form.find(input.js_date); if(date_input.val().length > 6){ let d_split date_input.val().split(.), f_day d_split1 + . + d_split0 + . + d_split2; let day new Date(f_day), next_day $.date(day, 1); // date_input.val(next_day); } setTimeout(function () { num_inputs0.focus(); }, 100); } }, error: function() { server_response.html( div classclearfix info red>Server Error, Please try again/div> ); submit_btn.removeClass(disabled); console.log( Server Error, Please try again ); } }); return false; }); $.date function(dateObject, offset 0) { let d new Date(dateObject), nextDay new Date(d); nextDay.setDate(d.getDate() + parseInt(offset)); let day nextDay.getDate(), month nextDay.getMonth() + 1, year nextDay.getFullYear(); if (day 10) day 0 + day; if (month 10) month 0 + month; return day + . + month + . + year; }; var Password { _pattern : /a-zA-Z0-9_\-\+\./, _getRandomByte : function() { // http://caniuse.com/#featgetrandomvalues if(window.crypto && window.crypto.getRandomValues) { var result new Uint8Array(1); window.crypto.getRandomValues(result); return result0; } else if(window.msCrypto && window.msCrypto.getRandomValues) { var result new Uint8Array(1); window.msCrypto.getRandomValues(result); return result0; } else { return Math.floor(Math.random() * 256); } }, generate : function(length) { return Array.apply(null, {length: length}) .map(function() { var result; while(true) { result String.fromCharCode(this._getRandomByte()); if(this._pattern.test(result)) { return result; } } }, this) .join(); } }; $(document).on(click touch, .password_generator .pg_button, function (e) { e.preventDefault(); var input $(this).parent().find(input), output $(this).parent().find(.pg_result), ps Password.generate(8); input.val(); input.val(ps); output.text( ps ); }); $(document).on(click touch, .avans_btn, function (e) { e.preventDefault(); var parent $(this).parent(); $(.avans_box).not(parent).removeClass(active); parent.toggleClass(active); }); // Datepicker init $(.js_date).datepicker({ startDate: new Date(), dateFormat: dd.mm.yyyy, language: ru, autoClose: true, maxDate: new Date() }); $(.js_time).datepicker({ startDate: new Date(), dateFormat: dd.mm.yyyy -, language: ru, autoClose: false, timepicker: true, timeFormat: h:ii, maxDate: new Date() }); $(document).on(click touch,.js_select_all, function (e) { e.preventDefault(); var el $(this), form el.parents(form); if( el.hasClass(active) ){ form.find(:checkbox).each(function () { $(this).prop(checked, false); }); } else{ form.find(:checkbox).each(function () { $(this).prop(checked, true); }); } el.toggleClass(active); $(this).parents(form).find(.delete_reports_box).removeClass(hide); }); // delete_reports_box $(document).on(click touch,.table_checkbox input, function () { $(this).parents(form).find(.delete_reports_box).removeClass(hide); }); $(document).on(click touch,.js_comp_checkbox, function () { $(.select_reports_submit).removeClass(hide); }); $(document).on(click touch,.stats_toggle, function () { $(this).parent().toggleClass(active); }); function setCookie(name,value,days) { var expires ; if (days) { var date new Date(); date.setTime(date.getTime() + (days*24*60*60*1000)); expires ; expires + date.toUTCString(); } document.cookie name + + (value || ) + expires + ; path/; } function getCookie(name) { let nameEQ name + , ca document.cookie.split(;); for(let i0;i ca.length;i++) { let c cai; while (c.charAt(0) ) c c.substring(1,c.length); if (c.indexOf(nameEQ) 0) return c.substring(nameEQ.length,c.length); } return null; } function eraseCookie(name) { document.cookie name+; Max-Age-99999999;; } //setCookie(nightShift,true, 30); let ns getCookie(nightShift); if (ns && ns true) { enableNightShift(); $(.toggle_night_shift).addClass(active); } function enableNightShift(){ if( getCookie(nightShift) null){ setCookie(nightShift,true, 30); } $(body).addClass(night_shift); } function disableNightShift(){ if(getCookie(nightShift)){ eraseCookie(nightShift); } $(body).removeClass(night_shift); } $(document).on(click touch, .toggle_night_shift, function (e) { e.preventDefault(); if($(this).hasClass(active)){ disableNightShift(); $(this).removeClass(active); } else{ enableNightShift(); $(this).addClass(active); } }); // the time let currDate new Date(), hour currDate.getHours(); //if(hour > 19) enableNightShift();});/script>/body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]