-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.php
73 lines (66 loc) · 2.65 KB
/
search.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
// Подключаю названия БД
include "data/bd.php";
include "php_scripts/blog/blog.php";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<title>SmiteVils Blog</title>
<!-- Внешние стили -->
<link rel="stylesheet" href="styles/normalize.css">
<link rel="stylesheet" href="styles/style.css">
<!-- Add fancyBox main CSS -->
<link rel="stylesheet" type="text/css" href="source/jquery.fancybox.css?v=2.1.5" media="screen" />
<!-- Гугл Фонтс -->
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
<script src="js/jquery-2.1.1.js"></script>
<!-- Плагин для обертки видео -->
<!-- http://fitvidsjs.com/ -->
<script src="js/jquery.fitvids.js"></script>
<!-- Add fancyBox main JS files -->
<script type="text/javascript" src="source/jquery.fancybox.js?v=2.1.5"></script>
<script type="text/javascript" src="source/jquery.fancybox.me.js"></script>
<!-- Скрипт Ajax для подписки на новости и вывода попап сообщения -->
<script src="js/subscribe_ajax.js"></script>
</head>
<body>
<div class="left_block">
<div class="info_block">
<div class="photo_block">
<!-- <img src="img/avatars/profile_img150x150_1.JPG" class="avatar" alt="avatar"> -->
<div class="avatar"></div>
</div>
<h1>SmiteVils</h1>
<p style="text-align: center;">smitevils@yandex.ru</p>
</div>
<?php /* вставляем блок поиска */ include "engine/searchblock.php"; ?>
<?php /* вставляем блок подписки */ include "engine/subscribeblock.php"; ?>
<div class="clear"></div>
</div>
<div class="right_block">
<?php /* вставляем меню */ include "engine/navigation.php"; ?>
<?php /* вставляем ссылки на статьи из поиска */ include "php_scripts/blog/search.php"; ?>
<div class="clear"></div>
</div>
<!-- Yandex Metrica and Google Analytics -->
<?php
include_once("php_scripts/metrika.php");
include_once("php_scripts/analyticstracking.php");
?>
<!-- Выполняем фунцию fitVids() с оберткой видео / Плагин fitVids -->
<script>
$(document).ready(function(){
// Добавьте класс своего div контейнера тут
$(".video_container").fitVids();
});
</script>
<!-- End fitVids -->
<div id="popup" style="display: none;">
<p id="subscribe_alert" style="line-height: 100px;">12345</p>
</div>
<a href="#popup" id="a_popup" class="fancybox">ссылка</a>
</body>
</html>