{extends "../@layout.xml"}
{block title}Загрузить аудиозапись{/block}

{block header}
    <a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a>
    » 
    <a href="/audios{$thisUser->getId()}">Аудиозаписи</a>
    » 
    Загрузить
{/block}

{block content}
    <form method="post" enctype="multipart/form-data">
      <table cellspacing="6">
        <tbody>
          <tr>
            <td width="120" valign="top"><span class="nobold">Исполнитель:</span></td>
            <td><input type="text" name="performer" /></td>
          </tr>
          <tr>
            <td width="120" valign="top"><span class="nobold">Название песни:</span></td>
            <td><input type="text" name="name" /></td>
          </tr>
          <tr>
            <td width="120" valign="top"><span class="nobold">Название песни:</span></td>
            <td>
              <select name="genre">
                <optgroup label="Pop">
                  <option value="Pop">Pop</option>
                  <option value="Indie-pop">Indie-pop</option>
                  <option value="K-POP">капоп</option>
                  <option value="J-POP">J-POP</option>
                  <option value="Disco">Electropop/Disco</option>
                </optgroup>
                <optgroup label="Easy listening">
                  <option value="Easy listening">Easy listening</option>
                  <option value="Speech">Speech/Podcast</option>
                </optgroup>
                <optgroup label="Jazz">
                  <option value="Jazz">Jazz</option>
                  <option value="Blues">Blues</option>
                </optgroup>
                <optgroup label="Acoustinc">
                  <option value="Acoustic and Vocal">Acoustic and Vocal</option>
                  <option value="Chanson">Chanson</option>
                </optgroup>
                <optgroup label="EDM">
                  <option value="Dance">Dance</option>
                  <option value="Electronic">Electronic</option>
                  <option value="Drum and Bass">Drum&Bass</option>
                  <option value="Dubstep">Dubstep</option>
                  <option value="Trance">Trance</option>
                </optgroup>
                <option value="Alternative">Alternative</option>
                <option value="Rock">Rock</option>
                <option value="Metal">Metal</option>
                <option value="Other">Other</option>
              </select>
            </td>
          </tr>
          <tr>
            <td width="120" valign="top"><span class="nobold">Текст песни:</span></td>
            <td><textarea style="margin: 0px; height: 50px; width: 159px; resize: none;" name="lyrics"></textarea></td>
          </tr>
          <tr>
            <td width="120" valign="top"><span class="nobold">Аудиозапись:</span></td>
            <td><input type="file" name="blob" accept="audio/mpeg" /></td>
          </tr>
          <tr>
            <td width="120" valign="top"></td>
            <td>
                <input type="hidden" name="hash" value="{$csrfToken}" />
                <input type="submit" class="button" name="submit" value="Загрузить" />
            </td>
          </tr>
        </tbody>
      </table>
    </form>
{/block}
