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