This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#loader { | |
background: none repeat scroll 0 0 #ffffff; | |
bottom: 0; | |
height: 100%; | |
left: 0; | |
position: fixed; | |
right: 0; | |
top: 0; | |
width: 100%; | |
z-index: 9999; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tabs - Custom Working | |
ACB Bootstrap Snippets | |
Blackboard | |
Cobalt | |
CSSFier | |
Documents Toolbar | |
Dream PHP | |
Emmet | |
Extract for Brackets (Preview) | |
Fonts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//JavaScript | |
function god(){ | |
document.write('<option value="0">Год рожднния</option>'); | |
var god = 1980; | |
while(god <= 2016){ | |
var god1 = god++; | |
document.write('<option value="0">'+ god1 +'</option>'); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JavaScript | |
function month(){ | |
document.write('<option value="0">месяц</option>'); | |
var month_name = ['', 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', 'декабрь']; | |
var g = 1; | |
while(g <= month_name.length){ | |
var g1 = g++; | |
document.write('<option value="' + g1 + '">' + month_name[g1] + '</option>'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
header('Content-type: text/html; charset=utf-8'); | |
if(!isset($_SESSION['count'])){ | |
$_SESSION['count'] = 0; | |
} | |
if(isset($_GET['plus'])) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----HTML---- | |
<a href="javascript:void();" onclick="ctat()" id="add">Заказать</a><br> | |
<span id="span" style="color: red;"></span> | |
----JS---- | |
var count = +1; | |
function ctat(){ | |
var total = count++; | |
document.getElementById('span').innerHTML='Нажали на ссылку '+total+' раз'; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Connect { | |
public $mysqli; | |
public function __construct() { | |
$this->mysqli = new mysqli('localhost', 'root', '', 'octaber'); | |
} | |
public function selectQuery() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#Fsubmit').click(function(){ | |
var Fname = document.querySelector('#Fname').value; | |
var Ffio = document.querySelector('#Ffio').value; | |
var Fphone = document.querySelector('#Fmail').value; | |
var Fmail = document.querySelector('#Fmail').value; | |
if(Fname.length >= 5 && Ffio.length >= 5){ | |
$.ajax({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ФИО<input id='fio' onkeyup='checkParams()' /><br /> | |
ПОЧТА<input id='email' onkeyup='checkParams()' /><br /> | |
ТЕЛЕФОН<input id='phone' onkeyup='checkParams()' /><br /> | |
<input type='button' id='submit' value='ОТПРАВИТЬ' disabled> | |
------------------------------------------------- | |
function checkParams() { | |
var fio = $('#fio').val(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AllAutocomplete | |
BracketHighlighter | |
AutoFileName | |
ColorPicker | |
SublimeCodeIntel | |
https://habrahabr.ru/post/235901/ |
OlderNewer