Ejemplo n.º 1
0
function menu($menu = array())
{
    ?>
	<ul>
		<?php 
    foreach ($menu as $menu1) {
        ?>
		<li><a href="index.php?halaman=<?php 
        echo nospace($menu1);
        ?>
"><?php 
        echo $menu1;
        ?>
</a></li>
		<?php 
    }
    ?>
		<div style="clear:both;"></div>
	</ul>
	<?php 
}
Ejemplo n.º 2
0
		<CURVE>' . $CURVES . '</CURVE>
		<PROFILING>' . $PROFILING . '</PROFILING>
		' . $TRACE_FILE . '
		<PERFORMANCE_METRICS>
			    <THROUGHPUT>' . $THROUGHPUT . '</THROUGHPUT>
			    <LATENCY>' . $LATENCY . '</LATENCY>
			    <LOSS_RATE>' . $LOSS_RATE . '</LOSS_RATE>
			    <OWD_RADIO_ACESS>1</OWD_RADIO_ACESS>
		</PERFORMANCE_METRICS>
		         <LOG> 
			    <LEVEL>' . nospace($_POST['level']) . '</LEVEL>
			    <VERBOSITY>' . nospace($_POST['verbosity']) . '</VERBOSITY>
			    <INTERVAL>' . nospace($_POST['interval']) . '</INTERVAL>
			</LOG>
			<PACKET_TRACE>' . $PKTTRACE . '</PACKET_TRACE>
			<SEED_VALUE>' . nospace($_POST['seedvalue']) . '</SEED_VALUE>
			' . $CLI . '
	</EMULATION_CONFIG>
	<PROFILE>' . $XML_FILENAME . '</PROFILE>	
</OAI_EMULATION>
';
//echo $data."<br /><br />";
/*
// VARIABLES FOR WEBPORTAL
$EMU_RESULTS = "/drupal-6.19/CLUSTER/r4g7/emu_results";
$EMU_RESULTS_USER = $EMU_RESULTS.'/'.str_replace($espace, "", $user).'/'.$date;
$FOR_R4G1 = "/opt/lampp/htdocs/drupal-6.19/CLUSTER/r4g7/emu_results/".str_replace($espace, "", $user)."/".$date."/LOGS/";
$CHEMIN = "/nfs/emu_results/".str_replace($espace, "", $user)."/".$date."/LOGS/";
$file = '/opt/lampp/htdocs/drupal-6.19/CLUSTER/r4g7/webxml/'.$XML_FILE;
*/
// VARIABLES FOR PORTABLE VERSION