Source code of filesite.io.
https://filesite.io
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.7 KiB
43 lines
1.7 KiB
<main class="g_main_lay g_main_border"> |
|
<form class="add_video_form g_form_style" id="add_video_form" action="" method="get"> |
|
<div class=""> |
|
<label for="text_input_link" class="form-label">视频分享网址/文字</label> |
|
<textarea rows="5" id="text_input_link" name="share_content" placeholder="请粘贴从视频App或网站复制的分享网址/文字(例如在抖音App里,先点击视频的分享图标,再点:复制链接,然后在这里粘贴)"></textarea> |
|
</div> |
|
<div class="mb-3"> |
|
<label class="form-label">视频分类</label> |
|
<select name="tag"> |
|
<option value="">选分类</option> |
|
<?php |
|
if (!empty($viewData['tags'])) { //显示tags分类 |
|
foreach($viewData['tags'] as $id => $item) { |
|
echo <<<eof |
|
<option value="{$item['name']}">{$item['name']}</option> |
|
eof; |
|
} |
|
} |
|
?> |
|
</select> |
|
</div> |
|
<div class="avform_bt vercenter"> |
|
<button class="jsbtn" aria-label="提交" type="button"> |
|
<div class="loading_bt bt_class_JS elementNone verMiddle"> |
|
<svg viewBox="25 25 50 50"> |
|
<circle cx="50" cy="50" r="20"></circle> |
|
</svg> |
|
</div> |
|
<span class="bt_text_JS">保存</span> |
|
<div class="bt_loading_cover bt_class_JS elementNone"></div> |
|
</button> |
|
</div> |
|
</form> |
|
</main> |
|
<?php |
|
$user_id = ''; |
|
if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['user_id'])) { |
|
$user_id = FSC::$app['user_id']; |
|
} |
|
?> |
|
<script> |
|
var current_user_id = '<?=$user_id?>'; |
|
</script>
|