vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Happy | Xmas | Hanukkah | Kwanzaa | etc (https://vborg.vbsupport.ru/showthread.php?t=166084)

iogames 12-24-2007 11:00 PM

Happy | Xmas | Hanukkah | Kwanzaa | etc
 
Well I was waiting the thread to congratulate and thank everybody for this year...

Happy Holidays!

nexialys 12-24-2007 11:12 PM

and happy birthday ?!?!?!

Brad 12-25-2007 03:37 AM

You need this script:

PHP Code:

<?php

/* 
    Non-offensive Happy Holidays wisher.
    Version: 0.1x 
*/

$types = array('Christian''Jewish''Pan-African');

$person $something// set the correct type here.

switch ($person)
{
    case 
'Christian':
        echo(
'Merry Christmas!');
    break;

    case 
'Jewish':
        echo(
'Happy Hanukkah!');
    break;

    case 
'Pan-African':
        echo(
'Happy Kawnzaa!');
    break;

    default:
        echo(
'Happy Holidays!');
    break;
}

?>

Now all we gotta do is work on the part that reads minds and we'll never have this issue again. ;)

PoetJA-1975 12-25-2007 03:43 AM

Quote:

Originally Posted by Brad (Post 1408722)
You need this script:

PHP Code:

<?php

/* 
    Non-offensive Happy Holidays wisher.
    Version: 0.1x 
*/

$types = array('Christian''Jewish''Pan-African');

$person $something// set the correct type here.

switch ($person)
{
    case 
'Christian':
        echo(
'Merry Christmas!');
    break;

    case 
'Jewish':
        echo(
'Happy Hanukkah!');
    break;

    case 
'Pan-African':
        echo(
'Happy Kawnzaa!');
    break;

    default:
        echo(
'Happy Holidays!');
    break;
}

?>

Now all we gotta do is work on the part that reads minds and we'll never have this issue again. ;)


You misspelled KWANZAA = haha :p

Jacquii.

Brad 12-25-2007 04:28 AM

Quote:

Originally Posted by PoetJA-1975 (Post 1408724)
You misspelled KWANZAA = haha :p

Jacquii.

I blame wikipedia.

Shazz 12-25-2007 05:10 AM

Quote:

Originally Posted by Brad (Post 1408722)
You need this script:

PHP Code:

<?php

/* 
    Non-offensive Happy Holidays wisher.
    Version: 0.1x 
*/

$types = array('Christian''Jewish''Pan-African');

$person $something// set the correct type here.

switch ($person)
{
    case 
'Christian':
        echo(
'Merry Christmas!');
    break;

    case 
'Jewish':
        echo(
'Happy Hanukkah!');
    break;

    case 
'Pan-African':
        echo(
'Happy Kawnzaa!');
    break;

    default:
        echo(
'Happy Holidays!');
    break;
}

?>

Now all we gotta do is work on the part that reads minds and we'll never have this issue again. ;)


How do you test it again? :o

deezelpope 12-25-2007 10:29 AM



All times are GMT. The time now is 04:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01295 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete