<?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="100%" align="center">
            <tr>
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;" );
    }

    $filmstrips[0] = $filmstrips[6] = null;

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


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

?>
