<?php

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

echo '		<link rel="stylesheet" href="/common/css/styles.css" type="text/css" /> ';


/*
echo '<style type="text/css"> ';
 echo ' ul ul {display: none; position: absolute; left: 144px; top: -1px; margin:0px; padding: 0px; border: 1px solid grey;}';
 echo ' li {list-style-type: none; position: relative; width: 140px; background-color: #E0E0E0; padding: 2px; margin: 0px}';
 echo ' li:hover {background-color: #FFFF70;}';
 echo ' li:hover ul.niveau2, li li:hover ul.niveau3 {display: block}';
 echo ' li.plus {background-position:right; background-image: url(illustrations/fdroite.gif); background-repeat: no-repeat; border-bottom: 1px solid grey;}';
echo '</style>';
*/


$pageid = $_GET['pageid'];

// Get username : used for granting access to admin account
$username = $_SERVER['REMOTE_USER'];

//LVZ 2013-01-31 rmove picture to get clarity
// 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";



//$comp = get_company_name ( $login, $db_server, $db_username, $db_password, $db_dbname, $debug );
/*

$comp = $_GET['comp'];

if ( $comp == '' ) {
  // Get user's login name
  $login = $_SERVER['REMOTE_USER'];
 
 

  // Get user's company name
 //$comp = get_company_name ( $login, $db_server, $db_username, $db_password, $db_dbname, $debug );
}

*/


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





// === 1. COMMON  for XAdES ========================================================


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



echo "<div id='menu'>";
				
echo "		        <ul id='navig'>";

	echo "				       <li><a href='#'>Testing Procedure</a>";
	echo "				         <ul>";
	echo "				           <li><a  href='/protected/common_xades/conducting_plugtest.shtml' >Conducting Plugtests</a></li>";
	echo "				           <li><a href='/protected/common_xades/conducting_plugtest_interactions.shtml' class='menu'>Interactions with portal</a></li>";
	echo "				           <li><a href='/protected/common_xades/conducting_plugtest_download.shtml'>Downloading material</a></li>";
	echo "				           <li><a href='/protected/common_xades/conducting_plugtest_cross_verification.shtml'>Generation & cross-verif</a></li>";
	echo "				           <li><a href='/protected/common_xades/conducting_plugtest_augmentation.shtml'>Augmentation & Arbitration</a></li>";
	echo "				           <li><a href='/protected/common_xades/conducting_plugtest_only_verification.shtml'>Only verification</a></li>";
						
		echo "			         </ul>";
       echo "        </li>               ";
	   
	   
	 
	echo "				       <li><a href='#'>Cryptographic</a>";
	echo "				         <ul>";
	echo "				           <li><a  href='/protected/common_xades/cryptographic_material.shtml'>Cryptographic material</a></li>";
	echo "				           <li><a href='/protected/common_xades/cryptographic_material_scok.shtml'>Scenario SCOK</a></li>";
	echo "				           <li><a href='/protected/common_xades/cryptographic_material_scok2.shtml'>Scenario SCOK2</a></li>";
	echo "				           <li><a href='/protected/common_xades/cryptographic_material_scun.shtml'>Scenario SCUN</a></li>";
	//echo "				           <li><a href='/protected/common_xades/cryptographic_material_sc12.shtml'>Trust Framework 2. SC12</a></li>";
	//echo "				           <li><a href='/protected/common_xades/conducting_plugtest_only_verification.shtml'>Only verification</a></li>";
						
		echo "			         </ul>";
       echo "        </li>               ";

	   
	echo "				       <li><a href='#' class='menu'>PKI services</a>";
	echo "				         <ul>";
	echo "				           <li><a  href='/protected/common_xades/online_pki_related_services.shtml' class='menu'>Online PKI services details</a></li>";
	echo "<li><a href='http://xadessrv.plugtests.net/protected/capso/' class='menu'' target='_blank'>Online PKI Services access</a></LI>\n";
	echo "<li><a href='http://xadessrv.plugtests.net/protected/tsp/' class='menu'' target='_blank'>Online TSP Services (TSA1)</a></LI>\n";
	echo "<li><a href='http://xadessrv.plugtests.net/protected/tsp2/' class='menu'' target='_blank'>Online TSP Services (TSA2)</a></LI>\n";
	echo "<li><a href='http://xadessrv.plugtests.net/protected/tsp3/' class='menu'' target='_blank'>Online TSP Services (TSA3)</a></LI>\n";
						
		echo "			         </ul>";
       echo "        </li>               ";
	   
	   
	   
	   
	   echo "				       <li><a href='#'>Attribute Certificate</a>";
	echo "				         <ul>";
	echo "				           <li><a  href='/protected/common_xades/attribute_certificate_issuance.shtml' class='menu'>ACert Issuance</a></li>";
	echo "				           <li><a href='/protected/upload.php?sigtype=acert' class='menu'>ACert Request</a></li>";
	
						
		echo "			         </ul>";
       echo "        </li>               ";
	 
			

  echo "				       <li><a href='/protected/Admin/participant_list.shtml' class='menu'>Participants List</a>";
   echo "				       <li><a href='/protected/common_xades/meetingsupport.shtml' class='menu'>Meeting Support</a>";
   
      echo "				       <li><a href='http://xades-portal.etsi.org/protected/chat/index.php' class='menu' target='_blank'>Chat</a>";
	  
	#     echo "				       <li><a href='/protected/common_xades/known_issues.shtml' class='menu'>Known Issues</a>";
		 
		 
		 
		    echo "				       <li><a href='#'>Standards</a>";
	echo "				         <ul>";
	echo "							<li><a  href='http://www.etsi.org/deliver/etsi_ts/101900_101999/101903/01.04.02_60/ts_101903v010402p.pdf' class='menu' target='_blank'>ETSI_TS_101903_v1.4.2</a></li>";
	echo "							<li><a  href='http://www.etsi.org/deliver/etsi_ts/103100_103199/103171/02.01.01_60/ts_103171v020101p.pdf ' class='menu' target='_blank'>ETSI_TS_103171_v2.1.1</a></li>";
	echo "							<li><a  href='http://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.00.00_20/' class='menu' target='_blank'>ETSI_pre_EN_319132-1</a></li>";
	echo "							<li><a  href='http://www.etsi.org/deliver/etsi_en/319100_319199/31913202/01.00.00_20/' class='menu' target='_blank'>ETSI_pre_EN_319132-2</a></li>";
	
	
	
	
#	echo "				           <li><a  href='/protected/common_xades/presentations.shtml' class='menu'>Presentations ASiC</a></li>";
#	echo "				           <li><a href='/protected/common_xades/presentations_esi.shtml' class='menu'>ETSI ESI TC</a></li>";
		echo "							<li><a  href='http://www.etsi.org/technologies-clusters/technologies/security/electronic-signature' class='menu' target='_blank'>ETSI ESI TC</a></li>";
#	echo "				           <li><a href='/protected/common_xades/presentations_XAdES.shtml' class='menu'>XAdES history</a></li>";
						
						 
						
		echo "			         </ul>";
       echo "        </li>               ";
	   

		if (($username == 'velez') || ( $username == "compans" )) {
		
		
					
	echo "		        <ul id='navig'>";

	echo "				       <li><a href='#'>Admin</a>";
	echo "				         <ul>";
	echo "				           <li><a href='/protected/Admin/account.shtml' >Account</a>";
	echo "				       <li><a href='/protected/XAdESConf/stat_number_of_signatures_xadesconf.php' >Stats XAdES Conformance</a>";
	echo "				       <li><a href='/protected/Acert/stat_number_of_signatures_acert.php' >Stats Acert</a>";					
		echo "			         </ul>";
       echo "        </li>               ";
	   
		
		
	echo "      </li>   ";   
	}
	   
 //    echo "				       <li><a href='/pub/index.shtml' class='menu'>Back to Public pages</a>";
			 
			 
			 

			  
		echo "		    </ul>";
	echo "	</div>";

	



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


echo "<div id='menu'>";
	
echo "		        <ul id='navig'>";

	echo "				       <li><a href='/protected/XAdES/Documentation/testcase-definitions.shtml'>Test Definition Lang.</a>";
	
	echo "				       <li><a href='/protected/XAdES/Documentation/testcases.shtml' >Test Cases</a>";
	echo "				       <li><a href='/protected/XAdES/Documentation/result-interop.shtml'>Results per Testcase</a>";
	
echo "				       <li><a href='/protected/XAdES/Documentation/testcases-comp.php' >Verification Reports</a>";

echo "				       <li><a href='/protected/XAdES/Documentation/testcases-comp-etsi.php?comp=ETSI' >Negative Reports</a>";

//echo "				       <li><a href='/protected/XAdES/Documentation/testcases-comp.php?comp='.$comp' >Verification Reports</a>";
	
	/*
		if (($username == 'velez') || ( $username == "compans" )) {
echo "				       <li><a href='/protected/XAdES/stat_number_of_signatures.php' >Stats(Admin)</a>";
	echo "      </li>   ";   
	}
	
	*/
	
	echo "				       <li><a href='/protected/XAdES/stat_number_of_signatures.php' >Stats per Form</a>";
	
	echo "				       <li><a href='/protected/upload.php?sigtype=xades' >Upload</a>";
		
	echo "				       <li><a href='/protected/XAdES/download_xades.php' >Download</a>";
			
	echo "				       <li><a href='/protected/XAdES/TestCases/' >Test Data Directory</a>";
	
//	echo "				       <li><a href='/protected/XAdES/Documentation/XAdES_questions.shtml' >Questions & Answers</a>";
	
	echo "				       <li><a href='/protected/upload.php?sigtype=xadesconf'>Conformance Checker</a>";
				
		
	
	   	echo "		    </ul>";
				    
	echo "	</div>";

	   


echo "</div>\n";
echo "</div>\n";





//LVZ 2013-02-01 remove round bottom of menubar  as the backgound color of home_blue_leftnav_body in microsite_blue has been set to white instead of image.

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

