| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,55 @@ |
| 1 |
+<?php |
|
| 2 |
+// ---------------------------------------------------------------------- |
|
| 3 |
+// Copyright (c) 2007 by Tammy Keefer |
|
| 4 |
+// Valid HTML 4.01 Transitional |
|
| 5 |
+// Based on eFiction 1.1 |
|
| 6 |
+// Copyright (C) 2003 by Rebecca Smallwood. |
|
| 7 |
+// http://efiction.sourceforge.net/ |
|
| 8 |
+// ---------------------------------------------------------------------- |
|
| 9 |
+// LICENSE |
|
| 10 |
+// |
|
| 11 |
+// This program is free software; you can redistribute it and/or |
|
| 12 |
+// modify it under the terms of the GNU General Public License (GPL) |
|
| 13 |
+// as published by the Free Software Foundation; either version 2 |
|
| 14 |
+// of the License, or (at your option) any later version. |
|
| 15 |
+// |
|
| 16 |
+// This program is distributed in the hope that it will be useful, |
|
| 17 |
+// but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 18 |
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 19 |
+// GNU General Public License for more details. |
|
| 20 |
+// |
|
| 21 |
+// To read the license please visit http://www.gnu.org/copyleft/gpl.html |
|
| 22 |
+// ---------------------------------------------------------------------- |
|
| 23 |
+ |
|
| 24 |
+/* The $current variable is used to create the {page_id} variable. It is also
|
|
| 25 |
+used in the pagelinks to identify the current page being displayed so that |
|
| 26 |
+link in the menu block can be highlighted. If you decide to set this, check |
|
| 27 |
+the docs/creating_skins.htm file for a list of words already in use. If you |
|
| 28 |
+don't intend to use {page_id} in your skins and haven't added this page to
|
|
| 29 |
+the $pagelinks list. You can just ignore it */ |
|
| 30 |
+ |
|
| 31 |
+$current = "template"; |
|
| 32 |
+ |
|
| 33 |
+include ("header.php");
|
|
| 34 |
+ |
|
| 35 |
+if(file_exists("$skindir/default.tpl")) $tpl = new TemplatePower( "$skindir/default.tpl" );
|
|
| 36 |
+else $tpl = new TemplatePower(_BASEDIR."default_tpls/default.tpl"); |
|
| 37 |
+$tpl->assignInclude( "header", "./$skindir/header.tpl" ); |
|
| 38 |
+$tpl->assignInclude( "footer", "./$skindir/footer.tpl" ); |
|
| 39 |
+//let TemplatePower do its thing, parsing etc. |
|
| 40 |
+$tpl->prepare(); |
|
| 41 |
+ |
|
| 42 |
+include("includes/pagesetup.php");
|
|
| 43 |
+ |
|
| 44 |
+//Start modifying below: |
|
| 45 |
+ |
|
| 46 |
+/* This page is included for pages that require the inclusion of php scripting. |
|
| 47 |
+If you need to include html/text only you're encouraged to use the custom page |
|
| 48 |
+panel in the admin area.*/ |
|
| 49 |
+ |
|
| 50 |
+ |
|
| 51 |
+//Don't modify below this line |
|
| 52 |
+$tpl->assign("output", $output);
|
|
| 53 |
+$tpl->printToScreen(); |
|
| 54 |
+dbclose( ); |
|
| 55 |
+?> |
|
| 0 | 56 |
\ No newline at end of file |