差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| side_en [2025/07/02 17:16] – Tana JH1HST | side_en [2026/07/17 21:19] (現在) – Tana JH1HST | ||
|---|---|---|---|
| 行 3: | 行 3: | ||
| ====== The Amateur Radio Festival ; HAMFAIR ====== | ====== The Amateur Radio Festival ; HAMFAIR ====== | ||
| + | TOKYO HAMFAIR Information in English.\\ | ||
| For the Japanese parts/ | For the Japanese parts/ | ||
| 行 10: | 行 10: | ||
| ---- | ---- | ||
| - | 47th Hamfair (2025) \\ | + | <php> |
| - | * [[47th_ann_en|Event Information]] | + | |
| - | * [[47th_8j1ham_en|Special Station 8J1HAM]] | + | |
| - | * [[47th_ebparty_en|About Eyeball Party]] | + | |
| - | * [[47th_2faq_en|General FAQ]] | + | |
| - | * [[47th_4exb_en|Exhibitor Information]] | + | |
| - | * [[47th_s_stage_form_en|Call for Speakers: Satellite Stage]] | + | |
| - | \\ | + | /* |
| + | * Hamfair English Menu | ||
| + | * Add / remove / reorder menu items in the arrays below. | ||
| + | */ | ||
| - | ---- | + | $main_title = ' |
| - | 46th Hamfair | + | $main_year |
| - | * [[46th_ann_en|Event Information]] | + | |
| - | * [[46th_booth_en_google|Exhibit Booth Info (Translated this page by Google.)]] | + | |
| - | * [[46th_stage_en|Stage Information]] | + | |
| - | * [[46th_mf_en|Workspace for Kids]] | + | |
| - | * [[46th_jtest_en|Selfmade contest info]] | + | |
| - | * [[46th_stamp_en|Stampsrally]] | + | |
| - | * [[46th_8j1ham_en|8J1HAM]] | + | |
| - | * [[46th_eventlive|Live Stream (in Japanese)]] | + | |
| - | | + | |
| + | $main_menu = [ | ||
| + | [ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ], | ||
| + | [ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ], | ||
| + | [ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ], | ||
| + | [ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ], | ||
| + | [ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ], | ||
| + | [ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ], | ||
| + | [ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ], | ||
| + | [ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ], | ||
| + | ]; | ||
| + | |||
| + | $exhibitor_menu = [ | ||
| + | [ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ], | ||
| + | ]; | ||
| + | |||
| + | |||
| + | /* | ||
| + | * From here down, normally no need to edit. | ||
| + | */ | ||
| + | |||
| + | if (!function_exists(' | ||
| + | function hamfair_en_h($text) { | ||
| + | return htmlspecialchars($text, | ||
| + | } | ||
| + | } | ||
| + | |||
| + | if (!function_exists(' | ||
| + | function hamfair_en_url($page) { | ||
| + | if (preg_match('/ | ||
| + | return $page; | ||
| + | } | ||
| + | |||
| + | if (function_exists(' | ||
| + | return wl($page); | ||
| + | } | ||
| + | |||
| + | return ' | ||
| + | } | ||
| + | } | ||
| + | |||
| + | if (!function_exists(' | ||
| + | function hamfair_en_card($item, | ||
| + | $title = hamfair_en_h($item[' | ||
| + | $desc = hamfair_en_h($item[' | ||
| + | $url = hamfair_en_h(hamfair_en_url($item[' | ||
| + | $icon = isset($item[' | ||
| + | |||
| + | echo '<a class=" | ||
| + | echo ' | ||
| + | echo ' | ||
| + | echo ' | ||
| + | echo ' | ||
| + | echo ' | ||
| + | echo ' | ||
| + | echo '</ | ||
| + | } | ||
| + | } | ||
| + | |||
| + | echo <<< | ||
| + | < | ||
| + | .hamfair-en-menu { | ||
| + | max-width: 880px; | ||
| + | margin: 1.2em 0 2.2em 0; | ||
| + | font-family: | ||
| + | } | ||
| + | |||
| + | .hamfair-en-main-title { | ||
| + | display: flex; | ||
| + | align-items: | ||
| + | gap: .35em; | ||
| + | margin: 0 0 .75em 0; | ||
| + | padding: 0 0 .45em 0; | ||
| + | border-bottom: | ||
| + | color: #1f2d3d; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-main-title .name { | ||
| + | font-size: 2em; | ||
| + | font-weight: | ||
| + | letter-spacing: | ||
| + | } | ||
| + | |||
| + | .hamfair-en-main-title .year { | ||
| + | font-size: 1.25em; | ||
| + | font-weight: | ||
| + | color: #6a7a86; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-grid { | ||
| + | display: grid; | ||
| + | grid-template-columns: | ||
| + | gap: 12px; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card { | ||
| + | display: flex; | ||
| + | align-items: | ||
| + | position: relative; | ||
| + | min-height: 72px; | ||
| + | padding: 15px 46px 15px 16px; | ||
| + | border-radius: | ||
| + | background: | ||
| + | linear-gradient(135deg, | ||
| + | linear-gradient(135deg, | ||
| + | border: 1px solid #d8eaf4; | ||
| + | text-decoration: | ||
| + | box-shadow: 0 3px 10px rgba(20, 80, 120, .06); | ||
| + | transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card: | ||
| + | transform: translateY(-2px); | ||
| + | box-shadow: 0 8px 20px rgba(20, 80, 120, .13); | ||
| + | border-color: | ||
| + | text-decoration: | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card-icon { | ||
| + | flex: 0 0 auto; | ||
| + | width: 42px; | ||
| + | height: 42px; | ||
| + | margin-right: | ||
| + | border-radius: | ||
| + | background: rgba(255, | ||
| + | display: flex; | ||
| + | align-items: | ||
| + | justify-content: | ||
| + | font-size: 1.45em; | ||
| + | box-shadow: inset 0 0 0 1px rgba(150, 190, 210, .22); | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card-body { | ||
| + | display: block; | ||
| + | min-width: 0; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card-title { | ||
| + | display: block; | ||
| + | font-size: 1.15em; | ||
| + | font-weight: | ||
| + | line-height: | ||
| + | color: #0b67b2; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card-desc { | ||
| + | display: block; | ||
| + | margin-top: 3px; | ||
| + | font-size: .78em; | ||
| + | line-height: | ||
| + | color: #6c7a84; | ||
| + | opacity: .68; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card-arrow { | ||
| + | position: absolute; | ||
| + | right: 18px; | ||
| + | top: 50%; | ||
| + | transform: translateY(-51%); | ||
| + | font-size: 2em; | ||
| + | color: #75abc6; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | .hamfair-en-section { | ||
| + | margin-top: 1.8em; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-section-title { | ||
| + | margin: 0 0 .7em 0; | ||
| + | padding: 0 0 .4em 0; | ||
| + | border-bottom: | ||
| + | font-size: 1.45em; | ||
| + | font-weight: | ||
| + | color: #1f2d3d; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card.exhibitor { | ||
| + | background: | ||
| + | linear-gradient(135deg, | ||
| + | linear-gradient(135deg, | ||
| + | border-color: | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card.exhibitor .hamfair-en-card-title { | ||
| + | color: #975a00; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card.exhibitor .hamfair-en-card-arrow { | ||
| + | color: #c98d2d; | ||
| + | } | ||
| + | |||
| + | @media (min-width: 700px) { | ||
| + | .hamfair-en-grid { | ||
| + | grid-template-columns: | ||
| + | } | ||
| + | } | ||
| + | |||
| + | @media (max-width: 520px) { | ||
| + | .hamfair-en-main-title .name { | ||
| + | font-size: 1.65em; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-main-title .year { | ||
| + | font-size: 1.05em; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card { | ||
| + | min-height: 68px; | ||
| + | padding: 14px 42px 14px 14px; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card-title { | ||
| + | font-size: 1.05em; | ||
| + | } | ||
| + | |||
| + | .hamfair-en-card-desc { | ||
| + | font-size: .74em; | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <span class=" | ||
| + | HTML; | ||
| + | |||
| + | echo hamfair_en_h($main_title); | ||
| + | |||
| + | echo <<< | ||
| + | </ | ||
| + | <span class=" | ||
| + | HTML; | ||
| + | |||
| + | echo ' | ||
| + | |||
| + | echo <<< | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <div class=" | ||
| + | HTML; | ||
| + | |||
| + | foreach ($main_menu as $item) { | ||
| + | hamfair_en_card($item); | ||
| + | } | ||
| + | |||
| + | echo <<< | ||
| + | </ | ||
| + | |||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | HTML; | ||
| + | |||
| + | foreach ($exhibitor_menu as $item) { | ||
| + | hamfair_en_card($item, | ||
| + | } | ||
| + | |||
| + | echo <<< | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | HTML; | ||
| + | |||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | \\ | ||
| + | \\ | ||
| ---- | ---- | ||
| - | * [[46th_ebparty_en|Eye-ball Party (First night party)]] | + | |
| + | [[https:// | ||
| + | [[https:// | ||
| + | |||
| + | \\ | ||
| ---- | ---- | ||
| - | | + | |
| - | * [[46th_note_b_en|Notes for Exhibitors]] | + | |
| + | **Past Editions**\\ | ||
| + | | ||
| + | * [[46th_en|46th Hamfair (2024)]] | ||
| + | |||
| ---- | ---- | ||