<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: copyright_func.php
| Author: PHP-Fusion Mods UK
| Developers: Craig
| Sites: http://www.phpfusionmods.co.uk
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

// Please do not remove copyright info

function showccocopyright() {
	
global $settings;
if (file_exists(INFUSIONS."cookie_control/locale/".$settings['locale'].".php")) {
	include INFUSIONS."cookie_control/locale/".$settings['locale'].".php";
} else {
	include INFUSIONS."cookie_control/locale/English.php";
}	
include INFUSIONS."cookie_control/infusion_db.php";

$title = $locale['ecdp_001'];
   
$data_version = dbarray(dbquery("SELECT inf_version FROM ".DB_INFUSIONS." WHERE inf_folder = 'cookie_control'"));	
$version = $data_version['inf_version'];
 
          
return "<br /><div class='small' style='text-align:right; margin-top:30px;'><div style='margin-left: auto; margin-right: auto; margin-bottom: 5px; background-color: #ccc; height: 1px; width: 70%;'></div>".$title." v".$version."  &copy; <a target='_blank' href='http://www.phpfusionmods.co.uk'>PHP-Fusion Mods UK</a> ".date("Y")."<br /></div>\n";

	}

?>