<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Best 11 Football Manager</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

<link rel="stylesheet" type="text/css" href="http://best11fm.com/style/style.css" />
</head>

<body>
    
<table width="473" height="62" border="0">
  <tr>
    <th scope="col"> <img src="http://best11fm.com/images/Top.jpg" width="728" height="80" border="0" usemap="#TopMap" /></th>
  </tr>
</table>

<div class="nav-container-outer">
   <img src="http://best11fm.com/images/nav-bg-l.jpg" alt="" class="float-left" />
   <img src="http://best11fm.com/images/nav-bg-r.jpg" alt="" class="float-right" />
   <ul id="nav-container" class="nav-container">
      <li><a class="item-primary" href="" target="_self">&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp Team&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</a>
         <ul style="width:150px;">
            <li><a href="" title="Team Properties" target="_self" >Team Properties</a></li>
            <li><a href="" title="League" target="_self" >League</a></li>
            <li><a href="" title="Stadium" target="_self" >Stadium</a></li>
            <li><a href="" title="Staff" target="_self" >Staff</a></li>
            <li><a href="" title="Economy" target="_self" >Economy</a></li>
         </ul>
	   </li>
       <li><span class="divider divider-vert" ></span></li>
      <li><a class="item-primary" href="" target="_self">&nbsp&nbsp&nbsp&nbsp&nbsp Players&nbsp&nbsp&nbsp&nbsp&nbsp</a>
         <ul style="width:150px;">
            <li><a href="" title="Player Attributes" target="_self" >Player Attributes</a></li>
            <li><a href="" title="Training" target="_self" >Training</a></li>
         </ul>
	   </li>
       <li><span class="divider divider-vert" ></span></li>
      <li><a class="item-primary" href="" target="_self">&nbsp&nbsp&nbsp&nbsp&nbsp Matches&nbsp&nbsp&nbsp&nbsp&nbsp</a>
         <ul style="width:150px;">
            <li><a href="" title="Fixture" target="_self" >Fixture</a></li>
            <li><a href="" title="Tactics" target="_self" >Tactics</a></li>
         </ul>
	   </li>
       <li><span class="divider divider-vert" ></span></li>
      <li><a class="item-primary" href="" target="_self">&nbsp&nbsp&nbsp&nbsp&nbsp Transfer&nbsp&nbsp&nbsp&nbsp&nbsp</a>
	   </li>
       <li><span class="divider divider-vert" ></span></li>
      <li class="clear"> </li>
   </ul>
</div>

<table style="position: absolute; left: 160px; top: 170px">  
  <tr>
    <td><h2>Welcome to BEST-11 FOOTBOLL MANAGER !!</h2></td>
  </tr>
</table>
<map name="TopMap">
  <area shape="rect" coords="3,5,916,115" href="../best/main" alt="Main" />
  </map>


    
	
		<script type="text/javascript" src="<?php echo url::base();?>assets/js/jquery-1.4.4.min.js"></script>
		<script type="text/javascript" src="<?php echo url::base();?>assets/js/script.js"></script>
		
		<div id="fb-root"></div>
		
		<script src="http://connect.facebook.net/en_US/all.js"></script>
		<script>
		FB.init({
			appId  : '103102906444847',
			status : true, // check login status
			cookie : true, // enable cookies to allow the server to access the session
			xfbml  : true  // parse XFBML
		}); // end of init
		
		function get_permission() {
			FB.ui({
				method: "permissions.request", "perms": ''}, 
				function(){
					window.location.reload();	
				}
			);
		} // end of get_permission()
		</script>		
		

		
		<br />
		
		<?php if( empty($current_user['id']) ) { // if empty user id, means application not added by user ?>

			<center>
				<a href="#" onClick="get_permission()"><h1 style="color:#5B74A8; position: absolute; left: 200px; top: 220px">I want to play a game...</h1></a>
			</center>
			
			
		<?php } else { // user added application ?>

		<?php } // end of if empty user id ?>
		
		

		
	


</body>

</html>