Advertisement
Guest User

Untitled

a guest
Oct 15th, 2008
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.98 KB | None | 0 0
  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.  
  4. @@<txp:smd_if field="urlvar:print_id" operator="isnum">
  5. @@  <txp:variable name="print_id" value="{smd_if_print_id}"/>
  6. @@<txp:else />
  7. @@  <txp:variable name="print_id" value="error"/>
  8. @@</txp:smd_if>
  9.  
  10. <head>
  11.     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  12. <title>
  13.  
  14.   <txp:article_custom id='<txp:variable name="print_id" />'>
  15.     <txp:title />
  16.   </txp:article_custom>
  17.   :
  18.   <txp:site_name />
  19. </title>
  20. </head>
  21. <body>
  22.  
  23.  
  24. @@<txp:if_variable name="print_id" value="error">
  25.   <h2>Wrong id \ hacking atempt</h2>
  26. @@<txp:else />
  27.   <txp:article_custom id='<txp:variable name="print_id" />'>
  28.     <h1><txp:title /></h1>
  29.     <txp:article_image />
  30.     <txp:body />
  31.   </txp:article_custom>
  32. </txp:if_variable>
  33.  
  34. <div id="footer">
  35. &copy; 2008 Copyright</p>
  36. </div>  <!-- /footer -->
  37.  
  38. </body>
  39. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement