Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. Template Name:
  2. Template Code:
  3. $final_rendered = '' . ''; if (isset($optiontitle) AND !empty($optiontitle) AND isset($optionvalue)) {
  4. $final_rendered .= '
  5. <option value="' . $optionvalue . '" class="' . $optionclass . '" ' . $optionselected . '>' . $optiontitle . '</option>
  6. ';
  7. } else {
  8. $final_rendered .= '
  9. ' . ''; if (is_array($options) || $options instanceof ArrayAccess) { foreach ($options AS $forumid => $option) {$final_rendered .= '
  10. <option value="' . $option['optionvalue'] . '" class="' . $option['optionclass'] . '" ' . $option['optionselected'] . '>' . $option['optiontitle'] . '</option>
  11. '; } }$final_rendered .= '' . '
  12. ';
  13. }$final_rendered .=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement