<?php     
    include 'public/head.php';
    include 'public/header.php';
?>
	<style>
		._intro iframe{
			max-width: 100%;
		}
	</style>
            <div class="story_frm">
                <div class=" center _title">
                	<?php
                		$content = "";
                		foreach ($fact_res as $key => $val){
                			$stlye_str = "";
							if($key == DecodeId($_GET["f"])){
								$content = $val["prointro"].$val["detail"];
								$stlye_str = "border-bottom:5px solid rgba(255, 120, 0, 0.2);background: rgba(255, 120, 0, 0.2);width: 150px;border-radius:10px;";
							}
                	?>
		                	<a style="" href="Story.php?f=<?=$val["id"]?>">
			                    <img style="width:150px;<?=$stlye_str?>" src='public/picrou.php?m=1&v=<?=$val["signalpic"]?>'>
		                    </a>
	                <?php 
						} 
					?>
                </div>
                <div class="_intro">     
                	<?=$content?>
                </div>
            </div>
        <?php 
            include 'public/footer.php';
            include 'public/import_js.php';
            include 'public/use_script.php';
        ?>
    <div id="fb-root"></div>
    <script>
//     (function(d, s, id) {
//       var js, fjs = d.getElementsByTagName(s)[0];
//           if (d.getElementById(id)) return;
//           js = d.createElement(s); js.id = id;
//           js.src = 'https://connect.facebook.net/zh_TW/sdk.js#xfbml=1&version=v2.11';
//           fjs.parentNode.insertBefore(js, fjs);
//         }(document, 'script', 'facebook-jssdk'));
    </script>
    </body>
</html>