<?php
/*======================================================================*\
|| #################################################################### ||
|| # EoT-Clan BF3 Leaderboard                                         # ||
|| # ---------------------------------------------------------------- # ||
|| # Dieses Copyright darf nicht entfernet werden                     # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # -----------------BF3 Leaderboard is a free Software--------------# ||
|| #                   http://eot-clan.net                            # ||
|| #################################################################### ||
\*======================================================================*/
if(!defined('DIRECTACCESS')){
echo 'You cannot access this file directly!';
die;
}


?>
<table class="default" cellspacing="0" cellpadding="5">
  <td class="head" colspan="4" cellspacing="0"> <?php echo LANG_ASSIGNMENTS_TITLE1; ?></td>
	  <tr> 
     <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2prema01_T; ?></b><br />
     	<img src="img/assignmens/xp2prema01.png" style="<?php echo $EoT->box_shadow($data['xp2prema01_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2prema01_count'] == 0){
   	 	   $h = $data['xp2prema01_criteria1']+$data['xp2prema01_criteria2']+$data['xp2prema01_criteria3'];
      	$progress = number_format($h * 100 / '125', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2prema01_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xp2prema01_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema01_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>25</b>'.LANG_ASSIGNMENTS_xp2prema01_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema01_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xp2prema01_criteria3; 
        if ($data['xp2prema01_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2prema01_date']);
      }
      ?>
      </td> 
      
      <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2prema06_T; ?></b><br />
     	<img src="img/assignmens/xp2prema06.png" style="<?php echo $EoT->box_shadow($data['xp2prema06_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2prema06_count'] == 0){
   	 	   $h = $data['xp2prema06_criteria1']+$data['xp2prema06_criteria2']+$data['xp2prema06_criteria3'];
      	$progress = number_format($h * 100 / '175', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2prema06_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>100</b>'.LANG_ASSIGNMENTS_xp2prema06_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema06_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xp2prema06_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema06_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>25</b>'.LANG_ASSIGNMENTS_xp2prema06_criteria3; 
        if ($data['xp2prema06_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2prema06_date']);
      }
      ?>
      </td> 
      <tr>
      
      <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2prema02_T; ?></b><br />
     	<img src="img/assignmens/xp2prema02.png" style="<?php echo $EoT->box_shadow($data['xp2prema02_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2prema02_count'] == 0){
   	 	   $h = $data['xp2prema02_criteria1']+$data['xp2prema02_criteria2'];
      	$progress = number_format($h * 100 / '100', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2prema02_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xp2prema02_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema02_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xp2prema02_criteria2;
         if ($data['xp2prema02_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2prema02_date']);
      } 
      ?>
      </td> 
      
       <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2prema07_T; ?></b><br />
     	<img src="img/assignmens/xp2prema07.png" style="<?php echo $EoT->box_shadow($data['xp2prema07_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2prema07_count'] == 0){
   	 	   $h = $data['xp2prema07_criteria1']+$data['xp2prema07_criteria2']+$data['xp2prema07_criteria3'];
      	$progress = number_format($h * 100 / '150', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2prema07_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>100</b>'.LANG_ASSIGNMENTS_xp2prema07_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema07_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>25</b>'.LANG_ASSIGNMENTS_xp2prema07_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema07_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>25</b>'.LANG_ASSIGNMENTS_xp2prema07_criteria3; 
        if ($data['xp2prema07_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2prema07_date']);
      }
      ?>
      </td> 
      <tr> 
      	
      <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2prema03_T; ?></b><br />
     	<img src="img/assignmens/xp2prema03.png" style="<?php echo $EoT->box_shadow($data['xp2prema03_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2prema03_count'] == 0){
   	 	   $h = $data['xp2prema03_criteria1']+$data['xp2prema03_criteria2']+$data['xp2prema03_criteria3'];
      	$progress = number_format($h * 100 / '100', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2prema03_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xp2prema03_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema03_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>25</b>'.LANG_ASSIGNMENTS_xp2prema03_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema03_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>25</b>'.LANG_ASSIGNMENTS_xp2prema03_criteria3; 
        if ($data['xp2prema03_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2prema03_date']);
      } 
      ?>
      </td> 
      
       <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2prema08_T; ?></b><br />
     	<img src="img/assignmens/xp2prema08.png" style="<?php echo $EoT->box_shadow($data['xp2prema08_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2prema08_count'] == 0){
   	 	   $h = $data['xp2prema08_criteria1']+$data['xp2prema08_criteria2']+$data['xp2prema08_criteria3'];
      	$progress = number_format($h * 100 / '500', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2prema08_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>100</b>'.LANG_ASSIGNMENTS_xp2prema08_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema08_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xp2prema08_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema08_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>350m</b>'.LANG_ASSIGNMENTS_xp2prema08_criteria3; 
        if ($data['xp2prema08_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2prema08_date']);
      }
      ?>
      </td> 
      <tr>
      
      <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2prema04_T; ?></b><br />
     	<img src="img/assignmens/xp2prema04.png" style="<?php echo $EoT->box_shadow($data['xp2prema04_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2prema04_count'] == 0){
   	 	   $h = $data['xp2prema04_criteria1']+$data['xp2prema04_criteria2']+$data['xp2prema04_criteria3'];
      	$progress = number_format($h * 100 / '125', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2prema04_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xp2prema04_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema04_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xp2prema04_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema04_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>25</b>'.LANG_ASSIGNMENTS_xp2prema04_criteria3; 
         if ($data['xp2prema04_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2prema04_date']);
      } 
      ?>
      </td> 	
      
       <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2prema09_T; ?></b><br />
     	<img src="img/assignmens/xp2prema09.png" style="<?php echo $EoT->box_shadow($data['xp2prema09_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2prema09_count'] == 0){
   	 	   $h = $data['xp2prema09_criteria1']+$data['xp2prema09_criteria2']+$data['xp2prema09_criteria3'];
      	$progress = number_format($h * 100 / '125', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2prema09_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>100</b>'.LANG_ASSIGNMENTS_xp2prema09_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema09_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>20</b>'.LANG_ASSIGNMENTS_xp2prema09_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema09_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>5</b>'.LANG_ASSIGNMENTS_xp2prema09_criteria3; 
        if ($data['xp2prema09_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2prema09_date']);
      }
      ?>
      </td> 
      <tr>
      	
      	<td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2prema05_T; ?></b><br />
     	<img src="img/assignmens/xp2prema05.png" style="<?php echo $EoT->box_shadow($data['xp2prema05_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2prema05_count'] == 0){
   	 	   $h = $data['xp2prema05_criteria1']+$data['xp2prema05_criteria2']+$data['xp2prema05_criteria3']+$data['xp2prema05_criteria4']+$data['xp2prema05_criteria5'];
      	$progress = number_format($h * 100 / '135', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2prema05_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>30</b>'.LANG_ASSIGNMENTS_xp2prema05_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema05_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>30</b>'.LANG_ASSIGNMENTS_xp2prema05_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema05_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>30</b>'.LANG_ASSIGNMENTS_xp2prema05_criteria3; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema05_criteria4'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>30</b>'.LANG_ASSIGNMENTS_xp2prema05_criteria4; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema05_criteria5'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>15</b>'.LANG_ASSIGNMENTS_xp2prema05_criteria5; 
       
         if ($data['xp2prema05_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2prema05_date']);
      } 
      ?>
      </td>
      
       <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2prema10_T; ?></b><br />
     	<img src="img/assignmens/xp2prema10.png" style="<?php echo $EoT->box_shadow($data['xp2prema10_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2prema10_count'] == 0){
   	 	   $h = $data['xp2prema10_criteria1']+$data['xp2prema10_criteria2']+$data['xp2prema10_criteria3']+$data['xp2prema10_criteria4'];
      	$progress = number_format($h * 100 / '1700', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2prema10_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>500</b>'.LANG_ASSIGNMENTS_xp2prema10_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema10_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>500</b>'.LANG_ASSIGNMENTS_xp2prema10_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema10_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>400</b>'.LANG_ASSIGNMENTS_xp2prema10_criteria3; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2prema10_criteria4'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>300</b>'.LANG_ASSIGNMENTS_xp2prema10_criteria4;       
        if ($data['xp2prema10_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2prema10_date']);
      }
      ?>
      </td> 
       </table>
     
     
     
     
     <table class="default" cellspacing="0" cellpadding="5">
  <td class="head" colspan="4" cellspacing="0"> <?php echo LANG_ASSIGNMENTS_TITLE2; ?></td>
	  <tr> 
     <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2ma01_T; ?></b><br />
     	<img src="img/assignmens/xp2ma01.png" style="<?php echo $EoT->box_shadow($data['xp2ma01_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2ma01_count'] == 0){
   	 	   $h = $data['xp2ma01_criteria1']+$data['xp2ma01_criteria2'];
      	$progress = number_format($h * 100 / '40', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2ma01_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>10</b>'.LANG_ASSIGNMENTS_xp2ma01_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2ma01_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>30</b>'.LANG_ASSIGNMENTS_xp2ma01_criteria2;
        if ($data['xp2ma01_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2ma01_date']);
      } 
      ?>
      </td> 
      
      <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2ma02_T; ?></b><br />
     	<img src="img/assignmens/xp2ma02.png" style="<?php echo $EoT->box_shadow($data['xp2ma02_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2ma02_count'] == 0){
   	 	   $h = $data['xp2ma02_criteria1']+$data['xp2ma02_criteria2'];
      	$progress = number_format($h * 100 / '35', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2ma02_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>20</b>'.LANG_ASSIGNMENTS_xp2ma02_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2ma02_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>15</b>'.LANG_ASSIGNMENTS_xp2ma02_criteria2;
         if ($data['xp2ma02_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2ma02_date']);
      } 
      ?>
      </td> 
      
      <tr> 
     <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2ma03_T; ?></b><br />
     	<img src="img/assignmens/xp2ma03.png" style="<?php echo $EoT->box_shadow($data['xp2ma03_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2ma03_count'] == 0){
   	 	   $h = $data['xp2ma03_criteria1']+$data['xp2ma03_criteria2'];
      	$progress = number_format($h * 100 / '40', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2ma03_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>20</b>'.LANG_ASSIGNMENTS_xp2ma03_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2ma03_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>20</b>'.LANG_ASSIGNMENTS_xp2ma03_criteria2;
        if ($data['xp2ma03_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2ma03_date']);
      } 
      ?>
      </td> 
      
      <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2ma04_T; ?></b><br />
     	<img src="img/assignmens/xp2ma04.png" style="<?php echo $EoT->box_shadow($data['xp2ma04_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2ma04_count'] == 0){
   	 	   $h = $data['xp2ma04_criteria1']+$data['xp2ma04_criteria2'];
      	$progress = number_format($h * 100 / '20', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2ma04_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>10</b>'.LANG_ASSIGNMENTS_xp2ma04_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2ma04_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>10</b>'.LANG_ASSIGNMENTS_xp2ma04_criteria2;
         if ($data['xp2ma04_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2ma04_date']);
      } 
      ?>
      </td> 
      
      <tr> 
     <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2ma05_T; ?></b><br />
     	<img src="img/assignmens/xp2ma05.png" style="<?php echo $EoT->box_shadow($data['xp2ma05_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2ma05_count'] == 0){
   	 	   $h = $data['xp2ma05_criteria1']+$data['xp2ma05_criteria2'];
      	$progress = number_format($h * 100 / '50', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2ma05_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>20</b>'.LANG_ASSIGNMENTS_xp2ma05_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2ma05_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>30</b>'.LANG_ASSIGNMENTS_xp2ma05_criteria2;
        if ($data['xp2ma05_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2ma05_date']);
      } 
      ?>
      </td> 
      
      <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2ma06_T; ?></b><br />
     	<img src="img/assignmens/xp2ma06.png" style="<?php echo $EoT->box_shadow($data['xp2ma06_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2ma06_count'] == 0){
   	 	   $h = $data['xp2ma06_criteria1']+$data['xp2ma06_criteria2'];
      	$progress = number_format($h * 100 / '101', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2ma06_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>1</b>'.LANG_ASSIGNMENTS_xp2ma06_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2ma06_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>100</b>'.LANG_ASSIGNMENTS_xp2ma06_criteria2;
         if ($data['xp2ma06_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2ma06_date']);
      } 
      ?>
      </td> 
      <tr> 
     <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2ma07_T; ?></b><br />
     	<img src="img/assignmens/xp2ma07.png" style="<?php echo $EoT->box_shadow($data['xp2ma07_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2ma07_count'] == 0){
   	 	   $h = $data['xp2ma07_criteria1']+$data['xp2ma07_criteria2'];
      	$progress = number_format($h * 100 / '30', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2ma07_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>10</b>'.LANG_ASSIGNMENTS_xp2ma07_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2ma07_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>20</b>'.LANG_ASSIGNMENTS_xp2ma07_criteria2;
        if ($data['xp2ma07_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2ma07_date']);
      } 
      ?>
      </td> 
      
      <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2ma08_T; ?></b><br />
     	<img src="img/assignmens/xp2ma08.png" style="<?php echo $EoT->box_shadow($data['xp2ma08_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2ma08_count'] == 0){
   	 	   $h = $data['xp2ma08_criteria1']+$data['xp2ma08_criteria2'];
      	$progress = number_format($h * 100 / '53', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2ma08_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xp2ma08_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2ma08_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>3</b>'.LANG_ASSIGNMENTS_xp2ma08_criteria2;
         if ($data['xp2ma08_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2ma08_date']);
      } 
      ?>
      </td> 
      <tr> 
     <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2ma09_T; ?></b><br />
     	<img src="img/assignmens/xp2ma09.png" style="<?php echo $EoT->box_shadow($data['xp2ma09_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2ma09_count'] == 0){
   	 	   $h = $data['xp2ma09_criteria1']+$data['xp2ma09_criteria2'];
      	$progress = number_format($h * 100 / '40', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2ma09_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>20</b>'.LANG_ASSIGNMENTS_xp2ma09_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2ma09_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>20</b>'.LANG_ASSIGNMENTS_xp2ma09_criteria2;
        if ($data['xp2ma09_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2ma09_date']);
      } 
      ?>
      </td> 
      
      <td class="result" width="150px" colspan="1"><b><?php echo LANG_ASSIGNMENTS_xp2ma10_T; ?></b><br />
     	<img src="img/assignmens/xp2ma10.png" style="<?php echo $EoT->box_shadow($data['xp2ma10_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xp2ma10_count'] == 0){
   	 	   $h = $data['xp2ma10_criteria1']+$data['xp2ma10_criteria2'];
      	$progress = number_format($h * 100 / '105', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xp2ma10_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>5</b>'.LANG_ASSIGNMENTS_xp2ma10_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xp2ma10_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>100</b>'.LANG_ASSIGNMENTS_xp2ma10_criteria2;
         if ($data['xp2ma10_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xp2ma10_date']);
      } 
      ?>
      </td>     
     </table>
     
     







<table class="default" cellspacing="0" cellpadding="5">
  <td class="head" colspan="4" cellspacing="0"> <?php echo LANG_ASSIGNMENTS_TITLE; ?></td>
	  <tr> 
     
     <td class="result" width="150px" colspan="1"><b>FAMAS</b><br />
     	<img src="img/assignmens/a01.png" style="<?php echo $EoT->box_shadow($data['xpma01_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xpma01_count'] == 0){
   	 	   $h = $data['xpma01_criteria1']+$data['xpma01_criteria2'];
      	$progress = number_format($h * 100 / '20', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
     	 <?php echo '<b><span class="DIVtext">'.$data['xpma01_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>10</b>'.LANG_ASSIGNMENTS_REVIVES; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma01_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>10</b>'.LANG_ASSIGNMENTS_HEALS;
        if ($data['xpma01_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xpma01_date']);
      }
      ?>
      </td>   
     <td class="result" width="150px"  colspan="1"><b>L85A2</b><br />
     	<img src="img/assignmens/a02.png" style="<?php echo $EoT->box_shadow($data['xpma02_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xpma02_count'] == 0){
   	 	   $h = $data['xpma02_criteria1']+$data['xpma02_criteria2']+$data['xpma02_criteria3'];
      	$progress = number_format($h * 100 / '125', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
       <?php echo '<b><span class="DIVtext">'.$data['xpma02_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>100</b>'.LANG_ASSIGNMENTS_ASSAULT; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma02_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>20</b>'.LANG_ASSIGNMENTS_M320; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma02_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>5</b>'.LANG_ASSIGNMENTS_SQDM;
        if ($data['xpma02_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xpma02_date']);
      }
      ?>
      </td>     
   <tr>
   	
   	
   	 <td class="result" width="150px"  colspan="1"><b>G53</b><br />
   	 	<img src="img/assignmens/a03.png" style="<?php echo $EoT->box_shadow($data['xpma03_count']); ?>;width:150px;" />
   	 	<?php
   	 if ($data['xpma03_count'] == 0){
   	 	   $h = $data['xpma03_criteria1']+$data['xpma03_criteria2'];
      	$progress = number_format($h * 100 / '11', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
       <?php echo '<b><span class="DIVtext">'.$data['xpma03_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>10</b>'.LANG_ASSIGNMENTS_REPAIRS; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma03_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>1</b>'.LANG_ASSIGNMENTS_REPAIRTOOL;
        if ($data['xpma03_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xpma03_date']);
      }
      ?>
      </td>    
     <td class="result" width="150px"  colspan="1"><b>QBZ-95B</b><br />
     	<img src="img/assignmens/a04.png" style="<?php echo $EoT->box_shadow($data['xpma04_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xpma04_count'] == 0){
   	 	   $h = $data['xpma04_criteria1']+$data['xpma04_criteria2']+$data['xpma04_criteria3'];
      	$progress = number_format($h * 100 / '56', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
    <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
       <?php echo '<b><span class="DIVtext">'.$data['xpma04_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_ROCKET; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma04_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>1</b>'.LANG_ASSIGNMENTS_ENEMY; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma04_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>5</b>'.LANG_ASSIGNMENTS_CQ;
        if ($data['xpma04_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xpma04_date']);
      }
      ?>
      </td>    
    <tr>
    	
    	
    	
   	 <td class="result" width="150px"  colspan="1"><b>QBB-95</b><br />
   	 	<img src="img/assignmens/a05.png" style="<?php echo $EoT->box_shadow($data['xpma05_count']); ?>;width:150px;" />
   	 	<?php
   	 if ($data['xpma05_count'] == 0){
   	 	   $h = $data['xpma05_criteria1']+$data['xpma05_criteria2'];
      	$progress = number_format($h * 100 / '22', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
    <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
       <?php echo '<b><span class="DIVtext">'.$data['xpma05_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>20</b>'.LANG_ASSIGNMENTS_xpma05_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma05_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>2</b>'.LANG_ASSIGNMENTS_xpma05_criteria2;
        if ($data['xpma05_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xpma05_date']);
      }
      ?>
      </td> 
     <td class="result" width="150px"  colspan="1"><b>MG36</b><br />
     	<img src="img/assignmens/a06.png" style="<?php echo $EoT->box_shadow($data['xpma06_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xpma06_count'] == 0){
   	 	   $h = $data['xpma06_criteria1']+$data['xpma06_criteria2']+$data['xpma06_criteria3'];
      	$progress = number_format($h * 100 / '200', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
       <?php echo '<b><span class="DIVtext">'.$data['xpma06_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>100</b>'.LANG_ASSIGNMENTS_xpma06_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma06_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xpma06_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma06_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xpma06_criteria3;
        if ($data['xpma06_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xpma06_date']);
      }
      ?>
      </td>     
    <tr>
    	
    	
   	 <td class="result" width="150px"  colspan="1"><b>QBU-88</b><br />
   	 	<img src="img/assignmens/a07.png" style="<?php echo $EoT->box_shadow($data['xpma07_count']); ?>;width:150px;" />
   	 	<?php
   	 if ($data['xpma07_count'] == 0){
   	 	   $h = $data['xpma07_criteria1']+$data['xpma07_criteria2'];
      	$progress = number_format($h * 100 / '25', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
       <?php echo '<b><span class="DIVtext">'.$data['xpma07_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>20</b>'.LANG_ASSIGNMENTS_xpma07_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma07_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>5</b>'.LANG_ASSIGNMENTS_xpma07_criteria2;
        if ($data['xpma07_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xpma07_date']);
      }
      ?>
      </td> 
     <td class="result" width="150px"  colspan="1"><b>L96</b><br />
     	<img src="img/assignmens/a08.png" style="<?php echo $EoT->box_shadow($data['xpma08_count']); ?>;width:150px;" />
     	<?php
   	 if ($data['xpma08_count'] == 0){
   	 	   $h = $data['xpma08_criteria1']+$data['xpma08_criteria2']+$data['xpma08_criteria3'];
      	$progress = number_format($h * 100 / '105', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
       <?php echo '<b><span class="DIVtext">'.$data['xpma08_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xpma08_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma08_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>50</b>'.LANG_ASSIGNMENTS_xpma08_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma08_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>5</b>'.LANG_ASSIGNMENTS_xpma08_criteria3;
        if ($data['xpma08_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xpma08_date']);
      }
      ?>
      </td>    
    <tr>
    	
   	 <td class="result" width="150px"  colspan="1"><b>PP-19</b><br />
   	 	<img src="img/assignmens/a09.png" style="<?php echo $EoT->box_shadow($data['xpma09_count']); ?>;width:150px;" />
   	 <?php
   	 if ($data['xpma09_count'] == 0){
   	 	   $h = $data['xpma09_criteria1']+$data['xpma09_criteria2']+($data['xpma09_criteria3']/60/60);
      	$progress = number_format($h * 100 / '22', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
       <?php echo '<b><span class="DIVtext">'.$data['xpma09_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>10</b>'.LANG_ASSIGNMENTS_xpma09_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma09_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>10</b>'.LANG_ASSIGNMENTS_xpma09_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$EoT->time_H_M($data['xpma09_criteria3']).'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>2</b>'.LANG_ASSIGNMENTS_xpma09_criteria3;
        if ($data['xpma09_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xpma09_date']);
      }
      
        ?>

      </td>   
     <td class="result" width="150px"  colspan="1"><b>MK3A1</b><br />
     	<img src="img/assignmens/a10.png" style="<?php echo $EoT->box_shadow($data['xpma10_count']); ?>;width:150px;" />
     	 <?php
   	 if ($data['xpma10_count'] == 0){
   	 	  $h = $data['xpma10_criteria1']+$data['xpma10_criteria2']+$data['xpma10_criteria3']+($data['xpma10_criteria4']/60/60)+($data['xpma10_criteria5']/60/60);
      	$progress = number_format($h * 100 / '29', 2, '.', '');
      	?>
      	
      	<div class="progress" style="width:150px;margin-top:5px;">
      		<span style="float:left;font-size:8px;margin-left:60px;margin-top:-2px;position:absolute"><b><?php echo $progress; ?>%</b></span>
									        <div class="progress_size" style="width:<?php echo $progress; ?>%;max-width:149px;">&nbsp;</div>
								         </div>
	     <?php } ?></td>
     <td class="result" style="border-right:<?php echo $style['result_border']; ?>;text-align:left;" colspan="1">
       <?php echo '<b><span class="DIVtext">'.$data['xpma10_criteria1'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>10</b>'.LANG_ASSIGNMENTS_xpma10_criteria1; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma10_criteria2'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>5</b>'.LANG_ASSIGNMENTS_xpma10_criteria2; ?><br />
       <?php echo '<b><span class="DIVtext">'.$data['xpma10_criteria3'].'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>10</b>'.LANG_ASSIGNMENTS_xpma10_criteria3; ?><br />
       <?php echo '<b><span class="DIVtext">'.$EoT->time_H_M($data['xpma10_criteria4']).'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>2</b>'.LANG_ASSIGNMENTS_xpma10_criteria4; ?><br />
       <?php echo '<b><span class="DIVtext">'.$EoT->time_H_M($data['xpma10_criteria5']).'</span></b>'.LANG_ASSIGNMENTS_FROM.'<b>2</b>'.LANG_ASSIGNMENTS_xpma10_criteria5;
        if ($data['xpma10_count'] == 1){
        	echo '<br />'.LANG_ASSIGNMENTS_COUNT.'<br />'.$EoT->unix_to_time($data['xpma10_date']);
      }
      ?>
      
      
      </td> 
      
     
     
 	</table>


      