head.inc 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. function li_arrow() {
  3. return '<li style="list-style-image: url(\'images/arrow_0' . rand(1,6) . '.gif\');">';
  4. }
  5. function li_star() {
  6. return '<li style="list-style-image: url(\'images/star_0' . rand(1,5) . '.gif\');">';
  7. }
  8. ?>
  9. <?php echo '<?' . 'xml version="1.0" encoding="iso-8859-1"?' . '>'; ?>
  10. <!DOCTYPE html
  11. PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  12. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  13. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  14. <head>
  15. <title>dompdf - The PHP 5 HTML to PDF Converter</title>
  16. <link rel="stylesheet" href="style.css" type="text/css"/>
  17. <link rel="SHORTCUT ICON" href="http://<?php echo $_SERVER["HTTP_HOST"] . dirname($_SERVER["PHP_SELF"]);?>/images/favicon.ico"/>
  18. </head>
  19. <body>
  20. <div id="header">
  21. <a href="index.php"><img id="logo" src="images/title.gif" alt="dompdf"/></a>
  22. </div>
  23. <div id="left_col">
  24. <h2>dompdf Homepage</h2>
  25. <ul>
  26. <li style="list-style-image: url('images/star_02.gif');"><a style="font-size: 0.8em;" href="http://code.google.com/p/dompdf/">dompdf @ google code</a></li>
  27. </ul>
  28. <h2>Examples</h2>
  29. <ul>
  30. <li style="list-style-image: url('images/arrow_02.gif');"><a href="examples.php">samples</a></li>
  31. <li style="list-style-image: url('images/arrow_03.gif');"><a href="examples.php#demo">demo</a></li>
  32. </ul>
  33. <p>Send bug reports &amp; support questions to <a href="http://groups.google.com/group/dompdf">Google Groups</a>.
  34. </p>
  35. </div>
  36. <div id="content">