-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathheader.php
More file actions
23 lines (23 loc) · 1.03 KB
/
Copy pathheader.php
File metadata and controls
23 lines (23 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
// Shared by both sections. $S comes from section.php; if a page includes this
// without having loaded that, fall back to the poetry section.
if (!isset($S)) {
require_once $_SERVER['DOCUMENT_ROOT'] . '/section.php';
}
?>
<header>
<a class="homepage" href="<?= e($S['home']) ?>">
<h1 class="homepage"><?= $S['h1_e'] ?></h1>
<hr class="homepage">
<h1 class="homepage yid" dir="rtl"><?= $S['h1_y'] ?></h1>
</a>
<iframe src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Foytser&width=70&layout=button&action=like&size=large&colorscheme=dark&show_faces=false&share=false&height=65&appId" width="70" height="65" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allow="encrypted-media"></iframe>
</header>
<?php
$BMC_SCRIPT = 'https://raphi.website/bmc/bmc.js';
$BMC_FISH = 'fish';
?>
<script src="<?= e($BMC_SCRIPT) ?>"
data-id="raphi"
data-icon="<?= $S['fish_icon'] ? e($BMC_FISH) : 'coffee' ?>"
data-once="session"></script>