From 1135e54d83878f206462cc882ae2fefd23a97e8f Mon Sep 17 00:00:00 2001 From: amos Date: Thu, 26 Mar 2026 17:01:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?js=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/1.txt | 79 +++++++++++++++++++++++++++++++++++++++++ js/alert.js | 23 ++++++++++++ js/jquery.cookie.min.js | 1 + 3 files changed, 103 insertions(+) create mode 100644 js/1.txt create mode 100644 js/alert.js create mode 100644 js/jquery.cookie.min.js diff --git a/js/1.txt b/js/1.txt new file mode 100644 index 0000000..79f5f45 --- /dev/null +++ b/js/1.txt @@ -0,0 +1,79 @@ + + + + + + protected function GetTottalUsersArray(){ + $data = array(); + $data['1'] = $this->beskudtuser; + $data['2'] = $this->mitinouser; + $data['3'] = $this->kolomenuser; + $data['6'] = $this->sviblovouser; + $data['7'] = $this->stroginouser; + $data['8'] = $this->kantimuser; + $data['9'] = $this->domodedovouser; + $data['10'] = $this->dubrovkauser; + $data['11'] = $this->pionerkauser; + $data['12'] = $this->luberuser; + $data['13'] = $this->bibirevouser; + $data['14'] = $this->marinouser; + $data['15'] = $this->perovouser; + $data['16'] = $this->chertanovouser; + $data['17'] = $this->butovouser; + $data['18'] = $this->akademuser; + $data['19'] = $this->ordjenuser; + $data['20'] = $this->dinamouser; + $data['21'] = $this->izmailovouser; + $data['22'] = $this->yasenevouser; + $data['24'] = $this->vodnikuse; + } + + + + + + + + + + \ No newline at end of file diff --git a/js/alert.js b/js/alert.js new file mode 100644 index 0000000..8ccc398 --- /dev/null +++ b/js/alert.js @@ -0,0 +1,23 @@ +(function($) { +$(function() { + + // Проверим, есть ли запись в куках о посещении посетителя + // Если запись есть - ничего не делаем + if (!$.cookie('was')) { + + // Покажем всплывающее окно + $('#boxUserFirstInfo').arcticmodal({ + closeOnOverlayClick: false, + closeOnEsc: true + }); + + } + + // Запомним в куках, что посетитель к нам уже заходил + $.cookie('was', true, { + expires: 365, + path: '/' + }); + +}) +})(jQuery) \ No newline at end of file diff --git a/js/jquery.cookie.min.js b/js/jquery.cookie.min.js new file mode 100644 index 0000000..eb129db --- /dev/null +++ b/js/jquery.cookie.min.js @@ -0,0 +1 @@ +jQuery.cookie=function(b,j,m){if(typeof j!="undefined"){m=m||{};if(j===null){j="";m.expires=-1}var e="";if(m.expires&&(typeof m.expires=="number"||m.expires.toUTCString)){var f;if(typeof m.expires=="number"){f=new Date();f.setTime(f.getTime()+(m.expires*24*60*60*1000))}else{f=m.expires}e="; expires="+f.toUTCString()}var l=m.path?"; path="+(m.path):"";var g=m.domain?"; domain="+(m.domain):"";var a=m.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(j),e,l,g,a].join("")}else{var d=null;if(document.cookie&&document.cookie!=""){var k=document.cookie.split(";");for(var h=0;h