dec($task);}} switch($task) { case "default": $this->fn_default_sum(); break; case $task: $task="fn_".$task; if(method_exists($this,$task)){$this->$task();} break; default: $this->fn_default_sum(); break; } } public function fn_default_sum() { echo $this->FN_CREATEHEADER(); echo ""; echo ""; echo $this->FN_CLOSEHEADER(); echo $this->FN_CREATEBODY("white"); echo ""; echo " "; echo "
Nakroma Passenger Performance Period ".date("Y")."
"; $arr=array("4-H"=>"#f1c40f","5-C"=>"#f1c40f","5-F"=>"#f1c40f","5-G"=>"#f1c40f","5-H"=>"#f1c40f","20-C"=>"#2980b9","20-D"=>"#2980b9","30-D"=>"#2980b9"); // === Seat Code echo ""; for($h=1;$h<=10;$h++){ if($h==1){ echo ""; } echo ""; if($h==5){ echo ""; } } echo ""; // === SEAT Number for($i=1;$i<=30;$i++){ echo ""; for($j=1;$j<=10;$j++) { $colors="#ecf0f1"; //if($i==4&&$j==8){$colors="#f1c40f";} if(array_key_exists("$i-".chr(64+$j),$arr)){ $colors=$arr["$i-".chr(64+$j)]; } if($j==1){ echo ""; } echo ""; if($j==5){ echo ""; } } echo ""; } echo "
  ".chr(64+$h)." 
$i.
 
 
Nakroma Passenger
Period ".date("Y")."
Atauro : 55% (1.5K) Oekuse : 45% (800)
Nakroma Manifest
Nacroma Tonase : 200 ton
Threshold : 180 ton
Unit Qty ( \$ ) ( ton )
Passenger Person 300 \$1.800 15.0
Vehichle unit 10 \$6.800 20.0
Non Vehichle unit 10 \$4.700 18.0
Total 330 \$13.300 54.0
GAP ( Ton ) -> 180.0 - 54.0 =
126.0
Tonase Status  :  GOOD
"; echo $this->FN_CREATEFOOTER(); } } ?>