$page = "media";
$pageTitle = ucfirst($page);
include("include/top.php");
include("include/db.php");
if(empty($section)) $section = "clips";
$sections = array("clips", "videos", "lyrics", "stories");
?>
foreach($sections as $k=>$v) {
if($v == $section) {
if(isset($id)) {
?>
»
=ucfirst($v)?>«
} else {
?>
»
=ucfirst($v)?>«
}
} else {
?>
=ucfirst($v)?>
}
if($k < count($sections)-1) echo " | ";
}
?>
if($section == "videos") {
?>
"My Defense"
from the album
"As Best As We Can"
»
Quicktime (15.3MB)
"Plans"
from the album
"As Best As We Can"
»
Windows Media (5.53MB)
} elseif($section == "clips") {
?>
»
"Indonesian Wine" MP3 -
Entertainment Weekly Exclusive Download
MP3 clips from
"As Best As We Can"
»
"Disco Barry"
»
"Another Song Ray Hates"
»
"My Defense"
MP3 clips from
"Power Pack Horse Crunch"
»
"Number 10"
»
"Better Off"
»
"Danielle"
}elseif($section == "lyrics" && empty($id)) {
?>
As Best As We Can »
$result = mysql_query("SELECT * FROM lyrics WHERE release = 'abawc' ORDER BY id");
if($row = mysql_fetch_array($result)) {
do {
?>
=$row['title']?>
} while($row = mysql_fetch_array($result));
}
?>
Power Pack Horse Crunch »
$result = mysql_query("SELECT * FROM lyrics WHERE release = 'pphc' ORDER BY id");
if($row = mysql_fetch_array($result)) {
do {
?>
=$row['title']?>
} while($row = mysql_fetch_array($result));
}
} elseif($section == "lyrics" && isset($id)) {
$result = mysql_query("SELECT * FROM lyrics WHERE id = $id ORDER BY id");
if($row = mysql_fetch_array($result)) {
?>
=strtoupper($row['title'])?>
=str_replace("\n", "
", $row['content'])?>
}
} elseif($section == "stories" && empty($id)) {
?>
As Best As We Can »
$result = mysql_query("SELECT * FROM lyrics WHERE release = 'abawc' ORDER BY id");
if($row = mysql_fetch_array($result)) {
do {
?>
=$row['title']?>
} while($row = mysql_fetch_array($result));
}
?>
Power Pack Horse Crunch »
$result = mysql_query("SELECT * FROM lyrics WHERE release = 'pphc' ORDER BY id");
if($row = mysql_fetch_array($result)) {
do {
?>
=$row['title']?>
} while($row = mysql_fetch_array($result));
}
} elseif($section == "stories" && isset($id)) {
$result = mysql_query("SELECT * FROM lyrics WHERE id = $id ORDER BY id");
if($row = mysql_fetch_array($result)) {
?>
=strtoupper($row['title'])?>
=str_replace("\n", "
", $row['stories'])?>
}
}
?>
include("include/bot.php"); ?>