<?php

/**

 *

 * @package GameKing

 * @subpackage Template

 * @since GameKing 1.0

 */

?>

<html>

<head>

<meta http-equiv="Content-type" content="text/html; charset=utf-8" />



<title><?php bloginfo('name'); ?> - Play <?php single_post_title(); ?></title>



<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="all" />



<?php wp_head(); ?>







<style type="text/css">

#fullgame {

  width:95%;

  margin:5px auto 0 auto;

  display:block;

  position: relative;

}



#fullgame h2 {

  background:#ddd;

  line-height:40px;

  margin-bottom: 5px;

  

}

</style>

</head>



<body>

  <center>

    <div id="fullgame">

      <h2><a href="javascript:history.go(-1)">< <?php _e('Back To', 'dp'); ?> <?php bloginfo('name'); ?> </a></h2>

    </div>

    <?php

    global $mypostid, $post;

    $mypostid = $post->ID;

    // overwrite the post id

    $post->ID = $mypostid;

    echo get_game($mypostid, $fullsize = false, $preview = false, $fullscreen = true);

    ?>

  </center>

<?php

wp_footer();





?>

</body>

</html>