1) $showPrevLink = true; else $showPrevLink = false; if(($page * $numperpage) < $total1) $showNextLink = true; else $showNextLink = false; $i = 1; $searchquery = mysql_query("SELECT * FROM artists WHERE name LIKE '%$search%' AND removed='0' AND status!=0 LIMIT $startnum, $numperpage"); $total = mysql_numrows($searchquery); if ($total == 0) { $error = "No results found for that search criteria. Please try again!
"; outputErrors($error); } else echo "Search results for '$search' on artists:

Total results: $total1.

"; while ($row = mysql_fetch_array($searchquery)) { if(($i % 2) == 1) $rowcolor = $contrasting_bgcolor_1; else $rowcolor = $contrasting_bgcolor_2; $getgenre = mysql_query("SELECT * FROM genres WHERE id='$row[genreID]'"); $genrename = mysql_result($getgenre, 0, name); $genrepre = mysql_result($getgenre, 0, filename_prefix); $genresch = mysql_result($getgenre, 0, scheme_id); $shorttext = substr($row[profiletext], 0, 150); echo ""; $notallowed = array("[", "]", "{", "}", ",", "*", "&", "^", "%", "/", "|", ";", ":", "?", "'", "(", ")"); $arname = $row[name]; $arname = str_replace($notallowed, "", $arname); $arname = str_replace(" ", "-", $arname); $paget = $arname; $paget = strtolower($paget); echo ""; echo "
Artist: $row[name]
Genre: $genrename

"; if ($shorttext == "") { echo "No profile information."; } else { echo "$shorttext...more"; } echo "
"; if($row[artistsimg] != "0") { artistImage($row[id], 75, 75, 1, 1); } else echo ""; echo "
"; $i++; } /* Close While */ if(($showPrevLink == true) || ($showNextLink == true)) { $prevPage = $page - 1; $nextPage = $page + 1; echo "
"; if($showPrevLink == true) echo "<< previous page"; echo ""; if($showNextLink == true) echo "next page >>"; echo "
"; } } /* Close Which */ if ($which == "2") { /*Search by title*/ $searchquery1 = mysql_query("SELECT * FROM tracks WHERE title LIKE '%$search%' AND removed='0'"); $total1 = mysql_numrows($searchquery1); if($page > 1) $showPrevLink = true; else $showPrevLink = false; if(($page * $numperpage) < $total1) $showNextLink = true; else $showNextLink = false; $i = 1; $searchquery = mysql_query("SELECT * FROM tracks WHERE title LIKE '%$search%' AND removed='0' LIMIT $startnum, $numperpage"); $total = mysql_numrows($searchquery); if ($total == 0) { $error = "No results found for that search criteria. Please try again!
"; outputErrors($error); } else echo "Search results for '$search' on track titles:

Total results: $total1.

"; while ($row = mysql_fetch_array($searchquery)) { if(($i % 2) == 1) $rowcolor = $contrasting_bgcolor_1; else $rowcolor = $contrasting_bgcolor_2; $getgenre = mysql_query("SELECT * FROM genres WHERE id='$row[genreID]'"); $genrename = mysql_result($getgenre, 0, name); $genrepre = mysql_result($getgenre, 0, filename_prefix); $genresch = mysql_result($getgenre, 0, scheme_id); $shorttext = substr($row[description], 0, 150); echo ""; $notallowed = array("[", "]", "{", "}", ",", "*", "&", "^", "%", "/", "|", ";", ":", "?", "'", "(", ")"); $arname = $row[artist]; $arname = str_replace($notallowed, "", $arname); $arname = str_replace(" ", "-", $arname); $ttname = $row[title]; $ttname = str_replace($notallowed, "", $ttname); $ttname = str_replace(" ", "-", $ttname); $paget = $ttname."-by-".$arname; $paget = strtolower($paget); $arname = strtolower($arname); echo ""; echo "
Track: $row[title]
Artist: $row[artist]
Genre: $genrename

"; if ($shorttext == "") { echo "No profile information."; } else { echo "$shorttext...more"; } echo "
"; $getartist = mysql_query("SELECT * FROM artists WHERE id='$row[artistID]'"); $artistsimg = mysql_result($getartist, 0, id); $artistsact = mysql_result($getartist, 0, artistsimg); if($artistsact > 1) { artistImage($artistsimg, 75, 75, 1, 1); } else echo ""; echo "
"; $i++; } if(($showPrevLink == true) || ($showNextLink == true)) { $prevPage = $page - 1; $nextPage = $page + 1; echo "
"; if($showPrevLink == true) echo "<< previous page"; echo ""; if($showNextLink == true) echo "next page >>"; echo "
"; } } } else { $error = "You have entered no search criteria, please try again!
"; outputErrors($error); } echo "

"; } ?>
Whatever your sound, whatever your ringtone, we've got it.

What are you in to? Like RnB with a touch of soul? Guitar riffs? Screaming lyrics? Pop divas or Latin house? At Stayaround, we’ve got some of the best new sounds in the UNIVERSE, whatever your sound, whatever your Ringtone we’ve got it.

Choose from three ways:

BROWSE BY GENRE using the genre links / menu above.

pop music

Pop
rock music

Rock
urban music

Urban
dance music

Dance
disco music

Disco
indie music

Alternative
indie music

Indie
 
soul music

Soul
hispanic music

Hispanic
country music

Country
heavy metal music

Heavy Metal
jazz music

Jazz
acoustic music

Acoustic
other Music

Other


Check out the STAYAROUND CHARTS by clicking here.

SEARCH using the box below for a specific artist/track.

"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
Search:
by artist. by track title.

"; ?>