• [b][/b]
  • [u][/u]
  • [i][/i]
  • [color=#FF0000][/color]
  • [color=blue][/color]
  • [b][u][/u][/b]

  • [url=][/url]
  • [url][/url]
  • [email]name@example.com[/email] name@example.com
  • [email=name@example.com][/email]

  • [quote=James][/quote]
    James :

  • [quote][/quote]

  • [code][/code]
    :
  • [code][/code]
    :

  • [img=PunBB logo]/img/logo.png[/img] PunBB logo

    '.$smiley_text[$i]; // Save the current text and image $cur_img = $smiley_img[$i]; $cur_text = $smiley_text[$i]; // Loop through the rest of the array and see if there are any duplicate images // (more than one text representation for one image) for ($next = $i + 1; $next < $num_smilies; ++$next) { // Did we find a dupe? if (isset($smiley_img[$next]) && $smiley_img[$i] == $smiley_img[$next]) { echo ' '.$lang_common['and'].' '.$smiley_text[$next]; // Remove the dupe so we won't display it twice unset($smiley_text[$next]); unset($smiley_img[$next]); } } echo ' '.$lang_help['produces'].' '.$cur_text.''."\n"; } ?>