Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: david Panter
Added: Jul 30, 2019 11:00 AM
Views: 1
Tags: no tags
  1. if ($mpreRecord =="157") {
  2.           $mRecord['mawb'] =  "<a style='color:#ffffff'  href='http://www.qrcargo.com/trackshipment?docNumber=" . $mpostRecord . "&docType=MAWB&docPrefix=". $mpreRecord."'><button type='button' class='btn btn-shadow btn-success btn-block btn-xs'>". $mpreRecord ."-".$mpostRecord."</button></a>";
  3.         } else {
  4.             $mRecord['mawb'] = substr($mRecord['mawb'],0,3)."-".substr($mRecord['mawb'],+3) ;
  5.         }
  6.          if ($mpreRecord =="910") {
  7.           $mRecord['mawb'] =  "<a style='color:#ffffff'  href='https://omanair.smartkargo.com/FrmAWBTracking.aspx?AWBPrefix=" . $mpreRecord . "&=". $mpostRecord."'><button type='button' class='btn btn-shadow btn-success btn-block btn-xs'>". $mpreRecord ."-".$mpostRecord."</button></a>";
  8.         } else {
  9.             $mRecord['mawb'] = substr($mRecord['mawb'],0,3)."-".substr($mRecord['mawb'],+3) ;
  10.         }
  11.        
  12.          if ($mpreRecord =="932") {
  13.           $mRecord['mawb'] =  "<a style='color:#ffffff'  href='https://cargo.virgin-atlantic.com/gb/en/track/track-your-cargo.html?prefix=" . $mpreRecord . "&number=". $mpostRecord."'><button type='button' class='btn btn-shadow btn-success btn-block btn-xs'>". $mpreRecord ."-".$mpostRecord."</button></a>";
  14.         } else {
  15.             $mRecord['mawb'] = substr($mRecord['mawb'],0,3)."-".substr($mRecord['mawb'],+3) ;
  16.         }  
  17.