<?php
/*********************************************************      
 程序说明：         
    功能说明：进行话务分析

    调用关系：调用:header.inc     
              被调用:      
 
    变量说明：
     返回值：无

 作者：    
      
修改注释：      
NO.1      
姓名：            
时间：      
修改说明：      
*********************************************************/  
require("../../inc/header.inc");
?>
<body leftmargin="15" rightmargin="10" onload="javascript:adjust_frame('down');" onresize="javascript:adjust_frame('down');" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">

<?php
adjust_head_frame("down");
adjust_title_head_frame("down");
adjust_title_tail_frame("down");

adjust_content_head_frame("down");	
echo "<br>";

$db=$csta_db;
$showDate = date("d",mktime(0,0,0,date("m"),date("d")-$sel_date,date("Y")));
$showDate = omc_keep_length($showDate,0,2);
$time_column = "csta_datetime";
$table_name='vlrDetail'."_".$showDate;
$title_time=date("Y-m-d", mktime(0,0,0,date("m"),date("d")-$sel_date,date("Y")));//表头显示时间

 $sel_field_list= @mysql_list_fields($db,$table_name);
 if(!$sel_field_list)
 {
	echo "<br>$strNotFindRecord.";
	exit();
 }

if($language == 'eng')
{
	$strAmma="MS memory available notifications";
	$strAirp="Identification requests to PVLRs";
	$strApr="Page requests";
	$strAprpla="Page requests per Location Area";
	$strArassv="Authentication sets sent to HLR by VLRs";
	$strAapv="Authentication procedures in VLR";
	$strAavlu="Intra-VLR Location Updates";
	$strArvlu="Inter-VLR Location Updates";
	$strAvop="Arrivals of Visitors from other PLMNs";
	$strSoprv="Subscribers from other PLMNs registered in the VLR";
	$strNrv="Number of roamers in the VLR";
	$strVlrStatistic="VLR Statistic";
}
else
{
	$strAmma="MS memory available notifications";
	$strAirp="Identification requests to PVLRs";
	$strApr="Page requests";
	$strAprpla="Page requests per Location Area";
	$strArassv="Authentication sets sent to HLR by VLRs";
	$strAapv="Authentication procedures in VLR";
	$strAavlu="Intra-VLR Location Updates";
	$strArvlu="Inter-VLR Location Updates";
	$strAvop="Arrivals of Visitors from other PLMNs";
	$strSoprv="Subscribers from other PLMNs registered in the VLR";
	$strNrv="Number of roamers in the VLR";
	$strVlrStatistic="VLR Statistic";
}

//-------确定日期范围-----
if($sel_date<0)
{
	$bgn_date=date("Y-m-d H:i:s", mktime(0,0,0,date("m"),date("d")-6,date("Y")));
	$end_date=date("Y-m-d H:i:s", mktime());
}
elseif($sel_date>0)
{
	if($sel_time)
	{
		$bgn_date=date("Y-m-d H:i:s", mktime($hou_1,$mid_1,$sec_1,date("m"),date("d")-$sel_date,date("Y")));
		$end_date=date("Y-m-d H:i:s", mktime($hou_2,$mid_2,$sec_2,date("m"),date("d")-$sel_date,date("Y")));
	}
	else
	{
		$bgn_date=date("Y-m-d H:i:s", mktime(0,0,0,date("m"),date("d")-$sel_date,date("Y")));
		$end_date=date("Y-m-d H:i:s", mktime(0,0,0,date("m"),date("d")-$sel_date+1,date("Y")));
	}
}
else
{
	if($sel_time)
	{
		$bgn_date=date("Y-m-d H:i:s", mktime($hou_1,$mid_1,$sec_1,date("m"),date("d")-$sel_date,date("Y")));
		$end_date=date("Y-m-d H:i:s", mktime($hou_2,$mid_2,$sec_2,date("m"),date("d")-$sel_date,date("Y")));
	}
	else
	{
		$bgn_date=date("Y-m-d H:i:s", mktime(0,0,0,date("m"),date("d"),date("Y")));
		$end_date=date("Y-m-d H:i:s", mktime());
	}
}

/* where语句的时间限制组成部分为$w1,系统id限制为$w2 */
$w1=" $time_column >='$bgn_date' AND $time_column <= '$end_date'";
	
//合成where语句
$where=" WHERE ".$w1;   
$str_sql_all=" SELECT count(*) as number_of_records FROM $table_name ".$where;
$csta_result= mysqli_query($pubConn,$str_sql_all);
$record = mysql_fetch_object($csta_result);
$number_of_records = $record->number_of_records;
if(!$number_of_records)
{      
	echo "$strNotFindRecord";
	exit();
}
$sum_sql=" SELECT SUM(amma) AS amma,SUM(smma) AS smma,SUM(airp) AS airp,SUM(sirp) AS sirp,SUM(apr) AS apr, SUM(spr) AS spr,SUM(aprpla) AS aprpla,SUM(sprpla) AS sprpla,SUM(arassv) AS arassv,SUM(srashv) AS srashv,SUM(errash) AS errash,SUM(aapv) AS aapv,SUM(sapv) AS sapv,SUM(aavlu) AS aavlu,SUM(savlu) AS savlu,SUM(arvlu) AS arvlu,SUM(srvlu) AS srvlu,SUM(avop) AS avop,SUM(soprv) AS soprv,SUM(nrv) AS nrv FROM $table_name ".$where;
//echo "<br>sum_sql=$sum_sql";
$sum_res = mysqli_query($pubConn,$sum_sql);
$sum_row = @mysqli_fetch_array($sum_res);
echo mysqli_error($pubConn);

$amma=$sum_row[amma];
$smma=$sum_row[smma];
$fmma=$amma-$smma;
if($amma>0)
{
	$ammaScale="100%";
	$smmaPoint=$smma/$amma;
	$smmaScale=change_percent($smma/$amma);
	$fmmaPoint=$fmma/$amma;
	$fmmaScale=change_percent($fmma/$amma);
}
else
{
	$ammaScale="0%";
	$smmaPoint="0%";
	$smmaScale="0%";
	$fmmaPoint="0%";
	$fmmaScale="0%";
}

$airp=$sum_row[airp];
$sirp=$sum_row[sirp];
$firp=$airp-$sirp;
if($airp>0)
{
	$airpScale="100%";
	$sirpPoint=$sirp/$airp;
	$sirpScale=change_percent($sirp/$airp);
	$firpPoint=$firp/$airp;
	$firpScale=change_percent($firp/$airp);
}
else
{
	$airpScale="0%";
	$sirpPoint="0%";
	$sirpScale="0%";
	$firpPoint="0%";
	$firpScale="0%";
}

$apr=$sum_row[apr];
$spr=$sum_row[spr];
$fpr=$apr-$spr;
if($apr>0)
{
	$aprScale="100%";
	$sprPoint=$spr/$apr;
	$sprScale=change_percent($spr/$apr);
	$fprPoint=$fpr/$apr;
	$fprScale=change_percent($fpr/$apr);
}
else
{
	$aprScale="0%";
	$sprPoint="0%";
	$sprScale="0%";
	$fprPoint="0%";
	$fprScale="0%";
}

$aprpla=$sum_row[aprpla];
$sprpla=$sum_row[sprpla];
$fprpla=$aprpla-$sprpla;
if($aprpla>0)
{
	$aprplaScale="100%";
	$sprplaPoint=$sprpla/$aprpla;
	$sprplaScale=change_percent($sprpla/$aprpla);
	$fprplaPoint=$fprpla/$aprpla;
	$fprplaScale=change_percent($fprpla/$aprpla);
}
else
{
	$aprplaScale="0%";
	$sprplaPoint="0%";
	$sprplaScale="0%";
	$fprplaPoint="0%";
	$fprplaScale="0%";
}

$arassv=$sum_row[arassv];
$srashv=$sum_row[srashv];
$frrash=$arassv-$srashv;
if($arassv>0)
{
	$arassvScale="100%";
	$srashvPoint=$srashv/$arassv;
	$srashvScale=change_percent($srashv/$arassv);
	$frrashPoint=$frrash/$arassv;
	$frrashScale=change_percent($frrash/$arassv);
}
else
{
	$arassvScale="0%";
	$srashvPoint="0%";
	$srashvScale="0%";
	$frrashPoint="0%";
	$frrashScale="0%";
}

$aapv=$sum_row[aapv];
$sapv=$sum_row[sapv];
$fapv=$aapv-$sapv;
if($aapv>0)
{
	$aapvScale="100%";
	$sapvPoint=$sapv/$aapv;
	$sapvScale=change_percent($sapv/$aapv);
	$fapvPoint=$fapv/$aapv;
	$fapvScale=change_percent($fapv/$aapv);
}
else
{
	$aapvScale="0%";
	$sapvPoint="0%";
	$sapvScale="0%";
	$fapvPoint="0%";
	$fapvScale="0%";
}

$aavlu=$sum_row[aavlu];
$savlu=$sum_row[savlu];
$favlu=$aavlu-$savlu;
if($aavlu>0)
{
	$aavluScale="100%";
	$savluPoint=$savlu/$aavlu;
	$savluScale=change_percent($savlu/$aavlu);
	$favluPoint=$favlu/$aavlu;
	$favluScale=change_percent($favlu/$aavlu);
}
else
{
	$aavluScale="0%";
	$savluPoint="0%";
	$savluScale="0%";
	$favluPoint="0%";
	$favluScale="0%";
}

$arvlu=$sum_row[arvlu];
$srvlu=$sum_row[srvlu];
$frvlu=$arvlu-$srvlu;
if($arvlu>0)
{
	$arvluScale="100%";
	$srvluPoint=$srvlu/$arvlu;
	$srvluScale=change_percent($srvlu/$arvlu);
	$frvluPoint=$frvlu/$arvlu;
	$frvluScale=change_percent($frvlu/$arvlu);
}
else
{
	$arvluScale="0%";
	$srvluPoint="0%";
	$srvluScale="0%";
	$frvluPoint="0%";
	$frvluScale="0%";
}

$avop=$sum_row[avop];
if($avop>0)
{
	$avopScale="100%";
}
else
{
	$avopScale="0%";
}

$soprv=$sum_row[soprv];
if($soprv>0)
{
	$soprvScale="100%";
}
else
{
	$soprvScale="0%";
}

$nrv=$sum_row[nrv];
if($nrv>0)
{
	$nrvScale="100%";
}
else
{
	$nrvScale="0%";
}

?>


<form method="POST" action="./saveCsv.php" name="selectform">
<table border="0" width="100%">
<tr>
<td width="25%">
</td>
<td width="50%">
<p align="center"><font size="2"><b><?php echo "$strVlrStatistic"; ?></b></font><font size="2"><b>&nbsp;   
Date:<?php echo $title_time; ?></b></font>           
</td> 

<td width="20%" align="right">      
<div onClick="window.print();" style="cursor:hand">
<img align=absBottom border=0 src="../../images/printer.gif" width="16" height="16">
</div>
</td>
<!--
<td width="5%" align="center">
<div onClick="javascript:document.selectform.submit();" style="cursor:hand">
<img align=absBottom border=0 src="../../images/save.gif" width="16" height="16">	
</div>
</td>
-->
</tr>      
</table> 
<table border="1" width="100%" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >  
  <tr bgcolor="#E6E6E6">
    <td width="606" colspan="4" height="16">
      <p align="center">1.<?php echo "$strPercentStatTable"; ?></td>
  </tr>             
  <tr>
    <td width="143" height="16">
      <p align="center"><?php echo "$strItem";?></td>
    <td width="151" height="16">
      <p align="center"><?php echo "$strAttribute";?></td>
    <td width="151" height="16">
      <p align="center"><?php echo "$strTimes";?></td>
    <td width="151" height="16">
      <p align="center"><?php echo "$strPercent";?></td>
  </tr>
  <tr>
    <td width="143" rowspan="2" align="center" height="40">
      <p align="center"><?php echo "$strAmma";?></td>
    <td width="151" height="19">
      <p align="center"><?php echo "$strSuccess";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$smma";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$smmaScale";?></td>
  </tr>
  <tr>
    <td width="151" height="19">
      <p align="center"><?php echo "$strFailure";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$fmma";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$fmmaScale";?></td>
  </tr>
  <!--
  <tr>
    <td width="143" rowspan="2" align="center" height="40"><?php echo "$strAirp";?></td>
    <td width="151" height="19">
      <p align="center"><?php echo "$strSuccess";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$sirp";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$sirpScale";?></td>
  </tr>
  <tr>
    <td width="151" height="19">
      <p align="center"><?php echo "$strFailure";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$firp";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$firpScale";?></td>
  </tr>
  -->
  <tr>
    <td width="143" rowspan="2" height="40">
      <p align="center"><?php echo "$strApr";?></td>
    <td width="151" align="center" height="19"><?php echo "$strSuccess";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$spr";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$sprScale";?></td>
  </tr>
  <tr>
    <td width="151" height="16">
      <p align="center"><?php echo "$strFailure";?></td>
    <td width="151" height="16">
      <p align="center">&nbsp;<?php echo "$fpr";?></td>
    <td width="151" height="16">
      <p align="center">&nbsp;<?php echo "$fprScale";?></td>
  </tr>
  <!--
  <tr>
    <td width="143" rowspan="2" height="40">
      <p align="center"><?php echo "$strAprpla";?></td>
    <td width="151" height="19">
      <p align="center"><?php echo "$strSuccess";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$sprpla";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$sprplaScale";?></td>
  </tr>
  <tr>
    <td width="151" height="19">
      <p align="center"><?php echo "$strFailure";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$fprpla";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$fprplaScale";?></td>
  </tr>
  -->
  <tr>
    <td width="143" rowspan="2" align="center" height="40">
      <p align="center"><?php echo "$strArassv";?></td>
    <td width="151" height="19">
      <p align="center"><?php echo "$strSuccess";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$srashv";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$srashvScale";?></td>
  </tr>
  <tr>
    <td width="151" height="19">
      <p align="center"><?php echo $strFailure;?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$frrash";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$frrashScale";?></td>
  </tr>

  <tr>
    <td width="143" rowspan="2" height="40">
      <p align="center"><?php echo "$strAapv";?></td>
    <td width="151" height="19">
      <p align="center"><?php echo "$strSuccess";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$sapv";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$sapvScale";?></td>
  </tr>
  <tr>
    <td width="151" height="19">
      <p align="center"><?php echo "$strFailure";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$fapv";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$fapvScale";?></td>
  </tr>
  <tr>
    <td width="143" rowspan="2" height="40">
      <p align="center"><?php echo "$strAavlu";?></td>
    <td width="151" height="19">
      <p align="center"><?php echo "$strSuccess";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$savlu";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$savluScale";?></td>
  </tr>
  <tr>
    <td width="151" height="19">
      <p align="center"><?php echo "$strFailure";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$favlu";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$favluScale";?></td>
  </tr>
  <!--
  <tr>
    <td width="143" rowspan="2" height="40">
      <p align="center"><?php echo "$strArvlu";?></td>
    <td width="151" height="19">
      <p align="center"><?php echo "$strSuccess";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$srvlu";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$srvluScale";?></td>
  </tr>
  <tr>
    <td width="151" height="19">
      <p align="center"><?php echo "$strFailure";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$frvlu";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$frvluScale";?></td>
  </tr>

  <tr>
    <td width="143" rowspan="1" align="center" height="40">
      <p align="center"><?php echo "$strAvop";?></td>
    <td width="151" height="19">
      <p align="center"><?php echo "$strAttempt";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$avop";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$avopScale";?></td>
  </tr>
  <tr>
    <td width="143" rowspan="1" align="center" height="40">
      <p align="center"><?php echo "$strSoprv";?></td>
    <td width="151" height="19">
      <p align="center"><?php echo "$strAttempt";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$soprv";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$soprvScale";?></td>
  </tr>

  <tr>
    <td width="143" rowspan="1" align="center" height="40">
      <p align="center"><?php echo "$strNrv";?></td>
    <td width="151" height="19">
      <p align="center"><?php echo "$strAttempt";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$nrv";?></td>
    <td width="151" height="19">
      <p align="center">&nbsp;<?php echo "$nrvScale";?></td>
  </tr>
  -->
</table>
<p> </p>
<p> </p>
<p> </p>
<table border="0" cellPadding="0" cellSpacing="0" height="220"  style="BORDER-BOTTOM: rgb(0,0,0) 1px solid; BORDER-LEFT: rgb(0,0,0) 1px solid; BORDER-RIGHT: medium none; BORDER-TOP: medium none" > 
<tr> 
<td colspan="17" height="20"> 
<b><img border="0" src="../../images/Icon-0.gif" width="2" height="1">&nbsp;<INPUT type="text" size="10" name="topNumber_2" id="topNumber"  value="100" style="border-left:medium none;border-right:medium none;border-top:medium none;border-bottom:medium none; solid rgb(0,0,0)"   readonly><INPUT type="hidden" size="10" name="org_topNumber_2" id="topNumber"  value="100" ></b>2.<?php echo "$strPercentStatLegend";?>
</td> 
</tr> 
<tr> 
<td valign="bottom" height="40" width="20"><img border="0" src="../../images/Icon-0.gif" width="2" height="1"></td> 
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/dark_blue.GIF" width="40" height="<?php echo 200*$smmaPoint; ?>"></td>
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/red.gif" width="40" height="<?php echo 200*$fmmaPoint; ?>"></td>
<!--
<td valign="bottom" height="200" width="20" rowspan="5"></td>
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/dark_blue.GIF" width="40" height="<?php echo 200*$sirpPoint; ?>"></td>
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/red.gif" width="40" height="<?php echo 200*$firpPoint; ?>"></td>
-->
<td valign="bottom" height="200" width="40" rowspan="5"></td>
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/dark_blue.GIF" width="40" height="<?php echo 200*$sprPoint; ?>"></td>
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/red.gif" width="40" height="<?php echo 200*$fprPoint; ?>"></td>
<!--
<td valign="bottom" height="200" width="20" rowspan="5"></td>
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/dark_blue.GIF" width="40" height="<?php echo 200*$sprplaPoint; ?>"></td>
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/red.gif" width="40" height="<?php echo 200*$fprplaPoint; ?>"></td>
-->
<td valign="bottom" height="200" width="40" rowspan="5"></td>
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/dark_blue.GIF" width="40" height="<?php echo 200*$srashvPoint; ?>"></td>
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/red.gif" width="40" height="<?php echo 200*$frrashPoint; ?>"></td>
<td valign="bottom" height="200" width="40" rowspan="5"></td>	
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/dark_blue.GIF" width="40" height="<?php echo 200*$sapvPoint; ?>"></td>
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/red.gif" width="40" height="<?php echo 200*$fapvPoint; ?>"></td>
<td valign="bottom" height="200" width="40" rowspan="5"></td>	
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/dark_blue.GIF" width="40" height="<?php echo 200*$savluPoint; ?>"></td>
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/red.gif" width="40" height="<?php echo 200*$favluPoint; ?>"></td>
<td valign="bottom" height="200" width="40" rowspan="5"></td>	
<!--
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/dark_blue.GIF" width="40" height="<?php echo 200*$srvluPoint; ?>"></td>
<td valign="bottom" height="200" width="40" rowspan="5"><img border="0" src="../../images/red.gif" width="40" height="<?php echo 200*$frvluPoint; ?>"></td>
-->
</tr> 
<tr><td valign="bottom" height="40" width="20"><img border="0" src="../../images/Icon-0.gif" width="2" height="1"></td></tr> 
<tr><td valign="bottom" height="40" width="20"><img border="0" src="../../images/Icon-0.gif" width="2" height="1"></td></tr> 
<tr><td valign="bottom" height="40" width="20"><img border="0" src="../../images/Icon-0.gif" width="2" height="1"></td></tr> 
<tr><td valign="bottom" height="40" width="20"></td></tr> 
</table>
<table width=580>
<tr align="center">
<td width=20>&nbsp;</td>
<td width=80><?php echo "$strAmma";?></td>
<!--
<td width=20>&nbsp;</td>
<td width=80><?php echo "$strAirp";?></td>
-->
<td width=40>&nbsp;</td>
<td width=80><?php echo "$strApr";?></td>
<!--
<td width=20>&nbsp;</td>
<td width=80><?php echo "$strAprpla";?></td>
-->
<td width=40>&nbsp;</td>
<td width=80><?php echo "$strArassv";?></td>
<td width=40>&nbsp;</td>
<td width=80><?php echo "$strAapv";?></td>
<td width=40>&nbsp;</td>
<td width=80><?php echo "$strAavlu";?></td>
<!--
<td width=20>&nbsp;</td>
<td width=80><?php echo "$strArvlu";?></td>
-->
</tr>
</table>
<p></p>
<table border="0" width="330" height="18">
  <tr>
    <td width="60" height="18"><b><?php echo $strLegend; ?>:</b></td>
    <td width="18" height="18"><img border="0" src="../../images/legend_dark_blue.GIF" width="18" height="18"></td>
    <td width="182" height="18"><?php echo "$strSuccess"; ?></td>
    <td width="18" height="18"><img border="0" src="../../images/red.gif" width="18" height="18"></td>
    <td width="182" height="18"><?php echo "$strFailure"; ?></td>
  </tr>
</table>
<?php
adjust_content_tail("down");
?>
</body>
</html>