1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00

Prevent autoload error

This commit is contained in:
Daniel 2021-10-05 10:47:47 -03:00
parent d1d52d8041
commit 37880a28cc
31 changed files with 1072 additions and 1074 deletions

View file

@ -1,68 +1,68 @@
<?php
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
class Captcha{
private $largura, $altura, $tamanho_fonte, $quantidade_letras;
function __construct($largura, $altura, $tamanho_fonte, $quantidade_letras) {
$this->largura = $largura;
$this->altura = $altura;
$this->tamanho_fonte = $tamanho_fonte;
$this->quantidade_letras = $quantidade_letras;
}
public function getCaptchaImage() {
global $global;
header('Content-type: image/jpeg');
$imagem = imagecreate($this->largura,$this->altura); // define a largura e a altura da imagem
$fonte = $global['systemRootPath'] . 'objects/monof55.ttf'; //voce deve ter essa ou outra fonte de sua preferencia em sua pasta
$preto = imagecolorallocate($imagem, 0, 0, 0); // define a cor preta
$branco = imagecolorallocate($imagem, 255, 255, 255); // define a cor branca
// define a palavra conforme a quantidade de letras definidas no parametro $quantidade_letras
//$letters = 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnPpQqRrSsTtUuVvYyXxWwZz23456789';
$letters = 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnPpQqRrSsTtUuVvYyXxWwZz23456789';
$palavra = substr(str_shuffle($letters), 0, ($this->quantidade_letras));
if(User::isAdmin()){
$palavra = "admin";
}
_session_start();
$_SESSION["palavra"] = $palavra; // atribui para a sessao a palavra gerada
//_error_log("getCaptchaImage: ".$palavra." - session_name ". session_name()." session_id: ". session_id());
for ($i = 1; $i <= $this->quantidade_letras; $i++) {
imagettftext(
$imagem,
$this->tamanho_fonte,
rand(-10, 10),
($this->tamanho_fonte*$i),
($this->tamanho_fonte + 10),
$branco,
$fonte,
substr($palavra, ($i - 1), 1)
); // atribui as letras a imagem
}
imagejpeg($imagem); // gera a imagem
imagedestroy($imagem); // limpa a imagem da memoria
//_error_log("getCaptchaImage _SESSION[palavra] = ($_SESSION[palavra]) - session_name ". session_name()." session_id: ". session_id());
}
static public function validation($word) {
if(User::isAdmin()){
return true;
}
_session_start();
if(empty($_SESSION["palavra"])){
_error_log("Captcha validation Error: you type ({$word}) and session is empty - session_name ". session_name()." session_id: ". session_id());
return false;
}
$validation = (strcasecmp($word, $_SESSION["palavra"]) == 0);
if(!$validation){
_error_log("Captcha validation Error: you type ({$word}) and session is ({$_SESSION["palavra"]})- session_name ". session_name()." session_id: ". session_id());
}
return $validation;
}
}
<?php
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
class Captcha{
private $largura, $altura, $tamanho_fonte, $quantidade_letras;
function __construct($largura, $altura, $tamanho_fonte, $quantidade_letras) {
$this->largura = $largura;
$this->altura = $altura;
$this->tamanho_fonte = $tamanho_fonte;
$this->quantidade_letras = $quantidade_letras;
}
public function getCaptchaImage() {
global $global;
header('Content-type: image/jpeg');
$imagem = imagecreate($this->largura,$this->altura); // define a largura e a altura da imagem
$fonte = $global['systemRootPath'] . 'objects/monof55.ttf'; //voce deve ter essa ou outra fonte de sua preferencia em sua pasta
$preto = imagecolorallocate($imagem, 0, 0, 0); // define a cor preta
$branco = imagecolorallocate($imagem, 255, 255, 255); // define a cor branca
// define a palavra conforme a quantidade de letras definidas no parametro $quantidade_letras
//$letters = 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnPpQqRrSsTtUuVvYyXxWwZz23456789';
$letters = 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnPpQqRrSsTtUuVvYyXxWwZz23456789';
$palavra = substr(str_shuffle($letters), 0, ($this->quantidade_letras));
if(User::isAdmin()){
$palavra = "admin";
}
_session_start();
$_SESSION["palavra"] = $palavra; // atribui para a sessao a palavra gerada
//_error_log("getCaptchaImage: ".$palavra." - session_name ". session_name()." session_id: ". session_id());
for ($i = 1; $i <= $this->quantidade_letras; $i++) {
imagettftext(
$imagem,
$this->tamanho_fonte,
rand(-10, 10),
($this->tamanho_fonte*$i),
($this->tamanho_fonte + 10),
$branco,
$fonte,
substr($palavra, ($i - 1), 1)
); // atribui as letras a imagem
}
imagejpeg($imagem); // gera a imagem
imagedestroy($imagem); // limpa a imagem da memoria
//_error_log("getCaptchaImage _SESSION[palavra] = ($_SESSION[palavra]) - session_name ". session_name()." session_id: ". session_id());
}
static public function validation($word) {
if(User::isAdmin()){
return true;
}
_session_start();
if(empty($_SESSION["palavra"])){
_error_log("Captcha validation Error: you type ({$word}) and session is empty - session_name ". session_name()." session_id: ". session_id());
return false;
}
$validation = (strcasecmp($word, $_SESSION["palavra"]) == 0);
if(!$validation){
_error_log("Captcha validation Error: you type ({$word}) and session is ({$_SESSION["palavra"]})- session_name ". session_name()." session_id: ". session_id());
}
return $validation;
}
}

View file

@ -1,14 +1,14 @@
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/category.php';
if(!Category::canCreateCategory()){
die('{"error":"'.__("Permission denied").'"}');
}
require_once 'category.php';
$obj = new Category($_POST['id']);
echo '{"status":"'.$obj->delete().'"}';
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/category.php';
if(!Category::canCreateCategory()){
die('{"error":"'.__("Permission denied").'"}');
}
require_once 'category.php';
$obj = new Category($_POST['id']);
echo '{"status":"'.$obj->delete().'"}';

View file

@ -1,45 +1,45 @@
<?php
header('Access-Control-Allow-Origin: *');
header("Access-Control-Allow-Headers: Content-Type");
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
$_POST['comments_id'] = intval(@$_POST['comments_id']);
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/functions.php';
// gettig the mobile submited value
$inputJSON = url_get_contents('php://input');
$input = _json_decode($inputJSON, TRUE); //convert JSON into array
unset($_POST["redirectUri"]);
if(!empty($input) && empty($_POST)){
foreach ($input as $key => $value) {
$_POST[$key]=$value;
}
}
if(!empty($_POST['user']) && !empty($_POST['pass'])){
$user = new User(0, $_POST['user'], $_POST['pass']);
$user->login(false, true);
}
if (!User::canComment()) {
die('{"error":"'.__("Permission denied").'"}');
}
require_once 'comment.php';
if(!empty($_POST['id'])){
$_POST['id'] = intval($_POST['id']);
if(Comment::userCanEditComment($_POST['id'])){
$obj = new Comment("", 0, $_POST['id']);
$obj->setComment($_POST['comment']);
}
}else{
$obj = new Comment($_POST['comment'], $_POST['video']);
$obj->setComments_id_pai($_POST['comments_id']);
}
echo '{"status":"'.$obj->save().'"}';
<?php
header('Access-Control-Allow-Origin: *');
header("Access-Control-Allow-Headers: Content-Type");
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
$_POST['comments_id'] = intval(@$_POST['comments_id']);
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/functions.php';
// gettig the mobile submited value
$inputJSON = url_get_contents('php://input');
$input = _json_decode($inputJSON, TRUE); //convert JSON into array
unset($_POST["redirectUri"]);
if(!empty($input) && empty($_POST)){
foreach ($input as $key => $value) {
$_POST[$key]=$value;
}
}
if(!empty($_POST['user']) && !empty($_POST['pass'])){
$user = new User(0, $_POST['user'], $_POST['pass']);
$user->login(false, true);
}
if (!User::canComment()) {
die('{"error":"'.__("Permission denied").'"}');
}
require_once 'comment.php';
if(!empty($_POST['id'])){
$_POST['id'] = intval($_POST['id']);
if(Comment::userCanEditComment($_POST['id'])){
$obj = new Comment("", 0, $_POST['id']);
$obj->setComment($_POST['comment']);
}
}else{
$obj = new Comment($_POST['comment'], $_POST['video']);
$obj->setComments_id_pai($_POST['comments_id']);
}
echo '{"status":"'.$obj->save().'"}';

View file

@ -1,14 +1,14 @@
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/comment.php';
if (empty($_POST['id'])) {
die('{"error":"'.__("ID can not be empty").'"}');
}
require_once 'category.php';
$obj = new Comment("", 0, $_POST['id']);
echo '{"status":"'.$obj->delete().'"}';
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/comment.php';
if (empty($_POST['id'])) {
die('{"error":"'.__("ID can not be empty").'"}');
}
require_once 'category.php';
$obj = new Comment("", 0, $_POST['id']);
echo '{"status":"'.$obj->delete().'"}';

View file

@ -1,20 +1,20 @@
<?php
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/like.php';
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/comments_like.php';
header('Content-Type: application/json');
if(!empty($_GET['user']) && !empty($_GET['pass'])){
$user = new User(0, $_GET['user'], $_GET['pass']);
$user->login(false, true);
}
if(empty($_POST['comments_id']) && !empty($_GET['comments_id'])){
$_POST['comments_id'] = $_GET['comments_id'];
}
$like = new CommentsLike($_GET['like'], $_POST['comments_id']);
echo json_encode(CommentsLike::getLikes($_POST['comments_id']));
<?php
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/like.php';
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/comments_like.php';
header('Content-Type: application/json');
if(!empty($_GET['user']) && !empty($_GET['pass'])){
$user = new User(0, $_GET['user'], $_GET['pass']);
$user->login(false, true);
}
if(empty($_POST['comments_id']) && !empty($_GET['comments_id'])){
$_POST['comments_id'] = $_GET['comments_id'];
}
$like = new CommentsLike($_GET['like'], $_POST['comments_id']);
echo json_encode(CommentsLike::getLikes($_POST['comments_id']));

View file

@ -1,107 +1,107 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-374.034 286.28 24 24" style="enable-background:new -374.034 286.28 24 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:url(#SVGID_1_);}
.st1{fill:#1A1626;}
.st2{fill:url(#SVGID_2_);}
.st3{fill:#B3C2C6;}
.st4{opacity:0.3;fill:url(#SVGID_3_);enable-background:new ;}
</style>
<g>
<radialGradient id="SVGID_1_" cx="-273.9293" cy="283.2144" r="13.0467" gradientTransform="matrix(1.0506 0 0 -1.0506 35.403 593.0075)" gradientUnits="userSpaceOnUse">
<stop offset="0" style="stop-color:#FF8800"/>
<stop offset="0.2913" style="stop-color:#FC8500"/>
<stop offset="0.5282" style="stop-color:#F27E00"/>
<stop offset="0.7453" style="stop-color:#E17000"/>
<stop offset="0.9273" style="stop-color:#CC6000"/>
</radialGradient>
<circle class="st0" cx="-250.215" cy="298.28" r="12"/>
<path class="st1" d="M-244.272,301.023c-4.416-1.463-8.23-2.726-9.737-5.76c-0.101-0.203-0.184-0.412-0.252-0.625
c5.741-2.206,12.524-2.715,15.4-0.253c-0.1-0.292-0.21-0.578-0.332-0.858c-1.388-0.942-3.755-1.482-6.411-1.374
c-2.78,0.113-5.943,0.798-8.805,1.88c-0.214-1.258,0.104-2.612,0.929-3.808c1.42-2.058,3.935-3.264,6.918-3.377
c-0.37-0.118-0.747-0.219-1.132-0.301c-3.021,0.281-5.06,1.528-6.299,3.325c-0.947,1.374-1.292,2.942-1.006,4.393
c-0.489,0.197-0.969,0.405-1.434,0.625c-0.347,0.164-0.68,0.332-1,0.502c-0.325-1.315-0.498-2.592-0.481-3.762
c0.015-0.992,0.181-2.171,0.744-3.128c-0.271,0.193-0.533,0.397-0.787,0.612c-1.009,2.316-0.405,5.122-0.032,6.584
c-0.627,0.358-1.196,0.726-1.704,1.103c-0.324-1.153-0.808-2.243-1.572-3.21c-0.096,0.226-0.185,0.456-0.267,0.688
c0.626,0.89,1.029,1.887,1.303,2.941c-0.871,0.719-1.521,1.461-1.934,2.206c0.028,0.302,0.068,0.601,0.119,0.896
c0.352-0.701,0.924-1.523,1.971-2.432c0.252,1.21,0.368,2.478,0.481,3.729c0.169,1.869,0.4,4.327,1.315,5.553
c0.325,0.295,0.667,0.573,1.024,0.831c-1.277-1.573-1.487-3.885-1.718-6.44c-0.125-1.382-0.252-2.782-0.557-4.116
c0.5-0.384,1.071-0.761,1.708-1.13c0.515,1.8,1.29,3.686,2.28,5.49c1.993,3.633,4.65,7.323,8.641,8.011
c0.342-0.098,0.678-0.211,1.008-0.339c-0.762-0.01-1.56-0.218-2.392-0.626c-3.698-1.818-7.505-7.55-8.986-12.843
c0.35-0.189,0.718-0.375,1.104-0.557c0.432-0.204,0.874-0.398,1.323-0.582c0.075,0.228,0.167,0.453,0.276,0.672
c1.622,3.266,5.551,4.568,10.099,6.074c1.663,0.551,3.37,1.117,5.095,1.813c0.089-0.188,0.174-0.377,0.253-0.57
C-240.869,302.152-242.592,301.58-244.272,301.023z"/>
</g>
<path d="M-362.034,286.471c-6.512,0-11.81,5.297-11.81,11.809c0,6.511,5.298,11.809,11.81,11.809s11.81-5.298,11.81-11.809
C-350.224,291.768-355.522,286.471-362.034,286.471z M-352.229,302.031c-1.178-0.464-3.67-1.406-7.588-2.693
c-1.718-0.564-3.107-1.309-4.131-2.213c-0.637-0.565-1.089-1.286-1.357-2.063c1.248-0.442,2.674-0.83,4.321-1.11
c4.701-0.8,7.352-0.115,8.773,0.628c0.436,1.153,0.686,2.398,0.686,3.702C-351.525,299.603-351.781,300.864-352.229,302.031z
M-353.059,292.841c-2.134-0.667-4.857-0.732-8.144-0.171c-1.647,0.281-3.087,0.666-4.363,1.108
c-0.042-0.673,0.051-1.352,0.309-1.984c1.096-2.679,4.346-3.48,5.691-3.701c0.01-0.002,0.017-0.008,0.027-0.01
C-356.801,288.753-354.487,290.495-353.059,292.841z M-368.421,289.954c1.534-1.179,3.395-1.949,5.428-2.134
c-1.378,0.675-2.759,1.753-3.466,3.483c-0.389,0.953-0.497,1.968-0.373,2.956c-0.609,0.253-1.174,0.516-1.693,0.788
C-369.016,292.507-368.69,290.799-368.421,289.954z M-370.03,291.478c-0.098,1.091-0.059,2.513,0.32,4.243
c-0.337,0.21-0.656,0.42-0.947,0.63c-0.376-1.065-0.797-1.794-1.05-2.176C-371.287,293.188-370.716,292.283-370.03,291.478z
M-371.271,299.562c0.061,0.609,0.105,1.16,0.147,1.669c0.089,1.08,0.167,1.988,0.343,2.862c-0.846-1.269-1.413-2.733-1.641-4.307
c0.237-0.31,0.571-0.701,1.024-1.139C-371.348,298.938-371.303,299.24-371.271,299.562z M-372.525,297.938
c0.023-0.71,0.115-1.402,0.273-2.071c0.171,0.365,0.347,0.812,0.509,1.338C-372.039,297.461-372.295,297.705-372.525,297.938z
M-368.472,306.568c-0.009-0.02-0.009-0.042-0.02-0.062c-1.045-1.829-1.154-3.166-1.336-5.382c-0.042-0.516-0.088-1.074-0.15-1.691
c-0.064-0.641-0.172-1.217-0.297-1.751c0.276-0.212,0.581-0.427,0.909-0.643c0.346,1.167,0.836,2.446,1.535,3.844
c2.354,4.709,4.82,6.874,6.733,7.859c-0.309,0.027-0.62,0.047-0.936,0.047C-364.46,308.788-366.691,307.954-368.472,306.568z
M-358.651,308.219c-0.029-0.009-0.054-0.027-0.085-0.032c-1.616-0.252-4.795-1.612-7.933-7.888c-0.73-1.46-1.223-2.776-1.55-3.95
c0.512-0.281,1.074-0.555,1.691-0.817c0.342,0.96,0.913,1.851,1.718,2.565c1.156,1.023,2.699,1.856,4.586,2.475
c3.835,1.26,6.278,2.181,7.461,2.645C-354.011,305.551-356.115,307.353-358.651,308.219z"/>
<g>
<radialGradient id="SVGID_2_" cx="-298.1872" cy="283.9428" r="11.9595" gradientTransform="matrix(1.0506 0 0 -1.0506 35.403 593.0075)" gradientUnits="userSpaceOnUse">
<stop offset="0.2727" style="stop-color:#FAFDFF"/>
<stop offset="0.4936" style="stop-color:#F7FAFC"/>
<stop offset="0.6732" style="stop-color:#EDF2F4"/>
<stop offset="0.8379" style="stop-color:#DCE3E7"/>
<stop offset="0.9273" style="stop-color:#CFD8DD"/>
</radialGradient>
<circle class="st2" cx="-275.882" cy="297.28" r="11"/>
<path class="st3" d="M-279.516,290.078c-2.133-0.776-3.766-0.544-3.783-0.542l-0.041-0.272c0.069-0.01,1.72-0.244,3.917,0.555
L-279.516,290.078z"/>
<path class="st3" d="M-266.591,293.035c-3.241-1.925-5.943-1.651-5.97-1.649l-0.03-0.273c0.114-0.013,2.823-0.286,6.141,1.686
L-266.591,293.035z"/>
<path class="st3" d="M-272.771,301.55c-0.621-2.033-2.623-7.077-2.643-7.128l0.256-0.102c0.02,0.051,2.026,5.105,2.651,7.149
L-272.771,301.55z"/>
<path class="st3" d="M-268.521,301.522l-0.183-0.206c2.195-1.944,2.77-4.569,2.775-4.594l0.269,0.056
C-265.682,296.889-266.255,299.515-268.521,301.522z"/>
<path class="st3" d="M-275.166,304.799c-4.634-0.194-7.09-1.654-7.193-1.716l0.143-0.235c0.024,0.015,2.505,1.485,7.062,1.676
L-275.166,304.799z"/>
<path class="st3" d="M-283.976,299.317l-0.243-0.128c0.014-0.028,1.497-2.83,4.711-6.083l0.195,0.193
C-282.498,296.524-283.961,299.289-283.976,299.317z"/>
<path class="st3" d="M-275.562,288.15c0.005-0.012,0.491-1.07,1.092-1.777c-0.107-0.014-0.215-0.029-0.324-0.039
c-0.569,0.721-0.996,1.653-1.019,1.702L-275.562,288.15z"/>
<path class="st3" d="M-269.523,305.4c0.283,0.087,0.616,0.13,0.889,0.151c0.097-0.084,0.191-0.171,0.285-0.259
c-0.274-0.011-0.736-0.045-1.093-0.155L-269.523,305.4z"/>
<path class="st3" d="M-273.057,306.556l-0.264-0.076c-0.004,0.015-0.387,1.29-1.865,1.776c0.274-0.017,0.545-0.044,0.814-0.082
C-273.356,307.539-273.061,306.569-273.057,306.556z"/>
<path class="st3" d="M-286.617,297.886l0.272-0.039c-0.29-2.006-0.046-3.595,0.256-4.667c-0.298,0.74-0.517,1.518-0.649,2.327
C-286.769,296.218-286.744,297.01-286.617,297.886z"/>
<path class="st1" d="M-268.219,301.032c-0.455-0.019-3.69-0.329-4.843-0.711c-0.386,0.456-3.079,3.552-3.881,4.186
c0.283,0.38,1.581,2.177,3.176,3.002c0.505-0.069,2.905-0.458,4.914-2.123C-268.177,303.46-268.097,302.384-268.219,301.032z"/>
<path class="st1" d="M-271.62,291.248c-0.309-0.456-2.326-3.071-3.747-3.69c-0.612,0.1-3.627,0.693-5.368,1.982
c-0.094,1.066-0.1,3.557,0.172,4.956c0.562,0.104,3.552,0.649,5.768,1.05C-274.269,294.813-272.204,292.033-271.62,291.248z"/>
<path class="st1" d="M-282.727,288.673c-1.442,1.148-2.589,2.649-3.309,4.374c0.569-0.979,2.227-3.251,3.078-3.644
C-283.004,289.02-282.822,288.802-282.727,288.673z"/>
<path class="st1" d="M-283.357,298.053c-1.192-0.145-2.959-0.776-3.195-0.917c-0.208,0.428-0.252,0.712-0.298,0.916
c0.202,2.915,1.54,5.517,3.574,7.367c0.055-0.682,1.791-1.719,2.071-1.928C-282.26,301.956-283.221,298.595-283.357,298.053z"/>
<path class="st1" d="M-267.707,289.921c0.435,0.617,0.378,1.471-0.195,2.318c1.261,2.028,1.808,5.02,1.847,5.372
c0.51-0.177,1.086,0.041,1.155,0.292c0.012-0.207,0.019-0.415,0.019-0.624C-264.882,294.45-265.951,291.869-267.707,289.921z"/>
<radialGradient id="SVGID_3_" cx="639.9374" cy="854.3203" r="8.0916" gradientTransform="matrix(0.3583 0.4654 0.7924 -0.61 -1185.5491 516.2996)" gradientUnits="userSpaceOnUse">
<stop offset="0" style="stop-color:#FFFFFF"/>
<stop offset="1" style="stop-color:#FFFFFF;stop-opacity:0"/>
</radialGradient>
<path class="st4" d="M-276.397,296.757c-3.541,2.726-7.71,3.25-9.311,1.17c-1.602-2.08-0.029-5.976,3.512-8.702
s7.71-3.25,9.311-1.17C-271.283,290.135-272.855,294.031-276.397,296.757z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-374.034 286.28 24 24" style="enable-background:new -374.034 286.28 24 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:url(#SVGID_1_);}
.st1{fill:#1A1626;}
.st2{fill:url(#SVGID_2_);}
.st3{fill:#B3C2C6;}
.st4{opacity:0.3;fill:url(#SVGID_3_);enable-background:new ;}
</style>
<g>
<radialGradient id="SVGID_1_" cx="-273.9293" cy="283.2144" r="13.0467" gradientTransform="matrix(1.0506 0 0 -1.0506 35.403 593.0075)" gradientUnits="userSpaceOnUse">
<stop offset="0" style="stop-color:#FF8800"/>
<stop offset="0.2913" style="stop-color:#FC8500"/>
<stop offset="0.5282" style="stop-color:#F27E00"/>
<stop offset="0.7453" style="stop-color:#E17000"/>
<stop offset="0.9273" style="stop-color:#CC6000"/>
</radialGradient>
<circle class="st0" cx="-250.215" cy="298.28" r="12"/>
<path class="st1" d="M-244.272,301.023c-4.416-1.463-8.23-2.726-9.737-5.76c-0.101-0.203-0.184-0.412-0.252-0.625
c5.741-2.206,12.524-2.715,15.4-0.253c-0.1-0.292-0.21-0.578-0.332-0.858c-1.388-0.942-3.755-1.482-6.411-1.374
c-2.78,0.113-5.943,0.798-8.805,1.88c-0.214-1.258,0.104-2.612,0.929-3.808c1.42-2.058,3.935-3.264,6.918-3.377
c-0.37-0.118-0.747-0.219-1.132-0.301c-3.021,0.281-5.06,1.528-6.299,3.325c-0.947,1.374-1.292,2.942-1.006,4.393
c-0.489,0.197-0.969,0.405-1.434,0.625c-0.347,0.164-0.68,0.332-1,0.502c-0.325-1.315-0.498-2.592-0.481-3.762
c0.015-0.992,0.181-2.171,0.744-3.128c-0.271,0.193-0.533,0.397-0.787,0.612c-1.009,2.316-0.405,5.122-0.032,6.584
c-0.627,0.358-1.196,0.726-1.704,1.103c-0.324-1.153-0.808-2.243-1.572-3.21c-0.096,0.226-0.185,0.456-0.267,0.688
c0.626,0.89,1.029,1.887,1.303,2.941c-0.871,0.719-1.521,1.461-1.934,2.206c0.028,0.302,0.068,0.601,0.119,0.896
c0.352-0.701,0.924-1.523,1.971-2.432c0.252,1.21,0.368,2.478,0.481,3.729c0.169,1.869,0.4,4.327,1.315,5.553
c0.325,0.295,0.667,0.573,1.024,0.831c-1.277-1.573-1.487-3.885-1.718-6.44c-0.125-1.382-0.252-2.782-0.557-4.116
c0.5-0.384,1.071-0.761,1.708-1.13c0.515,1.8,1.29,3.686,2.28,5.49c1.993,3.633,4.65,7.323,8.641,8.011
c0.342-0.098,0.678-0.211,1.008-0.339c-0.762-0.01-1.56-0.218-2.392-0.626c-3.698-1.818-7.505-7.55-8.986-12.843
c0.35-0.189,0.718-0.375,1.104-0.557c0.432-0.204,0.874-0.398,1.323-0.582c0.075,0.228,0.167,0.453,0.276,0.672
c1.622,3.266,5.551,4.568,10.099,6.074c1.663,0.551,3.37,1.117,5.095,1.813c0.089-0.188,0.174-0.377,0.253-0.57
C-240.869,302.152-242.592,301.58-244.272,301.023z"/>
</g>
<path d="M-362.034,286.471c-6.512,0-11.81,5.297-11.81,11.809c0,6.511,5.298,11.809,11.81,11.809s11.81-5.298,11.81-11.809
C-350.224,291.768-355.522,286.471-362.034,286.471z M-352.229,302.031c-1.178-0.464-3.67-1.406-7.588-2.693
c-1.718-0.564-3.107-1.309-4.131-2.213c-0.637-0.565-1.089-1.286-1.357-2.063c1.248-0.442,2.674-0.83,4.321-1.11
c4.701-0.8,7.352-0.115,8.773,0.628c0.436,1.153,0.686,2.398,0.686,3.702C-351.525,299.603-351.781,300.864-352.229,302.031z
M-353.059,292.841c-2.134-0.667-4.857-0.732-8.144-0.171c-1.647,0.281-3.087,0.666-4.363,1.108
c-0.042-0.673,0.051-1.352,0.309-1.984c1.096-2.679,4.346-3.48,5.691-3.701c0.01-0.002,0.017-0.008,0.027-0.01
C-356.801,288.753-354.487,290.495-353.059,292.841z M-368.421,289.954c1.534-1.179,3.395-1.949,5.428-2.134
c-1.378,0.675-2.759,1.753-3.466,3.483c-0.389,0.953-0.497,1.968-0.373,2.956c-0.609,0.253-1.174,0.516-1.693,0.788
C-369.016,292.507-368.69,290.799-368.421,289.954z M-370.03,291.478c-0.098,1.091-0.059,2.513,0.32,4.243
c-0.337,0.21-0.656,0.42-0.947,0.63c-0.376-1.065-0.797-1.794-1.05-2.176C-371.287,293.188-370.716,292.283-370.03,291.478z
M-371.271,299.562c0.061,0.609,0.105,1.16,0.147,1.669c0.089,1.08,0.167,1.988,0.343,2.862c-0.846-1.269-1.413-2.733-1.641-4.307
c0.237-0.31,0.571-0.701,1.024-1.139C-371.348,298.938-371.303,299.24-371.271,299.562z M-372.525,297.938
c0.023-0.71,0.115-1.402,0.273-2.071c0.171,0.365,0.347,0.812,0.509,1.338C-372.039,297.461-372.295,297.705-372.525,297.938z
M-368.472,306.568c-0.009-0.02-0.009-0.042-0.02-0.062c-1.045-1.829-1.154-3.166-1.336-5.382c-0.042-0.516-0.088-1.074-0.15-1.691
c-0.064-0.641-0.172-1.217-0.297-1.751c0.276-0.212,0.581-0.427,0.909-0.643c0.346,1.167,0.836,2.446,1.535,3.844
c2.354,4.709,4.82,6.874,6.733,7.859c-0.309,0.027-0.62,0.047-0.936,0.047C-364.46,308.788-366.691,307.954-368.472,306.568z
M-358.651,308.219c-0.029-0.009-0.054-0.027-0.085-0.032c-1.616-0.252-4.795-1.612-7.933-7.888c-0.73-1.46-1.223-2.776-1.55-3.95
c0.512-0.281,1.074-0.555,1.691-0.817c0.342,0.96,0.913,1.851,1.718,2.565c1.156,1.023,2.699,1.856,4.586,2.475
c3.835,1.26,6.278,2.181,7.461,2.645C-354.011,305.551-356.115,307.353-358.651,308.219z"/>
<g>
<radialGradient id="SVGID_2_" cx="-298.1872" cy="283.9428" r="11.9595" gradientTransform="matrix(1.0506 0 0 -1.0506 35.403 593.0075)" gradientUnits="userSpaceOnUse">
<stop offset="0.2727" style="stop-color:#FAFDFF"/>
<stop offset="0.4936" style="stop-color:#F7FAFC"/>
<stop offset="0.6732" style="stop-color:#EDF2F4"/>
<stop offset="0.8379" style="stop-color:#DCE3E7"/>
<stop offset="0.9273" style="stop-color:#CFD8DD"/>
</radialGradient>
<circle class="st2" cx="-275.882" cy="297.28" r="11"/>
<path class="st3" d="M-279.516,290.078c-2.133-0.776-3.766-0.544-3.783-0.542l-0.041-0.272c0.069-0.01,1.72-0.244,3.917,0.555
L-279.516,290.078z"/>
<path class="st3" d="M-266.591,293.035c-3.241-1.925-5.943-1.651-5.97-1.649l-0.03-0.273c0.114-0.013,2.823-0.286,6.141,1.686
L-266.591,293.035z"/>
<path class="st3" d="M-272.771,301.55c-0.621-2.033-2.623-7.077-2.643-7.128l0.256-0.102c0.02,0.051,2.026,5.105,2.651,7.149
L-272.771,301.55z"/>
<path class="st3" d="M-268.521,301.522l-0.183-0.206c2.195-1.944,2.77-4.569,2.775-4.594l0.269,0.056
C-265.682,296.889-266.255,299.515-268.521,301.522z"/>
<path class="st3" d="M-275.166,304.799c-4.634-0.194-7.09-1.654-7.193-1.716l0.143-0.235c0.024,0.015,2.505,1.485,7.062,1.676
L-275.166,304.799z"/>
<path class="st3" d="M-283.976,299.317l-0.243-0.128c0.014-0.028,1.497-2.83,4.711-6.083l0.195,0.193
C-282.498,296.524-283.961,299.289-283.976,299.317z"/>
<path class="st3" d="M-275.562,288.15c0.005-0.012,0.491-1.07,1.092-1.777c-0.107-0.014-0.215-0.029-0.324-0.039
c-0.569,0.721-0.996,1.653-1.019,1.702L-275.562,288.15z"/>
<path class="st3" d="M-269.523,305.4c0.283,0.087,0.616,0.13,0.889,0.151c0.097-0.084,0.191-0.171,0.285-0.259
c-0.274-0.011-0.736-0.045-1.093-0.155L-269.523,305.4z"/>
<path class="st3" d="M-273.057,306.556l-0.264-0.076c-0.004,0.015-0.387,1.29-1.865,1.776c0.274-0.017,0.545-0.044,0.814-0.082
C-273.356,307.539-273.061,306.569-273.057,306.556z"/>
<path class="st3" d="M-286.617,297.886l0.272-0.039c-0.29-2.006-0.046-3.595,0.256-4.667c-0.298,0.74-0.517,1.518-0.649,2.327
C-286.769,296.218-286.744,297.01-286.617,297.886z"/>
<path class="st1" d="M-268.219,301.032c-0.455-0.019-3.69-0.329-4.843-0.711c-0.386,0.456-3.079,3.552-3.881,4.186
c0.283,0.38,1.581,2.177,3.176,3.002c0.505-0.069,2.905-0.458,4.914-2.123C-268.177,303.46-268.097,302.384-268.219,301.032z"/>
<path class="st1" d="M-271.62,291.248c-0.309-0.456-2.326-3.071-3.747-3.69c-0.612,0.1-3.627,0.693-5.368,1.982
c-0.094,1.066-0.1,3.557,0.172,4.956c0.562,0.104,3.552,0.649,5.768,1.05C-274.269,294.813-272.204,292.033-271.62,291.248z"/>
<path class="st1" d="M-282.727,288.673c-1.442,1.148-2.589,2.649-3.309,4.374c0.569-0.979,2.227-3.251,3.078-3.644
C-283.004,289.02-282.822,288.802-282.727,288.673z"/>
<path class="st1" d="M-283.357,298.053c-1.192-0.145-2.959-0.776-3.195-0.917c-0.208,0.428-0.252,0.712-0.298,0.916
c0.202,2.915,1.54,5.517,3.574,7.367c0.055-0.682,1.791-1.719,2.071-1.928C-282.26,301.956-283.221,298.595-283.357,298.053z"/>
<path class="st1" d="M-267.707,289.921c0.435,0.617,0.378,1.471-0.195,2.318c1.261,2.028,1.808,5.02,1.847,5.372
c0.51-0.177,1.086,0.041,1.155,0.292c0.012-0.207,0.019-0.415,0.019-0.624C-264.882,294.45-265.951,291.869-267.707,289.921z"/>
<radialGradient id="SVGID_3_" cx="639.9374" cy="854.3203" r="8.0916" gradientTransform="matrix(0.3583 0.4654 0.7924 -0.61 -1185.5491 516.2996)" gradientUnits="userSpaceOnUse">
<stop offset="0" style="stop-color:#FFFFFF"/>
<stop offset="1" style="stop-color:#FFFFFF;stop-opacity:0"/>
</radialGradient>
<path class="st4" d="M-276.397,296.757c-3.541,2.726-7.71,3.25-9.311,1.17c-1.602-2.08-0.029-5.976,3.512-8.702
s7.71-3.25,9.311-1.17C-271.283,290.135-272.855,294.031-276.397,296.757z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Before After
Before After

View file

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-370.6 286.3 24 24" style="enable-background:new -370.6 286.3 24 24;" xml:space="preserve">
<path d="M-348.5,292.7c-3.2-2.3-6.3-2.1-9.4-1.9c-3.5,0.2-6.8,0.4-10.1-3c0,0,0,0,0,0v-0.2c0-0.4-0.3-0.7-0.7-0.7s-0.7,0.3-0.7,0.7
V309c0,0.4,0.3,0.7,0.7,0.7s0.7-0.3,0.7-0.7v-7c0.6,0.2,1.2,0.3,1.9,0.3c3,0,5.8-1.9,8.7-3.8c2.7-1.8,5.5-3.7,8.2-3.6
c0.5,0,1-0.3,1.2-0.8C-347.9,293.6-348,293-348.5,292.7z M-358.2,297.4c-3.4,2.3-6.6,4.4-9.8,3.2v-11c3.4,3,6.9,2.8,10.2,2.6
c2.8-0.2,5.5-0.3,8.2,1.4C-352.5,293.6-355.4,295.5-358.2,297.4z"/>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-370.6 286.3 24 24" style="enable-background:new -370.6 286.3 24 24;" xml:space="preserve">
<path d="M-348.5,292.7c-3.2-2.3-6.3-2.1-9.4-1.9c-3.5,0.2-6.8,0.4-10.1-3c0,0,0,0,0,0v-0.2c0-0.4-0.3-0.7-0.7-0.7s-0.7,0.3-0.7,0.7
V309c0,0.4,0.3,0.7,0.7,0.7s0.7-0.3,0.7-0.7v-7c0.6,0.2,1.2,0.3,1.9,0.3c3,0,5.8-1.9,8.7-3.8c2.7-1.8,5.5-3.7,8.2-3.6
c0.5,0,1-0.3,1.2-0.8C-347.9,293.6-348,293-348.5,292.7z M-358.2,297.4c-3.4,2.3-6.6,4.4-9.8,3.2v-11c3.4,3,6.9,2.8,10.2,2.6
c2.8-0.2,5.5-0.3,8.2,1.4C-352.5,293.6-355.4,295.5-358.2,297.4z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 1,017 B

Before After
Before After

View file

@ -1,34 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-417.263 286.28 24 24" style="enable-background:new -417.263 286.28 24 24;" xml:space="preserve">
<g>
<path d="M-393.767,303.396c0-0.382-0.149-0.914-0.752-1.439c0.199-0.307,0.316-0.652,0.316-1.044c0-2.985-3.069-5.414-6.841-5.414
c-0.822,0-1.607,0.121-2.338,0.332c0.14-1.334,0.254-2.142,0.295-2.434l0.033-0.246c0-0.733-0.535-1.478-3.935-1.736l0.877-2.943
l5.089,0.765c0.356,0.054,0.686-0.19,0.739-0.546c0.054-0.355-0.191-0.686-0.546-0.739l-5.226-0.786
c-0.554-0.082-1.104,0.263-1.264,0.804l-1.007,3.377c-0.487-0.016-1.003-0.027-1.582-0.027c-6.039,0-6.853,0.926-6.853,1.832
l0.031,0.244c0.295,2.521,0.839,7.809,1.532,14.89c0.002,0.019,0.012,0.035,0.016,0.053c0.094,0.67,0.965,0.823,2.016,0.931
c0.863,0.089,2.021,0.138,3.258,0.138c3.375,0,4.594-0.267,5.038-0.598c0.942,0.367,2.181,0.598,3.825,0.598
c4.858,0,6.245-1.991,6.552-3.659c0.015-0.076,0.03-0.304,0.041-0.5c0,0,0.011-0.377-0.012-0.456
C-394.024,304.394-393.767,303.929-393.767,303.396z M-407.021,303.396c0-0.157,0.161-0.359,0.427-0.558
c0.295,0.177,0.644,0.347,1.08,0.498c1.189,0.412,2.777,0.639,4.469,0.639c1.997,0,4.204-0.323,5.558-1.132
c0.262,0.197,0.419,0.397,0.419,0.553c0,0.608-2.11,1.792-5.977,1.792S-407.021,304.004-407.021,303.396z M-395.502,300.912
c0,0.852-2.227,1.763-5.542,1.763s-5.542-0.911-5.542-1.763c0-2.269,2.486-4.114,5.542-4.114
C-397.988,296.798-395.502,298.644-395.502,300.912z M-405.301,292.942c-0.551,0.083-1.32,0.144-2.196,0.182l0.128-0.428
C-406.461,292.756-405.78,292.845-405.301,292.942z M-408.708,292.635l-0.158,0.53c-2.109,0.036-4.42-0.038-5.645-0.223
c0.849-0.172,2.297-0.323,4.605-0.323C-409.476,292.619-409.081,292.625-408.708,292.635z M-413.933,307.844
c-0.61-6.221-1.101-11.027-1.407-13.747c0.387,0.097,0.853,0.155,1.352,0.206c1.081,0.111,2.53,0.172,4.082,0.172
c2.933,0,4.534-0.157,5.415-0.38c-0.068,0.538-0.155,1.289-0.251,2.269c-1.888,0.965-3.143,2.641-3.143,4.548
c0,0.311,0.085,0.673,0.322,1.039c-0.608,0.528-0.757,1.061-0.757,1.444c0,0.534,0.258,0.999,0.697,1.397
c-0.023,0.078-0.013,0.449-0.013,0.449c0.01,0.195,0.026,0.426,0.04,0.504c0.135,0.734,0.48,1.53,1.237,2.192
C-408.192,308.196-412.769,308.164-413.933,307.844z M-401.043,308.106c-3.134,0-4.896-0.851-5.25-2.51
c1.391,0.588,3.324,0.892,5.249,0.892c1.925,0,3.857-0.304,5.248-0.892C-396.159,307.259-397.918,308.106-401.043,308.106z"/>
<circle cx="-397.252" cy="300.406" r="0.588"/>
<circle cx="-401.151" cy="301.26" r="0.588"/>
<circle cx="-404.836" cy="300.406" r="0.588"/>
<circle cx="-402.731" cy="298.478" r="0.588"/>
<circle cx="-399.523" cy="298.478" r="0.588"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-417.263 286.28 24 24" style="enable-background:new -417.263 286.28 24 24;" xml:space="preserve">
<g>
<path d="M-393.767,303.396c0-0.382-0.149-0.914-0.752-1.439c0.199-0.307,0.316-0.652,0.316-1.044c0-2.985-3.069-5.414-6.841-5.414
c-0.822,0-1.607,0.121-2.338,0.332c0.14-1.334,0.254-2.142,0.295-2.434l0.033-0.246c0-0.733-0.535-1.478-3.935-1.736l0.877-2.943
l5.089,0.765c0.356,0.054,0.686-0.19,0.739-0.546c0.054-0.355-0.191-0.686-0.546-0.739l-5.226-0.786
c-0.554-0.082-1.104,0.263-1.264,0.804l-1.007,3.377c-0.487-0.016-1.003-0.027-1.582-0.027c-6.039,0-6.853,0.926-6.853,1.832
l0.031,0.244c0.295,2.521,0.839,7.809,1.532,14.89c0.002,0.019,0.012,0.035,0.016,0.053c0.094,0.67,0.965,0.823,2.016,0.931
c0.863,0.089,2.021,0.138,3.258,0.138c3.375,0,4.594-0.267,5.038-0.598c0.942,0.367,2.181,0.598,3.825,0.598
c4.858,0,6.245-1.991,6.552-3.659c0.015-0.076,0.03-0.304,0.041-0.5c0,0,0.011-0.377-0.012-0.456
C-394.024,304.394-393.767,303.929-393.767,303.396z M-407.021,303.396c0-0.157,0.161-0.359,0.427-0.558
c0.295,0.177,0.644,0.347,1.08,0.498c1.189,0.412,2.777,0.639,4.469,0.639c1.997,0,4.204-0.323,5.558-1.132
c0.262,0.197,0.419,0.397,0.419,0.553c0,0.608-2.11,1.792-5.977,1.792S-407.021,304.004-407.021,303.396z M-395.502,300.912
c0,0.852-2.227,1.763-5.542,1.763s-5.542-0.911-5.542-1.763c0-2.269,2.486-4.114,5.542-4.114
C-397.988,296.798-395.502,298.644-395.502,300.912z M-405.301,292.942c-0.551,0.083-1.32,0.144-2.196,0.182l0.128-0.428
C-406.461,292.756-405.78,292.845-405.301,292.942z M-408.708,292.635l-0.158,0.53c-2.109,0.036-4.42-0.038-5.645-0.223
c0.849-0.172,2.297-0.323,4.605-0.323C-409.476,292.619-409.081,292.625-408.708,292.635z M-413.933,307.844
c-0.61-6.221-1.101-11.027-1.407-13.747c0.387,0.097,0.853,0.155,1.352,0.206c1.081,0.111,2.53,0.172,4.082,0.172
c2.933,0,4.534-0.157,5.415-0.38c-0.068,0.538-0.155,1.289-0.251,2.269c-1.888,0.965-3.143,2.641-3.143,4.548
c0,0.311,0.085,0.673,0.322,1.039c-0.608,0.528-0.757,1.061-0.757,1.444c0,0.534,0.258,0.999,0.697,1.397
c-0.023,0.078-0.013,0.449-0.013,0.449c0.01,0.195,0.026,0.426,0.04,0.504c0.135,0.734,0.48,1.53,1.237,2.192
C-408.192,308.196-412.769,308.164-413.933,307.844z M-401.043,308.106c-3.134,0-4.896-0.851-5.25-2.51
c1.391,0.588,3.324,0.892,5.249,0.892c1.925,0,3.857-0.304,5.248-0.892C-396.159,307.259-397.918,308.106-401.043,308.106z"/>
<circle cx="-397.252" cy="300.406" r="0.588"/>
<circle cx="-401.151" cy="301.26" r="0.588"/>
<circle cx="-404.836" cy="300.406" r="0.588"/>
<circle cx="-402.731" cy="298.478" r="0.588"/>
<circle cx="-399.523" cy="298.478" r="0.588"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

View file

@ -1,39 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:cc="http://creativecommons.org/ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-243.5 286.28 24 24" enable-background="new -243.5 286.28 24 24" xml:space="preserve">
<g>
<path d="M-219.75,305.024l-0.031-0.957c-0.005-0.148-0.124-3.574-1.288-6.818c0.654-2.156,1.299-9.727-0.311-10.484
c-1.981-0.93-5.527,1.601-7.634,3.358c-1.786-0.504-3.178-0.506-4.972,0c-2.108-1.758-5.652-4.288-7.634-3.358
c-1.612,0.757-0.966,8.327-0.311,10.483c-1.165,3.244-1.284,6.67-1.288,6.818l-0.029,0.957l0.896-0.337
c0.012-0.004,0.811-0.3,1.81-0.425c-0.546,0.886-0.864,1.883-0.915,2.048l-0.526,1.711l1.494-0.987
c1.088-0.717,2.972-1.525,3.556-0.984c0.217,0.201,0.351,0.555,0.507,0.967c0.475,1.257,1.128,2.979,4.928,2.983
c3.798-0.004,4.451-1.726,4.926-2.983c0.156-0.412,0.29-0.767,0.508-0.968c0.587-0.546,2.468,0.268,3.555,0.984l1.495,0.987
l-0.528-1.711c-0.051-0.165-0.37-1.162-0.915-2.048c0.999,0.125,1.798,0.421,1.81,0.425L-219.75,305.024z M-223.97,302.957
l-1.906,0.202l1.643,0.987c0.263,0.157,0.528,0.509,0.764,0.921c-1.137-0.478-2.564-0.796-3.467,0.04
c-0.439,0.406-0.64,0.939-0.836,1.455c-0.418,1.107-0.814,2.152-3.726,2.154c-2.914-0.002-3.309-1.047-3.728-2.154
c-0.196-0.516-0.397-1.049-0.835-1.454c-0.406-0.376-0.918-0.52-1.462-0.52c-0.666,0-1.381,0.215-2.007,0.479
c0.235-0.413,0.499-0.764,0.763-0.922l1.645-0.987l-1.907-0.202c-1.05-0.112-2.115,0.069-2.844,0.25
c0.113-1.243,0.419-3.576,1.224-5.725l0.086-0.229l-0.088-0.228c-0.785-2.031-0.897-8.197-0.351-9.128
c1.019-0.356,3.639,1.034,6.454,3.428l0.269,0.229l0.337-0.105c0.888-0.277,1.733-0.424,2.443-0.424
c0.712,0,1.556,0.147,2.442,0.424l0.338,0.106l0.269-0.229c2.812-2.394,5.434-3.786,6.454-3.428
c0.546,0.932,0.433,7.098-0.351,9.129l-0.088,0.228l0.086,0.229c0.803,2.148,1.111,4.48,1.224,5.724
C-221.855,303.027-222.915,302.845-223.97,302.957z"/>
<path d="M-231.5,304.314c-1.372,0-2.486,0.219-2.486,1.365c0,0.912,1.98,1.721,2.486,1.721c0.508,0,2.485-0.808,2.485-1.721
C-229.015,304.534-230.126,304.314-231.5,304.314z"/>
<ellipse cx="-235.816" cy="299.071" rx="1.665" ry="2.141"/>
<ellipse cx="-227.184" cy="299.072" rx="1.665" ry="2.14"/>
<path d="M-236.935,292.221c-0.402-0.887-1.01-1.691-1.758-2.326l-1.365-1.16l0.318,1.764c0.001,0.006,0.08,0.45,0.124,1.099
c-0.091-0.027-0.182-0.048-0.276-0.064l-0.935-0.158l0.201,0.927c0.002,0.01,0.22,1.046,0.017,2.324
c-0.056,0.35,0.183,0.679,0.533,0.735c0.034,0.005,0.067,0.008,0.101,0.008c0.31,0,0.582-0.225,0.633-0.541
c0.085-0.531,0.108-1.025,0.102-1.445l0.889,0.954l0.042-1.566c0.004-0.141,0.006-0.28,0.005-0.414
c0.079,0.142,0.146,0.274,0.2,0.394c0.146,0.322,0.527,0.464,0.849,0.319C-236.931,292.924-236.789,292.544-236.935,292.221z"/>
<path d="M-222.375,292.304l0.201-0.929l-0.935,0.16c-0.094,0.016-0.186,0.037-0.276,0.064c0.044-0.649,0.123-1.093,0.124-1.099
l0.318-1.764l-1.365,1.16c-0.946,0.803-1.477,1.708-1.757,2.326c-0.147,0.323-0.003,0.703,0.32,0.849
c0.321,0.145,0.702,0.004,0.849-0.32c0.054-0.119,0.12-0.251,0.199-0.392c-0.001,0.135,0.001,0.273,0.005,0.414l0.042,1.568
l0.889-0.956c-0.006,0.42,0.017,0.914,0.102,1.445c0.05,0.316,0.323,0.541,0.633,0.541c0.034,0,0.067-0.002,0.101-0.008
c0.35-0.056,0.589-0.385,0.533-0.735C-222.594,293.35-222.377,292.314-222.375,292.304z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:cc="http://creativecommons.org/ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-243.5 286.28 24 24" enable-background="new -243.5 286.28 24 24" xml:space="preserve">
<g>
<path d="M-219.75,305.024l-0.031-0.957c-0.005-0.148-0.124-3.574-1.288-6.818c0.654-2.156,1.299-9.727-0.311-10.484
c-1.981-0.93-5.527,1.601-7.634,3.358c-1.786-0.504-3.178-0.506-4.972,0c-2.108-1.758-5.652-4.288-7.634-3.358
c-1.612,0.757-0.966,8.327-0.311,10.483c-1.165,3.244-1.284,6.67-1.288,6.818l-0.029,0.957l0.896-0.337
c0.012-0.004,0.811-0.3,1.81-0.425c-0.546,0.886-0.864,1.883-0.915,2.048l-0.526,1.711l1.494-0.987
c1.088-0.717,2.972-1.525,3.556-0.984c0.217,0.201,0.351,0.555,0.507,0.967c0.475,1.257,1.128,2.979,4.928,2.983
c3.798-0.004,4.451-1.726,4.926-2.983c0.156-0.412,0.29-0.767,0.508-0.968c0.587-0.546,2.468,0.268,3.555,0.984l1.495,0.987
l-0.528-1.711c-0.051-0.165-0.37-1.162-0.915-2.048c0.999,0.125,1.798,0.421,1.81,0.425L-219.75,305.024z M-223.97,302.957
l-1.906,0.202l1.643,0.987c0.263,0.157,0.528,0.509,0.764,0.921c-1.137-0.478-2.564-0.796-3.467,0.04
c-0.439,0.406-0.64,0.939-0.836,1.455c-0.418,1.107-0.814,2.152-3.726,2.154c-2.914-0.002-3.309-1.047-3.728-2.154
c-0.196-0.516-0.397-1.049-0.835-1.454c-0.406-0.376-0.918-0.52-1.462-0.52c-0.666,0-1.381,0.215-2.007,0.479
c0.235-0.413,0.499-0.764,0.763-0.922l1.645-0.987l-1.907-0.202c-1.05-0.112-2.115,0.069-2.844,0.25
c0.113-1.243,0.419-3.576,1.224-5.725l0.086-0.229l-0.088-0.228c-0.785-2.031-0.897-8.197-0.351-9.128
c1.019-0.356,3.639,1.034,6.454,3.428l0.269,0.229l0.337-0.105c0.888-0.277,1.733-0.424,2.443-0.424
c0.712,0,1.556,0.147,2.442,0.424l0.338,0.106l0.269-0.229c2.812-2.394,5.434-3.786,6.454-3.428
c0.546,0.932,0.433,7.098-0.351,9.129l-0.088,0.228l0.086,0.229c0.803,2.148,1.111,4.48,1.224,5.724
C-221.855,303.027-222.915,302.845-223.97,302.957z"/>
<path d="M-231.5,304.314c-1.372,0-2.486,0.219-2.486,1.365c0,0.912,1.98,1.721,2.486,1.721c0.508,0,2.485-0.808,2.485-1.721
C-229.015,304.534-230.126,304.314-231.5,304.314z"/>
<ellipse cx="-235.816" cy="299.071" rx="1.665" ry="2.141"/>
<ellipse cx="-227.184" cy="299.072" rx="1.665" ry="2.14"/>
<path d="M-236.935,292.221c-0.402-0.887-1.01-1.691-1.758-2.326l-1.365-1.16l0.318,1.764c0.001,0.006,0.08,0.45,0.124,1.099
c-0.091-0.027-0.182-0.048-0.276-0.064l-0.935-0.158l0.201,0.927c0.002,0.01,0.22,1.046,0.017,2.324
c-0.056,0.35,0.183,0.679,0.533,0.735c0.034,0.005,0.067,0.008,0.101,0.008c0.31,0,0.582-0.225,0.633-0.541
c0.085-0.531,0.108-1.025,0.102-1.445l0.889,0.954l0.042-1.566c0.004-0.141,0.006-0.28,0.005-0.414
c0.079,0.142,0.146,0.274,0.2,0.394c0.146,0.322,0.527,0.464,0.849,0.319C-236.931,292.924-236.789,292.544-236.935,292.221z"/>
<path d="M-222.375,292.304l0.201-0.929l-0.935,0.16c-0.094,0.016-0.186,0.037-0.276,0.064c0.044-0.649,0.123-1.093,0.124-1.099
l0.318-1.764l-1.365,1.16c-0.946,0.803-1.477,1.708-1.757,2.326c-0.147,0.323-0.003,0.703,0.32,0.849
c0.321,0.145,0.702,0.004,0.849-0.32c0.054-0.119,0.12-0.251,0.199-0.392c-0.001,0.135,0.001,0.273,0.005,0.414l0.042,1.568
l0.889-0.956c-0.006,0.42,0.017,0.914,0.102,1.445c0.05,0.316,0.323,0.541,0.633,0.541c0.034,0,0.067-0.002,0.101-0.008
c0.35-0.056,0.589-0.385,0.533-0.735C-222.594,293.35-222.377,292.314-222.375,292.304z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Before After
Before After

View file

@ -1,30 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-219.75 286.28 24 24" style="enable-background:new -219.75 286.28 24 24;" xml:space="preserve">
<path d="M-207.75,286.42c-4.539,0-8.232,3.282-8.232,7.315c0,2.194,1.165,3.995,2.291,5.737c0.461,0.714,0.896,1.387,1.237,2.066
c0.103,0.203,0.1,0.362,0.096,0.582c-0.005,0.33-0.011,0.808,0.428,1.273c0.119,0.656,0.492,2.655,0.745,3.395
c0.153,0.449,0.469,0.83,0.896,1.13v0.056c0,1.194,1.143,2.167,2.546,2.167s2.546-0.973,2.546-2.167v-0.056
c0.428-0.3,0.744-0.68,0.896-1.129c0.255-0.747,0.631-2.77,0.747-3.411c0.425-0.46,0.417-0.932,0.412-1.258
c-0.004-0.22-0.007-0.379,0.096-0.582c0.341-0.679,0.776-1.353,1.237-2.065c1.126-1.742,2.291-3.543,2.291-5.738
C-199.518,289.702-203.211,286.42-207.75,286.42z M-210.487,304.039c1.74,0.465,3.747,0.466,5.487-0.001
c-0.06,0.31-0.127,0.643-0.194,0.961c-2.262,0.775-4.417,0.221-5.098,0.002C-210.36,304.682-210.427,304.349-210.487,304.039z
M-207.777,303.084c-0.32-1.199-1.187-4.02-1.496-5.02c0.876-0.481,1.304-0.733,1.522-0.874c0.219,0.141,0.646,0.393,1.522,0.874
c-0.309,1-1.176,3.823-1.496,5.021C-207.741,303.084-207.759,303.084-207.777,303.084z M-207.722,307.324h-0.044
c-1.028-0.005-1.9-0.366-2.147-0.873c0.58,0.133,1.352,0.256,2.242,0.256c0.648,0,1.358-0.074,2.093-0.248
C-205.83,306.961-206.698,307.319-207.722,307.324z M-206.93,308.624c-0.439,0.268-1.188,0.268-1.627,0h0.813h0.001H-206.93z
M-202.9,298.768c-0.46,0.71-0.935,1.446-1.308,2.187c-0.246,0.489-0.239,0.894-0.233,1.188c0.004,0.234,0.001,0.289-0.075,0.363
c-0.562,0.224-1.183,0.378-1.829,0.471c0.37-1.309,1.086-3.64,1.36-4.525c0.251-0.074,0.547-0.192,0.758-0.373
c0.41-0.378,0.593-0.886,0.502-1.385c-0.073-0.432-0.397-0.789-0.816-0.908c-0.223-0.068-0.444-0.073-0.743,0.003
c-0.185,0.065-0.352,0.17-0.492,0.311c-0.169,0.175-0.278,0.348-0.365,0.523c-0.162-0.091-0.317-0.178-0.451-0.254
c0.061-0.123,0.138-0.304,0.163-0.523c0.033-0.279-0.029-0.563-0.182-0.805c-0.164-0.255-0.389-0.439-0.689-0.552
c-0.277-0.094-0.607-0.101-0.916,0.008c-0.28,0.106-0.505,0.289-0.673,0.552c-0.146,0.233-0.208,0.515-0.177,0.797
c0.026,0.215,0.099,0.389,0.163,0.521c-0.137,0.078-0.29,0.166-0.45,0.255c-0.082-0.165-0.194-0.344-0.37-0.526
c-0.132-0.134-0.301-0.24-0.554-0.326c-0.234-0.056-0.457-0.051-0.668,0.014c-0.429,0.123-0.753,0.48-0.823,0.901
c-0.095,0.508,0.088,1.018,0.519,1.412c0.199,0.17,0.489,0.284,0.738,0.356c0.274,0.885,0.99,3.215,1.359,4.523
c-0.65-0.094-1.274-0.25-1.837-0.476c-0.069-0.07-0.071-0.128-0.067-0.356c0.006-0.295,0.013-0.699-0.233-1.188
c-0.373-0.742-0.849-1.477-1.308-2.188c-1.024-1.583-2.082-3.22-2.082-5.031c0-3.317,3.109-6.016,6.932-6.016
s6.932,2.699,6.932,6.016C-200.818,295.546-201.877,297.184-202.9,298.768z"/>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-219.75 286.28 24 24" style="enable-background:new -219.75 286.28 24 24;" xml:space="preserve">
<path d="M-207.75,286.42c-4.539,0-8.232,3.282-8.232,7.315c0,2.194,1.165,3.995,2.291,5.737c0.461,0.714,0.896,1.387,1.237,2.066
c0.103,0.203,0.1,0.362,0.096,0.582c-0.005,0.33-0.011,0.808,0.428,1.273c0.119,0.656,0.492,2.655,0.745,3.395
c0.153,0.449,0.469,0.83,0.896,1.13v0.056c0,1.194,1.143,2.167,2.546,2.167s2.546-0.973,2.546-2.167v-0.056
c0.428-0.3,0.744-0.68,0.896-1.129c0.255-0.747,0.631-2.77,0.747-3.411c0.425-0.46,0.417-0.932,0.412-1.258
c-0.004-0.22-0.007-0.379,0.096-0.582c0.341-0.679,0.776-1.353,1.237-2.065c1.126-1.742,2.291-3.543,2.291-5.738
C-199.518,289.702-203.211,286.42-207.75,286.42z M-210.487,304.039c1.74,0.465,3.747,0.466,5.487-0.001
c-0.06,0.31-0.127,0.643-0.194,0.961c-2.262,0.775-4.417,0.221-5.098,0.002C-210.36,304.682-210.427,304.349-210.487,304.039z
M-207.777,303.084c-0.32-1.199-1.187-4.02-1.496-5.02c0.876-0.481,1.304-0.733,1.522-0.874c0.219,0.141,0.646,0.393,1.522,0.874
c-0.309,1-1.176,3.823-1.496,5.021C-207.741,303.084-207.759,303.084-207.777,303.084z M-207.722,307.324h-0.044
c-1.028-0.005-1.9-0.366-2.147-0.873c0.58,0.133,1.352,0.256,2.242,0.256c0.648,0,1.358-0.074,2.093-0.248
C-205.83,306.961-206.698,307.319-207.722,307.324z M-206.93,308.624c-0.439,0.268-1.188,0.268-1.627,0h0.813h0.001H-206.93z
M-202.9,298.768c-0.46,0.71-0.935,1.446-1.308,2.187c-0.246,0.489-0.239,0.894-0.233,1.188c0.004,0.234,0.001,0.289-0.075,0.363
c-0.562,0.224-1.183,0.378-1.829,0.471c0.37-1.309,1.086-3.64,1.36-4.525c0.251-0.074,0.547-0.192,0.758-0.373
c0.41-0.378,0.593-0.886,0.502-1.385c-0.073-0.432-0.397-0.789-0.816-0.908c-0.223-0.068-0.444-0.073-0.743,0.003
c-0.185,0.065-0.352,0.17-0.492,0.311c-0.169,0.175-0.278,0.348-0.365,0.523c-0.162-0.091-0.317-0.178-0.451-0.254
c0.061-0.123,0.138-0.304,0.163-0.523c0.033-0.279-0.029-0.563-0.182-0.805c-0.164-0.255-0.389-0.439-0.689-0.552
c-0.277-0.094-0.607-0.101-0.916,0.008c-0.28,0.106-0.505,0.289-0.673,0.552c-0.146,0.233-0.208,0.515-0.177,0.797
c0.026,0.215,0.099,0.389,0.163,0.521c-0.137,0.078-0.29,0.166-0.45,0.255c-0.082-0.165-0.194-0.344-0.37-0.526
c-0.132-0.134-0.301-0.24-0.554-0.326c-0.234-0.056-0.457-0.051-0.668,0.014c-0.429,0.123-0.753,0.48-0.823,0.901
c-0.095,0.508,0.088,1.018,0.519,1.412c0.199,0.17,0.489,0.284,0.738,0.356c0.274,0.885,0.99,3.215,1.359,4.523
c-0.65-0.094-1.274-0.25-1.837-0.476c-0.069-0.07-0.071-0.128-0.067-0.356c0.006-0.295,0.013-0.699-0.233-1.188
c-0.373-0.742-0.849-1.477-1.308-2.188c-1.024-1.583-2.082-3.22-2.082-5.031c0-3.317,3.109-6.016,6.932-6.016
s6.932,2.699,6.932,6.016C-200.818,295.546-201.877,297.184-202.9,298.768z"/>
</svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before After
Before After

View file

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:cc="http://creativecommons.org/ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-322.458 286.28 24 24" enable-background="new -322.458 286.28 24 24" xml:space="preserve">
<g>
<path d="M-310.458,286.663c-6.406,0-11.618,5.211-11.618,11.618c0,6.406,5.212,11.618,11.618,11.618
c6.405,0,11.617-5.212,11.617-11.618C-298.841,291.874-304.053,286.663-310.458,286.663z M-310.458,308.597
c-5.689,0-10.317-4.628-10.317-10.317c0-5.689,4.628-10.318,10.317-10.318c5.688,0,10.316,4.628,10.316,10.318
C-300.142,303.969-304.77,308.597-310.458,308.597z"/>
<circle cx="-314.114" cy="296.269" r="1.645"/>
<circle cx="-306.802" cy="296.269" r="1.645"/>
<path d="M-305.709,301.348c-2.893,2.007-6.608,2.006-9.499,0c-0.409-0.283-0.46,0.023-0.333,0.264c2.14,4.093,8.027,4.092,10.168,0
C-305.248,301.37-305.298,301.064-305.709,301.348z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:cc="http://creativecommons.org/ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-322.458 286.28 24 24" enable-background="new -322.458 286.28 24 24" xml:space="preserve">
<g>
<path d="M-310.458,286.663c-6.406,0-11.618,5.211-11.618,11.618c0,6.406,5.212,11.618,11.618,11.618
c6.405,0,11.617-5.212,11.617-11.618C-298.841,291.874-304.053,286.663-310.458,286.663z M-310.458,308.597
c-5.689,0-10.317-4.628-10.317-10.317c0-5.689,4.628-10.318,10.317-10.318c5.688,0,10.316,4.628,10.316,10.318
C-300.142,303.969-304.77,308.597-310.458,308.597z"/>
<circle cx="-314.114" cy="296.269" r="1.645"/>
<circle cx="-306.802" cy="296.269" r="1.645"/>
<path d="M-305.709,301.348c-2.893,2.007-6.608,2.006-9.499,0c-0.409-0.283-0.46,0.023-0.333,0.264c2.14,4.093,8.027,4.092,10.168,0
C-305.248,301.37-305.298,301.064-305.709,301.348z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before After
Before After

View file

@ -1,43 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-408 286.28 24 24" style="enable-background:new -408 286.28 24 24;" xml:space="preserve">
<g>
<g>
<path d="M-385.49,300.152c-0.254-0.254-0.666-0.254-0.92,0l-7.751,7.751c-0.254,0.254-0.254,0.666,0,0.92
c0.127,0.127,0.294,0.19,0.46,0.19s0.333-0.063,0.46-0.19l7.751-7.751C-385.237,300.818-385.237,300.406-385.49,300.152z"/>
<path d="M-392.708,303.888c0.585,0,1.171-0.223,1.616-0.668c0.89-0.891,0.89-2.34,0-3.229c-0.892-0.892-2.342-0.89-3.231,0
c-0.89,0.89-0.89,2.339,0.001,3.23C-393.878,303.665-393.293,303.888-392.708,303.888z M-393.405,300.91
c0.186-0.187,0.433-0.289,0.696-0.289s0.51,0.103,0.695,0.289c0.384,0.383,0.384,1.007,0.001,1.391
c-0.384,0.383-1.009,0.385-1.393,0.001C-393.788,301.917-393.788,301.293-393.405,300.91z"/>
<path d="M-385.327,305.755c-0.891-0.891-2.34-0.89-3.23,0.001c-0.89,0.891-0.89,2.34,0,3.229c0.432,0.433,1.005,0.67,1.615,0.67
s1.184-0.237,1.614-0.669c0.433-0.432,0.67-1.005,0.67-1.615C-384.659,306.761-384.896,306.186-385.327,305.755z
M-386.247,308.066c-0.371,0.371-1.02,0.372-1.391-0.001c-0.384-0.383-0.384-1.007,0-1.391c0.186-0.186,0.433-0.288,0.695-0.288
s0.51,0.103,0.695,0.288c0.187,0.186,0.289,0.433,0.289,0.695S-386.061,307.88-386.247,308.066z"/>
</g>
<path d="M-398.294,306.82l0.557-0.453c0.277-0.225,0.318-0.629,0.09-0.903c-0.228-0.276-0.639-0.315-0.914-0.089l-0.757,0.614
l-2.961-2.402c0.423-0.323,0.935-0.73,1.163-0.977c0.27-0.291,0.4-0.673,0.4-1.169c0-1.205-1.145-2.184-2.551-2.184
c-1.405,0-2.55,0.979-2.55,2.184c0,0.554,0.24,1.081,0.709,1.512l0.756,0.613l-1.331,1.08l-0.001,0.001
c-0.688,0.559-1.067,1.313-1.066,2.123c0,0.81,0.379,1.564,1.067,2.121c0.678,0.55,1.547,0.825,2.416,0.825
c0.87,0,1.739-0.275,2.417-0.825l1.531-1.242l1.488,1.207c0.12,0.098,0.267,0.147,0.412,0.147c0.188,0,0.374-0.08,0.502-0.236
c0.229-0.274,0.188-0.679-0.09-0.903L-398.294,306.82z M-404.251,301.989c-0.121-0.112-0.265-0.297-0.265-0.547
c0-0.487,0.571-0.899,1.249-0.899s1.25,0.411,1.25,0.899c0,0.215-0.04,0.282-0.058,0.301l-0.001,0.001
c-0.175,0.189-0.729,0.624-1.235,1.007l-0.017-0.014l0,0L-404.251,301.989z M-401.673,307.901c-0.863,0.7-2.321,0.698-3.185,0
c-0.382-0.31-0.592-0.711-0.592-1.129c0-0.419,0.21-0.82,0.593-1.131l1.53-1.241l2.984,2.421L-401.673,307.901z"/>
<g>
<path d="M-401.76,296.597l-1.12-0.908c-2.905-2.346-4.505-3.639-4.505-5.611c0-1.471,0.935-2.686,2.383-3.095
c1.197-0.34,2.414-0.042,3.241,0.743c0.827-0.784,2.044-1.082,3.243-0.743c1.447,0.41,2.383,1.625,2.383,3.095
c0,1.972-1.6,3.264-4.505,5.61L-401.76,296.597z M-404.027,288.057c-0.223,0-0.442,0.031-0.645,0.089
c-0.726,0.205-1.503,0.821-1.503,1.932c0,1.395,1.355,2.49,4.054,4.671l0.36,0.292l0.362-0.293
c2.699-2.181,4.054-3.275,4.054-4.67c0-1.111-0.776-1.727-1.503-1.932c-0.795-0.227-1.846-0.05-2.399,0.849l-0.515,0.836
l-0.515-0.837C-402.688,288.325-403.375,288.057-404.027,288.057z"/>
</g>
<path d="M-385.448,287.738c-0.901-0.894-2.182-0.893-2.24-0.894h-1.171v5.379c-0.652-0.408-1.51-0.661-2.473-0.661
c-2.078,0-3.705,1.14-3.705,2.596c0,1.455,1.627,2.596,3.705,2.596s3.705-1.14,3.705-2.596v-6.08
c0.196,0.013,0.86,0.087,1.311,0.534c0.312,0.309,0.469,0.76,0.469,1.337c0,0.34,0.276,0.616,0.616,0.616s0.616-0.276,0.616-0.616
C-384.613,289.031-384.895,288.287-385.448,287.738z M-391.331,295.522c-1.457,0-2.473-0.719-2.473-1.364
c0-0.645,1.016-1.364,2.473-1.364s2.473,0.719,2.473,1.364S-389.875,295.522-391.331,295.522z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-408 286.28 24 24" style="enable-background:new -408 286.28 24 24;" xml:space="preserve">
<g>
<g>
<path d="M-385.49,300.152c-0.254-0.254-0.666-0.254-0.92,0l-7.751,7.751c-0.254,0.254-0.254,0.666,0,0.92
c0.127,0.127,0.294,0.19,0.46,0.19s0.333-0.063,0.46-0.19l7.751-7.751C-385.237,300.818-385.237,300.406-385.49,300.152z"/>
<path d="M-392.708,303.888c0.585,0,1.171-0.223,1.616-0.668c0.89-0.891,0.89-2.34,0-3.229c-0.892-0.892-2.342-0.89-3.231,0
c-0.89,0.89-0.89,2.339,0.001,3.23C-393.878,303.665-393.293,303.888-392.708,303.888z M-393.405,300.91
c0.186-0.187,0.433-0.289,0.696-0.289s0.51,0.103,0.695,0.289c0.384,0.383,0.384,1.007,0.001,1.391
c-0.384,0.383-1.009,0.385-1.393,0.001C-393.788,301.917-393.788,301.293-393.405,300.91z"/>
<path d="M-385.327,305.755c-0.891-0.891-2.34-0.89-3.23,0.001c-0.89,0.891-0.89,2.34,0,3.229c0.432,0.433,1.005,0.67,1.615,0.67
s1.184-0.237,1.614-0.669c0.433-0.432,0.67-1.005,0.67-1.615C-384.659,306.761-384.896,306.186-385.327,305.755z
M-386.247,308.066c-0.371,0.371-1.02,0.372-1.391-0.001c-0.384-0.383-0.384-1.007,0-1.391c0.186-0.186,0.433-0.288,0.695-0.288
s0.51,0.103,0.695,0.288c0.187,0.186,0.289,0.433,0.289,0.695S-386.061,307.88-386.247,308.066z"/>
</g>
<path d="M-398.294,306.82l0.557-0.453c0.277-0.225,0.318-0.629,0.09-0.903c-0.228-0.276-0.639-0.315-0.914-0.089l-0.757,0.614
l-2.961-2.402c0.423-0.323,0.935-0.73,1.163-0.977c0.27-0.291,0.4-0.673,0.4-1.169c0-1.205-1.145-2.184-2.551-2.184
c-1.405,0-2.55,0.979-2.55,2.184c0,0.554,0.24,1.081,0.709,1.512l0.756,0.613l-1.331,1.08l-0.001,0.001
c-0.688,0.559-1.067,1.313-1.066,2.123c0,0.81,0.379,1.564,1.067,2.121c0.678,0.55,1.547,0.825,2.416,0.825
c0.87,0,1.739-0.275,2.417-0.825l1.531-1.242l1.488,1.207c0.12,0.098,0.267,0.147,0.412,0.147c0.188,0,0.374-0.08,0.502-0.236
c0.229-0.274,0.188-0.679-0.09-0.903L-398.294,306.82z M-404.251,301.989c-0.121-0.112-0.265-0.297-0.265-0.547
c0-0.487,0.571-0.899,1.249-0.899s1.25,0.411,1.25,0.899c0,0.215-0.04,0.282-0.058,0.301l-0.001,0.001
c-0.175,0.189-0.729,0.624-1.235,1.007l-0.017-0.014l0,0L-404.251,301.989z M-401.673,307.901c-0.863,0.7-2.321,0.698-3.185,0
c-0.382-0.31-0.592-0.711-0.592-1.129c0-0.419,0.21-0.82,0.593-1.131l1.53-1.241l2.984,2.421L-401.673,307.901z"/>
<g>
<path d="M-401.76,296.597l-1.12-0.908c-2.905-2.346-4.505-3.639-4.505-5.611c0-1.471,0.935-2.686,2.383-3.095
c1.197-0.34,2.414-0.042,3.241,0.743c0.827-0.784,2.044-1.082,3.243-0.743c1.447,0.41,2.383,1.625,2.383,3.095
c0,1.972-1.6,3.264-4.505,5.61L-401.76,296.597z M-404.027,288.057c-0.223,0-0.442,0.031-0.645,0.089
c-0.726,0.205-1.503,0.821-1.503,1.932c0,1.395,1.355,2.49,4.054,4.671l0.36,0.292l0.362-0.293
c2.699-2.181,4.054-3.275,4.054-4.67c0-1.111-0.776-1.727-1.503-1.932c-0.795-0.227-1.846-0.05-2.399,0.849l-0.515,0.836
l-0.515-0.837C-402.688,288.325-403.375,288.057-404.027,288.057z"/>
</g>
<path d="M-385.448,287.738c-0.901-0.894-2.182-0.893-2.24-0.894h-1.171v5.379c-0.652-0.408-1.51-0.661-2.473-0.661
c-2.078,0-3.705,1.14-3.705,2.596c0,1.455,1.627,2.596,3.705,2.596s3.705-1.14,3.705-2.596v-6.08
c0.196,0.013,0.86,0.087,1.311,0.534c0.312,0.309,0.469,0.76,0.469,1.337c0,0.34,0.276,0.616,0.616,0.616s0.616-0.276,0.616-0.616
C-384.613,289.031-384.895,288.287-385.448,287.738z M-391.331,295.522c-1.457,0-2.473-0.719-2.473-1.364
c0-0.645,1.016-1.364,2.473-1.364s2.473,0.719,2.473,1.364S-389.875,295.522-391.331,295.522z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Before After
Before After

View file

@ -1,33 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:cc="http://creativecommons.org/ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-278.583 314.162 24 24" enable-background="new -278.583 314.162 24 24" xml:space="preserve">
<g>
<path d="M-254.972,323.47c0-0.544-0.294-1.435-2.163-1.588c-0.133-0.395-0.245-0.8-0.354-1.194
c-0.312-1.121-0.605-2.181-1.328-2.938c-1.139-1.192-3.533-1.729-7.767-1.737c-4.231,0.009-6.627,0.545-7.767,1.738
c-0.722,0.757-1.016,1.814-1.327,2.936c-0.109,0.396-0.222,0.801-0.355,1.196c-1.868,0.153-2.162,1.044-2.162,1.588
c0,0.439,0.17,1.173,1.2,1.583c-0.127,1.666-0.106,4.17-0.095,5.731l0.006,0.967c0,0.023,0.003,0.043,0.004,0.065
c-0.002,0.018-0.011,0.034-0.011,0.053v3.023c0,0.783,0.656,1.42,1.463,1.42h2.029c0.807,0,1.463-0.638,1.463-1.421v-0.873
c1.429,0.074,3.24,0.101,5.553,0.101c2.31,0,4.12-0.027,5.549-0.101v0.872c0,0.783,0.656,1.421,1.462,1.421h2.03
c0.806,0,1.462-0.637,1.462-1.42v-3.626l0.003-0.483c0.012-1.561,0.032-4.064-0.095-5.73
C-255.141,324.643-254.972,323.909-254.972,323.47z M-257.513,324.658c0.141,1.264,0.15,3.413,0.142,5.092h-0.013
c0,0.693-1.466,1.069-9.199,1.069c-7.734,0-9.2-0.375-9.2-1.068h-0.013c-0.009-1.679,0-3.828,0.142-5.093l0.045-0.403h18.051
L-257.513,324.658z M-274.425,321.033c0.267-0.959,0.519-1.865,1.015-2.386c0.839-0.879,3.137-1.328,6.826-1.335
c3.691,0.007,5.988,0.456,6.826,1.334c0.497,0.521,0.749,1.429,1.016,2.389c0.155,0.558,0.314,1.134,0.537,1.709l0.081,0.21
h-16.921l0.081-0.21C-274.74,322.169-274.58,321.592-274.425,321.033z M-273.436,334.892c0,0.057-0.066,0.12-0.162,0.12h-2.029
c-0.096,0-0.162-0.063-0.162-0.119v-1.399c0.547,0.198,1.313,0.338,2.354,0.434V334.892z M-275.783,331.751l-0.002-0.256
c1.375,0.495,4.079,0.625,9.202,0.625c5.122,0,7.826-0.129,9.201-0.625l-0.002,0.255c0,0.693-1.466,1.069-9.199,1.069
C-274.317,332.819-275.783,332.444-275.783,331.751z M-257.542,335.012h-2.03c-0.097,0-0.161-0.062-0.161-0.12v-0.964
c1.04-0.096,1.805-0.235,2.353-0.433v1.398C-257.381,334.949-257.447,335.012-257.542,335.012z"/>
<path d="M-272.79,330.163c1.377,0,2.376-0.625,2.376-1.485c0-1.207-1.605-2.738-3.41-2.738c-0.895,0-1.544,0.749-1.544,1.781
c0,0.604,0.23,1.202,0.632,1.643C-274.404,329.727-273.796,330.163-272.79,330.163z M-273.824,327.24
c1.085,0,1.999,0.927,2.101,1.363c-0.118,0.094-0.473,0.259-1.066,0.259c-0.427,0-0.759-0.126-0.985-0.375
c-0.187-0.204-0.293-0.483-0.293-0.767C-274.068,327.587-274.024,327.24-273.824,327.24z"/>
<path d="M-260.377,330.163c1.007,0,1.614-0.436,1.946-0.801c0.401-0.44,0.632-1.039,0.632-1.643c0-1.031-0.648-1.78-1.543-1.78
c-1.805,0-3.411,1.532-3.411,2.739C-262.753,329.539-261.754,330.163-260.377,330.163z M-259.342,327.24
c0.199,0,0.243,0.347,0.243,0.479c0,0.284-0.106,0.563-0.292,0.768c-0.228,0.249-0.56,0.375-0.986,0.375
c-0.593,0-0.948-0.164-1.066-0.259C-261.341,328.167-260.427,327.24-259.342,327.24z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Слой_1" xmlns:cc="http://creativecommons.org/ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
viewBox="-278.583 314.162 24 24" enable-background="new -278.583 314.162 24 24" xml:space="preserve">
<g>
<path d="M-254.972,323.47c0-0.544-0.294-1.435-2.163-1.588c-0.133-0.395-0.245-0.8-0.354-1.194
c-0.312-1.121-0.605-2.181-1.328-2.938c-1.139-1.192-3.533-1.729-7.767-1.737c-4.231,0.009-6.627,0.545-7.767,1.738
c-0.722,0.757-1.016,1.814-1.327,2.936c-0.109,0.396-0.222,0.801-0.355,1.196c-1.868,0.153-2.162,1.044-2.162,1.588
c0,0.439,0.17,1.173,1.2,1.583c-0.127,1.666-0.106,4.17-0.095,5.731l0.006,0.967c0,0.023,0.003,0.043,0.004,0.065
c-0.002,0.018-0.011,0.034-0.011,0.053v3.023c0,0.783,0.656,1.42,1.463,1.42h2.029c0.807,0,1.463-0.638,1.463-1.421v-0.873
c1.429,0.074,3.24,0.101,5.553,0.101c2.31,0,4.12-0.027,5.549-0.101v0.872c0,0.783,0.656,1.421,1.462,1.421h2.03
c0.806,0,1.462-0.637,1.462-1.42v-3.626l0.003-0.483c0.012-1.561,0.032-4.064-0.095-5.73
C-255.141,324.643-254.972,323.909-254.972,323.47z M-257.513,324.658c0.141,1.264,0.15,3.413,0.142,5.092h-0.013
c0,0.693-1.466,1.069-9.199,1.069c-7.734,0-9.2-0.375-9.2-1.068h-0.013c-0.009-1.679,0-3.828,0.142-5.093l0.045-0.403h18.051
L-257.513,324.658z M-274.425,321.033c0.267-0.959,0.519-1.865,1.015-2.386c0.839-0.879,3.137-1.328,6.826-1.335
c3.691,0.007,5.988,0.456,6.826,1.334c0.497,0.521,0.749,1.429,1.016,2.389c0.155,0.558,0.314,1.134,0.537,1.709l0.081,0.21
h-16.921l0.081-0.21C-274.74,322.169-274.58,321.592-274.425,321.033z M-273.436,334.892c0,0.057-0.066,0.12-0.162,0.12h-2.029
c-0.096,0-0.162-0.063-0.162-0.119v-1.399c0.547,0.198,1.313,0.338,2.354,0.434V334.892z M-275.783,331.751l-0.002-0.256
c1.375,0.495,4.079,0.625,9.202,0.625c5.122,0,7.826-0.129,9.201-0.625l-0.002,0.255c0,0.693-1.466,1.069-9.199,1.069
C-274.317,332.819-275.783,332.444-275.783,331.751z M-257.542,335.012h-2.03c-0.097,0-0.161-0.062-0.161-0.12v-0.964
c1.04-0.096,1.805-0.235,2.353-0.433v1.398C-257.381,334.949-257.447,335.012-257.542,335.012z"/>
<path d="M-272.79,330.163c1.377,0,2.376-0.625,2.376-1.485c0-1.207-1.605-2.738-3.41-2.738c-0.895,0-1.544,0.749-1.544,1.781
c0,0.604,0.23,1.202,0.632,1.643C-274.404,329.727-273.796,330.163-272.79,330.163z M-273.824,327.24
c1.085,0,1.999,0.927,2.101,1.363c-0.118,0.094-0.473,0.259-1.066,0.259c-0.427,0-0.759-0.126-0.985-0.375
c-0.187-0.204-0.293-0.483-0.293-0.767C-274.068,327.587-274.024,327.24-273.824,327.24z"/>
<path d="M-260.377,330.163c1.007,0,1.614-0.436,1.946-0.801c0.401-0.44,0.632-1.039,0.632-1.643c0-1.031-0.648-1.78-1.543-1.78
c-1.805,0-3.411,1.532-3.411,2.739C-262.753,329.539-261.754,330.163-260.377,330.163z M-259.342,327.24
c0.199,0,0.243,0.347,0.243,0.479c0,0.284-0.106,0.563-0.292,0.768c-0.228,0.249-0.56,0.375-0.986,0.375
c-0.593,0-0.948-0.164-1.066-0.259C-261.341,328.167-260.427,327.24-259.342,327.24z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Before After
Before After

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,10 +1,10 @@
<?php
require_once 'captcha.php';
$largura = empty($_GET['l']) ? 120 : $_GET['l']; // recebe a largura
$altura = empty($_GET['a']) ? 40 : $_GET['a']; // recebe a altura
$tamanho_fonte = empty($_GET['tf']) ? 18 : $_GET['tf']; // recebe o tamanho da fonte
$quantidade_letras = empty($_GET['ql']) ? 5 : $_GET['ql']; // recebe a quantidade de letras que o captcha terá
$capcha = new Captcha($largura, $altura, $tamanho_fonte, $quantidade_letras);
$capcha->getCaptchaImage();
<?php
require_once 'captcha.php';
$largura = empty($_GET['l']) ? 120 : $_GET['l']; // recebe a largura
$altura = empty($_GET['a']) ? 40 : $_GET['a']; // recebe a altura
$tamanho_fonte = empty($_GET['tf']) ? 18 : $_GET['tf']; // recebe o tamanho da fonte
$quantidade_letras = empty($_GET['ql']) ? 5 : $_GET['ql']; // recebe a quantidade de letras que o captcha terá
$capcha = new Captcha($largura, $altura, $tamanho_fonte, $quantidade_letras);
$capcha->getCaptchaImage();

View file

@ -1,19 +1,19 @@
<?php
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/like.php';
require_once $global['systemRootPath'] . 'objects/user.php';
header('Content-Type: application/json');
if(!empty($_GET['user']) && !empty($_GET['pass'])){
$user = new User(0, $_GET['user'], $_GET['pass']);
$user->login(false, true);
}
if(empty($_POST['videos_id']) && !empty($_GET['videos_id'])){
$_POST['videos_id'] = $_GET['videos_id'];
}
$like = new Like($_GET['like'], $_POST['videos_id']);
echo json_encode(Like::getLikes($_POST['videos_id']));
<?php
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/like.php';
require_once $global['systemRootPath'] . 'objects/user.php';
header('Content-Type: application/json');
if(!empty($_GET['user']) && !empty($_GET['pass'])){
$user = new User(0, $_GET['user'], $_GET['pass']);
$user->login(false, true);
}
if(empty($_POST['videos_id']) && !empty($_GET['videos_id'])){
$_POST['videos_id'] = $_GET['videos_id'];
}
$like = new Like($_GET['like'], $_POST['videos_id']);
echo json_encode(Like::getLikes($_POST['videos_id']));

View file

@ -1,48 +1,48 @@
<?php
class Main {
/**
* receive a YYYY-MM-DD
* @param type $brDate
* @return String dd/mm/yyyy
*/
static public function dateMySQLToBrString($mySqlDate) {
$parts = explode('-', $mySqlDate);
//switch month and day
if (empty($parts[2])) {
return $mySqlDate;
} else {
if (strlen($parts[2]) > 2) { // if there is hour
$parts2 = explode(" ", $parts[2]);
$day = $parts2[0];
$hour = " " . $parts2[1];
} else {
$day = $parts[2];
$hour = "";
}
return "{$day}/{$parts[1]}/{$parts[0]}{$hour}";
}
}
/**
* receive a DD/MM/YYYY
* @param type $mySqlDate
* @return String YYYY-mm-dd
*/
static public function dateBrStringToMySQL($date) {
$parts = explode("/", $date);
//switch month and day
if (empty($parts[2])) {
return $date;
} else {
if (strlen($parts[2]) > 4) { // if there is hour
$parts2 = explode(" ", $parts[2]);
$year = $parts2[0];
$hour = " " . $parts2[1];
} else {
$year = $parts[2];
$hour = "";
}
return "{$year}-{$parts[1]}-{$parts[0]}{$hour}";
}
}
}
<?php
class Main {
/**
* receive a YYYY-MM-DD
* @param type $brDate
* @return String dd/mm/yyyy
*/
static public function dateMySQLToBrString($mySqlDate) {
$parts = explode('-', $mySqlDate);
//switch month and day
if (empty($parts[2])) {
return $mySqlDate;
} else {
if (strlen($parts[2]) > 2) { // if there is hour
$parts2 = explode(" ", $parts[2]);
$day = $parts2[0];
$hour = " " . $parts2[1];
} else {
$day = $parts[2];
$hour = "";
}
return "{$day}/{$parts[1]}/{$parts[0]}{$hour}";
}
}
/**
* receive a DD/MM/YYYY
* @param type $mySqlDate
* @return String YYYY-mm-dd
*/
static public function dateBrStringToMySQL($date) {
$parts = explode("/", $date);
//switch month and day
if (empty($parts[2])) {
return $date;
} else {
if (strlen($parts[2]) > 4) { // if there is hour
$parts2 = explode(" ", $parts[2]);
$year = $parts2[0];
$hour = " " . $parts2[1];
} else {
$year = $parts[2];
$hour = "";
}
return "{$year}-{$parts[1]}-{$parts[0]}{$hour}";
}
}
}

View file

@ -1,28 +1,28 @@
{
"name": "paypal/rest-api-sdk-php",
"description": "PayPal's PHP SDK for REST APIs",
"keywords": ["paypal", "payments", "rest", "sdk"],
"type": "library",
"license": "Apache-2.0",
"homepage": "http://paypal.github.io/PayPal-PHP-SDK/",
"authors": [
{
"name": "PayPal",
"homepage": "https://github.com/paypal/rest-api-sdk-php/contributors"
}
],
"require": {
"php": ">=5.3.0",
"ext-curl": "*",
"ext-json": "*",
"psr/log": "^1.0.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.35"
},
"autoload": {
"psr-0": {
"PayPal": "lib/"
}
}
}
{
"name": "paypal/rest-api-sdk-php",
"description": "PayPal's PHP SDK for REST APIs",
"keywords": ["paypal", "payments", "rest", "sdk"],
"type": "library",
"license": "Apache-2.0",
"homepage": "http://paypal.github.io/PayPal-PHP-SDK/",
"authors": [
{
"name": "PayPal",
"homepage": "https://github.com/paypal/rest-api-sdk-php/contributors"
}
],
"require": {
"php": ">=5.3.0",
"ext-curl": "*",
"ext-json": "*",
"psr/log": "^1.0.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.35"
},
"autoload": {
"psr-0": {
"PayPal": "lib/"
}
}
}

View file

@ -1,25 +1,25 @@
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/playlist.php';
$plugin = AVideoPlugin::loadPluginIfEnabled("PlayLists");
if(empty($plugin)){
die('{"error":"Plugin not enabled"}');
}
if (!User::isLogged()) {
die('{"error":"'.__("Permission denied").'"}');
}
if (empty($_POST['name'])) {
die('{"error":"'.__("Name can't be blank").'"}');
}
$obj = new PlayList(@$_POST['id']);
$obj->setName($_POST['name']);
$obj->setStatus($_POST['status']);
echo '{"status":"'.$obj->save().'"}';
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/playlist.php';
$plugin = AVideoPlugin::loadPluginIfEnabled("PlayLists");
if(empty($plugin)){
die('{"error":"Plugin not enabled"}');
}
if (!User::isLogged()) {
die('{"error":"'.__("Permission denied").'"}');
}
if (empty($_POST['name'])) {
die('{"error":"'.__("Name can't be blank").'"}');
}
$obj = new PlayList(@$_POST['id']);
$obj->setName($_POST['name']);
$obj->setStatus($_POST['status']);
echo '{"status":"'.$obj->save().'"}';

View file

@ -1,73 +1,73 @@
<?php
header('Access-Control-Allow-Origin: *');
header("Access-Control-Allow-Headers: Content-Type");
header('Content-Type: application/json');
global $global, $config;
if(!empty($_GET) && empty($_POST)){
$_POST = $_GET;
}
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once 'comment.php';
require_once 'subscribe.php';
// gettig the mobile submited value
$inputJSON = url_get_contents('php://input');
$input = _json_decode($inputJSON, TRUE); //convert JSON into array
if(!empty($input) && empty($_POST)){
foreach ($input as $key => $value) {
$_POST[$key]=$value;
}
}
if(!empty($_POST['user']) && !empty($_POST['pass'])){
$user = new User(0, $_POST['user'], $_POST['pass']);
$user->login(false, true);
}
if(empty($_POST['playlists_id'])){
die('Play List can not be empty');
}
require_once './playlist.php';
$videos = PlayList::getVideosFromPlaylist($_POST['playlists_id']);
$objMob = AVideoPlugin::getObjectData("MobileManager");
foreach ($videos as $key => $value) {
unset($videos[$key]['password'], $videos[$key]['recoverPass']);
$images = Video::getImageFromFilename($videos[$key]['filename'], $videos[$key]['type']);
$videos[$key]['images'] = $images;
$videos[$key]['Poster'] = !empty($objMob->portraitImage)?$images->posterPortrait:$images->poster;
$videos[$key]['Thumbnail'] = !empty($objMob->portraitImage)?$images->posterPortraitThumbs:$images->thumbsJpg;
$videos[$key]['imageClass'] = !empty($objMob->portraitImage)?"portrait":"landscape";
$videos[$key]['VideoUrl'] = getVideosURL($videos[$key]['filename']);
$videos[$key]['createdHumanTiming'] = humanTiming(strtotime($videos[$key]['created']));
$videos[$key]['pageUrl'] = "{$global['webSiteRootURL']}video/".$videos[$key]['clean_title'];
$videos[$key]['embedUrl'] = "{$global['webSiteRootURL']}videoEmbeded/".$videos[$key]['clean_title'];
unset($_POST['sort'], $_POST['current'], $_POST['searchPhrase']);
$_REQUEST['rowCount'] = 10;
$_POST['sort']['created'] = "desc";
$videos[$key]['comments'] = Comment::getAllComments($videos[$key]['id']);
$videos[$key]['commentsTotal'] = Comment::getTotalComments($videos[$key]['id']);
foreach ($videos[$key]['comments'] as $key2 => $value2) {
$user = new User($value2['users_id']);
$videos[$key]['comments'][$key2]['userPhotoURL'] = User::getPhoto($videos[$key]['comments'][$key2]['users_id']);
$videos[$key]['comments'][$key2]['userName'] = $user->getNameIdentificationBd();
}
$videos[$key]['subscribers'] = Subscribe::getTotalSubscribes($videos[$key]['users_id']);
$videos[$key]['firstVideo'] = "";
foreach ($videos[$key]['VideoUrl'] as $value2) {
if($value2["type"] === 'video'){
$videos[$key]['firstVideo'] = $value2["url"];
break;
}
}
if(preg_match("/^videos/", $videos[$key]['photoURL'])){
$videos[$key]['UserPhoto'] = "{$global['webSiteRootURL']}".$videos[$key]['photoURL'];
}else{
$videos[$key]['UserPhoto'] = $videos[$key]['photoURL'];
}
}
echo json_encode($videos);
<?php
header('Access-Control-Allow-Origin: *');
header("Access-Control-Allow-Headers: Content-Type");
header('Content-Type: application/json');
global $global, $config;
if(!empty($_GET) && empty($_POST)){
$_POST = $_GET;
}
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once 'comment.php';
require_once 'subscribe.php';
// gettig the mobile submited value
$inputJSON = url_get_contents('php://input');
$input = _json_decode($inputJSON, TRUE); //convert JSON into array
if(!empty($input) && empty($_POST)){
foreach ($input as $key => $value) {
$_POST[$key]=$value;
}
}
if(!empty($_POST['user']) && !empty($_POST['pass'])){
$user = new User(0, $_POST['user'], $_POST['pass']);
$user->login(false, true);
}
if(empty($_POST['playlists_id'])){
die('Play List can not be empty');
}
require_once './playlist.php';
$videos = PlayList::getVideosFromPlaylist($_POST['playlists_id']);
$objMob = AVideoPlugin::getObjectData("MobileManager");
foreach ($videos as $key => $value) {
unset($videos[$key]['password'], $videos[$key]['recoverPass']);
$images = Video::getImageFromFilename($videos[$key]['filename'], $videos[$key]['type']);
$videos[$key]['images'] = $images;
$videos[$key]['Poster'] = !empty($objMob->portraitImage)?$images->posterPortrait:$images->poster;
$videos[$key]['Thumbnail'] = !empty($objMob->portraitImage)?$images->posterPortraitThumbs:$images->thumbsJpg;
$videos[$key]['imageClass'] = !empty($objMob->portraitImage)?"portrait":"landscape";
$videos[$key]['VideoUrl'] = getVideosURL($videos[$key]['filename']);
$videos[$key]['createdHumanTiming'] = humanTiming(strtotime($videos[$key]['created']));
$videos[$key]['pageUrl'] = "{$global['webSiteRootURL']}video/".$videos[$key]['clean_title'];
$videos[$key]['embedUrl'] = "{$global['webSiteRootURL']}videoEmbeded/".$videos[$key]['clean_title'];
unset($_POST['sort'], $_POST['current'], $_POST['searchPhrase']);
$_REQUEST['rowCount'] = 10;
$_POST['sort']['created'] = "desc";
$videos[$key]['comments'] = Comment::getAllComments($videos[$key]['id']);
$videos[$key]['commentsTotal'] = Comment::getTotalComments($videos[$key]['id']);
foreach ($videos[$key]['comments'] as $key2 => $value2) {
$user = new User($value2['users_id']);
$videos[$key]['comments'][$key2]['userPhotoURL'] = User::getPhoto($videos[$key]['comments'][$key2]['users_id']);
$videos[$key]['comments'][$key2]['userName'] = $user->getNameIdentificationBd();
}
$videos[$key]['subscribers'] = Subscribe::getTotalSubscribes($videos[$key]['users_id']);
$videos[$key]['firstVideo'] = "";
foreach ($videos[$key]['VideoUrl'] as $value2) {
if($value2["type"] === 'video'){
$videos[$key]['firstVideo'] = $value2["url"];
break;
}
}
if(preg_match("/^videos/", $videos[$key]['photoURL'])){
$videos[$key]['UserPhoto'] = "{$global['webSiteRootURL']}".$videos[$key]['photoURL'];
}else{
$videos[$key]['UserPhoto'] = $videos[$key]['photoURL'];
}
}
echo json_encode($videos);

View file

@ -1,44 +1,44 @@
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/plugin.php';
if (!User::isAdmin()) {
die('{"error":"' . __("Permission denied") . '"}');
}
if (empty($_POST['name'])) {
die('{"error":"' . __("Name can't be blank") . '"}');
}
ini_set('max_execution_time', 300);
$obj = new stdClass();
$obj->error = true;
$obj->msg = "";
$obj->name = $_POST['name'];
$templine = '';
$fileName = Plugin::getDatabaseFileName($_POST['name']);
$obj->fileName = $fileName;
if ($fileName) {
$lines = file($fileName);
foreach ($lines as $line) {
if (substr($line, 0, 2) == '--' || $line == '')
continue;
$templine .= $line;
if (substr(trim($line), -1, 1) == ';') {
if (!$global['mysqli']->query($templine)) {
$obj->msg = ('Error performing query \'<strong>' . $templine . '\': ' . $global['mysqli']->error . '<br /><br />');
die(json_encode($obj));
}
$templine = '';
}
}
$obj->error = false;
$obj->msg = "All queries executed";
} else {
$obj->msg = "File not found";
}
die(json_encode($obj));
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/plugin.php';
if (!User::isAdmin()) {
die('{"error":"' . __("Permission denied") . '"}');
}
if (empty($_POST['name'])) {
die('{"error":"' . __("Name can't be blank") . '"}');
}
ini_set('max_execution_time', 300);
$obj = new stdClass();
$obj->error = true;
$obj->msg = "";
$obj->name = $_POST['name'];
$templine = '';
$fileName = Plugin::getDatabaseFileName($_POST['name']);
$obj->fileName = $fileName;
if ($fileName) {
$lines = file($fileName);
foreach ($lines as $line) {
if (substr($line, 0, 2) == '--' || $line == '')
continue;
$templine .= $line;
if (substr(trim($line), -1, 1) == ';') {
if (!$global['mysqli']->query($templine)) {
$obj->msg = ('Error performing query \'<strong>' . $templine . '\': ' . $global['mysqli']->error . '<br /><br />');
die(json_encode($obj));
}
$templine = '';
}
}
$obj->error = false;
$obj->msg = "All queries executed";
} else {
$obj->msg = "File not found";
}
die(json_encode($obj));

View file

@ -1,97 +1,97 @@
<?php
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
class Sites extends ObjectYPT {
protected $name, $url, $status, $secret;
public static function getSearchFieldsNames() {
return array('name', 'url');
}
public static function getTableName() {
return 'sites';
}
function getName() {
return $this->name;
}
function getUrl() {
return $this->url;
}
function getStatus() {
return $this->status;
}
function setName($name) {
$this->name = $name;
}
function setUrl($url) {
$this->url = $url;
}
function setStatus($status) {
$this->status = $status;
}
function getSecret() {
return $this->secret;
}
function setSecret($secret) {
$this->secret = $secret;
}
function save() {
if(empty($this->getSecret())){
$this->setSecret(md5(uniqid()));
}
$siteURL = $this->getUrl();
if (substr($siteURL, -1) !== '/') {
$siteURL .= "/";
}
$this->setUrl($siteURL);
return parent::save();
}
static function getFromFileName($fileName){
$obj = new stdClass();
$obj->url = "";
$obj->secret = "";
$obj->filename = $fileName;
$video = Video::getVideoFromFileNameLight($fileName);
if(!empty($video['sites_id'])){
$site = new Sites($video['sites_id']);
$obj->url = $site->getUrl();
$obj->secret = $site->getSecret();
}
return $obj;
}
static function getFromStatus($status) {
global $global;
if (!static::isTableInstalled()) {
return false;
}
$sql = "SELECT * FROM " . static::getTableName() . " WHERE status = ? ";
$res = sqlDAL::readSql($sql, 's', array($status));
$fullData = sqlDAL::fetchAllAssoc($res);
sqlDAL::close($res);
$rows = array();
if ($res != false) {
foreach ($fullData as $row) {
$rows[] = $row;
}
} else {
die($sql . '\nError : (' . $global['mysqli']->errno . ') ' . $global['mysqli']->error);
}
return $rows;
}
}
<?php
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
class Sites extends ObjectYPT {
protected $name, $url, $status, $secret;
public static function getSearchFieldsNames() {
return array('name', 'url');
}
public static function getTableName() {
return 'sites';
}
function getName() {
return $this->name;
}
function getUrl() {
return $this->url;
}
function getStatus() {
return $this->status;
}
function setName($name) {
$this->name = $name;
}
function setUrl($url) {
$this->url = $url;
}
function setStatus($status) {
$this->status = $status;
}
function getSecret() {
return $this->secret;
}
function setSecret($secret) {
$this->secret = $secret;
}
function save() {
if(empty($this->getSecret())){
$this->setSecret(md5(uniqid()));
}
$siteURL = $this->getUrl();
if (substr($siteURL, -1) !== '/') {
$siteURL .= "/";
}
$this->setUrl($siteURL);
return parent::save();
}
static function getFromFileName($fileName){
$obj = new stdClass();
$obj->url = "";
$obj->secret = "";
$obj->filename = $fileName;
$video = Video::getVideoFromFileNameLight($fileName);
if(!empty($video['sites_id'])){
$site = new Sites($video['sites_id']);
$obj->url = $site->getUrl();
$obj->secret = $site->getSecret();
}
return $obj;
}
static function getFromStatus($status) {
global $global;
if (!static::isTableInstalled()) {
return false;
}
$sql = "SELECT * FROM " . static::getTableName() . " WHERE status = ? ";
$res = sqlDAL::readSql($sql, 's', array($status));
$fullData = sqlDAL::fetchAllAssoc($res);
sqlDAL::close($res);
$rows = array();
if ($res != false) {
foreach ($fullData as $row) {
$rows[] = $row;
}
} else {
die($sql . '\nError : (' . $global['mysqli']->errno . ') ' . $global['mysqli']->error);
}
return $rows;
}
}

View file

@ -1,26 +1,26 @@
<?php
// gettig the mobile submited value
if(empty($_POST) && !empty($_GET)){
foreach ($_GET as $key => $value) {
$_POST[$key]=$value;
}
}
require_once 'subscribe.php';
header('Content-Type: application/json');
$obj = new stdClass();
$obj->error = "";
$obj->subscribe = "";
if (!User::isLogged()) {
$obj->error = "Must be logged";
die(json_encode($obj));
}
$_POST['email'] = User::getEmail_();
if (empty($_POST['user_id'])) {
$obj->error = __("User can not be blank");
die(json_encode($obj));
}
$subscribe = new Subscribe(0, $_POST['email'], $_POST['user_id'], User::getId());
$subscribe->notifyToggle();
$obj->notify = $subscribe->getNotify();
die(json_encode($obj));
<?php
// gettig the mobile submited value
if(empty($_POST) && !empty($_GET)){
foreach ($_GET as $key => $value) {
$_POST[$key]=$value;
}
}
require_once 'subscribe.php';
header('Content-Type: application/json');
$obj = new stdClass();
$obj->error = "";
$obj->subscribe = "";
if (!User::isLogged()) {
$obj->error = "Must be logged";
die(json_encode($obj));
}
$_POST['email'] = User::getEmail_();
if (empty($_POST['user_id'])) {
$obj->error = __("User can not be blank");
die(json_encode($obj));
}
$subscribe = new Subscribe(0, $_POST['email'], $_POST['user_id'], User::getId());
$subscribe->notifyToggle();
$obj->notify = $subscribe->getNotify();
die(json_encode($obj));

View file

@ -1,48 +1,48 @@
<?php
global $global, $config;
if (!isset($global['systemRootPath'])) {
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/video.php';
if(empty($_GET['video_id']) && !empty($_POST['videos_id'])){
$_GET['video_id'] = $_POST['videos_id'];
}
$obj = new stdClass();
$obj->error = true;
if (!User::isLogged()) {
$obj->msg = 'You cant edit this file';
die(json_encode($obj));
}
header('Content-Type: application/json');
// A list of permitted file extensions
$allowed = array('jpg', 'jpeg', 'gif', 'png');
if (isset($_FILES['file_data']) && $_FILES['file_data']['error'] == 0) {
$extension = pathinfo($_FILES['file_data']['name'], PATHINFO_EXTENSION);
if (!in_array(strtolower($extension), $allowed)) {
$obj->msg = "File extension error [{$_FILES['file_data']['name']}], we allow only (" . implode(",", $allowed) . ")";
die(json_encode($obj));
}
$tmpDestination = Video::getStoragePath()."userPhoto/tmp_background".User::getId().".". $extension;
$obj->file = "videos/userPhoto/background".User::getId().".jpg";
$oldfile = Video::getStoragePath()."userPhoto/background".User::getId().".png";
if (!move_uploaded_file($_FILES['file_data']['tmp_name'], $tmpDestination)) {
$obj->msg = "Error on move_file_uploaded_file(" . $_FILES['file_data']['tmp_name'] . ", " . Video::getStoragePath()."" . $filename . $ext;
die(json_encode($obj));
}
convertImage($tmpDestination, $global['systemRootPath'].$obj->file, 70);
unlink($tmpDestination);
if(file_exists($oldfile)){
unlink($oldfile);
}
echo "{}";
exit;
}
$obj->msg = "\$_FILES Error";
$obj->FILES = $_FILES;
die(json_encode($obj));
<?php
global $global, $config;
if (!isset($global['systemRootPath'])) {
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/video.php';
if(empty($_GET['video_id']) && !empty($_POST['videos_id'])){
$_GET['video_id'] = $_POST['videos_id'];
}
$obj = new stdClass();
$obj->error = true;
if (!User::isLogged()) {
$obj->msg = 'You cant edit this file';
die(json_encode($obj));
}
header('Content-Type: application/json');
// A list of permitted file extensions
$allowed = array('jpg', 'jpeg', 'gif', 'png');
if (isset($_FILES['file_data']) && $_FILES['file_data']['error'] == 0) {
$extension = pathinfo($_FILES['file_data']['name'], PATHINFO_EXTENSION);
if (!in_array(strtolower($extension), $allowed)) {
$obj->msg = "File extension error [{$_FILES['file_data']['name']}], we allow only (" . implode(",", $allowed) . ")";
die(json_encode($obj));
}
$tmpDestination = Video::getStoragePath()."userPhoto/tmp_background".User::getId().".". $extension;
$obj->file = "videos/userPhoto/background".User::getId().".jpg";
$oldfile = Video::getStoragePath()."userPhoto/background".User::getId().".png";
if (!move_uploaded_file($_FILES['file_data']['tmp_name'], $tmpDestination)) {
$obj->msg = "Error on move_file_uploaded_file(" . $_FILES['file_data']['tmp_name'] . ", " . Video::getStoragePath()."" . $filename . $ext;
die(json_encode($obj));
}
convertImage($tmpDestination, $global['systemRootPath'].$obj->file, 70);
unlink($tmpDestination);
if(file_exists($oldfile)){
unlink($oldfile);
}
echo "{}";
exit;
}
$obj->msg = "\$_FILES Error";
$obj->FILES = $_FILES;
die(json_encode($obj));

View file

@ -1,13 +1,13 @@
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/userGroups.php';
if (!User::isAdmin() || empty($_POST['id'])) {
die('{"error":"'.__("Permission denied").'"}');
}
$item = new UserGroups($_POST['id']);
echo '{"status":"'.$item->delete().'"}';
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/userGroups.php';
if (!User::isAdmin() || empty($_POST['id'])) {
die('{"error":"'.__("Permission denied").'"}');
}
$item = new UserGroups($_POST['id']);
echo '{"status":"'.$item->delete().'"}';

View file

@ -1,13 +1,13 @@
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
if (!User::isAdmin() || empty($_POST['id'])) {
die('{"error":"'.__("Permission denied").'"}');
}
require_once 'userGroups.php';
$obj = new UserGroups($_POST['id']);
echo '{"status":"'.$obj->delete().'"}';
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
if (!User::isAdmin() || empty($_POST['id'])) {
die('{"error":"'.__("Permission denied").'"}');
}
require_once 'userGroups.php';
$obj = new UserGroups($_POST['id']);
echo '{"status":"'.$obj->delete().'"}';

View file

@ -1,53 +1,53 @@
<?php
header('Content-Type: application/json');
global $global, $config;
if (!isset($global['systemRootPath'])) {
require_once '../videos/configuration.php';
}
$obj = new stdClass();
if (!User::isLogged()) {
$obj->error = __("Is not logged");
die(json_encode($obj));
}
$_REQUEST["do_not_login"]=1;
require_once $global['systemRootPath'] . 'objects/user.php';
$user = new User(0);
$user->loadSelfUser();
$user->setUser($_POST['user']);
$user->setPassword($_POST['pass']);
$user->setEmail($_POST['email']);
$user->setName($_POST['name']);
$user->setAbout($_POST['about']);
$user->setAnalyticsCode($_POST['analyticsCode']);
$user->setDonationLink($_POST['donationLink']);
$unique = $user->setChannelName($_POST['channelName']);
if (!$unique) {
$obj->error = __("Channel name already exists");
die(json_encode($obj));
}
if(empty($user->getBdId())){
$obj->error = __("User not found");
die(json_encode($obj));
}
if (!empty($advancedCustomUser->emailMustBeUnique)) {
if (empty($_POST['email']) || !filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
$obj->error = __("You must specify a valid email")." {$_POST['email']} (update)";
die(json_encode($obj));
}
$userFromEmail = User::getUserFromEmail($_POST['email']);
if (!empty($userFromEmail) && $userFromEmail['id'] !== $user->getBdId()) {
$obj->error = __("Email already exists");
die(json_encode($obj));
}
}
if (User::isAdmin() && !empty($_POST['status'])) {
$user->setStatus($_POST['status']);
}
echo '{"status":"' . $user->save() . '"}';
User::updateSessionInfo();
<?php
header('Content-Type: application/json');
global $global, $config;
if (!isset($global['systemRootPath'])) {
require_once '../videos/configuration.php';
}
$obj = new stdClass();
if (!User::isLogged()) {
$obj->error = __("Is not logged");
die(json_encode($obj));
}
$_REQUEST["do_not_login"]=1;
require_once $global['systemRootPath'] . 'objects/user.php';
$user = new User(0);
$user->loadSelfUser();
$user->setUser($_POST['user']);
$user->setPassword($_POST['pass']);
$user->setEmail($_POST['email']);
$user->setName($_POST['name']);
$user->setAbout($_POST['about']);
$user->setAnalyticsCode($_POST['analyticsCode']);
$user->setDonationLink($_POST['donationLink']);
$unique = $user->setChannelName($_POST['channelName']);
if (!$unique) {
$obj->error = __("Channel name already exists");
die(json_encode($obj));
}
if(empty($user->getBdId())){
$obj->error = __("User not found");
die(json_encode($obj));
}
if (!empty($advancedCustomUser->emailMustBeUnique)) {
if (empty($_POST['email']) || !filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
$obj->error = __("You must specify a valid email")." {$_POST['email']} (update)";
die(json_encode($obj));
}
$userFromEmail = User::getUserFromEmail($_POST['email']);
if (!empty($userFromEmail) && $userFromEmail['id'] !== $user->getBdId()) {
$obj->error = __("Email already exists");
die(json_encode($obj));
}
}
if (User::isAdmin() && !empty($_POST['status'])) {
$user->setStatus($_POST['status']);
}
echo '{"status":"' . $user->save() . '"}';
User::updateSessionInfo();

View file

@ -1,27 +1,27 @@
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
if(!User::isLogged()){
die("Is not logged");
}
$_REQUEST["do_not_login"]=1;
require_once $global['systemRootPath'] . 'objects/user.php';
$user = new User(0);
$user->loadSelfUser();
$user->setFirst_name($_POST['first_name']);
$user->setLast_name($_POST['last_name']);
$user->setAddress($_POST['address']);
$user->setZip_code($_POST['zip_code']);
$user->setCountry($_POST['country']);
$user->setRegion($_POST['region']);
$user->setCity($_POST['city']);
$fileData = base64DataToImage($_POST['imgBase64']);
User::saveDocumentImage($fileData, $user->getBdId());
echo '{"status":"'.$user->save().'"}';
User::updateSessionInfo();
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
if(!User::isLogged()){
die("Is not logged");
}
$_REQUEST["do_not_login"]=1;
require_once $global['systemRootPath'] . 'objects/user.php';
$user = new User(0);
$user->loadSelfUser();
$user->setFirst_name($_POST['first_name']);
$user->setLast_name($_POST['last_name']);
$user->setAddress($_POST['address']);
$user->setZip_code($_POST['zip_code']);
$user->setCountry($_POST['country']);
$user->setRegion($_POST['region']);
$user->setCity($_POST['city']);
$fileData = base64DataToImage($_POST['imgBase64']);
User::saveDocumentImage($fileData, $user->getBdId());
echo '{"status":"'.$user->save().'"}';
User::updateSessionInfo();

View file

@ -1,31 +1,31 @@
<?php
error_reporting(0);
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
if (!User::canUpload() || empty($_POST['id'])) {
die('{"error":"' . __("Permission denied") . '"}');
}
if (!is_array($_POST['id'])) {
$_POST['id'] = array($_POST['id']);
}
require_once 'video.php';
$id = 0;
foreach ($_POST['id'] as $value) {
$obj = new Video("", "", $value);
if (empty($obj)) {
die("Object not found");
}
if (!$obj->userCanManageVideo()) {
$obj->msg = __("You can not Manage This Video");
die(json_encode($obj));
}
$obj->setCategories_id($_POST['category_id']);
$resp = $obj->save();
}
echo '{"status":"' . !empty($resp) . '"}';
<?php
error_reporting(0);
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
if (!User::canUpload() || empty($_POST['id'])) {
die('{"error":"' . __("Permission denied") . '"}');
}
if (!is_array($_POST['id'])) {
$_POST['id'] = array($_POST['id']);
}
require_once 'video.php';
$id = 0;
foreach ($_POST['id'] as $value) {
$obj = new Video("", "", $value);
if (empty($obj)) {
die("Object not found");
}
if (!$obj->userCanManageVideo()) {
$obj->msg = __("You can not Manage This Video");
die(json_encode($obj));
}
$obj->setCategories_id($_POST['category_id']);
$resp = $obj->save();
}
echo '{"status":"' . !empty($resp) . '"}';

View file

@ -1,42 +1,42 @@
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/functions.php';
if (!User::canUpload() || empty($_POST['id'])) {
die('{"error":"'.__("Permission denied").'"}');
}
$type = !empty($_POST['type'])?$_POST['type']:"";
require_once 'video.php';
$obj = new Video("", "", $_POST['id']);
if(empty($obj)){
croak(["error" => "Video not found"]);
}
$currentRotation = $obj->getRotation();
$newRotation = $currentRotation;
$status = ["success" => "video rotated"];
switch ($type) {
case 'left':
$newRotation = ($currentRotation - 90) % 360;
$status["rotation"] = $newRotation;
$obj->setRotation($newRotation);
break;
case 'right':
$newRotation = ($currentRotation + 90) % 360;
$status["rotation"] = $newRotation;
$obj->setRotation($newRotation);
break;
default:
$status = ["error" => "I don't know how to rotate '{$type}'"];
break;
}
status($status);
<?php
header('Content-Type: application/json');
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
require_once $global['systemRootPath'] . 'objects/functions.php';
if (!User::canUpload() || empty($_POST['id'])) {
die('{"error":"'.__("Permission denied").'"}');
}
$type = !empty($_POST['type'])?$_POST['type']:"";
require_once 'video.php';
$obj = new Video("", "", $_POST['id']);
if(empty($obj)){
croak(["error" => "Video not found"]);
}
$currentRotation = $obj->getRotation();
$newRotation = $currentRotation;
$status = ["success" => "video rotated"];
switch ($type) {
case 'left':
$newRotation = ($currentRotation - 90) % 360;
$status["rotation"] = $newRotation;
$obj->setRotation($newRotation);
break;
case 'right':
$newRotation = ($currentRotation + 90) % 360;
$status["rotation"] = $newRotation;
$obj->setRotation($newRotation);
break;
default:
$status = ["error" => "I don't know how to rotate '{$type}'"];
break;
}
status($status);