«Komsomolskaya Pravda” will talk about the highlights of the museum’s night life – [photos, video, broadcast]
Nearest night correspondents “KP” online are broadcast on different platforms, “Museum Night».
The program includes a variety of action – from the family to the baby cross the bright fire-show. The Museum of Soviet slot machines will be showing popular Soviet filmstrips. Music lovers will be enjoyed by a chamber orchestra performance of “Renaissance” near the building of the National Museum of the Republic of Tatarstan. Active guests will appreciate the dance floor with master classes for dance of the war years in the Cannon yard in the Kremlin. And at the Museum of Islamic culture will take place “Evening Munajat” (Muslim songs, prayers).
All venues Kazan “Museum Night 2015″ in our cultural map. To zoom in, press Ctrl +
PROGRAM “Museum Night 2015″ – PODBROBNO
‘); this.container = KPjQuery (”); global_container.append (this.container); container.append (global_container); }; KP_Paginator.prototype.clear = function () {// before rendering the new Remove the old buttons with numbers and spaces this.container.html (”); } KP_Paginator.prototype.draw = function (obj) {if (! This.container) {console.log (‘container for KP_Paginator with id =’ + id + ‘not found’); return; } If (obj.total_pages) this.total_pages = obj.total_pages; this.current = obj.current; this.clear (); if (! this.total_pages) return; this.drawPrevButton (); this.from = 0; this.to = 0; this.drawNumber (0); if (this.total_pages = (this.total_pages – Math.floor (this.max_digits / 2))) {this.from = this.total_pages – this.max_digits; this.to = this.total_pages – 1; } Else {this.from = obj.current – Math.floor (this.max_digits / 2); this.to = obj.current + Math.floor (this.max_digits / 2); }} If (this.from & gt; 1) this.drawDelimeter (); for (var i = this.from; i ‘); var link = KPjQuery (” + (number + 1) + ”); link.on (‘click’, this.createCallback (number)); container.append (link); this.container.append (container); }; KP_Paginator.prototype.drawPrevButton = function () {// do not draw the button in the following cases if ((this.reverse & amp; & amp; this.current == this.total_pages) || (! This.reverse & amp; & amp; this. current == 0)) return; var container = KPjQuery (‘
‘); var link = KPjQuery (‘back’); link.on (‘click’, this.createCallback (this.current- (this.reverse? -1: 1))); container.append (link); this.container.append (container); }; KP_Paginator.prototype.drawNextButton = function () {// do not draw the button in the following cases if ((this.reverse & amp; & amp; this.current == 0) || (this.reverse & amp; & amp; this.current == this.total_pages)) return; var container = KPjQuery (‘
‘); var link = KPjQuery (‘Forward’); link.on (‘click’, this.createCallback (this.current + (this.reverse? -1: 1))); container.append (link); this.container.append (container); }; KP_Paginator.prototype.drawDelimeter = function () {var container = KPjQuery (‘
‘); this.container.append (container); };
‘; inner_text + = ‘‘ + value.date + ‘‘; if (value.city) {inner_text + = ‘‘ + value.city + ‘‘; } Inner_text + = ‘
‘; KPjQuery (‘# bc-comments-wrap -’ + temp_this.parent_id) .append (inner_text); }); }; KP_Comments.inner.prototype.updateComments = function (obj) {}; KP_Comments.inner.prototype.deleteComments = function (obj) {}; KP_Comments.inner.prototype.initContainers = function () {var temp_this = this; KPjQuery (‘# bc-comments-counter -’ + this.parent_id) .click (function () {KPjQuery (“# bc-comments -” + temp_this.parent_id) .fadeToggle ();}); }; KP_Comments.inner.prototype.initForm = function () {var container = KPjQuery (”); var form_data = ”; var temp_this = this; var form = KPjQuery (form_data); form.on (‘submit’, function (event) {var form_data = KPjQuery (event.target); form_data.get (0) .user_id.value = ApolloApi._userInfo.id; form_data.get (0) .kp_city.value = ymaps.geolocation.city; form_data.get (0) .kp_coords.value = [ymaps.geolocation.latitude, ymaps.geolocation.longitude]; KPjQuery.ajax ({url: form_data.attr (‘action’), type: ‘post’, data: form_data.serialize (), cache: false, dataType: ‘json’, beforeSend: function () {form_data.hide ();}, error: function () {form_data.show ();}, success: function (response) {var info = ApolloApi.getUserInfo (); var datetime = new Date (); temp_this.createComments ([{id: 0, avatar: info.userpic.b28, url: info.userUrl, name: info.name, text: form_data.get (0) .text.value, date: datetime.getHours () + ':' + (datetime.getMinutes () 4 & amp; & amp; n = 1 & amp; & amp; n1 '+ count +' '+ text) .show (); KPjQuery ('# bc-comments -' + this.parent_id) .hide (); } Else {KPjQuery ('# bc-comments-counter -' + this.parent_id) .hide (); KPjQuery ('# bc-comments-wrap -' + this.parent_id) .hide (); KPjQuery ('# bc-comments-form -' + this.parent_id) .hide (); KPjQuery ('# bc-comments -' + this.parent_id) .hide (); if (KPjQuery ('# bc-item -' + this.parent_id + '.footer'). children (': visible'). length == 0) {KPjQuery ('# bc-item -' + this.parent_id + '. footer '). hide (); }} This.total_comments = count; //this._additional (); }; KP_Comments.inner.prototype.setTotalCommentsShow = function (count) {var text = ''; var n = Math.abs (count)% 100; var n1 = n% 10; if (n & gt; 4 & amp; & amp; n 1 & amp; & amp; n1 '; log_in + =' Log in to leave a comment '; log_in + ='
- '; log_in + ='
'; log_in + ='
'; log_in + ='
'; log_in + ='
'; log_in + ='
'; log_in + ='
'; if (count! = 0) {if (typeof (ApolloApi)! ==' undefined '& amp; & amp; ApolloApi.getUserInfo ()) { KPjQuery ('# bc-comments-counter -' + this.parent_id) .html ('' + count + '' + text) .show (); KPjQuery ('# bc-comments-wrap- '+ this.parent_id) .show (); KPjQuery (' # bc-comments-form- '+ this.parent_id) .removeClass ("bg_comment-form-nocomm"); KPjQuery (' # bc-comments-form- ' + this.parent_id) .addClass ("bg_comment-form-comm");} else {KPjQuery ('# bc-comments-counter -' + this.parent_id) .html ('' + count + ' '+ text) .show (); KPjQuery ('# bc-comments-form-' + this.parent_id) .html (log_in); KPjQuery ('# bc-comments-form-' + this.parent_id) .removeClass ("bg_comment-form-nocomm"); KPjQuery ('# bc-comments-form-' + this.parent_id) .addClass ("bg_comment-form-comm"); }} Else {if (typeof (ApolloApi)! == 'Undefined' & amp; & amp; ApolloApi.getUserInfo ()) {KPjQuery ('# bc-comments-counter -' + this.parent_id) .html ('leave a comment' ) .show (); KPjQuery ('# bc-comments-form-' + this.parent_id) .addClass ("bg_comment-form-nocomm"); } Else {KPjQuery ('# bc-item -' + this.parent_id + '.footer'). Show (); KPjQuery ('# bc-comments-counter -' + this.parent_id) .html ('leave a comment'). Show (); KPjQuery ('# bc-comments-form-' + this.parent_id) .html (log_in); KPjQuery ('# bc-comments-form-' + this.parent_id) .addClass ("bg_comment-form-nocomm"); }} This.total_comments = count; this._additional (); }; KP_Comments.inner.prototype.remove = function () {var temp_this = this; this.updateForm ({disabled: true}); KPjQuery ('# bc-comments-wrap -' + this.parent_id) .html (''); }; KP_Comments.inner.prototype.createPaginator = function (obj) {}; KP_Comments.inner.prototype.updatePaginator = function (obj) {}; KP_Comments.inner.prototype._additional = function () {if (this.total_comments || typeof (ApolloApi)! == 'Undefined' & amp; & amp; ApolloApi.getUserInfo ()) {KPjQuery ('# bc-item -' + this.parent_id + '.footer'). show (); } Else {if (KPjQuery ('# bc-item -' + this.parent_id + '.footer'). Children (': visible'). Length == 0) {KPjQuery ('# bc-item -' + this. parent_id + '.footer'). hide (); }}}; KP_Comments.updateAllForms = function () {if (typeof (ApolloApi)! == 'Undefined' & amp; & amp; ApolloApi.getUserInfo ()) {var info = ApolloApi.getUserInfo (); var pic = info.userpic.b28.replace (/ b28 /, 'b50'); if (info) {KPjQuery ('. bg_comment-form .img'). each (function () {KPjQuery (this) .attr ({src: pic})}); KPjQuery ('. Add-inner_comment'). Each (function () {KPjQuery ('input.cm-key-inner'). Val (info.sosh_o); KPjQuery ('input.bc-region'). Val (Broadcast ._info.region);}); } KP_Comments.inner.updateForms ({disabled: false}); KP_Comments.inner.cleanAll (); } Else {KP_Comments.inner.updateForms ({disabled: true}); KPjQuery ('. Bg_comment-form .img'). Each (function () {KPjQuery (this) .attr ({src: ''})}); KPjQuery ('. Add-inner_comment'). Each (function () {KPjQuery ('input.cm-key-inner'). Val (''); KPjQuery ('input.bc-region'). Val (Broadcast. _info.region);}); KP_Comments.inner.cleanAll (); }}; KP_Comments.inner._clock = window.setInterval (function () {if (Broadcast._info.time.stop & gt; Broadcast.serverTime) {KP_Comments.inner.updateAll ();} else {window.clearInterval (KP_Comments.inner._clock );}}, 20000); window.onload = function () {KP_Comments.inner.updateAll (); } Function changeTypeForm2 (type) {switch (type) {case 'anonymous': //KP_Comments.inner.updateForms({disabled: true}); var this_link = document.location.href; var log_in = '
- '; log_in + = '
'; log_in + = '
'; log_in + = '
'; log_in + = '
'; log_in + = '
'; log_in + = '
'; log_in + = ''; log_in + = '
'; KPjQuery ('. Bg_comment-form'). Html (log_in); KPjQuery ('# bc-comments-form-' + this.parent_id) .removeClass ("bg_comment-form-nocomm"); KPjQuery ('# bc-comments-form-' + this.parent_id) .addClass ("bg_comment-form-comm"); break; case 'authorized': var info = ApolloApi.getUserInfo (); var pic = info.userpic.b28.replace (/ b28 /, 'b50'); if (info) {KPjQuery ('. bg_comment-form .img'). each (function () {KPjQuery (this) .attr ({src: pic})}); KPjQuery ('. Add-inner_comment'). Each (function () {KPjQuery ('input.cm-key-inner'). Val (info.sosh_o); KPjQuery ('input.bc-region'). Val (Broadcast ._info.region); // try {// KPjQuery ("input.kp_coords"). val ([ymaps.geolocation.latitude, ymaps.geolocation.longitude]); // KPjQuery (“input.kp_city”). val (ymaps.geolocation.city); //} // catch (e) {// console.error (“failed set coord for forms”, e); //}}); } KP_Comments.inner.updateForms ({disabled: false}); break; } Return false; }
No comments:
Post a Comment