summaryrefslogtreecommitdiff
path: root/admin_add_album.php
blob: 022ba278659908487ac43d1704d360f8b5af85cf (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
56
57
58
59
60
61
62
63
64
<html>

<head>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, target-densityDpi=device-dpi">
<style type="text/css">
#container {
    margin:0 auto; 
    max-width: 500px;
}
form .title {
    display:block;
    font-size:0.8em;
    margin-bottom: 3px;
}
form .section{ 
    margin-bottom: 10px;
    padding: 5px;
    background: #efefef;
}
form .text { 
    width: 100%;
}
</style>

</head>

<body>
    <div id="container">

<?php require_once 'utils.php';?>
<?php require_once 'config.php';?>
<?php require_once 'music.php';?>

<?php 
    require_once('checkadmin.php');
?>

<h1 style="font-size:1.2em;display:block;color:#c5c5c5;" >Add Album</h1>

    <form action="admin_new_album.php" method="post" enctype="multipart/form-data">
        <div class="section"> 
        <label class="title" for="title" >title:</label>
        <input class="text" type="text" name="title" /><br/>
        </div>
        <div class="section"> 
        <label class="title" for="description" >description:</label>
        <input class="text" type="text" name="description" /><br/>
        </div>
        <div class="section"> 
        <label class="title" for="coverImage" >cover:</label>
        <input type="file" name="coverImage"/>
        </div>
        <div class="section"> 
        <label class="title" for="music_list" >music ids (seprate with comma):</label>
        <input class="text" type="text" name="music_list" /><br/>
        </div>
        <input style="float:right" type="submit" value="Add Album" name="submit"/>
    </form>

    <div>

</body>

</html>