YaWK
24.1
Yet another WebKit
frontend-preview.php
Go to the documentation of this file.
1
<?php
2
// TEMPLATE WRAPPER - PAGE PREVIEW
3
echo
"
4
<!-- Content Wrapper. Contains page content -->
5
<div class=\"content-wrapper\" id=\"content-FX\">
6
<!-- Content Header (Page header) -->
7
<section class=\"content-header\">"
;
8
// draw Title on top
9
echo
"</section><!-- Main content -->
10
<section class=\"content\">"
;
11
/* page content start here */
12
13
// check if alias is set via get param
14
if
(isset(
$_GET
[
'alias'
]) && (!empty(
$_GET
[
'alias'
])))
15
{
// set alias string
16
$alias =
"?include=$_GET[alias]"
;
17
}
18
// it's not a static page, get plugin param
19
else
if
(isset(
$_GET
[
'plugin'
]) && (!empty(
$_GET
[
'plugin'
])))
20
{
// set plugin string
21
$alias =
"?include=$_GET[plugin]"
;
22
}
23
else
24
{
// alias not set, leave empty
25
$alias =
''
;
26
}
27
?>
28
<div
class
=
"row animated fadeIn"
>
29
<!-- PREVIEW -->
30
<div
class
=
"col-md-12"
>
31
<!-- website
preview
iframe -->
32
<div
class
=
"embed-responsive embed-responsive-4by3"
>
33
<iframe
id
=
"preview"
class
=
"embed-responsive-item"
src=
"../index.php<?php echo $alias; ?>"
></iframe>
34
</div>
35
</div>
36
</div>
preview
$blog preview
Definition:
blog-setup.php:140
$_GET
print $_GET['id']
Definition:
page-edit.php:357
yawk.io
admin
includes
frontend-preview.php
Generated on Tue Jan 16 2024 21:58:56 for YaWK by
doxygen 1.9.1