-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreal_js.php
38 lines (35 loc) · 937 Bytes
/
real_js.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
# **************************************************************************#
# MolyX2
# ------------------------------------------------------
# @copyright (c) 2009-2010 MolyX Group..
# @official forum http://molyx.com
# @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 2.0
#
# $Id$
# **************************************************************************#
define('THIS_SCRIPT', 'real_js');
require_once('./global.php');
class attach
{
function show()
{
global $_INPUT, $forums;
$id = intval($_INPUT['id']);
$forums->func->check_cache('realjs');
if (!is_array($forums->cache['realjs'][$id]))
{
$htmlcode = "";
}
else
{
require_once(ROOT_PATH . 'includes/adminfunctions_javascript.php');
$this->lib = new adminfunctions_javascript();
$htmlcode = $this->lib->createjs($forums->cache['realjs'][$id], 0);
}
echo $htmlcode;
}
}
$output = new attach();
$output->show();
?>