コード例 #1
0
  FB.init({
    status : true, // check login status
    cookie : true, // enable cookies to allow the server to access the session
    xfbml  : true  // parse XFBML
  });
</script>

<div id="results_options">
<span style="float right;">	
	<a href="#" onclick="publishToWall();"><img src="<?php 
echo html_root('images/publish_to_wall.png');
?>
"/></a>
	<a href="<?php 
echo html_root('generate.php?q=0');
?>
"><img src="<?php 
echo html_root('images/retake_quiz.png');
?>
"/></a>
</span>
</div>


 </center>


<?php 
include 'footer.php';
?>
<script>FB.CanvasClient.startTimerToSizeToContent()</script>
コード例 #2
0
ファイル: index.php プロジェクト: Snake4life/Random_Generator
include 'header.php';
?>
<title><?php 
echo FB_CONFIG_APP_NAME;
?>
</title>
<center><img src="<?php 
echo FB_CONFIG_LOGO_IMAGE;
?>
" id="logo"/></center>
<p id="intro"><?php 
echo FB_MAIN_PAGE_INTRO;
?>
</p>

<center>
	<div id="grey-button">
		<a href="<?php 
echo html_root('generate.php?q=0');
?>
" class="grey-button pcb">
			<span><b><?php 
echo FB_CONFIG_BUTTON_NAME;
?>
</b></span>
		</a>
	</div>
</center>

<?php 
include 'footer.php';