PasteSite.Com

Recent Pastes

Sign Up!

PasteSite is open to the public, but with limited features. Register to be able to modify access rights, track your pastes and more...

Change the theme

If you prefer reading light text on a dark background to dark text on a light background, then you might want to try the dark theme.

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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<?php $q=htmlentities($_GET['q']);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head profile="http://gmpg.org/xfn/11">
 
<!--META TAGS-->
  <meta name="Description" content="Free lyrics directory, fresh lyrics every week" />
  <meta name="Keywords" content="fresh lyrics,lyrics,new lyrics,lyrics direcotry,song lyrics" />
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta name="Robots" content="index,follow" />
 
<title>EasyLyrics - Search</title>
 
<!--LOAD FAVICON-->
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
 
<!--LOAD STYLESHEETS-->
 
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="print.css" type="text/css" media="print" />
 
</head>
 
<body>
 
<!--MAIN-->
<div id="main">
 
<!--TOPLOGO-->
<div id="toplogo">&nbsp;</div>
 
<!--HEADER-->
<div id="nav">
<img src="images/nav_home.gif" alt="Nav Icon" /> <a href="../">HOME</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img src="images/nav_about.gif" alt="Nav Icon" /> <a href="about.php">ABOUT</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img src="images/nav_order.gif" alt="Nav Icon" /> <a href="search.php">SEARCH</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img src="images/nav_clients.gif" alt="Nav Icon" /> <a href="download.php">DOWNLOADS</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img src="images/nav_contact.gif" alt="Nav Icon" /> <a href="support.php">SUPPORT</a>
</div>
<div id="header">
 
&nbsp;
</div>
 
<div id="lyricslet">
<div id="underlinemenu">
<ul>
  <li><a href="letter,0,1.html"><span> &nbsp;0</span></a></li>
  <li><a href="letter,1,1.html"><span>1</span></a></li>
  <li><a href="letter,2,1.html"><span>2</span></a></li>
  <li><a href="letter,3,1.html"><span>3</span></a></li>
  <li><a href="letter,4,1.html"><span>4</span></a></li>
  <li><a href="letter,5,1.html"><span>5</span></a></li>
  <li><a href="letter,6,1.html"><span>6</span></a></li>
  <li><a href="letter,7,1.html"><span>7</span></a></li>
  <li><a href="letter,8,1.html"><span>8</span></a></li>
  <li><a href="letter,9,1.html"><span>9</span></a></li>
  <li><a href="letter,A,1.html"><span>A</span></a></li>
  <li><a href="letter,B,1.html"><span>B</span></a></li>
  <li><a href="letter,C,1.html"><span>C</span></a></li>
  <li><a href="letter,D,1.html"><span>D</span></a></li>
  <li><a href="letter,E,1.html"><span>E</span></a></li>
  <li><a href="letter,F,1.html"><span>F</span></a></li>
  <li><a href="letter,G,1.html"><span>G</span></a></li>
  <li><a href="letter,H,1.html"><span>H</span></a></li>
  <li><a href="letter,I,1.html"><span>I</span></a></li>
  <li><a href="letter,J,1.html"><span>J</span></a></li>
  <li><a href="letter,K,1.html"><span>K</span></a></li>
  <li><a href="letter,L,1.html"><span>L</span></a></li>
  <li><a href="letter,M,1.html"><span>M</span></a></li>
  <li><a href="letter,N,1.html"><span>N</span></a></li>
  <li><a href="letter,O,1.html"><span>O</span></a></li>
  <li><a href="letter,Q,1.html"><span>Q</span></a></li>
  <li><a href="letter,P,1.html"><span>P</span></a></li>
  <li><a href="letter,R,1.html"><span>R</span></a></li>
  <li><a href="letter,S,1.html"><span>S</span></a></li>
  <li><a href="letter,T,1.html"><span>T</span></a></li>
  <li><a href="letter,U,1.html"><span>U</span></a></li>
  <li><a href="letter,V,1.html"><span>V</span></a></li>
  <li><a href="letter,W,1.html"><span>W</span></a></li>
  <li><a href="letter,X,1.html"><span>X</span></a></li>
  <li><a href="letter,Y,1.html"><span>Y</span></a></li>
  <li><a href="letter,Z,1.html"><span>Z</span></a></li>
</ul>
</div>
</div>
 
    <div id="container">
        <div id="sidebar">
            <h2>New Lyrics</h2>
            <div class="wireframemenu">
            <ul>
            <?php include("fresh.php");?>
            </ul>
            </div>
            
            <h2>Random Artist</h2>
            <div class="wireframemenu">
            <ul>
            <?php include("randoma.php");?>
            </ul>
            </div>
        </div>
        
        <div id="contentarea">
            <h2>Search Our Databse</h2>
            <p>To make the life of our guests better and easier, we have begun working on a search function for our site. </p>
<form method="get" class="search" action="search.php">
  <p><input name="q" class="textbox" type="text" /><input class="searchbutton" value="Search" type="submit" /></p>
</form>
 
<? 
 
$connection=mysql_connect("$host","$login","$pass");
 
mysql_select_db("$baza",$connection);
 
 
 
//$zapytanie5 = "SELECT * FROM `lyrics` WHERE `lyrics` or `artist` or `title` or `album` LIKE '%$q%' ORDER BY artist ASC";
 
$zapytanie5="SELECT * FROM lyrics WHERE MATCH (lyrics, artist, title, album) AGAINST ('%$q%')";
 
$link="search.php?q=".$q;
 
 
 
if(!$strona){
 
$strona=1;
 
}
 
 
 
$ile=20;
 
 
 
$start=($strona-1)*$ile;     
 
 
 
 
 
$wykonaj5 = mysql_query($zapytanie5) or Die("Nie dzia&#179;a zapytanie". $zapytanie5);
 
$ile_rek = mysql_num_rows($wykonaj5);
 
 
 
//sprawdzanie ilo&#339;ci podstron i zaokr&#185;glenie w g&#243;r&#234;
 
$podstron = ceil($ile_rek/$ile);
 
 
 
//dodanie limitu do naszego zapytania
 
$zapytanie5.= " LIMIT $start,$ile";    
 
 
 
//zapytanie ko&#241;cowe
 
$final = mysql_query($zapytanie5) or Die ("Nie dzia&#179;a zapytanie ko&#241;cowe");
 
$i=0;
 
print "Page : ";
 
include("podzial2.inc");
 
echo "<BR><BR>";
 
?>
 
<?
 
//wy&#339;wietlanie rekord&#243;w w p&#234;tli
 
while($wiersze5=mysql_fetch_array($final))
 
{
 
  $i++;
 
 
 
$artist=$wiersze5[artist];
 
$title=$wiersze5[title];
 
$id=$wiersze5[id];
 
 
 
$ParseDelete = array("&#234;", "&#243;", "&#185;", "&#339;", "&#179;", "&#191;", "&#376;", "&#230;", "&#241;", "@","#","$","%","&","*","(",")"," ","&#202;","&#211;","&#165;","&#338;","&#163;","&#175;","&#143;","&#198;","&#209;","&#196;","&#214;","&#220;","&#228;","&#246;","&#223;","&#252;","?",",",".","&#169;","\"","/");
 
$ParseReplace = array("e", "o", "a", "s", "l", "z", "z", "c", "n", "_at_","_hash_","_dollar_","_percent_","_and_","_star_","","","_","E","O","A","S","L","Z","Z","C","N","A","O","U","a","o","ss","u",",","p","_dot_","_cop_","_","");
 
$ParseTitle= str_replace($ParseDelete, $ParseReplace, $title);
 
$ParseArtist= str_replace($ParseDelete, $ParseReplace, $artist);
 
 
 
  print "  <a title=\"$artist - $title lyrics\" href=\"".$id.",".$ParseArtist.",".$ParseTitle.".html\">$artist - $title</a><br>";}
 
 
 
if ($ile_rek==0) {print " No lyrics found !";}
 
 
 
?>
<? print "Page : ";include("podzial2.inc");
 
echo "<BR><BR>";
 
?>
    </div>
    <div id="footer">
        Copyright &copy; <a href="../">EasyLyrics</a>. A <a href="http://fleech.com">Fleech Media Inc.</a> Project.<br />
        <small>All lyrics are property and copyright  of their owners. We share this lyrics only for educational purpose.</small>
    </div>
 
</body>
</html>

Reply to This Paste

(leave blank to make this paste permanent)
(if set as private)