![]() |
|
|||||||
', $error ); ?> | ||||||||
";
print "";
}
else {
print "";
$htmlSID = htmlspecialchars(SID);
print "";
}
?>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() (rev) (top) (clear) (track) (fasta) (png) |
![]() |
|||
---|---|---|---|
";
if( strlen($description_url) > 0 ) {
print "";
}
print "![]() ![]() ![]() | \n";
// processing Operation Layer
$oper_flags = array();
if( array_key_exists('operation',$track['layers']) && $track['layers']['operation'] ) {
//$operation_layer_url = $track['layers']['operation']['url'].'?'.$query4thistrack_str;
$operation_layer_url = $track['layers']['operation']['url'];
if (preg_match("/\?fileurl=/", $operation_layer_url)) { $operation_layer_url .= "&"; }
else if (preg_match("/\?tid=/", $operation_layer_url)) { $operation_layer_url .= "&"; }
else { $operation_layer_url .= "?"; }
$operation_layer_url .= $query4thistrack_str;
$operation_layer_xmlstr = http_get( $operation_layer_url, 30 );
$operation = parse_operation_xml( $operation_layer_xmlstr );
$picked_menus_list[] = pick_menuoper( $operation, $name );
if( $operation ) {
assert( $operation['type'] == 'operation_layer' );
if( count($operation['areas']) > 0 ) {
print "";
}
}
}
// processing Index Operation Layer
$indexoper_flags = array();
if( array_key_exists('indexoperation',$track['layers']) && $track['layers']['indexoperation'] ) {
//$operation_layer_url = $track['layers']['indexoperation']['url'].'?'.$query4thistrack_str;
$operation_layer_url = $track['layers']['indexoperation']['url'];
if (preg_match("/\?fileurl=/", $operation_layer_url)) { $operation_layer_url .= "&"; }
else if (preg_match("/\?tid=/", $operation_layer_url)) { $operation_layer_url .= "&"; }
else { $operation_layer_url .= "?"; }
$operation_layer_url .= $query4thistrack_str;
$operation_layer_xmlstr = http_get( $operation_layer_url, 30 );
$operation = parse_operation_xml( $operation_layer_xmlstr );
$picked_menus_list[] = pick_menuoper( $operation, $name.'i' );
if( $operation ) {
assert( $operation['type'] == 'operation_layer' );
if( count($operation['areas']) > 0 ) {
print "";
}
}
}
// printing images
$ismap_oper = array_key_exists('mouseclick_subop',$oper_flags) && $oper_flags['mouseclick_subop'] ? ' ismap' : '';
$ismap_index = array_key_exists('mouseclick_subop',$indexoper_flags) && $indexoper_flags['mouseclick_subop'] ? ' ismap' : '';
if( array_key_exists('index',$track['layers']) && $track['layers']['index'] ) {
$index_layer_url = $track['layers']['index']['url'];
if (preg_match("/\?fileurl=/", $index_layer_url)) { $index_layer_url .= "&"; }
else if (preg_match("/\?tid=/", $index_layer_url)) { $index_layer_url .= "&"; }
else { $index_layer_url .= "?"; }
print "";
if( array_key_exists('mouseclick_subop',$indexoper_flags) && $indexoper_flags['mouseclick_subop'] ) { ; } // not implemented
if( array_key_exists('mouseclick_link',$indexoper_flags) && $indexoper_flags['mouseclick_link'] ) {
print " | ";
}
else {
print ""; } $graphic_layer_url = $track['layers']['graphic']['url']; if (preg_match("/\?fileurl=/", $graphic_layer_url)) { $graphic_layer_url .= "&"; } else if (preg_match("/\?tid=/", $graphic_layer_url)) { $graphic_layer_url .= "&"; } else { $graphic_layer_url .= "?"; } print " | ";
if( array_key_exists('mouseclick_subop',$oper_flags) && $oper_flags['mouseclick_subop'] ) {
print "";
}
if( array_key_exists('mouseclick_link',$oper_flags) && $oper_flags['mouseclick_link']) {
print " | ";
}
if( array_key_exists('mouseclick_subop',$oper_flags) && $oper_flags['mouseclick_subop'] ) {
print "";
}
print "
![]() |