Файл: DESURE-dcms-f12de01ac63e/dpanel/license.php
Строк: 20
<?php
include_once '../sys/inc/start.php';
$doc = new document(groups::max());
$doc->title = __('Лицензионное соглашение');
$doc->ret(__('Админка'), './');
if (is_file(H . '/sys/docs/license_' . $user_language_pack->code . '.txt'))
$bb = new bb(H . '/sys/docs/license_' . $user_language_pack->code . '.txt'); else
$bb = new bb(H . '/sys/docs/license.txt');
if ($bb->title)
$doc->title = $bb->title;
$listing = new listing();
$post = $listing->post();
$post->content[] = $bb->getText();
$listing->display();