<!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 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="../team/teamstatus" target="_self">&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp Team&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</a>
         <ul style="width:150px;">
            <li><a href="../team/teamstatus" title="Team Properties" target="_self" >Team Properties</a></li>
            <li><a href="../team/league" title="League" target="_self" >League</a></li>
            <li><a href="../team/stadium" title="Stadium" target="_self" >Stadium</a></li>
            <li><a href="../team/staff" title="Staff" target="_self" >Staff</a></li>
            <li><a href="../team/economy" title="Economy" target="_self" >Economy</a></li>
         </ul>
	   </li>
       <li><span class="divider divider-vert" ></span></li>
      <li><a class="item-primary" href="../player/playerstatus" target="_self">&nbsp&nbsp&nbsp&nbsp&nbsp Players&nbsp&nbsp&nbsp&nbsp&nbsp</a>
         <ul style="width:150px;">
            <li><a href="../player/playerstatus" title="Player Attributes" target="_self" >Player Attributes</a></li>
            <li><a href="../player/training" title="Training" target="_self" >Training</a></li>
         </ul>
	   </li>
       <li><span class="divider divider-vert" ></span></li>
      <li><a class="item-primary" href="../match/matchmotor" 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="../transfer/transferstatus" 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>


</br>
	<table>
		<tr>
		</tr>
		<tr>
		<? if(empty($team->id)) { ?>
		
       <div id="createteam">
         <?=form::open("team/createteam")?>
	
	
	<table id="takimkur">
		<tr>
			<td><?= form::label("Team Name:") ?></td>
			<td><?= form::input("teamname") ?></td>
		</tr>
		<tr>
			<td><?= form::label("Stadium Name:") ?></td>
			<td><?= form::input("stadiumname") ?></td>
		</tr>
		<tr>
			<td><?=form::submit("Takımı Kur", "Takımı Kur")?></td>
			<td></td>
			<td></td>
		</tr>
		
	</table>
	<?=form::close()?>

		</div>
		<? } else {  ?>
  <div id="teamdiv">
    <? if(empty($league) && empty($stadium) && empty($staff) && empty($economy)) { ?>
   
    <img style="position: absolute; left:240px; top:-10px" border="0" src="../images/<? echo $team->id ?>.jpg" alt="Logo" width="200" height="200" />
   
    <div style=" font-size: x-large">
    <?=""."<b>$team->team_name</b>";?>


    </div>
      <br>  
    <br><br><br><br><br><br>
      <br><br><br><br>
     
 
    <div>
    <?=form::open("team/changeteamname")?>
   
    <table style="position: absolute; left:20px; top:260px">
        <tr>
            <td><?= form::label("New Name:") ?></td>
            <td><?= form::input("teamname") ?></td>
        </tr>
        <tr>
            <td><?=form::submit("Change Team Name", "  Change Team Name     ")?></td>
        </tr>
       
    </table>
    <?=form::close()?>
    </div>    





    <br><br>
   
    <div style="position: absolute; left:160px; top:380px; font-size: x-large">
    Upload Logo
   
    </div>
    <br>
<div style="position: absolute; left:20px; top:440px">
    <form action="../team/fileupload" enctype="multipart/form-data" method="post">
    <input type="hidden" name="MAX_FILE_SIZE" value="100000" />
    Choose a file to upload: <input name="uploadedfile" type="file" /><br />
    <input type="submit" value="Upload File" />
      </form>
   </div>
    <? } elseif(!empty($league)) { ?>
    <?="<b>League id: </b>".$league->id;?>
    <br><br>
    <?="<b>League name:</b> ".$league->league_name;?>
    <br>
    <br>
    <table id="leaguetable" style="top:260px">
      <tr>
        <th>
        </th>
        <th>
          Takım&nbsp;
        </th>
        <th>
          Pl
        </th>
        <th>
          W
        </th>
        <th>
          D
        </th>
        <th>
          L
        </th>
        <th>
          GF
        </th>
        <th>
          GA
        </th>
        <th>
          +/-
        </th>
        <th>
          Pts
        </th>
      </tr>
      <tr>
        <td>
          1.
        </td>
        <td>
          Senaten
        </td>
        <td align="right">
          4
        </td>
        <td align="right">
          3
        </td>
        <td align="right">
          1
        </td>
        <td align="right">
          0
        </td>
        <td align="right">
          11
        </td>
        <td align="right">
          3
        </td>
        <td align="right">
          +8
        </td>
        <td align="right">
          10
        </td>
      </tr>
      <tr>
        <td>
          2.
        </td>
        <td>
          Krasdas
        </td>
        <td align="right">
          4
        </td>
        <td align="right">
          2
        </td>
        <td align="right">
          1
        </td>
        <td align="right">
          1
        </td>
        <td align="right">
          9
        </td>
        <td align="right">
          6
        </td>
        <td align="right">
          +3
        </td>
        <td align="right">
          7
        </td>
      </tr>
      <tr>
        <td>
          3.
        </td>
        <td>
          Ahmettt
        </td>
        <td align="right">
          4
        </td>
        <td align="right">
          1
        </td>
        <td align="right">
          2
        </td>
        <td align="right">
          1
        </td>
        <td align="right">
          7
        </td>
        <td align="right">
          8
        </td>
        <td align="right">
          -1
        </td>
        <td align="right">
          5
        </td>
      </tr>
      <tr>
        <td>
          4.
        </td>
        <td>
          CengBros
        </td>
        <td align="right">
          4
        </td>
        <td align="right">
          1
        </td>
        <td align="right">
          1
        </td>
        <td align="right">
          2
        </td>
        <td align="right">
          7
        </td>
        <td align="right">
          9
        </td>
        <td align="right">
          -2
        </td>
        <td align="right">
          4
        </td>
      </tr>
      <tr>
        <td>
          5.
        </td>
        <td>
          Cebiyokspor
        </td>
        <td align="right">
          4
        </td>
        <td align="right">
          0
        </td>
        <td align="right">
          1
        </td>
        <td align="right">
          3
        </td>
        <td align="right">
          2
        </td>
        <td align="right">
          14
        </td>
        <td align="right">
          -13
        </td>
        <td align="right">
          1
        </td>
      </tr>
    </table>
   
    <? } elseif(!empty($stadium)) { ?>

    <div>
    </div>
    <div style="position: absolute; left: -140px; top: -20px; font-size: large">
    <?=$stadium->stadium_name;?>
    </div>

   
    <br>
     
    <div>
    <?=form::open("team/changestadiumname")?>
   
    <table style="position: absolute; left:20px; top:200px">
        <tr>
            <td><?= form::label("New Name:") ?></td>
            <td><?= form::input("stadiumname") ?></td>
        </tr>
        <tr>
            <td><?=form::submit("Change Stadium Name", "  Change Stadium Name     ")?></td>
        </tr>
       
    </table>
    <?=form::close()?>
    </div>
    <br>
    <div style="position: absolute; left:20px; top:264px; font-size: small; font-style: oblique">
      * Changing your stadium name will cost 2000 DM.
    </div>
    <br><br><br>
   
    <div style=" position: absolute; left:20px; top:320px; font-size: larger">
    <?="<b>Stadium Capacity: </b> ".$stadium->capacity." seats";?>
    </div>
    <br>
    <div>
    <?=form::open("team/changestadiumcapacity")?>
   
    <table style="position: absolute; left:20px; top:360px">
        <tr>
            <td><?= form::label("Increase or Decrease Seat:") ?></td>
            <td><?= form::input("capacity") ?></td>
            <td> x 10 DM</td>
        </tr>
        <tr>
            <td><?=form::submit("Change Stadium Capacity", "Change Stadium Capacity")?></td>
        </tr>
       
    </table>
    <?=form::close()?>
    </div>
   
    <br>
      <div style=" position: absolute; left:20px; top: 430px; font-size: small; font-style: oblique">
      * Each seat will cost 10 DM.
    </div>
   
    <br><br><br>
    <div style="position: absolute; left:20px; top: 480px; font-size: larger">
    <?="<b>Ticket Price:</b> ".$stadium->ticket_price;?>
    </div>
    <br>
    <div>
    <?=form::open("team/changeticketprice")?>
   
    <table style="position: absolute; left:20px; top: 510px">
        <tr>
            <td><?= form::label("New Ticket Price:") ?></td>
            <td><?= form::input("price") ?></td>
        </tr>
        <tr>
            <td><?=form::submit("Change Ticket Price", "     Change Ticket Price       ")?></td>
        </tr>
       
    </table>
    <?=form::close()?>
    </div>

   
    <br><br>




    <? } elseif(!empty($staff)) { ?>
   
    <div style=" position: absolute; left:-140px; font-size: larger">
    <?="<b>Coach</b>"."<b> number: </b>".$staff->coach_number;?>
    </div>
    <br>
    <div>
    <?=form::open("team/changecoachnumber")?>
   
    <table style="position: absolute; left:20px; top: 210px">
        <tr>
            <td><?= form::label("New Coach Number:") ?></td>
            <td><?= form::input("number") ?></td>
        </tr>
        <tr>
            <td><?=form::submit("Change Coach Number", "     Change Coach Number       ")?></td>
        </tr>
       
    </table>
    <?=form::close()?>
    </div>
    <br>
   
    <br><br>
   
    <div style=" position: absolute; left:20px; top:300px; font-size: larger">
    <?="<b>Physio number:</b> ".$staff->physio_number;?>
    </div>
    <br>
    <div>
    <?=form::open("team/changephysionumber")?>
   
    <table style="position: absolute; left:20px; top: 325px">
        <tr>
            <td><?= form::label("New Physio Number:") ?></td>
            <td><?= form::input("number") ?></td>
        </tr>
        <tr>
            <td><?=form::submit("Change Physio Number", "     Change Physio Number       ")?></td>
        </tr>
       
    </table>
    <?=form::close()?>
    </div>
    <br><br>
    <div style="position: absolute; left:20px; top: 405px; font-size: small; font-style: oblique">
      * Each staff will cost 1000 DM per week.
    </div>
<br><br>
   
   
   
   
   
   
   
    <? } elseif(!empty($economy)) { ?>
   
      <div style=" font-size: larger">
    <?="<b>Total Money:</b> ".$economy->total_money;?>
</div>
    <br>
      <div style=" font-size: larger">
    <?="<b>Weekly Total Income:</b> ".$economy->weekly_total_income;?>
</div>
    <br>
      <div style=" font-size: larger">
    <?="<b>Weekly Total Outgoing:</b> ".$economy->weekly_total_outgoing;?>
    </div>
    <br>
</div>
		
	<? } } ?>


	    
	<map name="TopMap">
  <area shape="rect" coords="3,5,728,85" href="http://best11fm.com/best/main" alt="Main" />
  </map>
	
	
	
	
</body>

</html>