This repository has been archived by the owner on Jan 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathimages.php
134 lines (106 loc) · 3.25 KB
/
images.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<?php include('helpers/url_helpers.php');?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="<?=project_url('/assets/images/icon/icon.png');?>">
<script type="text/javascript" src="<?=project_url('//assets/js/jquery/jquery-3.4.1.slim.min.js');?>"></script>
<link rel="stylesheet" type="text/css" href="<?=project_url('/assets/css/index-page.css');?>">
<link rel="stylesheet" type="text/css" href="<?=project_url('/assets/fonts/fontawesome/css/all.css');?>">
<title>Voogle</title>
</head>
<body>
<nav>
<ul id="menu-items">
<a href="index"><li>Web</li></a>
</ul>
<span id="show-menu"><i class="fas fa-bars"></i></span>
</nav>
<div class="menu-container">
<span id="hide-menu">×</span>
<div>
<ul>
<li>
<a href="http://facebook.com/nuralam543210">
<button class="contact-btn">
<i class="fab fa-facebook-square"></i> Facebook
</button>
</a>
</li>
<li>
<a href="http://youtube.com/c/jiboncare">
<button class="contact-btn">
<i class="fab fa-youtube"></i> YouTube
</button>
</a>
</li>
<li><a href="http://tenminit.com">
<button class="contact-btn">
<i class="fas fa-globe-asia"></i> Website
</button>
</a>
</li>
<li>
<a href="submit-url">Submit Url To Crawl</a>
</li>
</ul>
</div>
</div>
<div class="logo-div" oncontextmenu="return false">
<img src="<?=project_url('/assets/images/logo/logo-for-image-search.png');?>" width="100%">
</div>
<form action="search" method="get">
<div class="search-bar-div">
<div class="input-box-div">
<input type="text" name="q" class="input-box" placeholder="Which image do you want...">
</div>
<div class="search-btn-div">
<button class="search-btn" type="submit"><i class="fas fa-search"></i></button>
</div>
</div>
<input type="hidden" name="search" value="images">
</form>
<script type="text/javascript">
$('.input-box').focusin(function(){
$('.search-bar-div').css({
'box-shadow':'0px 1px 4px 1px #3d5faf',
'border':'none'
});
});
$('.input-box').focusout(function(){
$('.search-bar-div').css({
'box-shadow':'0px 1px 4px 1px #888888',
});
});
$('.input-box').focusin(function(){
$('.search-btn').css({
'color':'#3d5faf',
// 'border':'none'
});
});
$('.input-box').focusout(function(){
$('.search-btn').css({
'color':'#888888',
});
});
$('#show-menu').click(function(){
$('.menu-container').css({
'width':'250px',
'background':'#fafafa',
'box-shadow':'0px 0px 10px 2px #888888'
});
$('#menu-items').css({'display':'none'});
$('#show-menu').css({'display':'none'});
});
$('#hide-menu').click(function(){
$('.menu-container').css({
'width':'0px',
'background':'none',
'box-shadow':'none'
});
$('#menu-items').css({'display':'block'});
$('#show-menu').css({'display':'block'});
});
</script>
<?php include('layout/footer.php');?>