<?php

$step = 1;
include_once 'login.php';

$status .= '';

$newssite = '<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
	<title>Games Recap and News Editor</title>
	<link rel="stylesheet" href="GLSEditor.css">
	<script type="text/javascript" src="newsedit.js"></script>
</head>
<body onload="playereditStart()">
<div class="row header-row">
	<div class="sectionblock" id="headercontent">
		<h1>GoallineStats Sports Network</h1>
	</div>
</div>
<div id="row-menubar">
	<div class="sectionblock">
		<div id="headermenubar">
			<ul>
				<li><a href="newsedit.php">Player/Team Update</a></li>
				<li><a href="playeredit.php">Player Image Update</a></li>
				<li><a href="http://www.goallinestats.com/AHA/index.php?seasonid=19">Back to the League</a></li>
			</ul>
		</div>
	</div>
</div>
<div id="container">
	<div class="row">
		<div class="sectionblock">
			<div id="Status">
			'.$status.'
				</div>
		</div>
		<div class="sectionblock">
			<p>Assignments to teams are based on names being pulled off the AHA site.  If you see teams that you don\'t belong to, please let me know at <a href="mailto:glov0044@goallinestats.com">glov0044@goallinestats.com</a></p>
			<h2>Add/Update Your Player Image</h2>
			<div id="AddImage">
				<p>All Images will need to be approved.  You can create a photo for each team you are on, along with a "Master" photo.</a></p>
				<p>The "Master" profile refers to your player page that doesn\'t connect to any team.  If no team image is specified, the master image will be used instead.</p>
				<p>Images are resized to fit into a 170px by 170px area and possibly smaller versions depending on site.  This may change as the site gets revamped.</p>

					<h2>Choose profile:</h2>
					<div id="profileselect">
						</div>					
					Select image to upload:
					<input type="file" name="targetimage" id="targetimage">
					<input type="submit" value="Upload Image" name="submit" onclick="changePlayerImage()">
			</div>
		</div>
		<div class="sectionblock"><h5>Selected Profile\'s Current Photo:</h5>
			<div id="profileimage">
				</div>
		</div>'
		/*<div class="sectionblock">
			<h2>Submit a Player Update</h2>
			<input type="hidden" value="0" id="newsID" name="newsID">
				<input class="text-box" type="text" id="NewsTitle" placeholder="Title"><br /><br />
				<input type="button" onclick="formatText([NewsItem],\'h5\')" value="Header">
				<input type="button" onclick="formatText([NewsItem],\'b\')" value="Bold">
				<input type="button" onclick="formatText([NewsItem],\'i\')" value="Italic">
				<input type="button" onclick="formatText([NewsItem],\'u\')" value="Underline"><br/>
				 <textarea class="text-box text-area" type="text" id="NewsItem" name="NewsItem" placeholder="Article"></textarea><br />
				 <br />
				<p>Display on Team and Player Page? <select id="propogate">
					<option value="1">Show on Team</option>
					<option value="0">Player Page Only</option>
				</select></p>
				<p>Image Library ID (optional): <input type="text" id="imagelibrary"> <br />
				YouTube Video ID (optional): <input type="text" id="youtubeid"> <br /></p>
			</div>
			<input type="button" id="addnews" value="Submit Article" onclick="return newscheck()">
		</div>*/.'
	</div>
</div>	
<div class="row footer-row" > 
	<div class="sectionblock" id="footercontent">This section is still under development!  Please be patient as I work out all the kinks!<br />
	Any error should be reported to <a href="mailto:glov0044@goallinestats.com">JJ at glov0044@goallinestats</a>!
	</div>
</div>
</body>
</html>';

echo $newssite;
?>