-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpage.php
53 lines (49 loc) · 1.86 KB
/
page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit;
if ($this->fields->url) ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0;url=<?php $this->fields->url() ?>">
<script>
window.location.href = "<?php $this->fields->url(); ?>";
</script>
</head>
</html>
<?php exit(); ?>
<?php
$this->need('header.php');
$this->need('sidebar.php');
$this->need('topbar.php');
?>
<main class="site-main">
<div class="container">
<div class="container">
<div class="row gx-3 gx-md-4">
<div class="post card card-md mb-3 mb-md-4">
<div class="post-other-style">
<div class="post-heading text-center pt-5 pt-md-5 pb-3 pb-xl-4">
<h1 class="post-title"> <?php $this->title(); ?></h1>
<div class="post-meta d-flex flex-fill justify-content-center align-items-center text-base mt-3 mt-md-3">
</div>
</div>
<div class="card-body">
<div class="post-content">
<div class="post-excerpt">
<?php if ($this->fields->text): ?>
<i class="excerpt-icon"></i>
<h4><?php echo $this->fields->text; ?></h4>
<?php endif; ?>
</div>
<div class="text-wrap text-break fs-6 mx-3">
<?php $this->content(); ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<?php $this->need('footer.php'); ?>