Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Create link for Bekijk certificaat.
- // Usage [vdm_link({certlink[1]})]
- function vdm_link($url){
- $output = '';
- if($url){
- $output = '<a href="'.$url.'">Bekijk certificaat</a>';
- }
- return $output;
- }
- // Generate Fluo.
- // Usage [vdm_fluo({fluo[1]})]
- function vdm_fluo($fluo){
- $value = '';
- $choices = array(
- 'N' => 'NONE',
- 'F' => 'FAINT',
- 'M' => 'MEDIUM',
- 'S' => 'STRONG',
- );
- if( in_array( $fluo, array_keys( $choices ) ) ){
- $value = $choices[$fluo];
- }
- return $value;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement