ツイッターとパーラーが死んだ、ガッブが生まれた、そうして小バグの修正
|
@ -38,10 +38,10 @@ class VideoTable {
|
|||
$game = DB::table('vid_game')->get();
|
||||
$err = '';
|
||||
$res = '';
|
||||
$frm = array('title' => '', 'vid' => '', 'game_id' => '', 'thumbnail' => '', 'url' => '', 'youtube' => '', 'twitter' => '', 'nicovideo' => '', 'bitchute' => '', 'lbry' => '');
|
||||
$frm = array('title' => '', 'vid' => '', 'game_id' => '', 'thumbnail' => '', 'url' => '', 'youtube' => '', 'nicovideo' => '', 'bitchute' => '', 'lbry' => '');
|
||||
|
||||
if (isset($r->submit)) {
|
||||
if (empty($err)) { if ($r->url == '' && $r->youtube == '' && $r->twitter == '' && $r->nicovideo == '' && $r->bitchute == '' && $r->lbry == '') $err = '1以上の動画URLをご入力下さい。'; }
|
||||
if (empty($err)) { if ($r->url == '' && $r->youtube == '' && $r->nicovideo == '' && $r->bitchute == '' && $r->lbry == '') $err = '1以上の動画URLをご入力下さい。'; }
|
||||
|
||||
// フォームの値を保存して
|
||||
$frm['title'] = $r->title;
|
||||
|
@ -51,7 +51,6 @@ class VideoTable {
|
|||
$frm['publish_date'] = time();
|
||||
$frm['url'] = ($r->url ?: '');
|
||||
$frm['youtube'] = ($r->youtube ?: '');
|
||||
$frm['twitter'] = ($r->twitter ?: '');
|
||||
$frm['nicovideo'] = ($r->nicovideo ?: '');
|
||||
$frm['bitchute'] = ($r->bitchute ?: '');
|
||||
$frm['lbry'] = ($r->lbry ?: '');
|
||||
|
@ -110,7 +109,7 @@ class VideoTable {
|
|||
$res = '';
|
||||
|
||||
if (isset($r->submit)) {
|
||||
if (empty($err)) { if ($r->url == '' && $r->youtube == '' && $r->twitter == '' && $r->nicovideo == '' && $r->bitchute == '' && $r->lbry == '') $err = '1以上の動画URLをご入力下さい。'; }
|
||||
if (empty($err)) { if ($r->url == '' && $r->youtube == '' && $r->nicovideo == '' && $r->bitchute == '' && $r->lbry == '') $err = '1以上の動画URLをご入力下さい。'; }
|
||||
|
||||
// フォームの値を保存して
|
||||
$frm->title = $r->title;
|
||||
|
@ -119,7 +118,6 @@ class VideoTable {
|
|||
$frm->thumbnail = $r->thumbnail;
|
||||
$frm->url = ($r->url ?: '');
|
||||
$frm->youtube = ($r->youtube ?: '');
|
||||
$frm->twitter = ($r->twitter ?: '');
|
||||
$frm->nicovideo = ($r->nicovideo ?: '');
|
||||
$frm->bitchute = ($r->bitchute ?: '');
|
||||
$frm->lbry = ($r->lbry ?: '');
|
||||
|
|
変更前 幅: | 高さ: | サイズ: 1.5 KiB |
変更前 幅: | 高さ: | サイズ: 634 B |
変更前 幅: | 高さ: | サイズ: 1.2 KiB |
変更前 幅: | 高さ: | サイズ: 380 B |
変更後 幅: | 高さ: | サイズ: 10 KiB |
変更前 幅: | 高さ: | サイズ: 64 KiB |
変更前 幅: | 高さ: | サイズ: 10 KiB |
変更前 幅: | 高さ: | サイズ: 12 KiB |
変更前 幅: | 高さ: | サイズ: 294 B |
変更前 幅: | 高さ: | サイズ: 296 B |
変更前 幅: | 高さ: | サイズ: 1.3 KiB |
変更前 幅: | 高さ: | サイズ: 1.3 KiB |
変更前 幅: | 高さ: | サイズ: 1.7 KiB |
変更前 幅: | 高さ: | サイズ: 662 B |
変更前 幅: | 高さ: | サイズ: 182 B |
変更前 幅: | 高さ: | サイズ: 286 B |
変更前 幅: | 高さ: | サイズ: 4.0 KiB |
変更前 幅: | 高さ: | サイズ: 374 B |
変更前 幅: | 高さ: | サイズ: 2.0 KiB |
変更前 幅: | 高さ: | サイズ: 1.3 KiB |
変更前 幅: | 高さ: | サイズ: 1.1 KiB |
変更前 幅: | 高さ: | サイズ: 326 B |
|
@ -114,7 +114,7 @@
|
|||
<div>
|
||||
<span class="logo-sns"><a href="https://misskey.io/@TechnicalSuwako" alt="ミスキー"><img src="/img/misskey.png" alt="ミスキーのロゴ" /></a></span>
|
||||
<span class="logo-sns"><a href="https://pawoo.net/@TechnicalSuwako" alt="マストドン"><img src="/img/mastodon.png" alt="マストドンのロゴ" /></a></span>
|
||||
<span class="logo-sns"><a href="https://www.parler.com/profile/TechnicalSuwako/posts" alt="パルラー"><img src="/img/parler.png" alt="パルラーのロゴ"></a></span>
|
||||
<span class="logo-sns"><a href="https://gab.com/TechnicalSuwako2" alt="ガッブ"><img src="/img/gab.png" alt="ガッブのロゴ"></a></span>
|
||||
<span class="logo-sns"><discord /></span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -43,10 +43,6 @@
|
|||
<div class="col-md-3"><b>ユーチューブ</b></div>
|
||||
<div class="col"><input id="youtube" name="youtube" type="text" class="form-control" value="{{ $frm['youtube'] }}" /></div>
|
||||
</div>
|
||||
<div class="row body">
|
||||
<div class="col-md-3"><b>ツイッター</b></div>
|
||||
<div class="col"><input id="twitter" name="twitter" type="text" class="form-control" value="{{ $frm['twitter'] }}" /></div>
|
||||
</div>
|
||||
<div class="row body">
|
||||
<div class="col-md-3"><b>ニコニコ動画</b></div>
|
||||
<div class="col"><input id="nicovideo" name="nicovideo" type="text" class="form-control" value="{{ $frm['nicovideo'] }}" /></div>
|
||||
|
|
|
@ -40,10 +40,6 @@
|
|||
<div class="col-md-3"><b>ユーチューブ</b></div>
|
||||
<div class="col"><input id="youtube" name="youtube" type="text" class="form-control" value="{{ $frm->youtube }}" /></div>
|
||||
</div>
|
||||
<div class="row body">
|
||||
<div class="col-md-3"><b>ツイッター</b></div>
|
||||
<div class="col"><input id="twitter" name="twitter" type="text" class="form-control" value="{{ $frm->twitter }}" /></div>
|
||||
</div>
|
||||
<div class="row body">
|
||||
<div class="col-md-3"><b>ニコニコ動画</b></div>
|
||||
<div class="col"><input id="nicovideo" name="nicovideo" type="text" class="form-control" value="{{ $frm->nicovideo }}" /></div>
|
||||
|
|
|
@ -9,14 +9,11 @@
|
|||
</div>
|
||||
<div class="comment">
|
||||
<div class="container-fluid">
|
||||
@if (isset($res->youtube) || isset($res->twitter) || isset($res->nicovideo) || isset($res->bitchute))
|
||||
@if (isset($res->youtube) || isset($res->nicovideo) || isset($res->bitchute) || isset($res->lbry))
|
||||
<div class="row">
|
||||
@if (isset($res->youtube) && $res->youtube != '')
|
||||
<div class="col"><a class="btn btn-block btn-primary" href="{{ $res->youtube }}">YTで見る</a></div>
|
||||
@endif
|
||||
@if (isset($res->twitter) && $res->twitter != '')
|
||||
<div class="col"><a class="btn btn-block btn-primary" href="{{ $res->twitter }}">ツイッターで見る</a></div>
|
||||
@endif
|
||||
@if (isset($res->nicovideo) && $res->nicovideo != '')
|
||||
<div class="col"><a class="btn btn-block btn-primary" href="{{ $res->nicovideo }}">ニコ動で見る</a></div>
|
||||
@endif
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
<th scope="col">件名</th>
|
||||
<th scope="col"><img src="/img/swk-box.png" class="logo-play" alt="self"></th>
|
||||
<th scope="col"><a href="https://www.youtube.com/user/UltimatePisman"><img src="/img/yt-box.png" class="logo-play" alt="youtube"></a></th>
|
||||
<th scope="col"><a href="https://www.twitter.com/TechnicalSuwako"><img src="/img/twit-box.png" class="logo-play" alt="twitter"></a></th>
|
||||
<th scope="col"><a href="https://www.nicovideo.jp/user/14848316"><img src="/img/nico-box.png" class="logo-play" alt="nicovideo"></a></th>
|
||||
<th scope="col"><a href="https://www.bitchute.com/channel/technicalsuwako"><img src="/img/bt-box.png" class="logo-play" alt="bitchute"></a></th>
|
||||
<th scope="col"><a href="https://lbry.tv/@TechnicalSuwako:d"><img src="/img/lb-box.png" class="logo-play" alt="lbry"></a></th>
|
||||
|
@ -26,7 +25,6 @@
|
|||
<td scope="row">{{ $r->title }}<br /><span style="font-size: 8px;">公開日:{{ $r->publish_date }}</span></td>
|
||||
<td scope="row">@if ($r->url) <a href="/video/play/{{ $r->vid }}"><img src="/img/play-box.png" class="logo-play" alt="【{{ $r->gametitle }}】{{ $r->title }}"></a> @endif</td>
|
||||
<td scope="row">@if ($r->youtube) <a href="{{ $r->youtube }}"><img src="/img/play-box.png" class="logo-play" alt="【{{ $r->gametitle }}】{{ $r->title }}"></a> @endif</td>
|
||||
<td scope="row">@if ($r->twitter) <a href="{{ $r->twitter }}"><img src="/img/play-box.png" class="logo-play" alt="【{{ $r->gametitle }}】{{ $r->title }}"></a> @endif</td>
|
||||
<td scope="row">@if ($r->nicovideo) <a href="{{ $r->nicovideo }}"><img src="/img/play-box.png" class="logo-play" alt="【{{ $r->gametitle }}】{{ $r->title }}"></a> @endif</td>
|
||||
<td scope="row">@if ($r->bitchute) <a href="{{ $r->bitchute }}"><img src="/img/play-box.png" class="logo-play" alt="【{{ $r->gametitle }}】{{ $r->title }}"></a> @endif</td>
|
||||
<td scope="row">@if ($r->lbry) <a href="{{ $r->lbry }}"><img src="/img/play-box.png" class="logo-play" alt="【{{ $r->gametitle }}】{{ $r->title }}"></a> @endif</td>
|
||||
|
|