Просмотр файла pages/bb-code.php

Размер файла: 1.79Kb
<?php
/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\//
// Sitchi CMS - Mobile Content Management System //
// The author:  Nikoloz Sitchinava [sitchi]      //
// Link:        http://sitchicms.num.ge          //
// Skype:       SitchiCMS                        //
// License:     LICENSE.txt (see attached file)  //
// Version:     VERSION.txt (see attached file)  //
//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
define('_SITCHICMS', 1);
$root_path='../';
require $root_path.'includes/db_connect.php';
require $root_path.'includes/start.php';
require $root_path.'includes/header.php';
require $root_path.'includes/functions.php';
require $root_path.'includes/head.php'; // თავი
$lng_bbcode = load_lng('bb-code');
head(''.$lng_bbcode['1_1'].' '.$_SERVER['HTTP_HOST']); 
echo'<div class="hdr">'.$lng_bbcode['1_1'].'</div>';
echo'<div class="menu">
[b]<b>'.$lng_bbcode['1_2'].'</b>[/b]<br/>
[big]<big>'.$lng_bbcode['1_3'].'</big>[/big]<br/>
[i]<i>'.$lng_bbcode['1_4'].'</i>[/i]<br/>
[u]<u>'.$lng_bbcode['1_5'].'</u>[/u]<br/>
[small]<small>'.$lng_bbcode['1_6'].'</small>[/small]<br/>
[red]<span style="color:#f00000">'.$lng_bbcode['1_7'].'</span>[/red]<br/>
[green]<span style="color:#00f000">'.$lng_bbcode['1_8'].'</span>[/green]<br/>
[blue]<span style="color:#0000f0">'.$lng_bbcode['1_9'].'</span>[/blue]<br/>
[yellow]<span style="color:#FFFF00">'.$lng_bbcode['1_10'].'</span>[/yellow]<br/>
[size=4]<span style="font-size:4">'.$lng_bbcode['1_11'].'</span>[/size]
<br/>
[url=http://'.$_SERVER['HTTP_HOST'].']<a href="http://'.$_SERVER['HTTP_HOST'].'">'.$lng_bbcode['1_12'].'</a>[/url]</div>';
if (isset($_SERVER['HTTP_REFERER']))
echo'<a href="'.htmlspecialchars($_SERVER['HTTP_REFERER']).'"> '.$lng['1_50'].'</a>';
require $root_path.'includes/end.php'; // დასასრული
?>