Warning: session_start(): open(/var/lib/php/sessions/sess_0ltdlssp7ekkic225d4h2mev2i, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
html {
new Matches m;
L artists = mechList("Randall | Artist names");
if (swic(uri, "/artist/", m)) {
fS artist = urldecode(m.rest());
if (!contains(artists, artist)) ret subBot_serve404();
ret h1_title(htmlencode(artist))
+ h3("Songs")
+ ul_noEncode(map(func(S song) -> S {
ahref(myLink("/song/" + urlencode(artist) + "/" + urlencode(song)), htmlencode(song))
}, mechList("Randall | " + artist + " | Songs")));
}
if (swic(uri, "/song/", m))
ret "Song page for " + htmlencode(urldecode(m.rest()))
+ soundcloudEmbed("194090074", eq("1", params.get("autoplay")));
if (eqic(uri, "/contact")) ret "Contact page";
// home page
if (eq(uri, "/"))
ret hhtml(
hhead(htitle("Future Rootz Records"))
+ hbody(hcenter(
h1("Future Rootz Records", style := "color: #e60000")
+ h3("Artists")
+ ul_noEncode(map(func(S artist) -> S {
ahref(myLink("/artist/" + urlencode(artist)), htmlencode(artist))
}, artists))), style := "background-color: #66cc00"));
ret subBot_serve404();
}