aboutsummaryrefslogtreecommitdiff
path: root/subsonic-site/src/main/webapp/demo.jsp
blob: d6ce9cc497e8fe542094b525bc3e834fe1b967d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<%@ page import="java.util.Random" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<%! String current = "demo"; %>
<%@ include file="header.jsp" %>

<body>

<a name="top"/>

<div id="container">
    <%@ include file="menu.jsp" %>

    <div id="content">
        <div id="main-col">
            <h1>Online Demo</h1>
            <p>
                Try the online demo to get a taste of what Subsonic is all about!
            </p>

            <ul class="list">
                <li>
                    Not all Subsonic's features are available in the demo version. For instance, application settings can not be viewed
                    or changed. Please refer to the <a href="screenshots.jsp">screenshots</a> to see what you're missing.
                </li>
                <li>
                    All the music in the demo is free, and courtesy of <a href="http://www.jamendo.com/">Jamendo</a> and the respective artists.
                </li>
            </ul>

            <%
                Random random = new Random(System.currentTimeMillis());
                int userId = random.nextInt(5) + 1;
            %>
            <p style="text-align:center;font-size:1.3em"><b><a href="http://subsonic.org/demo/login.view?user=guest<%=userId%>&password=guest" target="_blank">&raquo; Start demo</a></b></p>
        </div>

        <div id="side-col">
            <%@ include file="google-translate.jsp" %>
            <%@ include file="download-subsonic.jsp" %>
            <%@ include file="donate.jsp" %>
        </div>

        <div class="clear">
        </div>
    </div>
    <hr/>
    <%@ include file="footer.jsp" %>
</div>


</body>
</html>