forked from gash/revised_scavdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathevents.php
More file actions
28 lines (17 loc) · 676 Bytes
/
Copy pathevents.php
File metadata and controls
28 lines (17 loc) · 676 Bytes
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
<?php
require_once('snaf/all.php');
snaf_load_components(array('events','itemlist','list','layout'));
$data = get_events_data($_REQUEST);
//$layout = array();
//$layout['TITLE'] = 'Events';
$list = get_itemlist_data(array('page'=>$page,'status'=>$status,'tag'=>$tag,'sort'=>$_REQUEST['sort'],'status_match' => 'event'));
$layout = array();
$layout['TITLE'] = 'Events';
$itemlist['TITLE'] = $layout['TITLE'];
$layout['BODY'] = array_merge(array($data), array($list));
//$layout['BODY'] = array($data);
$top_layout = array('BODY'=>array($layout));
echo build_layout_html($layout);
//$top_layout = array('BODY'=>array($layout));
//echo build_layout_html($layout);
?>