This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author Axl Hoogelander | |
* @copyright 2012 | |
* @description How 2 use the class | |
*/ | |
include 'uploader.php'; | |
if(isset($_POST['upload'])): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author Axl Hoogelander | |
* @copyright 2012 | |
*/ | |
$url = 'http://bitbucket.org/AxlH/easycms/rss'; | |
$rss = simplexml_load_file($url); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author Axl Hoogelander | |
* @copyright 2012 | |
*/ | |
class RSS_Feed{ | |
private $url; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php error_reporting(E_ALL||E_STRICT); | |
ini_set('display_errors', 1); | |
//@author: Axl Hoogelander// | |
//@description: This template parser will be really usefull// | |
class Template{ | |
private $assign = array(); | |
private static $file; |