root/tags/1.1.0/learn_bb.php

Revision 1707, 0.5 KB (checked in by jeena, 10 months ago)

changed require prepend.inc.php instead setting.inc.php

Line 
1<?php
2 require_once('.'.DIRECTORY_SEPARATOR.'scripts'.DIRECTORY_SEPARATOR.'prepend.inc.php');
3 $version = $_GET['v'];
4
5if($version == "small") {
6echo "
7 <html>
8  <head>
9  <title>".$l['bbtitle']."</title>
10   <link rel='stylesheet' href='".JLOG_PATH."/personal/css/popup.css' type='text/css' media='screen' />
11  </head>
12  <body>
13   <h1>".$l['bbtitle']."</h1>
14     ".$l['bbxmp']."
15  </body>
16 </html>";
17}
18
19else {
20 $c['title'] = $l['bbtitle'];
21 $c['main'] = $l['bbxmp'];
22
23require(JLOG_BASEPATH.'scripts'.DIRECTORY_SEPARATOR.'do_template.php');
24echo $body;
25
26}
27?>
Note: See TracBrowser for help on using the browser.