Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ini_set("date.timezone", "Europe/Moscow");
- function wod($lang, $mode="N"){
- echo '<div id="'.$lang.'" style="width:540px;height:450px;margin:0 auto;"><iframe src="http://www.innovativelanguage.com/widgets/wotd/embed.php?language='.$lang.'&type=large&bg=%23FFFFFF&content=%23000&header=%2350A025&highlight=%23F9F9FA&opacity=1&scrollbg=%2300CAED&sound=%2300ACED&text=%2300ACED&quiz='.$mode.'" width="540" height="450" frameborder="0" scrolling="no"></iframe></div>';
- }
- ?>
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Misc Words of the Day</title>
- <style>
- body{background:#999;text-align:center;}
- </style>
- </head>
- <body>
- <!-- Brazilian -->
- <?php wod('Portuguese_Brazil');?>
- <!-- Finnish -->
- <?php wod('Finnish');?>
- <!-- German -->
- <?php wod('German', "Y");?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement