Advertisement
jeremykendall

Test? Testing what, exactly?

Nov 21st, 2011
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.21 KB | None | 0 0
  1. <?php
  2.  
  3. $AppTitle = 'Test';
  4. $stylesheet = '../test.css';
  5. include "../common.inc";
  6.  
  7. Function PrintHead($AppTitle, $stylesheet)
  8. {
  9.  
  10.     print "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN'
  11.        'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
  12.        <html xmlns='http://www.w3.org/1999/xhtml' lang='en' xml:lang='en'>
  13.        <head>
  14.        <link rel='stylesheet' type='text/css' href='$stylesheet' >
  15.        <meta HTTP-EQUIV='CACHE-CONTROL' CONTENT='NO-CACHE'>
  16.        <meta HTTP-EQUIV='PRAGMA' CONTENT='NO-CACHE'>
  17.        <title>$AppTitle</title>";
  18. }
  19.  
  20. Function CloseHead() {
  21.     print "</head>";
  22. }
  23.  
  24. Function ClosePage() {
  25.     print "</body></html>";
  26. }
  27.  
  28. $dbn = 'testdb';
  29. $conn = myMSSQLdb($dbn);
  30.  
  31. print_r($conn);
  32.  
  33. PrintHead($AppTitle, $stylesheet);
  34. myIncjqueryjs();
  35. myCascade('source', 'target', 'selectfill.php?xQ=Agreements&dtype=option2');
  36. CloseHead();
  37. print '<body><form id=form name=form>';
  38. print "<select id='source' name=source>";
  39. print "<option value=1>One</option>";
  40. print "<option value=2>tw0</option>";
  41. print "<option value=3>three</option>";
  42. print "</select>";
  43. print "<select id='target' name=target>";
  44. print "</select>";
  45. print "</form>";
  46. ClosePage();
  47. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement