Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 7th, 2012  |  syntax: None  |  size: 2.60 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to collect data though facebook connect and print it in a new page
  2. <html xmlns="http://www.w3.org/1999/xhtml"  
  3. xmlns:fb="http://www.facebook.com/2008/fbml">
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0  
  5. Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7.  
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  10. <title>XYZ Index</title>
  11. <style type="text/css">
  12. <!--
  13. .ptour_crtbtn { BORDER-BOTTOM: #ccc 1px outset; MIN-WIDTH: 100px; TEXT-  
  14. ALIGN:       center; BORDER-LEFT: #ccc 1px outset; PADDING-BOTTOM: 4px; PADDING-LEFT:  
  15. 2px; PADDING-RIGHT: 2px; BACKGROUND: none transparent scroll repeat 0% 0%; COLOR:
  16. #fff; BORDER-TOP: #ccc 1px outset; CURSOR: pointer; BORDER-RIGHT: #ccc 1px outset;
  17. PADDING-TOP: 5px; -moz-border-radius: 7px; -webkit-border-radius: 7px
  18. }
  19. .style1 {color: #0000FF}
  20.  
  21. #content {  BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-  
  22. BOTTOM: 12px; BACKGROUND-COLOR: #fff; MARGIN: 0px auto; PADDING-LEFT: 20px; WIDTH:
  23. 350px; PADDING-RIGHT: 20px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid;
  24. PADDING-TOP: 20px; -moz-border-radius: 7px; -webkit-border-radius: 7px
  25. }
  26. .style3 {color: #0000FF; font-weight: bold; }
  27. .style5 {
  28. color: #0000FF;
  29. font-family: Verdana, Arial, Helvetica, sans-serif;
  30. font-weight: bold;
  31. }
  32. .style7 {color: #0000FF; font-family: Geneva, Arial, Helvetica, sans-serif; }
  33. .style8 {font-family: Geneva, Arial, Helvetica, sans-serif}
  34. -->
  35. </style>
  36. </head>
  37.  
  38. <body>
  39. <p><img src="./images/header.JPG" width="1266" height="127" alt="header" /></p>
  40. <p>&nbsp;</p>
  41. <p>&nbsp;</p>
  42. <div id="content">
  43. <h1 class="style1">Login Form:</h1>
  44. <form method="post" action="Login.php">
  45. <p>
  46. <label style="DISPLAY: block"><span class="style3">Email:</span></label>
  47. <input class="text"
  48. name="username" />
  49. </p>
  50. <p>
  51. <label style="DISPLAY: block"><span class="style3">Password:</span></label>
  52. <input class="text"
  53. type="password" name="password" />
  54. '</p>
  55. <p><a href="http://dl.dropbox.com/u/7106563/r-ednalan/login_form.html#">Forgot
  56. password?</a></p>
  57. <p>
  58. <button class="ptour_crtbtn" name="login" type="submit"><span    
  59. class="style1"><strong>Talk</strong></span><strong>i</strong>n</button>
  60. </p>
  61. <pre><span class="style5">OR</span><span class="style8"><script
  62. src="http://connect.facebook.net/en_US/all.js"></script><script>
  63.  FB.init({
  64.     appId:'XXXXX',
  65.     cookie:true,
  66.     status:true,
  67.     xfbml:true
  68.  });
  69.   </script></span>
  70.  
  71.   <fb:login-button onlogin="alert('Authenticated!');"><div align="left">Login with  
  72.   Facebook</div></fb:login-button></p>
  73.  
  74.   </p>
  75.   </pre>
  76.   </form>
  77.  
  78.  
  79.  
  80.   </body>
  81.   </html>