diff options
author | chai <chaifix@163.com> | 2022-03-18 23:38:15 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2022-03-18 23:38:15 +0800 |
commit | b970e38c6cbde1e573c1d7a1d1b1685c1ca5bde1 (patch) | |
tree | 1c61a26bf0970ce8fc0b2b11d547b926c403ef82 /admin_add_music.php | |
parent | f63d8e742f6f1cd0321acfd9ffcfd71afd6c956d (diff) |
*admin login
Diffstat (limited to 'admin_add_music.php')
-rw-r--r-- | admin_add_music.php | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/admin_add_music.php b/admin_add_music.php new file mode 100644 index 0000000..9599a8c --- /dev/null +++ b/admin_add_music.php @@ -0,0 +1,72 @@ +<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 'functions.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 Music</h1> + +<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> + + <div> + +</body> + +</html>
\ No newline at end of file |