-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevents_event_list_upcoming.php
59 lines (48 loc) · 2.07 KB
/
events_event_list_upcoming.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/* (C) Websplosion LTD., 2001-2014
IMPORTANT: This is a commercial software product
and any kind of using it must agree to the Websplosion's license agreement.
It can be found at http://www.chameleonsocial.com/license.doc
This notice may not be removed from the source code. */
include("./_include/core/main_start.php");
require_once("./_include/current/events/custom_head.php");
require_once("./_include/current/events/header.php");
require_once("./_include/current/events/sidebar.php");
require_once("./_include/current/events/tools.php");
require_once("./_include/current/events/event_show.php");
require_once("./_include/current/events/event_image_list.php");
require_once("./_include/current/events/event_guest_list.php");
require_once("./_include/current/events/event_comment_list.php");
require_once("./_include/current/events/event_list.php");
class CEvents extends CHtmlBlock
{
function action()
{
global $g_user;
global $l;
global $g;
}
function parseBlock(&$html)
{
global $g_user;
global $l;
global $g;
parent::parseBlock($html);
}
}
$page = new CEvents("", $g['tmpl']['dir_tmpl_main'] . "events_event_list_upcoming.html");
$header = new CHeader("header", $g['tmpl']['dir_tmpl_main'] . "_header.html");
$events_custom_head = new CEventsCustomHead("custom_head", $g['tmpl']['dir_tmpl_main'] . "_events_custom_head.html");
$header->add($events_custom_head);
$page->add($header);
$footer = new CFooter("footer", $g['tmpl']['dir_tmpl_main'] . "_footer.html");
$page->add($footer);
$events_header = new CEventsHeader("events_header", $g['tmpl']['dir_tmpl_main'] . "_events_header.html");
$page->add($events_header);
$events_sidebar = new CEventsSidebar("events_sidebar", $g['tmpl']['dir_tmpl_main'] . "_events_sidebar.html");
$events_sidebar->m_second_block = "popular_finished";
$page->add($events_sidebar);
$events_event_list = new CEventsEventList("events_event_list", $g['tmpl']['dir_tmpl_main'] . "_events_event_list.html");
$events_event_list->m_list_type = "upcoming";
$page->add($events_event_list);
include("./_include/core/main_close.php");