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.

16 lines
597 B

<form action="" method="post" class="px-2">
<input type="text" name="share_content" value="" placeholder="请粘贴分享网址/内容" class="form-controll txt-input">
<select name="tag" class="form-controll">
<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>
<button class="btn" type="button" id="btn_addfav">保存</button>
</form>