name : head.php
<?php
defined( '_JEXEC' ) or die( 'Restricted index access' );

$document->addStyleSheet('templates/'.$this->template.'/css/animate.css');
$document->addStyleSheet('templates/'.$this->template.'/css/vegas.css');
if ($fontawesome_sw) {
    $document->addStyleSheet('templates/'.$this->template.'/css/font-awesome.css');
}
$document->addStyleSheet('templates/'.$this->template.'/css/nexus.css');

if($this->params->get('responsive_sw')) {
	$document->addStyleSheet('templates/'.$this->template.'/css/responsive.css');
} 

if($this->direction == 'rtl') {
	$document->addStyleSheet('templates/'.$this->template.'/css/template_rtl.css');
}

$googlefonts = array($body_fontstyle, $h1head_fontstyle, $articlehead_fontstyle, $logo_fontstyle, $modulehead_fontstyle, $hornav_fontstyle, $h4head_fontstyle);
$websafefonts = array("Arial, sans-serif", "Arial, Helvetica, sans-serif", "Courier, monospace", "Garamond, serif", "Georgia, serif", "Impact, Charcoal, sans-serif", "Lucida Console, Monaco, monospace", "MS Sans Serif, Geneva, sans-serif", "MS Serif, New York, sans-serif", "Palatino Linotype, Book Antiqua, Palatino, serif", "Tahoma, Geneva, sans-serif", "Times New Roman, Times, serif", "Trebuchet MS, Helvetica, sans-serif", "Verdana, Geneva, sans-serif", "Arial");
$googlefonts = array_diff($googlefonts, $websafefonts); // remove websafe
$googlefonts = array_keys(array_flip($googlefonts)); // remove duplicates
$font_subset = str_replace(' ', '', $font_subset); // remove spaces
foreach ($googlefonts as $v) { // loop
    echo '<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family='.$v.':400,600,700&amp;&subset='.$font_subset.'" /> ';
}

$particles = '<div id="particles-js"></div>';

require_once ('style.php')

?>

© 2025 Cubjrnet7