214 lines
5.3 KiB
PHP
214 lines
5.3 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="id">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>{{ $title }}</title>
|
|
<style>
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
font-size: 14px;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image: url('assets/defaults/simedkom-logo-circle.png');
|
|
background-size: 300px auto;
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
opacity: 0.05;
|
|
z-index: -1;
|
|
}
|
|
|
|
header .icon {
|
|
text-align: center;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
header .icon img {
|
|
width: 20%;
|
|
max-width: 200px;
|
|
height: auto;
|
|
}
|
|
|
|
.container {
|
|
width: 80%;
|
|
margin: 20px auto;
|
|
padding: 20px;
|
|
background-color: #ffffff;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 20px;
|
|
border-bottom: 2px solid #e0e0e0;
|
|
}
|
|
|
|
.header .title {
|
|
font-size: 24px;
|
|
color: #3A59D1;
|
|
margin: 0;
|
|
}
|
|
|
|
.header h4 {
|
|
font-size: 18px;
|
|
color: #666;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
table thead {
|
|
background-color: #3A59D1;
|
|
color: white;
|
|
}
|
|
|
|
table th, table td {
|
|
padding: 10px;
|
|
text-align: left;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
table tbody tr:nth-child(even) {
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.footer {
|
|
text-align: right;
|
|
font-size: 12px;
|
|
color: #888;
|
|
margin-top: 30px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div class="icon">
|
|
<img src="{{ public_path('assets/defaults/simedkom-logo-full.png') }}" alt="Logo Simedkom">
|
|
</div>
|
|
</header>
|
|
|
|
<div class="container">
|
|
<div class="header">
|
|
<h2 class="title">Statistik Monitoring Media & Manajemen Isu</h2>
|
|
<h4>Data: {{$data_time}}</h4>
|
|
</div>
|
|
|
|
<table>
|
|
<div style="margin-bottom: 1px !important; margin-top: 2px !important;">
|
|
<h4>Kanal Rekap Konten</h4>
|
|
</div>
|
|
<thead>
|
|
<tr>
|
|
<th>Kanal</th>
|
|
<th>Jumlah</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Facebook</td>
|
|
<td>{{$facebookContentRecap}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Twitter</td>
|
|
<td>{{$twitterContentRecap}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Website</td>
|
|
<td>{{$websiteContentRecap}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>YouTube</td>
|
|
<td>{{$youtubeContentRecap}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Instagram</td>
|
|
<td>{{$instagramContentRecap}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>TikTok</td>
|
|
<td>{{$tiktokContentRecap}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Cetak</td>
|
|
<td>{{$cetakContentRecap}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<table>
|
|
<div style="margin-bottom: 1px !important; margin-top: 2px !important;">
|
|
<h4>Sosial Media</h4>
|
|
</div>
|
|
<thead>
|
|
<tr>
|
|
<th>Sosial Media</th>
|
|
<th>Jumlah</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Diskominfo Purwakarta</td>
|
|
<td>{{$socialMedia1ContentRecap}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>PPID Diskominfo Purwakarta</td>
|
|
<td>{{$socialMedia2ContentRecap}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Purwakarta Saber Hoaks</td>
|
|
<td>{{$socialMedia3ContentRecap}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
@php
|
|
$month = [
|
|
"Januari", "Februari", "Maret", "April", "Mei", "Juni",
|
|
"Juli", "Agustus", "September", "Oktober", "November", "Desember"
|
|
];
|
|
@endphp
|
|
|
|
<div style="margin-bottom: 1px !important; margin-top: 2px !important;">
|
|
<h4>Pembuatan Rekap Konten</h4>
|
|
</div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Bulan</th>
|
|
<th>Jumlah</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@for ($i = 0; $i < count($month); $i++)
|
|
<tr>
|
|
<td>{{ $month[$i] }}</td>
|
|
<td>
|
|
{{$contentRecapMonthly[$i]}}
|
|
</td>
|
|
</tr>
|
|
@endfor
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="footer">
|
|
Dicetak pada {{ now()->format('d-m-Y H:i') }} - {{ $app->app_title }}
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|