<?php
    
require("{$_SERVER['TEMPLATE_PATH']}/template4.inc");
    // TEMPLATE_PATH is defined in the .htaccess file and varies between the sandbox and production environments. NEVER HARDCODE THAT PATH.

    
$smarty->assign("buttons",
        array(
            array(
                
'label' => 'Static Dissipation',
                
'text'  => file_get_contents("$content/page7.htm"),
                
'link'  => "$pages/page7.php",
                
'image' => "$images/topic-static_dissipation.jpg",
                
'top'   => '35',
                
'left'  => '181',
            ),
            array(
                
'label' => 'Friction',
                
'text'  => file_get_contents("$content/page8.htm"),
                
'link'  => "$pages/page8.php",
                
'image' => "$images/topic-friction.jpg",
                
'top'   => '69',
                
'left'  => '206',
            ),
            array(
                
'label' => 'Adsorption',
                
'text'  => file_get_contents("$content/page9.htm"),
                
'link'  => "$pages/page9.php",
                
'image' => "$images/topic-adsorption.jpg",
                
'top'   => '67',
                
'left'  => '187',
            ),
            array(
                
'label' => 'Thermal / Ablative',
                
'text'  => file_get_contents("$content/page10.htm"),
                
'link'  => "$pages/page10.php",
                
'image' => "$images/topic-thermal_ablative.jpg",
                
'top'   => '136',
                
'left'  => '200',
            ),
        )
    );
    
$smarty->assign("subtitle", "Carbon Based Mtls");
    
$smarty->assign("body",
        array(
            
'label' => $smarty->get_template_vars('subtitle'),
            
'text'  => file_get_contents("$content/".basename($_SERVER['SCRIPT_NAME'], '.php').".htm"),
            
'image' => "$images/topic-carbon_based_mtls.jpg",
            
'top'   => '105',
            
'left'  => '230',
        )
    );
?>