+
500 | Down for maintenance! | +
+ The site is currently down for maintenance. + Please try again later. +
+From ccb900b1580c786dd32f4880e86f357e8b460ebd Mon Sep 17 00:00:00 2001
From: Markus Koch
+
+ The site is currently down for maintenance.
+ Please try again later.
+
+" (take url)
+ // Link will normally link to self
+ includeGraphics("Random FFT image", "2017/fft.png", $preview="", $style="width:640px;", $link="http://notsyncing.net/");
+?>
+
+ This will only show when opening the post, but not on the overview page.
+
+ This will only show after entering the correct password.
+
+
+
+
+
+
+
+ 500 Down for maintenance!
+ Hidden section
+Protected section
+
+Some provided styles
+
+ $ foobar
+
+ Inline $code
is also possible.
+
permalink\">$blogentry->title | ";
+ //echo '' . date("l, F jS Y, H:i", $blogentry->ctime) . " |
Sources:
';
+ foreach ($meta['sources'] as $v) {
+ echo ' [' . $i++ . ']: ' . $v . '
';
+ }
+ echo '
→ Click here to continue reading ←
'; + } + return $renderExt; + } + + function password($pw) { + global $userPassword; + if ("$userPassword" == "$pw") { + echo ''; + return true; + } + else { + echo ""; + if ($userPassword == "") + echo "This section is protected. To view it, enter the correct password."; + else + echo "The password you entered is incorrect! Please try again."; +?> +
+ + $object){ + ob_start(); // These ob_lines will prevent output of actual HTML (the function already does this?!) + require "$file"; + $blogentry->includeFile = $file; + //echo "<< Older posts | '; + if ($postsSkip > 0) + echo 'Newer posts >> | '; + if ($morePosts || $postsSkip > 0) + echo "
+ This is a subpage. The following code demonstrates the features of page.php. +
+ + diff --git a/page.php b/page.php new file mode 100644 index 0000000..25810f0 --- /dev/null +++ b/page.php @@ -0,0 +1,13 @@ +' . $title . ' | |
' . $title . ' | ' . $description . ' |
SERVER ERROR: Image not valid!
"; + return ; + } + $page=substr($page,0,12); // SECURITY: Max 12 chars + exec("gm convert '$fpath' -resize 640 '$fpreviewPath';"); + } + } + elseif ($preview == "") { + $previewPath = $spath; + } + else { + $previewPath = $preview; + } + + if ($link == "+") + $link = $spath; + + echo '