Advertisement
Sandbird

Untitled

Jun 4th, 2023
692
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  1. $w = 16;
  2. $p = $this->data['ecdc']['DoseAdditional2']/100;
  3. $v='';
  4. for($i=1; $i< $w-1;){
  5.     $v.=($i++==$w/2-1) ? '' : (($i<$w*$p)?'█':'░');
  6. }
  7. $DoseAdditional2 = $v;
  8. ...
  9. ....
  10. 2η Αναμνηστική:
  11. {$DoseAdditional2}
  12. {$this->data['ecdc']['DoseAdditional2']}%
  13.  
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement