Posted By


Angelboy on 06/21/10

Tagged


Statistics


Viewed 469 times
Favorited by 0 user(s)

Ultimo furni ildom


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Documento sin título</title>
  6. <style type="text/css">
  7. <!--
  8. #apDiv1 {
  9. position:absolute;
  10. width:200px;
  11. height:22px;
  12. z-index:1;
  13. }
  14. #apDiv2 {
  15. position:absolute;
  16. width:200px;
  17. height:115px;
  18. z-index:3;
  19. left: 10px;
  20. top: -20px;
  21. }
  22. #apDiv3 {
  23. position:absolute;
  24. width:200px;
  25. height:72px;
  26. z-index:2;
  27. top: 30px;
  28. }
  29. -->
  30. </style>
  31. </head>
  32.  
  33. <body>
  34. <?php
  35. //CopyRith Angelboy, Physlet
  36. $furl = file("http://www.ildom.com/client/XML/es/furnis.xml");
  37. $fcount = count($furl);
  38. $f_echo = $furl[$fcount-1];
  39. $file = explode("</", $f_echo);
  40. $file = explode(">", $file[1]);
  41. $nombre = explode('n="', $f_echo);
  42. $nombre = explode('"', $nombre[1]);
  43. $des = explode('d="', $f_echo);
  44. $des = explode('"', $des[1]);
  45.  
  46. echo '<div id="apDiv1"><strong>'.$nombre[0].'</strong></div>';
  47. echo '<div id="apDiv2">'.' <embed height="600" width="500" name="plugin" src="http://ildom.com/client/furnis/'. $file[0]. '.swf" type="application/x-shockwave-flash" wmode="transparent" > '.'</div>';
  48. echo '<div id="apDiv3">'.$des[0].'</div>';
  49. ?>
  50. </body>
  51. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.