<?php //Slyph.org 2nd version settings and functions
//General
$siteroot = "http://127.0.0.1/sites/slyph2/1";
$imgbase = "http://127.0.0.1/sites/slyph2/1/imgs";
$sitename = "Short Story";
$includespath = "c:\program files\easyphp1-8\easyphp1-8\www\sites\slyph2\\1\includes";
$rootpath = "c:\program files\easyphp1-8\easyphp1-8\www\sites\slyph2\1";
//Each atist has their own file root, just to help with growth and spreading downloads if I ever need to ;_;
//These versions are stricly for hign bandwidth downloads
$silverfiles = "http://r.xtarsia.net/slyph/audio/silver";
$halofiles = "http://r.xtarsia.net/slyph/audio/halo";
$kpfiles = "http://r.xtarsia.net/slyph/audio/kp";
$holkfiles = "http://r.xtarsia.net/slyph/audio/holk";
$collabfiles = "http://r.xtarsia.net/slyph/audio/collaborative";
//the "2" versions are secondary, hosted on either my own server or koreru. Faster but less bandwidth. I use these for streaming, since speed is important for that.
$silverfiles2 = "http://d4.slyph.org/audio/silver";
$halofiles2 = "http://d4.slyph.org/audio/halo";
$kpfiles2 = "http://d4.slyph.org/audio/kp";
$holkfiles2 = "http://d4.slyph.org/audio/holk";
$collabfiles2 = "http://d4.slyph.org/audio/collaborative";
//full albums
$fullalbumdl = "http://r.xtarsia.net/slyph/audio/full";
//VIDEOS URL IS IN THE FUNCTION BELOW (twice)
//Functions
function call_movie($file)
{
//LOL DOUBLE QUOTE ESCAPING <3
echo "<center><div class=\"video\">
<object width=\"640\" height=\"480\"><param name=\"movie\" value=\"http://slyph.org/objects/player.swf?file=http://r.xtarsia.net/slyph/klandry/$file.flv&lightcolor=0xA2B3BB&backcolor=0x6F6758&frontcolor=0xFFFFFF&logo=http://slyph.org/objects/flashlogo.png&showfsbutton=false&link=http://slyph.org/&linktarget=_blank&callback=http://d4.slyph.org/urchin.php\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://slyph.org/objects/player.swf?file=http://r.xtarsia.net/slyph/klandry/$file.flv&lightcolor=0xA2B3BB&backcolor=0x6F6758&frontcolor=0xFFFFFF&logo=http://slyph.org/objects/flashlogo.png&showfsbutton=false&link=http://slyph.org/&linktarget=_blank&callback=http://d4.slyph.org/urchin.php\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"640\" height=\"480\"></embed></object></div>
<div class=\"videoinfo\">
<span class=\"videoinfolink\"><a href=\"http://d4.slyph.org/$file.flv\" target=\"_blank\">Download</a> this video</span>
<span class=\"videoinfohelp\"><a href=\"#\" onclick=\"window.open('http://slyph.org/flvhelp/','FLV Video Files','width=320,height=240,left='+(screen.availWidth/2-320)+',top='+(screen.availHeight/2-240)+'');return false;\">Help playing?</a></span>
</div> </center>
";
}
//update; adjustable height to prevent scrollbar for huge albums and huge player for small albums
function make_flashmp3($file, $height)
{
echo "<object width=\"220\" height=\"$height\"><param name=\"movie\" value=\"http://d4.slyph.org/mp3player.swf?file=$file&lightcolor=0xA2B3BB&backcolor=0x6F6758&frontcolor=0xFFFFFF\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://d4.slyph.org/mp3player.swf?file=$file&lightcolor=0xA2B3BB&backcolor=0x6F6758&frontcolor=0xFFFFFF\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"220\" height=\"$height\"></embed></object>";
}
//Common stuffs
//HUGE ARRAY IS HUGE - Every valid piano video request value
$pianovids = array("Anime/Bleach_-_Houki_Boshi", "Anime/Bleach_-_Will_Of_The_Heart", "Anime/Chobits_-_Cough_Maui", "Anime/DNAngel_-_Fragments_And_Dreams", "Anime/DNAngel_-_Through_Pain", "Anime/DNAngel_-_True_Light", "Anime/DNAngel_-_True_Light_Remake", "Anime/Elfen_Lied_-_Lilium", "Anime/Fate-Stay_Night_-_Anata_Ga_Ita_Mori", "Anime/Fate-Stay_Night_-_Medley","Anime/Full_Metal_Alchemist_-_Bratja", "Anime/Haibane_Renmei_-_Ailes_Grises", "Anime/Higurashi_No_Naku_Koro_Ni_-_Medley", "Anime/Naruto_-_Sadness_and_Sorrow_-_Orochimarus_Theme", "Anime/Naruto_-_Shippuuden_Outro_Nagareboshi", "Anime/Naruto_-_The_Raising_Fighting_Spirit", "Anime/Naruto_Medley_1", "Anime/Naruto_Medley_2", "Anime/Naruto_Openings_-_R_O_C_K_S_And_Haruka_Kanata", "Anime/Revolutionary_Girl_Utena_-_Sunlit_Garden", "Anime/inu_yasha_-_Fukai_Mori_-_Deep_Forest", "Anime/naruto_-_greif_and_sorrow", "Classical/Beethoven_-_Moonlight_Sonata_1st_Movement", "Classical/Canon", "Classical/Canon2", "Classical/Canon4", "Classical/Chopin_-_Fantasie_Impromptu", "Classical/Chopin_-_Fantasie_Impromptu_Remake", "Classical/Chopin_-_Prelude_Op29_No_22", "Compositions/Ballade_In_A_Major", "Compositions/Evolution", "Compositions/Fantasie_In_C_Minor", "Compositions/Grande_Waltz_In_C_Minor", "Compositions/Lonely", "Compositions/Lonely_Remake", "Compositions/Main_Melody", "Compositions/Midnight_Promenade", "Compositions/Piano_Improvisation", "Compositions/Piano_Improvisation_2", "Compositions/Piano_Improvisation_3", "Compositions/Piano_Improvisation_4", "Compositions/Piano_Improvisation_5", "Compositions/Prelude_In_Db_Major", "Compositions/Red_Skies", "Compositions/Red_Skies_Remake", "Compositions/Shadows_And_Light", "Compositions/Transparent_Reality", "Compositions/Waltz_Of_The_Abandoned", "Compositions/White_Sun", "Final_Fantasy/FFIV_-_Boss_Battle", "Final_Fantasy/FFIX_-_Final_Battle", "Final_Fantasy/FFIX_-_Loss_Of_Me", "Final_Fantasy/FFIX_-_Medley", "Final_Fantasy/FFIX_-_Melodies_Of_Life", "Final_Fantasy/FFIX_-_Melodies_Of_Life_Remake", "Final_Fantasy/FFIX_-_Vamo_Alla_Flamenco", "Final_Fantasy/FFIX_-_Vamo_Alla_Flamenco_Remake", "Final_Fantasy/FFIX_-_Youre_Not_Alone", "Final_Fantasy/FFVIII_-_Balamb_Garden", "Final_Fantasy/FFVIII_-_Blue_Fields", "Final_Fantasy/FFVIII_-_Eyes_On_Me", "Final_Fantasy/FFVIII_-_Eyes_On_Me_Remake", "Final_Fantasy/FFVIII_-_Eyes_On_Me_Remake_2", "Final_Fantasy/FFVIII_-_Fishermans_Horizon", "Final_Fantasy/FFVIII_-_Fishermans_Horizon_Remake", "Final_Fantasy/FFVIII_-_The_Oath", "Final_Fantasy/FFVII_-_Aeris_Theme", "Final_Fantasy/FFVII_-_Cosmo_Canyon", "Final_Fantasy/FFVII_-_Fighting", "Final_Fantasy/FFVII_-_Fighting_Remake", "Final_Fantasy/FFVII_-_Jenova", "Final_Fantasy/FFVII_-_Jenova_Classic", "Final_Fantasy/FFVII_-_Main_Theme", "Final_Fantasy/FFVII_-_Main_Theme_Arrange", "Final_Fantasy/FFVII_-_Main_Theme_Self_Duet", "Final_Fantasy/FFVII_-_Medley", "Final_Fantasy/FFVII_-_Tifas_Theme", "Final_Fantasy/FFVII_-_Tifas_Theme_Arrange", "Final_Fantasy/FFVI_-_Celes_Theme", "Final_Fantasy/FFVI_-_Decisive_Battle", "Final_Fantasy/FFVI_-_Kefkas_Theme", "Final_Fantasy/FFX-2_-_1000_Words", "Final_Fantasy/FFX-2_-_1000_Words_Remake", "Final_Fantasy/FFX-2_-_Creature_Create", "Final_Fantasy/FFX-2_-_Eternity_-_Memory_Of_Light_And_Waves", "Final_Fantasy/FFX-2_-_Eternity_-_Memory_Of_Light_And_Waves_Remake", "Final_Fantasy/FFX_-_Suteki_Da_Ne", "Final_Fantasy/FFX_-_To_Zanarkand", "Final_Fantasy/FFX_-_To_Zanarkand_Arrange", "Final_Fantasy/FFX_-_To_Zanarkand_Arrange_2", "Final_Fantasy/FFX_-_To_Zanarkand_Remake", "Final_Fantasy/Final_Fantasy", "Games/Animal_Crossing_-_Opening_Theme", "Games/Arc_The_Lad_-_To_The_Earth", "Games/Arc_The_Lad_-_To_Tomorrow", "Games/Kingdom_Hearts_-_Dearly_Beloved", "Games/Kingdom_Hearts_-_Hikari", "Games/Kingdom_Hearts_-_Hikari_Arrange", "Games/Kingdom_Hearts_-_Roxas_Theme", "Games/Pokemon_-_Elite_Four", "Games/Tetris_-_Title_Theme", "Games/Zelda_-_Medly", "Games/Zelda_-_Twilight_Princes_Trailer_Theme", "Games/Zelda_-_Twilight_Princes_Trailer_Theme_2", "Other/Billy_Joel_-_Piano_Man", "Other/Heart_And_Soul_Chopsticks", "Other/Let_It_Snow", "Other/Matrix_-_Clubbed_To_Death", "Other/Schindlers_List_-_Main_Theme", "Other/Spirited_Away_-_Waltz_Of_The_Chihiro", "Other/Star_Wars_II_-_Across_The_Stars", "Other/The_Christmas_Song", "Other/Yiruma_-_Kiss_The_Rain", "Other/Yiruma_-_River_Flows_In_You_Arrange");
?>