Skip to content

Instantly share code, notes, and snippets.

<?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;
<?php
/**
* @author Axl Hoogelander
* @copyright 2012
*/
class RSS_Feed{
private $url;
<?php
/**
* @author Axl Hoogelander
* @copyright 2012
*/
$url = 'http://bitbucket.org/AxlH/easycms/rss';
$rss = simplexml_load_file($url);
<?php
/**
* @author Axl Hoogelander
* @copyright 2012
* @description How 2 use the class
*/
include 'uploader.php';
if(isset($_POST['upload'])):