<?php require admin_view('static/header') ?>

	<div class="container">



		<div class="row">

			<div class="col-lg-2 col-md-offset-1">

				<div class="btn-group-vertical" style="width:100%;">

					<a href="<?=admin_url('appearence')?>" class="btn btn-default <?php if(!route(2)){echo "active";}?>">Sayfalar</a>

					<a href="<?=admin_url('appearence/fields')?>" class="btn btn-default <?php if(route(2) == "fields"){echo "active";}?>">Özel Alanlar</a>

					<a href="<?=admin_url('appearence/blog')?>" class="btn btn-default <?php if(route(2) == "blog"){echo "active";}?>">Blog</a>

					<a href="<?=admin_url('appearence/announcements')?>" class="btn btn-default <?php if(route(2) == "announcements"){echo "active";}?>">Duyurular</a>

					<a href="<?=admin_url('appearence/themes')?>" class="btn btn-default <?php if(route(2) == "themes"){echo "active";}?>">Temalar</a>

					<a href="<?=admin_url('appearence/language')?>" class="btn btn-default <?php if(route(2) == "language"){echo "active";}?>">Diller</a>
					<a href="<?=admin_url('appearence/links')?>" class="btn btn-default <?php if(route(2) == "links"){echo "active";}?>">Linkler</a>
					<a href="<?=admin_url('appearence/menus')?>" class="btn btn-default <?php if(route(2) == "menus"){echo "active";}?>">Menüler</a>
					<a href="<?=admin_url('appearence/files')?>" class="btn btn-default <?php if(route(2) == "files"){echo "active";}?>">Dosyalar</a>

				</div>

			</div>

			<div class="col-lg-8">

				<?php

					if(route(2)){

						include admin_view('appearence/'.route(2));

					}else{

						include admin_view('appearence/'.$path);

					}

				?>

			</div>



		</div>		



	</div>

<?php require admin_view('static/footer') ?>