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" xml:lang="ja" lang="ja" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:mixi="http://mixi-platform.com/ns#"> 3<head> 4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" /> 5 6 7
8<script type="text/javascript"> 9window.onload = function() { 10setTimeout("show()",1500); 11} 12 13function show() { 14document.getElementById('gg0').style.display = 'none'; 15document.getElementById('gg').style.display = 'block'; 16} 17</script>
17 18<style type="text/css"> 19#gg { 20display: none; 21} 22</style> 23 24 25 26 27 28 </head> 29 <body > 30 31 32 33 <form action="https://www.anet-web.com/kodoku02_1.php" method="post" name="f"> 34 <input type="hidden" id="email" name="email" value="" /><input type="hidden" id="name" name="name" /> 35 </form> 36
37<script> 38 // This is called with the results from from FB.getLoginStatus(). 39 function statusChangeCallback(response) { 40 // The response object is returned with a status field that lets the 41 // app know the current login status of the person. 42 // Full docs on the response object can be found in the documentation 43 // for FB.getLoginStatus(). 44 if (response.status === 'connected') { 45 // Logged into your app and Facebook. 46 testAPI(); 47 } else if (response.status === 'not_authorized') { 48 // The person is logged into Facebook, but not your app. 49 document.getElementById('status').innerHTML = 'Please log ' + 50 'into this app.'; 51 } else { 52 // The person is not logged into Facebook, so we're not sure if 53 // they are logged into this app or not. 54 document.getElementById('status').innerHTML = 'Please log ' + 55 'into Facebook.'; 56 } 57 } 58 59 // This function is called when someone finishes with the Login 60 // Button. See the onlogin handler attached to it in the sample 61 // code below. 62 function checkLoginState() { 63 FB.getLoginStatus(function(response) { 64 statusChangeCallback(response); 65 }); 66 } 67 68 window.fbAsyncInit = function() { 69 FB.init({ 70 appId : '273062569451487', 71 cookie : true, // enable cookies to allow the server to access 72 // the session 73 xfbml : true, // parse social plugins on this page 74 version : 'v14.0' // use version 2.2 75 }); 76 77 // Now that we've initialized the JavaScript SDK, we call 78 // FB.getLoginStatus(). This function gets the state of the 79 // person visiting this page and can return one of three states to 80 // the callback you provide. They can be: 81 // 82 // 1. Logged into your app ('connected') 83 // 2. Logged into Facebook, but not your app ('not_authorized') 84 // 3. Not logged into Facebook and can't tell if they are logged into 85 // your app or not. 86 // 87 // These three cases are handled in the callback function. 88 89 FB.getLoginStatus(function(response) { 90 statusChangeCallback(response); 91 }); 92 93 }; 94 95 // Load the SDK asynchronously 96 (function(d, s, id) { 97 var js, fjs = d.getElementsByTagName(s)[0]; 98 if (d.getElementById(id)) return; 99 js = d.createElement(s); js.id = id; 100 js.src = "//connect.facebook.net/ja_JP/sdk.js"; 101 fjs.parentNode.insertBefore(js, fjs); 102 }(document, 'script', 'facebook-jssdk')); 103 104 // Here we run a very simple test of the Graph API after login is 105 // successful. See statusChangeCallback() for when this call is made. 106 function testAPI() { 107 FB.api('/me?fields=id,email,gender,link,locale,name,timezone,updated_time,verified,last_name,first_name,middle_name&locale=ja_JP', 108function(response) { 109 document.getElementById("email").value = response.email; 110 document.getElementById("name").value = response.name; 111 document.f.submit(); 112 }); 113 } 114 115//--> 116</script>
116 117 118 119 120 121 122 123 124 125 126 127 128 129<div id="gg0" style="text-align: center"></div> 130<div id="gg"> 131 <div style="margin: 15px; font-size:15px; font-weight: bold"> 132 133{^ðNbNµÄA³¿wÇðµæ¤I 134<br /><br /> 135 136 137 138<!--|bvAbvªoé³K<fb:login-button scope="public_profile,email" onlogin="checkLoginState();"></fb:login-button>--> 139 140 141 142 143<button onclick="fb_login()" >FacebookOC</button>
144<script type="text/javascript"> 145function fb_login() { 146 FB.login(function(res) { 147 if(typeof(res) == "object" && typeof(res.authResponse) == "object") { 148 //OCµÄ¢éêÌ 149 150location.reload(); 151 152 153 } else { 154 //OCµÄ¢È¢êÌ 155 alert("OCµÄ¢Ü¹ñBÄxOCµÄ¾³¢B");} 156 } 157 158,{scope:'public_profile,email'}); 159 160 161}; 162$(document).ready(function() { 163 $.ajax( { 164 "dataType": "script", 165 "cache": true, 166 "url": "//connect.facebook.net/ja_JP/sdk.js", 167 "success": function() { 168 FB.init( { 169 appId: "273062569451487", 170 version: "v14.0", 171 } ); 172 }, 173 } ); 174} ); 175</script>
175 176 177 178 179 </div> 180 181</div> 182 183</body> 184</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.