LBRY→オディシー

このコミットが含まれているのは:
テクニカル諏訪子 2021-03-19 22:42:07 +09:00
コミット 1f69e1727b
11個のファイルの変更16行の追加16行の削除

ファイルの表示

@ -46,7 +46,7 @@ class Game {
if (count($incomplete) > 0) $err = implode('、', $incomplete).'をご入力下さい。';
// スラッグが既に存在したら、エラーを出て
if (empty($err)) {
if (empty($err)) {
$sl = DB::table('vid_game')->select('slug')->where('slug', $r->slug)->first();
if ($sl && $sl->slug == $r->slug) $err = 'このスラッグがもう存在しています。';
}

ファイルの表示

@ -38,10 +38,10 @@ class VideoTable {
$game = DB::table('vid_game')->get();
$err = '';
$res = '';
$frm = array('title' => '', 'vid' => '', 'game_id' => '', 'thumbnail' => '', 'url' => '', 'youtube' => '', 'nicovideo' => '', 'bitchute' => '', 'lbry' => '');
$frm = array('title' => '', 'vid' => '', 'game_id' => '', 'thumbnail' => '', 'url' => '', 'youtube' => '', 'nicovideo' => '', 'bitchute' => '', 'odysee' => '');
if (isset($r->submit)) {
if (empty($err)) { if ($r->url == '' && $r->youtube == '' && $r->nicovideo == '' && $r->bitchute == '' && $r->lbry == '') $err = '以上の動画URLをご入力下さい。'; }
if (empty($err)) { if ($r->url == '' && $r->youtube == '' && $r->nicovideo == '' && $r->bitchute == '' && $r->odysee == '') $err = '以上の動画URLをご入力下さい。'; }
// フォームの値を保存して
$frm['title'] = $r->title;
@ -53,7 +53,7 @@ class VideoTable {
$frm['youtube'] = ($r->youtube ?: '');
$frm['nicovideo'] = ($r->nicovideo ?: '');
$frm['bitchute'] = ($r->bitchute ?: '');
$frm['lbry'] = ($r->lbry ?: '');
$frm['odysee'] = ($r->odysee ?: '');
// 件名、文章又はスラッグがなければ、エラーを出て
$verify = array('件名' => $r->title, 'スラッグ' => $r->vid);
@ -109,7 +109,7 @@ class VideoTable {
$res = '';
if (isset($r->submit)) {
if (empty($err)) { if ($r->url == '' && $r->youtube == '' && $r->nicovideo == '' && $r->bitchute == '' && $r->lbry == '') $err = '以上の動画URLをご入力下さい。'; }
if (empty($err)) { if ($r->url == '' && $r->youtube == '' && $r->nicovideo == '' && $r->bitchute == '' && $r->odysee == '') $err = '以上の動画URLをご入力下さい。'; }
// フォームの値を保存して
$frm->title = $r->title;
@ -120,7 +120,7 @@ class VideoTable {
$frm->youtube = ($r->youtube ?: '');
$frm->nicovideo = ($r->nicovideo ?: '');
$frm->bitchute = ($r->bitchute ?: '');
$frm->lbry = ($r->lbry ?: '');
$frm->odysee = ($r->odysee ?: '');
// 件名、文章又はスラッグがなければ、エラーを出て
$verify = array('件名' => $r->title, 'スラッグ' => $r->vid);

バイナリ
public/img/lb-box.png

バイナリファイルは表示されません。

変更前

幅:  |  高さ:  |  サイズ: 896 B

バイナリ
public/img/lbry.png

バイナリファイルは表示されません。

変更前

幅:  |  高さ:  |  サイズ: 8.8 KiB

バイナリ
public/img/od-box.png ノーマルファイル

バイナリファイルは表示されません。

変更後

幅:  |  高さ:  |  サイズ: 14 KiB

バイナリ
public/img/odysee.png ノーマルファイル

バイナリファイルは表示されません。

変更後

幅:  |  高さ:  |  サイズ: 14 KiB

ファイルの表示

@ -52,8 +52,8 @@
<div class="col"><input id="bitchute" name="bitchute" type="text" class="form-control" value="{{ $frm['bitchute'] }}" /></div>
</div>
<div class="row body">
<div class="col-md-3"><b>LBRY.tv</b></div>
<div class="col"><input id="lbry" name="lbry" type="text" class="form-control" value="{{ $frm['lbry'] }}" /></div>
<div class="col-md-3"><b>オディシー</b></div>
<div class="col"><input id="odysee" name="odysee" type="text" class="form-control" value="{{ $frm['odysee'] }}" /></div>
</div>
<div class="row body" style="margin-top: 24px;">
<div class="col"><input name="submit" type="submit" class="btn btn-success btn-block" value="送信" /></div>

ファイルの表示

@ -49,8 +49,8 @@
<div class="col"><input id="bitchute" name="bitchute" type="text" class="form-control" value="{{ $frm->bitchute }}" /></div>
</div>
<div class="row body">
<div class="col-md-3"><b>LBRY.tv</b></div>
<div class="col"><input id="lbry" name="lbry" type="text" class="form-control" value="{{ $frm->lbry }}" /></div>
<div class="col-md-3"><b>オディシー</b></div>
<div class="col"><input id="odysee" name="odysee" type="text" class="form-control" value="{{ $frm->odysee }}" /></div>
</div>
<div class="row body" style="margin-top: 24px;">
<div class="col"><input name="submit" type="submit" class="btn btn-success btn-block" value="送信" /></div>

ファイルの表示

@ -13,7 +13,7 @@
</div>
<div class="comment">
<div class="container-fluid">
@if (isset($res->youtube) || isset($res->nicovideo) || isset($res->bitchute) || isset($res->lbry))
@if (isset($res->youtube) || isset($res->nicovideo) || isset($res->bitchute) || isset($res->odysee))
<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>
@ -24,8 +24,8 @@
@if (isset($res->bitchute) && $res->bitchute != '')
<div class="col"><a class="btn btn-block btn-primary" href="{{ $res->bitchute }}">BTで見る</a></div>
@endif
@if (isset($res->lbry) && $res->lbry != '')
<div class="col"><a class="btn btn-block btn-primary" href="{{ $res->lbry }}">LBRYで見る</a></div>
@if (isset($res->odysee) && $res->odysee != '')
<div class="col"><a class="btn btn-block btn-primary" href="{{ $res->odysee }}">ODYで見る</a></div>
@endif
</div>
</div>

ファイルの表示

@ -15,7 +15,7 @@
<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.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>
<th scope="col"><a href="https://odysee.com/@TechnicalSuwako:d"><img src="/img/od-box.png" class="logo-play" alt="odysee"></a></th>
</tr>
</thead>
@foreach ($res as $k => $r)
@ -27,7 +27,7 @@
<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->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>
<td scope="row">@if ($r->odysee) <a href="{{ $r->odysee }}"><img src="/img/play-box.png" class="logo-play" alt="{{ $r->gametitle }}】{{ $r->title }}"></a> @endif</td>
</tr>
@endforeach
</table>

ファイルの表示

@ -2,7 +2,7 @@
<div style="margin-bottom: 20px;">
<span class="logo-sns"><a href="https://www.youtube.com/user/UltimatePisman" alt="ユーチューブ"><img src="/img/youtube.png" alt="ユーチューブのロゴ"/></a></span>
<span class="logo-sns"><a href="https://www.nicovideo.jp/user/14848316" alt="ニコニコ動画"><img src="/img/niconico.png" alt="ニコニコ動画のロゴ" /></a></span>
<span class="logo-sns"><a href="https://lbry.tv/@TechnicalSuwako:d" alt="LBRY"><img src="/img/lbry.png" alt="LBRYのロゴ" /></a></span>
<span class="logo-sns"><a href="https://odysee.com/@TechnicalSuwako:d" alt="オディシー"><img src="/img/odysee.png" alt="オディシーのロゴ" /></a></span>
</div>
<div>
<span class="logo-sns"><a href="https://pawoo.net/@TechnicalSuwako" alt="マストドン"><img src="/img/mastodon.png" alt="マストドンのロゴ" /></a></span>