las7h0p3

formm.php

May 26th, 2013
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. <?
  2. require "include/bittorrent.php";
  3. dbconn();
  4.  
  5. function insert_tag($name, $description, $syntax, $example, $remarks)
  6. {
  7. $result = format_comment($example);
  8. print("<p class=sub><b>$name</b></p>\n");
  9. print("<table class=main width=100% border=1 cellspacing=0 cellpadding=5>\n");
  10. print("<tr valign=top><td width=25%>Description:</td><td>$description\n");
  11. print("<tr valign=top><td>Syntax:</td><td><tt>$syntax</tt>\n");
  12. print("<tr valign=top><td>Example:</td><td><tt>$example</tt>\n");
  13. print("<tr valign=top><td>Result:</td><td>$result\n");
  14. if ($remarks != "")
  15. print("<tr><td>Remarks:</td><td>$remarks\n");
  16. print("</table>\n");
  17. }
  18.  
  19.  
  20. stdhead("Tags");
  21. begin_main_frame();
  22. begin_frame("Tags");
  23. $test = $_POST["test"];
  24. $test1 = $_POST["test1"];
  25.  
  26.  
  27.  
  28.  
  29.  
  30. if ($test != "")
  31. print("<p>" . format_comment($test) . "</p>\n");
  32. if ($test1 != "")
  33. print("<p>" . format_comment($test1) . "</p>\n");
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41. end_frame();
  42. end_main_frame();
  43. stdfoot();
  44. ?>
Advertisement
Add Comment
Please, Sign In to add comment