This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
============================================================================= | |
BlockPro - ajax часть модуля | |
============================================================================= | |
Автор: ПафНутиЙ | |
URL: http://pafnuty.name/ | |
twitter: https://twitter.com/pafnuty_name | |
google+: http://gplus.to/pafnuty | |
email: pafnuty10@gmail.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="fpm-area" class="mfp-hide"> | |
<div class="container-fluid"> | |
<div class="/*row-fluid*/"> | |
<div class="span10 offset1 well mb0 ml0"> | |
<div class="row"> | |
<div class="span10 fpm-head-wrap"> | |
<span title="Закрыть окно" id="fpm-head-close" class="popup-modal-dismiss btn btn-large pull-right"><i class="fa fa-times"></i></span> | |
<div id="fpm-head"> | |
<div class="fpm-search-wrap"> | |
<input type="text" class="input-block-level" placeholder="Введите логин пользователя для поиска"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document) | |
.on('click', 'ul.tabs li:not(.current):not(.disabled)', function (callback) { | |
thisTab = $(this); | |
thisTab | |
.addClass('current') | |
.siblings().removeClass('current') | |
.parents('.tab-section') | |
.find('.box').eq(thisTab.index()) | |
.fadeIn(150, function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*==================================================== | |
Author: RooTM | |
Web-site: http://weboss.net/ | |
----------------------------------------------------- | |
Доработал скрипт: ПафНутиЙ | |
Web-site: http://pafnuty.name | |
=====================================================*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($) { | |
// Инициализация Ladda | |
var laddaLoad = $('.ladda-button').ladda(); | |
// Дефолтные настройки аякс формы | |
var formOptions = { | |
dataType: 'json', | |
beforeSubmit: processStart, | |
success: processDone | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Copyright (c) 2011-2013 Felix Gnass | |
* Licensed under the MIT license | |
*/ | |
(function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Spinner=e()})(this,function(){"use strict";function t(t,e){var i,n=document.createElement(t||"div");for(i in e)n[i]=e[i];return n}function e(t){for(var e=1,i=arguments.length;i>e;e++)t.appendChild(arguments[e]);return t}function i(t,e,i,n){var o=["opacity",e,~~(100*t),i,n].join("-"),r=.01+100*(i/n),a=Math.max(1-(1-t)/e*(100-r),t),s=l.substring(0,l.indexOf("Animation")).toLowerCase(),u=s&&"-"+s+"-"||"";return f[o]||(c.insertRule("@"+u+"keyframes "+o+"{"+"0%{opacity:"+a+"}"+r+"%{opacity:"+t+"}"+(r+.01)+"%{opacity:1}"+(r+e)%100+"%{opacity:"+t+"}"+"100%{opacity:"+a+"}"+"}",c.cssRules.length),f[o]=1),o}function n(t,e){var i,n,o=t.style;if(void 0!==o[e])return e;for(e=e.charAt(0).toUpperCase()+e.slice(1),n=0;d.length>n;n++)if(i=d[n]+e,void 0!==o[i])return i}function o(t,e){for(var i in e)t.style[n(t,i)||i]=e[i];return t}function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
============================================================================= | |
Проверка обновлений | |
============================================================================= | |
Автор: ПафНутиЙ | |
URL: http://pafnuty.name/ | |
twitter: https://twitter.com/pafnuty_name | |
google+: http://gplus.to/pafnuty | |
email: pafnuty10@gmail.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Пример ошибки</title> | |
</head> | |
<body> | |
<?php | |
// Этот массив содержит конфиг системы |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ru"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Первый проект</title> | |
<style> | |
body { | |
margin: 0px; | |
padding: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ru"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Первый проект</title> | |
<style> | |
body { | |
margin: 0; | |
padding: 0; | |
background: #ccc url('data:image/GIF;base64,R0lGODlhKgAqAPMAAMzOzOzq7Nze3PT29NTW1PTy9OTm5Pz+/NTS1Ozu7OTi5Pz6/Nza3MzMzAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQECQD/ACwAAAAAKgAqAAAE/7DJSau9OOvNu/9gKI5kaVZAECRryyZMJTCAySxHrutKVRwLA6LE2Bl7lIFuIaiNbsYccvLbJYajQPQwlSiNBSyouO02qmCnB/GNmhEGnDEASmylFwRaF+uQdwFyZhMAewcFHnY7PWSDhHI6BBwIkAcDTjeOE385dBsCRxQEAhqFO5cbWktiHgpGrBeKOYghBEZ9GXsJIgi3G3ueIJQ7uBi6IrbEqTsLah6gO5IartEbxQ2yQM4XyTrBFwADU8M6tKWG1xQACwtIqjqkHNQ6A7CEXwrQS9sY60b14CqF8sApR7tt/rYU4KfhHTNpEhIaWQDRA4Bs8NSxi5KuQ4oo8TMiCsQzAoCCSiEbSBw4goCslCtZjkCgoECxQuxy6mRyAhwABAB+Bh3KsKfRo0iTKl1KIgIAIfkEBQkADgAsBgABAB4AKAAABOOwydkAvThnlpjVoAYMx6B8YSoZR7sEhJoibX0UAipfiV0viN2FUfC1BjoZomdsKS4Ih3Q6lTAWzVqQkqB6HYJsLQBdfM9eW4wSQEuxvoKiVoAO3OdTo3gQDI0EbgwTcwtJUV8AbhMACwYZCHd4XhMGiJNofheKmJ2en6ChoqOkpV6SoAqmDg2rVDkSkyRqGSODjF2kDDcUqp4FSXwxAL6eCWUtAUuht5U2ZqBIFI0+oU8UYWILg3jBYgVbQgRZC7BCEgFZ4ecN |