Newer
Older
WebMCR / upload / blocks / 4_banner.php
@Qexy Qexy on 26 Feb 2016 320 bytes Big update to Beta 1.0
<?php

if(!defined("MCR")){ exit("Hacking Attempt!"); }

class block_banner{
	private $core;

	public function __construct($core){
		$this->core = $core;
	}

	public function content(){
		if(!$this->core->is_access("sys_adm_main")){ return; }

		return $this->core->sp(MCR_THEME_PATH."blocks/banner/main.html");
	}
}

?>