このコミットが含まれているのは:
守矢諏訪子 2021-12-15 00:25:36 +09:00
コミット b9ebcbb3d4
2個のファイルの変更19行の追加20行の削除

ファイルの表示

@ -7,7 +7,7 @@ use Illuminate\Http\Request;
class Comment {
public function add (Request $r) {
if (!isset($r->submit)) return '';
if (!isset($r->submit)) return redirect('/');
$isvideo = false;
if (!$cont = DB::table('blg_content')->where('slug', $r->slug)->first()) { if ($cont = DB::table('vid_video')->where('vid', $r->slug)->first()) $isvideo = true; }
@ -26,7 +26,6 @@ class Comment {
]);
// 返事だったら、メールを送って
return redirect('/'.($isvideo ? 'video/play' : 'blog').'/'.$r->slug.'#comment-'.$add);
}
}

ファイルの表示

@ -1,26 +1,26 @@
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
<title>{{ config('app.name', 'Laravel') }}</title>
<style>
body {
background: url('/img/bash/81004208_p0.jpg') no-repeat;
background-position: center 25%;
}
</style>
</head>
<body>
<style>
body {
background: url('/img/bash/81004208_p0.jpg') no-repeat;
background-position: center 25%;
}
</style>
</head>
<body>
@yield('content')
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}"></script>
</body>
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}"></script>
</body>
</html>