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 | |
| $l = $_POST["l"]; | |
| $d = $_POST["d"] - 10; | |
| $l = intval($l); | |
| $d = intval($d); | |
| function get_result($result_set) { | |
| $row = mysqli_fetch_assoc($result_set); | |
| return array_shift($row); | |
| } |
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
| $host="localhost"; | |
| $user="root"; | |
| $pass=""; | |
| $db_name="metylan"; | |
| $link=mysql_connect($host,$user,$pass); | |
| mysql_select_db($db_name,$link); | |
| $check = mysql_query("SELECT * FROM `name_phone_code` WHERE code='$code'"); | |
| if (mysql_num_rows($check)) { | |
| header('Location:./fail.html'); | |
| }else{ |
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
| $(document).ready(function() { | |
| var url=document.location.href; | |
| $.each($(".main-mnu a"),function(e){ | |
| if(url==this.href){$(this).addClass('active'); | |
| }; | |
| }); | |
| }); |
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
| function heightDetect() { | |
| $(".main_header").css("height", $(window).height()); | |
| }; | |
| heightDetect(); | |
| $(window).resize(function() { | |
| heightDetect(); | |
| }); |
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
| LOAD DATA INFILE 'a.txt' | |
| INTO TABLE `table-name` | |
| LINES TERMINATED BY '\n' |
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
| <a href="#callback" class="button fancybox">Заказать разработку!</a> | |
| <div class="hidden"> | |
| <form id="callback" class="pop_form"> | |
| <h3>Заказать обратный звонок</h3> | |
| <input type="text" name="name" placeholder="Ваше имя..." required /> | |
| <input type="text" name="phone" placeholder="Ваш телефон..." required /> | |
| <button class="button" type="submit">Заказать!</button> | |
| </form> | |
| </div> |
NewerOlder