Initial commit
This commit is contained in:
20
index.php
Normal file
20
index.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
include 'php/classes/page.php';
|
||||
include 'functions/func_xml.php';
|
||||
|
||||
$page = new Page();
|
||||
$page->init_user();
|
||||
|
||||
$page->attr('title','Your Christian Travel Resource');
|
||||
$page->content('home.php');
|
||||
$page->useJSFile('jquery.min.js');
|
||||
$page->addJSFile('default.js');
|
||||
|
||||
# get news items
|
||||
$news = xml_get_from_file($FILES['news']);
|
||||
$page->data('news',$news->xpath('newsitem'));
|
||||
|
||||
$page->process();
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user