Newer
Older
WebMCR / upload / blocks / 2_profile.php
@Qexy Qexy on 26 Feb 2016 365 bytes Big update to Beta 1.0
<?php

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

class block_profile{
	private $core, $user;

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

	public function content(){
		$authfile = (!$this->user->is_auth) ? "unauth" : "auth";

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

?>