<?php

/*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*\
<< ******************************************************************** >>
<< * ---------------------------------------------------------------- * >>
<< * Copyright ©2011-2012 Ozzy47                                      * >>
<< * All Rights Reserved. 											  * >>
<< * This file may not be redistributed in whole or significant part. * >>
<< * ---------------------------------------------------------------- * >>
<< * You are not allowed to use this on your server unless the files  * >>
<< * you downloaded were done so with permission.					  * >>
<< * ---------------------------------------------------------------- * >>
<< ******************************************************************** >>
\*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*/

unset($dbt_foot_str);
	if ($vbulletin->options['dbtech_vbnavtabs_420_active'])
	{
		$isPro = false;
		

		// Show branding or not
		$show['vbnavtabs_420_branding'] = $vbulletin->options['dbtech_vbnavtabs_420_branding_free'] != '25' . '59' . '9748' . '-cf' . '3d4c' . '3d7' . '77' . '8' . '41a' . 'a1' . '0c6' . '9' . 'e81d' . '63' . '3c' . '48' . '2' . '';
		$show['dbtech_vbnavtabs_420_producttype'] = ($isPro ? ' (Pro)' : ' (Lite)');

		if ($show['vbnavtabs_420_branding'] AND !$show['_dbtech_branding_override'])
		{
		    $brandingVariables = array(
		        'flavour'             => 'NavTabs provided by ',
		        'productid'         => 120,
		        'utm_source'         => str_replace('www.', '', htmlspecialchars_uni($_SERVER['HTTP_HOST'])),
		        'utm_content'         => ($isPro ? 'Pro' : 'Lite'),
		        'referrerid'         => $vbulletin->options['dbtech_vbnavtabs_420_referral'],
		        'title'             => 'vBNavTabs',
		        'displayversion'     => $vbulletin->options['dbtech_vbnavtabs_420_displayversion'],
		        'version'             => '1.3.3',
		        'producttype'         => $show['dbtech_vbnavtabs_420_producttype']
		    );

		    $str = $brandingVariables['flavour'] . '
		        <a rel="nofollow" href="http://www.dragonbyte-tech.com/vbecommerce.php' . ($brandingVariables['productid'] ? '?productid=' . $brandingVariables['productid'] . '&do=product&' : '?') . 'utm_source=' . $brandingVariables['utm_source'] . '&utm_campaign=product&utm_medium=' . urlencode(str_replace(' ', '+', $brandingVariables['title'])) . '&utm_content=' . $brandingVariables['utm_content'] . ($brandingVariables['referrerid'] ? '&referrerid=' . $brandingVariables['referrerid'] : '') . '" target="_blank">' . $brandingVariables['title'] . ($brandingVariables['displayversion'] ? ' v' . $brandingVariables['version'] : '') . $brandingVariables['producttype'] . '</a> -
		        <a rel="nofollow" href="http://www.dragonbyte-tech.com/?utm_source=' . $brandingVariables['utm_source'] . '&utm_campaign=site&utm_medium=' . urlencode(str_replace(' ', '+', $brandingVariables['title'])) . '&utm_content=' . $brandingVariables['utm_content'] . ($brandingVariables['referrerid'] ? '&referrerid=' . $brandingVariables['referrerid'] : '') . '" target="_blank">vBulletin Mods &amp; Addons</a> Copyright &copy; ' . date('Y') . ' DragonByte Technologies Ltd.';
		    $vbulletin->options['copyrighttext'] = (trim($vbulletin->options['copyrighttext']) != '' ? $str . '<br />' . $vbulletin->options['copyrighttext'] : $str);
		}
	}
unset($dbt_foot_str);

/*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*\
<< ********************************************************************* >>
<< * Created: 09:30, Fri June 8th 2012                                 * >>
<< * VER: 1.0.0                                                        * >>
<< ********************************************************************* >>
\*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*/

?>