summaryrefslogtreecommitdiff
path: root/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin.php')
-rw-r--r--admin.php48
1 files changed, 19 insertions, 29 deletions
diff --git a/admin.php b/admin.php
index d75bc08..32e5604 100644
--- a/admin.php
+++ b/admin.php
@@ -20,6 +20,20 @@ form .section{
form .text {
width: 100%;
}
+
+#container a {
+ display:block;
+ text-decoration:none;
+ color:black;
+ padding:10px;
+ margin-bottom: 20px;
+}
+#container a:hover {
+ display:block;
+ text-decoration:none;
+ color:white;
+ background:black;
+}
</style>
</head>
@@ -29,38 +43,14 @@ form .text {
<?php require_once 'functions.php';?>
<?php require_once 'config.php';?>
-
<?php require_once 'music.php';?>
+<?php require_once('checkadmin.php'); ?>
+
+ <a href="admin_add_music.php">Add Music</a>
-<h1 style="font-size:1.2em;display:block;color:#c5c5c5;" >Add Music</h1>
+ <a href="admin_add_music.php">Add Album</a>
-<form action="new.php" method="post" enctype="multipart/form-data">
- <div class="section">
- <label class="title" for="musicFile" >file:</label>
- <input type="file" name="musicFile"/>
- </div>
- <div class="section">
- <label class="title" for="coverImage" >cover:</label>
- <input type="file" name="coverImage"/>
- </div>
- <div class="section">
- <label class="title" for="musicProj" >project:</label>
- <input type="file" name="musicProj"/>
- </div>
- <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="tags" >tags (seprate with comma):</label>
- <input class="text" type="text" name="tags" /><br/>
- </div>
- <div class="section">
- <label class="title" for="albums" >albums id (seprate with comma):</label>
- <input class="text" type="text" name="albums" /><br/>
- </div>
- <input style="float:right" type="submit" value="Upload Music" name="submit"/>
-</form>
+ <a href="admin_add_music.php">Delete Tag</a>
<div>