source:
trunk/learn_bb.php
@
1798
| Revision 1798, 1.3 KB checked in by driehle, 3 years ago (diff) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Jlog |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 | * |
| 20 | * $HeadURL$ |
| 21 | * $Rev$ |
| 22 | * $Author$ |
| 23 | * $Date$ |
| 24 | **/ |
| 25 | |
| 26 | require_once('./config.inc.php'); |
| 27 | require_once(JLOG_LIBPATH . '/bootstrap.php'); |
| 28 | |
| 29 | $version = $_GET['v']; |
| 30 | |
| 31 | if($version == "small") { |
| 32 | echo " |
| 33 | <html> |
| 34 | <head> |
| 35 | <title>".$l['bbtitle']."</title> |
| 36 | <link rel='stylesheet' href='".JLOG_PATH."/personal/css/popup.css' type='text/css' media='screen' /> |
| 37 | </head> |
| 38 | <body> |
| 39 | <h1>".$l['bbtitle']."</h1> |
| 40 | ".$l['bbxmp']." |
| 41 | </body> |
| 42 | </html>"; |
| 43 | } |
| 44 | |
| 45 | else { |
| 46 | $c['title'] = $l['bbtitle']; |
| 47 | $c['main'] = $l['bbxmp']; |
| 48 | |
| 49 | require(JLOG_BASEPATH.'scripts'.DIRECTORY_SEPARATOR.'do_template.php'); |
| 50 | echo $body; |
| 51 | |
| 52 | } |
| 53 | |
| 54 | // eof |
Note: See TracBrowser
for help on using the repository browser.
