File tree Expand file tree Collapse file tree 4 files changed +113
-0
lines changed
Expand file tree Collapse file tree 4 files changed +113
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ function render_breadcrumb() {
3030 '15 ' => '河北新報でご紹介いただきました! ' ,
3131 '16 ' => '絶品焼きそば、ここにあり! ' ,
3232 '17 ' => '写真部の展示・グッズ販売・フォトスポット ' ,
33+ '18 ' => 'Freeカラオケ中止のお知らせ ' ,
34+ '19 ' => '高専祭Award!! ' ,
3335 'guest ' => '松本紀生オーロラフォトライブ ' ,
3436 'card_yuugi ' => '遊戯王大会 ' ,
3537 'card_duel ' => 'デュエマ大会 ' ,
Original file line number Diff line number Diff line change 3131 <?php include './includes/breadcrumb.php ' ; render_breadcrumb (); ?>
3232 <p class="title">ニュース一覧</p>
3333 <div class="news_list">
34+ <div class="news_item">
35+ <a href="./news/19.php">
36+ <div class="news_item_top">
37+ <img src="../images/icon_yoko.webp" alt="News Image">
38+ </div>
39+ </a>
40+ <div class="news_item_bottom">
41+ <p class="news_date">2025.10.25</p>
42+ <p class="news_title"><a href="./news/19.php">高専祭Award!!</a></p>
43+ </div>
44+ </div>
45+ <div class="news_item">
46+ <a href="./news/18.php">
47+ <div class="news_item_top">
48+ <img src="../images/icon_yoko.webp" alt="News Image">
49+ </div>
50+ </a>
51+ <div class="news_item_bottom">
52+ <p class="news_date">2025.10.25</p>
53+ <p class="news_title"><a href="./news/18.php">天候によりカラオケが中止となりました</a></p>
54+ </div>
55+ </div>
3456 <div class="news_item">
3557 <a href="./news/17.php">
3658 <div class="news_item_top">
Original file line number Diff line number Diff line change 1+ <?php
2+ // OGP settings
3+ $ ogp_title = '天候によりカラオケが中止となりました | 高専祭2025 ' ;
4+ $ ogp_description = '26日(日)に予定されていたFreeカラオケについて連絡です。当日は雨の予報のため、中止となりました。 ' ;
5+ $ ogp_type = 'article ' ;
6+ $ ogp_image = (empty ($ _SERVER ['HTTPS ' ]) ? 'http:// ' : 'https:// ' ) . $ _SERVER ['HTTP_HOST ' ] . '/2025/images/icon_yoko.webp ' ;
7+
8+ session_start ();
9+ $ nonce = base64_encode (random_bytes (16 ));
10+ $ _SESSION ['nonce ' ] = $ nonce ;
11+ header ("Content-Security-Policy:
12+ default-src 'self';
13+ script-src 'self' 'nonce- " . $ nonce . "';
14+ style-src 'self' 'nonce- " . $ nonce . "';
15+ frame-src 'self';
16+ frame-ancestors 'none';
17+ " );
18+ ?>
19+ <!DOCTYPE html>
20+ <html lang="ja">
21+ <head>
22+ <meta charset="UTF-8">
23+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
24+ <title>天候によりカラオケが中止となりました | 高専祭2025</title>
25+ <link rel="stylesheet" href="../../css/news.css" nonce="<?= htmlspecialchars ($ nonce , ENT_QUOTES , 'UTF-8 ' ) ?> ">
26+ <?php include '../includes/header-favicon.php ' ; ?>
27+ <script src="../../js/hamburger.js"nonce="<?= htmlspecialchars ($ nonce , ENT_QUOTES , "UTF-8 " ); ?> " defer></script>
28+ </head>
29+ <body>
30+ <?php include '../includes/header.php ' ?>
31+ <div class="wrapper">
32+ <main>
33+ <?php include '../includes/breadcrumb.php ' ; render_breadcrumb (); ?>
34+ <p class="title">天候によりカラオケが中止となりました</p>
35+ <div class="news_content">
36+ <p>26日(日)に予定されていたFreeカラオケについて連絡です。</p>
37+ <p>当日は雨の予報のため、中止となりました。</p>
38+ <p>楽しみにしていて方には申し訳ございません。</p>
39+ <p>よろしくお願いいたします。</p>
40+ </div>
41+ </main>
42+ </div>
43+ <?php include '../includes/footer.php ' ?>
44+ </body>
45+ </html>
Original file line number Diff line number Diff line change 1+ <?php
2+ // OGP settings
3+ $ ogp_title = '高専祭Award!! | 高専祭2025 ' ;
4+ $ ogp_description = '高専祭Awardへのご協力をお願いします! ' ;
5+ $ ogp_type = 'article ' ;
6+ $ ogp_image = (empty ($ _SERVER ['HTTPS ' ]) ? 'http:// ' : 'https:// ' ) . $ _SERVER ['HTTP_HOST ' ] . '/2025/images/icon_yoko.webp ' ;
7+
8+ session_start ();
9+ $ nonce = base64_encode (random_bytes (16 ));
10+ $ _SESSION ['nonce ' ] = $ nonce ;
11+ header ("Content-Security-Policy:
12+ default-src 'self';
13+ script-src 'self' 'nonce- " . $ nonce . "';
14+ style-src 'self' 'nonce- " . $ nonce . "';
15+ frame-src 'self';
16+ frame-ancestors 'none';
17+ " );
18+ ?>
19+ <!DOCTYPE html>
20+ <html lang="ja">
21+ <head>
22+ <meta charset="UTF-8">
23+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
24+ <title>高専祭Award!! | 高専祭2025</title>
25+ <link rel="stylesheet" href="../../css/news.css" nonce="<?= htmlspecialchars ($ nonce , ENT_QUOTES , 'UTF-8 ' ) ?> ">
26+ <?php include '../includes/header-favicon.php ' ; ?>
27+ <script src="../../js/hamburger.js"nonce="<?= htmlspecialchars ($ nonce , ENT_QUOTES , "UTF-8 " ); ?> " defer></script>
28+ </head>
29+ <body>
30+ <?php include '../includes/header.php ' ?>
31+ <div class="wrapper">
32+ <main>
33+ <?php include '../includes/breadcrumb.php ' ; render_breadcrumb (); ?>
34+ <p class="title">高専祭Award!!</p>
35+ <div class="news_content">
36+ <p>高専祭Awardへのご協力をお願いします!</p>
37+ <p>以下のリンクからFormsに回答してください。</p>
38+ <p><a href="https://forms.cloud.microsoft/pages/responsepage.aspx?id=XYP-cpVeEkWK4KezivJfyK4j7n8TQNJOqczWngrF0PVUNlpWUDdMOVlPRDVBNFNFQ1NPVzY5NjJVSC4u&origin=QRCode&route=shorturl" target="_blank">回答フォームはこちら</a></p>
39+ </div>
40+ </main>
41+ </div>
42+ <?php include '../includes/footer.php ' ?>
43+ </body>
44+ </html>
You can’t perform that action at this time.
0 commit comments