<?php

/* $Id: Menubar_protected.php 53 2009-02-20 15:05:57Z kremer $ */

$pageid = $_GET['pageid'];

echo "<img src='/common/images/home_blue_come_testXAdES.gif' width='257' height='81' class='home_blue_leftnav' alt='come &amp; test' title='come &amp; test' />\n";
echo "<div class='home_blue_leftnav_body'>\n";
echo "<div class='home_blue_leftnav_content'>\n";

//Do not delete the next line. It's needed to overcome an IE bug/feature
echo "&nbsp";

// === 1. COMMON ========================================================

echo "<b><p class='copy_home_blue_heading'>Common</p></b>\n";

if ( $pageid == 'conduct1' ) { echo "<b>"; }
echo "<a href='/protected/common/conducting_plugtest.shtml' class='link_home_blue'>Conducting Plugtest</a>\n";
if ( $pageid == 'conduct1' ) { echo "</b>"; }

if ( ( $pageid == 'conduct1' ) or ( $pageid == 'conduct2' ) or ( $pageid == 'conduct3' ) or ( $pageid == 'conduct4' ) ) {
  if ( $pageid == 'conduct2' ) { echo "<b>"; }
  echo "<a href='/protected/common/conducting_plugtest_download.shtml' class='link_home_blue'>&nbsp&nbsp Downloading material</a>\n";
  if ( $pageid == 'conduct2' ) { echo "</b>"; }

  if ( $pageid == 'conduct3' ) { echo "<b>"; }
  echo "<a href='/protected/common/conducting_plugtest_generate.shtml' class='link_home_blue'>&nbsp&nbsp Generating signatures</a>\n";
  if ( $pageid == 'conduct3' ) { echo "</b>"; }

  if ( $pageid == 'conduct4' ) { echo "<b>"; }
  echo "<a href='/protected/common/conducting_plugtest_verify.shtml' class='link_home_blue'>&nbsp&nbsp Verifying signatures</a>\n";
  if ( $pageid == 'conduct4' ) { echo "</b>"; }
}

if ( $pageid == 'crypto1' ) { echo "<b>"; }
echo "<a href='/protected/common/cryptographic_material.shtml' class='link_home_blue'>Cryptographic Material</a>\n";
if ( $pageid == 'crypto1' ) { echo "</b>"; }

if ( ( $pageid == 'crypto1' ) or ( $pageid == 'crypto2' ) or ( $pageid == 'crypto3' ) or ( $pageid == 'crypto4' ) ) {
  if ( $pageid == 'crypto2' ) { echo "<b>"; }
  echo "<a href='/protected/common/cryptographic_material_scok.shtml' class='link_home_blue'>&nbsp&nbsp Scenario SCOK</a>\n";
  if ( $pageid == 'crypto2' ) { echo "</b>"; }

  if ( $pageid == 'crypto3' ) { echo "<b>"; }
  echo "<a href='/protected/common/cryptographic_material_sc1.shtml' class='link_home_blue'>&nbsp&nbsp Scenario SC1</a>\n";
  if ( $pageid == 'crypto3' ) { echo "</b>"; }
}

if ( $pageid == 'onlineservices' ) { echo "<b>"; }
echo "<a href='/protected/common/online_pki_related_services.shtml' class='link_home_blue'>Online PKI services details</a>\n";
if ( $pageid == 'onlineservices' ) { echo "</b>"; }

echo "<a href='/protected/capso/' class='link_home_blue'>Online PKI Services access</a>\n";
echo "<a href='/protected/tsp/' class='link_home_blue'>Online TSP Services access</a>\n";

if ( $pageid == 'attrib' ) { echo "<b>"; }
echo "<a href='/protected/common/attribute_certificate_issuance.shtml' class='link_home_blue'>Attribute Certificate Issuance</a>\n";
if ( $pageid == 'attrib' ) { echo "</b>"; }

if ( $pageid == 'participant1' ) { echo "<b>"; }
echo "<a href='/protected/common/participant_list.shtml' class='link_home_blue'>Participants' List</a>\n";
if ( $pageid == 'participant1' ) { echo "</b>"; }

if ( $pageid == 'meeting1' ) { echo "<b>"; }
echo "<a href='/protected/common/meetingsupport.shtml' class='link_home_blue'>Meeting Support</a>\n";
if ( $pageid == 'meeting1' ) { echo "</b>"; }

echo "<a href='/protected/common/presentations.shtml' class='link_home_blue'>Presentations</a>\n";

if ( ( $pageid == 'pres1' ) or ( $pageid == 'pres2' ) or ( $pageid == 'pres3' ) ) {

  if ( $pageid == 'pres2' ) { echo "<b>"; }
  echo "<a href='/protected/common/presentations_esi.shtml' class='link_home_blue'>&nbsp&nbsp ETSI ESI TC</a>\n";
  if ( $pageid == 'pres2' ) { echo "</b>"; }

  if ( $pageid == 'pres3' ) { echo "<b>"; }
  echo "<a href='/protected/common/presentations_XAdES.shtml' class='link_home_blue'>&nbsp&nbsp XAdES history</a>\n";
  if ( $pageid == 'pres3' ) { echo "</b>"; }
}

echo "<a href='http://list.etsi.org/archives/xades3_participants.html' class='link_home_blue' target='_blank'>Mailing List Archive</a>";
echo "<a href='http://xades-portal.etsi.org/protected/chat/index.php' class='link_home_blue' target='_blank'>Chat</a>";

if ( $pageid == 'sitemap1' ) { echo "<b>"; }
echo "<a href='/protected/common/sitemap.shtml' class='link_home_blue'>Site Map</a>\n";
if ( $pageid == 'sitemap1' ) { echo "</b>"; }

echo "<a href='/pub/index.shtml' class='link_home_blue'>Public pages</a>\n";

// === 2. XAdES ========================================================

echo "<p>&nbsp</p>";
echo "<b><p class='copy_home_blue_heading'>XAdES</p></b>\n";

if ( $pageid == 'testcase11' ) { echo "<b>"; }
echo "<a href='/protected/XAdES/Documentation/testcases.shtml' class='link_home_blue'>Test Cases</a>\n";
if ( $pageid == 'testcase11' ) { echo "</b>"; }

if ( $pageid == 'testcase12' ) { echo "<b>"; }
echo "<a href='/protected/XAdES/Documentation/testcases-comp.php' class='link_home_blue'>Verification Reports</a>\n";
if ( $pageid == 'testcase12' ) { echo "</b>"; }

if ( $pageid == 'testcase14' ) { echo "<b>"; }
echo "<a href='/protected/XAdES/stat_number_of_signatures.php' class='link_home_blue'>Stats per Form</a>\n";
if ( $pageid == 'testcase14' ) { echo "</b>"; }

if ( $pageid == 'upload1' ) { echo "<b>"; }
echo "<a href='/protected/upload.php?sigtype=xades' class='link_home_blue'>Upload</a>\n";
if ( $pageid == 'upload1' ) { echo "</b>"; }

if ( $pageid == 'download1' ) { echo "<b>"; }
echo "<a href='/protected/XAdES/download_xades.php' class='link_home_blue'>Download</a>\n";
if ( $pageid == 'download1' ) { echo "</b>"; }

if ( $pageid == 'xades-dir' ) { echo "<b>"; }
echo "<a href='/protected/XAdES/TestCases/' class='link_home_blue'>Test Data Directory</a>\n";
if ( $pageid == 'xades-dir' ) { echo "</b>"; }

if ( $pageid == 'review' ) { echo "<b>"; }
echo "<a href='/protected/XAdES/Documentation/xades-review.shtml' class='link_home_blue'>XAdES review issues</a>\n";
if ( $pageid == 'review' ) { echo "</b>"; }

if ( $pageid == 'issues1' ) { echo "<b>"; }
echo "<a href='/protected/XAdES/Documentation/known_issues.shtml' class='link_home_blue'>Known Issues</a>\n";
if ( $pageid == 'issues1' ) { echo "</b>"; }

if ( $pageid == 'questions1' ) { echo "<b>"; }
echo "<a href='/protected/XAdES/Documentation/questions.shtml' class='link_home_blue'>Questions & Answers</a>\n";
if ( $pageid == 'questions1' ) { echo "</b>"; }

// === 3. CAdES ========================================================

echo "<p>&nbsp</p>";
echo "<b><p class='copy_home_blue_heading'>CAdES</p></b>\n";

if ( $pageid == 'testcase21' ) { echo "<b>"; }
echo "<a href='/protected/CAdES/Documentation/testcases.shtml' class='link_home_blue'>Test Cases</a>\n";
if ( $pageid == 'testcase21' ) { echo "</b>"; }

if ( $pageid == 'testcase22' ) { echo "<b>"; }
echo "<a href='/protected/CAdES/Documentation/testcases-comp.php' class='link_home_blue'>Your Verification Reports</a>\n";
if ( $pageid == 'testcase22' ) { echo "</b>"; }

if ( $pageid == 'testcase23' ) { echo "<b>"; }
echo "<a href='/protected/CAdES/Documentation/result-interop.shtml' class='link_home_blue'>InteropMatrix Reports</a>\n";
if ( $pageid == 'testcase23' ) { echo "</b>"; }

if ( $pageid == 'testcase24' ) { echo "<b>"; }
echo "<a href='/protected/CAdES/stat_number_of_signatures.php' class='link_home_blue'>Stats per Form</a>\n";
if ( $pageid == 'testcase24' ) { echo "</b>"; }

if ( $pageid == 'upload2' ) { echo "<b>"; }
echo "<a href='/protected/upload.php?sigtype=cades' class='link_home_blue'>Upload</a>\n";
if ( $pageid == 'upload2' ) { echo "</b>"; }

if ( $pageid == 'download2' ) { echo "<b>"; }
echo "<a href='/protected/CAdES/download_cades.php' class='link_home_blue'>Download</a>\n";
if ( $pageid == 'download2' ) { echo "</b>"; }

if ( $pageid == 'cades-dir' ) { echo "<b>"; }
echo "<a href='/protected/CAdES/TestCases/' class='link_home_blue'>Test Data Directory</a>\n";
if ( $pageid == 'cades-dir' ) { echo "</b>"; }

if ( $pageid == 'issues2' ) { echo "<b>"; }
echo "<a href='/protected/CAdES/Documentation/known_issues.shtml' class='link_home_blue'>Known Issues</a>\n";
if ( $pageid == 'issues2' ) { echo "</b>"; }

if ( $pageid == 'questions2' ) { echo "<b>"; }
echo "<a href='/protected/CAdES/Documentation/questions.shtml' class='link_home_blue'>Questions & Answers</a>\n";
if ( $pageid == 'questions2' ) { echo "</b>"; }

echo "</div>\n";
echo "</div>\n";
echo "<img src='/common/images/home_blue_leftnav_btm.gif' width='257' height='16' class='home_blue_leftnav' alt='' />\n";
?>
