Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 44 lines (42 sloc) 1.641 kb
46e63f6 @Shadez [259] Added static armory FAQ pages
Shadez authored
1 <?php
2
3 /**
4 * @package World of Warcraft Armory
da12a40 @Shadez [450] Armory Release 4.50
Shadez authored
5 * @version Release 4.50
6 * @revision 450
25f0819 @Shadez [439] It`s about time to update headers. Happy New Year!
Shadez authored
7 * @copyright (c) 2009-2011 Shadez
46e63f6 @Shadez [259] Added static armory FAQ pages
Shadez authored
8 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 **/
24
25 define('__ARMORY__', true);
26 define('skip_utils_class', true);
27 if(!@include('includes/armory_loader.php')) {
28 die('<b>Fatal error:</b> unable to load system files.');
29 }
30 header('Content-type: text/xml');
31 // Load XSLT template
32 $xml->LoadXSLT('faq/faq-template.xsl');
33 $xml->XMLWriter()->startElement('page');
34 $xml->XMLWriter()->writeAttribute('globalSearch', 1);
c647db0 @Shadez [440] Use static methods in Armory class
Shadez authored
35 $xml->XMLWriter()->writeAttribute('lang', Armory::GetLocale());
46e63f6 @Shadez [259] Added static armory FAQ pages
Shadez authored
36 $xml->XMLWriter()->startElement('faq');
37 $xml->XMLWriter()->startElement('auctionHouseFaq');
38 $xml->XMLWriter()->endElement(); //auctionHouseFaq
39 $xml->XMLWriter()->endElement(); //faq
40 $xml->XMLWriter()->endElement(); //page
41 $xml_cache_data = $xml->StopXML();
42 echo $xml_cache_data;
43 exit;
44 ?>
Something went wrong with that request. Please try again.