Greatest Theme Songs of All Time

"; include("main_left_right.htm"); echo <<

Top Music Theme Playlist

The top music themes of all time were collected from movies and TV shows spanning the past 100 years.


EOF; include("functions.php"); echo << function showplaylist(idx) { var idx; var i; var songlist = new Array(); list=readCookie('Songlist'); if (list) songlist=list.split(',') ; for(var i=0;i EOF; //******* // open music database //****** include("functions/connectdb.php"); // connects to db, defines dbname, tablename, table ob_end_flush(); // flush all buffered data to page (because of the possible header location statement above requires no display //*********** // Determine if play list defined and enabled. If so, setup current and next song to play from the playlist //*********** $songlistexists =$_COOKIE['Songlist']; // cookies holds song list name, check if empty $playlistenabled =$_COOKIE['play']; // cookies holds song list name, check if empty if ($songlistexists) { $playlist = preg_split ("/,/",$_COOKIE['Songlist']); $playlistsize=sizeof($playlist); } ?>

You may add the songs shown below into your playlist or just click on any song link to play that song immediately.
Step 1: Select your songs.
Step 2: click on 'Add Selections' button to update your list.
Step 3: When ready, just click on 'Play Your Playlist' button.
To stop playing from your playlist and to play all of our songs, just click on 'Play All Songs' button

Status

          
When completed, click on either Play Your Playlist or Play All Songs


'; ?>

Music Themes Song Tracks

The following song tracks are sorted by year, oldest first. To play any one song immediately, just click on a song track title. A red ! next to a check box indicates the song is already in your playlist.


"; //************* //build song links or show previously created source for results. To create source, set if 1==1, then upload, then highlight just the //songs, then view selection source, then copy highlighted text, then copy/paste into below area. Finally, set If (1==0) to cause that source to dispaly. // if (1==1) { $sqlsearch="title LIKE '%theme%'"; $sql = "SELECT * FROM $tablename where $sqlsearch LIMIT 100"; //echo "

$sql
"; $result=mysql_query($sql); $foundtitle=0; while($info=mysql_fetch_array($result)) { // Separate singer name from song title string $artist_name=get_artist($info[title]); $song_title_name=get_title($info[title]); $tempsinger=strtoupper ($artist_name); // get duration $duration=$info[duration]-$info[start]; $duration=convert_seconds($duration); $duration="[$duration]"; $showtrivia=clean_data($info[trivia]); // show trivia after title but keep title and trivia on one line. And to not split a word, search for a space character before extracting trivia $peektrivia=$showtrivia; if (strlen($info[title]) <70) { $tlen=88-$tsz-strlen($info[title]); $peektrivia=substr($peektrivia,0,$tlen); $i=$tlen; $found=0; while ( $i>1 && !$found) {$i=$i-1; if ($peektrivia[$i]==" ") $found=1;} $tlen=$i+1; $peektrivia=substr($peektrivia,0, $tlen ); } else {$tlen=0; $peektrivia='';} //build_meta($info); $title_array[]= "
$info[title] $duration - $peektrivia "; $yr = preg_split ("/-/",$info[title]); $year_array[]=$yr[2]; // get year } // end while array_multisort($year_array,SORT_ASC,SORT_NUMERIC,$year_array,$title_array) ; // sort title array by year $sz=sizeof($title_array); for ($i=0;$i<$sz;$i++) { echo $title_array[$i]; } echo '

'; } // end while else { echo <<