<?php

if ( $Globals['nextbox'] == "yes" && !(empty($filmstrips[0]) && empty($filmstrips[1]) && empty($filmstrips[3]) && empty($filmstrips[4])) ) {
$filmstrip = <<<PPPRINT
            <table cellpadding="0" cellspacing="5" border="0" width="98%" align="center">
PPPRINT;

    if ( THIS_SCRIPT == "showframe" && $init )
    {
        $keys = array( "&middot;", "&middot;", "&middot;", "&middot;", "&middot;", "&middot;", "&middot;" );
    }
    else
    {
        $keys = array( "&lt;&lt;&lt;", "&lt;&lt;", "&lt;", "&middot;", "&gt;", "&gt;&gt;", "&gt;&gt;&gt;" );
    }

    foreach( $filmstrips AS $frame => $strip )
    {
        if ( $strip ) {
$filmstrip .= <<<PPPRINT
           <tr>
           <td class="{$Style['tddetails']}" valign="middle" align="center" width="100%">
               $strip
               <span class="{$Style['small']}">{$keys[$frame]}</span>
           </td>
           </tr>
PPPRINT;
        }
    }

$filmstrip .= <<<PPPRINT
            </table>
PPPRINT;
}

?>
