This file contains hidden or 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
{if $data.player == false} | |
<div class="user-info-block notautorized"> | |
<p class="text"> | |
Привет!<br> | |
Зарегистрируйся на play.sports.ru, находи и рассказывай о лучших площадках, общайся с другими игроками и играй в футбол! | |
</p> | |
</div> | |
{elseif $data.player.notreg} | |
<div class="user-info-block autorized"> | |
<p class="text"> |
This file contains hidden or 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 | |
require_once($_SERVER['DOCUMENT_ROOT'].'/abstract/Request.php'); | |
require_once($_SERVER['DOCUMENT_ROOT'].'/abstract/Response.php'); | |
/** | |
* Created by JetBrains PhpStorm. | |
* User: drege_000 | |
* Date: 03.10.12 | |
* Time: 21:14 | |
* To change this template use File | Settings | File Templates. | |
*/ |
This file contains hidden or 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
// это справочник в котором хранится самый сок социальных кнопок, это шаблоны кнопок и некоторые генераторы | |
var socialDictionary = { | |
// vkontakte | |
'mvVk': { | |
template: '<a target="_blank" mv-button-link ' + | |
'class="mv-vk mv-icon-social-vk-dark no-title" ' + | |
'href="http://vk.com/share.php?url={{url}}&title={{title}}">' + | |
'</a>' | |
}, | |
This file contains hidden or 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
'use strict'; | |
angular.module('MV.ui') | |
.directive('mvSelect', function() { | |
return { | |
template: '<div class="mv-select" >' + | |
'<div mv-dropdown-toggle class="mv-select-toggle-contaner">' + | |
'<button mv-button class="mv-select-selected" ng-class="possibleClasses">{{current_title}}</button>'+ | |
'<span class="mv-select-down-arrow"><span class="icon"></span></span>'+ | |
'<span class="mv-select-up-arrow"><span class="icon"></span></span>'+ |
This file contains hidden or 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 http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title></title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="default" /> |
This file contains hidden or 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
/* | |
* Cookies.js - 1.1.0 | |
* https://github.com/ScottHamper/Cookies | |
* | |
* This is free and unencumbered software released into the public domain. | |
*/ | |
angular.module('Helpers') | |
.factory('cookies',[function(){ | |
'use strict'; |
This file contains hidden or 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
from rest_framework.parsers import MultiPartParser | |
class CustomMultiPartParser(MultiPartParser): | |
def parse(self, stream, media_type=None, parser_context=None): | |
data_and_files = super(CustomMultiPartParser, self).parse(stream, media_type=media_type, parser_context=parser_context) | |
for key, val in data_and_files.data.iteritems(): |
OlderNewer