		<!-- Main -->
			<div id="main">
				<div id="main-bot">
					<div id="content">
						<div class="block">
							<div class="block-bot">
								<div id="newspost">
									<div class="cnt">
										<div class="head">
											<div class="head-cnt">
											</div>
											<div id="postname">{name}</div></div>
												<div id="postdata">
													<small>Posted by {username} at {date} {views} views</small>
												</div>
											</br>
											<div class="cnt"> <div id="short">{Short}</div></div><hr><br>
											<div id="full"><?php echo albums("albums", "</tr><tr>", "3", "{albums}", "20", "2", "yes", ""); ?></div></br>
									</div>
							<div class="cl">&nbsp;</div>
						</div>
						</br>
					</div>
					</div>
						<div class="block">
							<div class="block-bot">
								<div id="newspost">
									<div class="cnt">
										<div class="head">
											<div class="head-cnt">
												<h3><center>Comments</center></h3>
											</div>
										</div>
												<center><b>
												<?php 
												require_once('comments.php');
												view_comments($_GET['id']);
												comment($_GET['id'],"$PHP_SELF");
												?>
												</b></center>
										</div>
									</div>
								</div>
							</div>
						</br>
					</div>
			<!--Sidebar-->
	<?php
	if ($gameid == "") {
	?>
					<div id="sidebar">
						<!-- Search -->
						<div id="search" class="block">
							<div class="block-bot">
								<div class="block-cnt">
									<form action="" method="post">
										<div class="cl">&nbsp;</div>
										<div class="fieldplace">
											<input type="text" class="field" value="Search" title="Search" />
										</div>
										<input type="submit" class="button" value="GO" />
										<div class="cl">&nbsp;</div>
									</form>
								</div>
							</div>
						</div>
						<!-- / Search -->
						<!-- Sign In -->
						<div id="sign" class="block">
							<div class="block-bot">
								<div class="block-cnt">
									<div class="cl">&nbsp;</div>
									<?php 
									if ($useridn == "") {
									?>
									<a href="login.html" class="button button-left">sign in</a>
									<a href="register.html" class="button button-right">create account</a>
									<div class="cl">&nbsp;</div>
									<p class="center"><a href="forgotpw.php">Forgot Password?</a></p>
									<?php 
									} else {
									echo welcome();
									}
									?>
								</div>
							</div>
						</div>
						<!-- / Sign In -->
						<div class="block">
							<div class="block-bot">
								<div class="head">
									<div class="head-cnt">
										<h3>Latest Features</h3>
									</div>
								</div>
								<div class="image-articles articles">
									<div class="cl">&nbsp;</div>
									<?php echo content("articles", "3", "sidebar-image"); ?>
									<div class="cl">&nbsp;</div>
									<a href="#" class="view-all">view all</a>
									<div class="cl">&nbsp;</div>
								</div>
							</div>
						</div>
						<div class="block">
							<div class="block-bot">
								<div class="head">
									<div class="head-cnt">
										<h3>Latest Previews</h3>
									</div>
								</div>
								<div class="image-articles articles">
									<div class="cl">&nbsp;</div>
										<?php echo content("previews", "3", "sidebar-image"); ?>
									<div class="cl">&nbsp;</div>
									<a href="#" class="view-all">view all</a>
									<div class="cl">&nbsp;</div>
								</div>
							</div>
						</div>
						<div class="block">
							<div class="block-bot">
								<div class="head">
									<div class="head-cnt">
										<h3>Videos</h3>
									</div>
								</div>
								<div class="text-articles articles">
									<?php echo content("videos", "3", "sidebar-image"); ?>
									<div class="cl">&nbsp;</div>
									<a href="#" class="view-all">view all</a>
									<div class="cl">&nbsp;</div>
								</div>
							</div>
						</div>
					</div>
					<?php
					} else {
					?>
					<div id="sidebar">
						<!-- Search -->
						<div id="search" class="block">
							<div class="block-bot">
								<div class="block-cnt">
									<form action="index.php?load=search" method="post">
										<div class="cl">&nbsp;</div>
										<div class="fieldplace">
											<input type="text" class="field" value="Search" title="Search" />
										</div>
										<input type="submit" class="button" value="GO" />
										<div class="cl">&nbsp;</div>
									</form>
								</div>
							</div>
						</div>
						<!-- / Search -->
						<!-- Sign In -->
						<div id="sign" class="block">
							<div class="block-bot">
								<div class="block-cnt">
									<div class="cl">&nbsp;</div>
									<?php 
									if ($useridn == "") {
									?>
									<a href="login.html" class="button button-left">sign in</a>
									<a href="register.html" class="button button-right">create account</a>
									<div class="cl">&nbsp;</div>
									<p class="center"><a href="forgotpw.php">Forgot Password?</a></p>
									<?php 
									} else {
									echo welcome();
									}
									?>
								</div>
							</div>
						</div>
						<!-- / Sign In -->
						<div class="block">
							<div class="block-bot">
								<div class="head">
									<div class="head-cnt">
										<h3>{game-name}</h3>
									</div>
								</div>
								<div class="image-articles articles">
									<div class="cl">&nbsp;</div>
									<div class="article">
										<div class="cl">&nbsp;</div>
										<center>{game-boxart}</center>
										<br></br>
									<p><b>Platform: </b>{game-icon}</p>
									<p><b>ESRB: </b> {game-esrb}</p>
									<p><b>Release: </b> {game-release}</p>

									<p><b>Publisher: </b> {game-publisher}</p>

									<p><b>Developer: </b> {game-developer}</p>
									<p><b>Genre: </b> {game-genre}</p>

										<div class="cl">&nbsp;</div>
									</div>
									<div class="cl">&nbsp;</div>
								</div>
							</div>
						</div>
						
						<div class="block">
							<div class="block-bot">
								<div class="head">
									<div class="head-cnt">
										<h3>Reviews</h3>
									</div>
								</div>
								<div class="image-articles articles">
									<div class="cl">&nbsp;</div>
									<p>Rating: <h3>{overall}</h3> </p>
									<p>User Rating: </p>
								</div>
							</div>
						</div>
						<div class="block">
							<div class="block-bot">
								<div class="head">
									<div class="head-cnt">
										<h3>Similar Games</h3>
									</div>
								</div>
								<div class="text-articles articles">
									<div class="article">
										<?php echo games("3", "{game-genre}", $platform[1], "similar-games"); ?>
									</div>
									<div class="cl">&nbsp;</div>
									<a href="#" class="view-all">view all</a>
									<div class="cl">&nbsp;</div>
								</div>
							</div>
						</div>
					</div>
					<?php
					}
					?>
					<!-- / Sidebar -->
					<div class="cl">&nbsp;</div>

									</div>
									</div>