<head>
<?php include('lskfjwfe.php'); 
 $sqllv = $db2->query("SELECT * FROM settings WHERE settings.id=1 ") or die(mysql_error());
 $rowlv = mysqli_fetch_array( $sqllv );
 if($rowlv['sitelive']=='0'){?>
	<script> window.location.replace("https://www.motorclub.gr");
</script>
    <?php exit; } ?>

		<!-- Basic -->
		<meta charset="UTF-8">

		<title>Motorclub Admin</title>
		<meta name="keywords" content="" />
		<meta name="description" content="Edde Admin">
		<meta name="author" content="Web Voyage">
		<meta name="robots" content="noindex, nofollow">
		<!-- Mobile Metas -->
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

		<!-- Web Fonts  -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:100,300,400,600,800,900|Shadows+Into+Light" rel="stylesheet" type="text/css">

		<!-- Vendor CSS -->
		<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.css" />
		<link rel="stylesheet" href="vendor/animate/animate.css">

		<link rel="stylesheet" href="vendor/font-awesome/css/all.min.css" />
		<link rel="stylesheet" href="vendor/magnific-popup/magnific-popup.css" />
		<link rel="stylesheet" href="vendor/bootstrap-datepicker/css/bootstrap-datepicker3.css" />

		<!-- Specific Page Vendor CSS -->
	<?php if($pagerole=="index"){?>	
	    <link rel="stylesheet" href="vendor/jquery-ui/jquery-ui.css" />
		<link rel="stylesheet" href="vendor/jquery-ui/jquery-ui.theme.css" />
		<link rel="stylesheet" href="vendor/bootstrap-multiselect/css/bootstrap-multiselect.css" />
		<link rel="stylesheet" href="vendor/morris/morris.css" />
		
		<link rel="stylesheet" href="vendor/boxicons/css/boxicons.min.css" />
	
		<link rel="stylesheet" href="vendor/datatables/media/css/dataTables.bootstrap4.css" />

<?php } 
	elseif($pagerole=="lists"){?>	
		<link rel="stylesheet" href="vendor/select2/css/select2.css" />
		<link rel="stylesheet" href="vendor/select2-bootstrap-theme/select2-bootstrap.min.css" />
		<link rel="stylesheet" href="vendor/datatables/media/css/dataTables.bootstrap4.css" />
	<?php } 
	elseif($pagerole=="user"){?>	
	<link rel="stylesheet" href="vendor/boxicons/css/boxicons.min.css" />
		<link rel="stylesheet" href="vendor/select2/css/select2.css" />
		<link rel="stylesheet" href="vendor/select2-bootstrap-theme/select2-bootstrap.min.css" />
		<link rel="stylesheet" href="vendor/pnotify/pnotify.custom.css" />
		<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/rome/3.0.2/rome.css" integrity="sha512-TAAJeGIyqkrJ4o4ZkIPesmqNKH9zowoRBGHkHUf1s4vWeII8Dv3NayKIq8Hws02HWT3OpocxeSaOQEQo9SH7ZQ==" crossorigin="anonymous" />
<style>.rd-day-body {
   
    padding: 1rem;
	}</style>
	<?php } 
	elseif($pagerole=="form"){?>	
	<link rel="stylesheet" href="vendor/boxicons/css/boxicons.min.css" />
		<link rel="stylesheet" href="vendor/jquery-ui/jquery-ui.css" />
		<link rel="stylesheet" href="vendor/jquery-ui/jquery-ui.theme.css" />
		<link rel="stylesheet" href="vendor/select2/css/select2.css" />
		<link rel="stylesheet" href="vendor/select2-bootstrap-theme/select2-bootstrap.min.css" />
		<link rel="stylesheet" href="vendor/bootstrap-multiselect/css/bootstrap-multiselect.css" />
		<link rel="stylesheet" href="vendor/bootstrap-tagsinput/bootstrap-tagsinput.css" />
		<link rel="stylesheet" href="vendor/bootstrap-colorpicker/css/bootstrap-colorpicker.css" />
		<link rel="stylesheet" href="vendor/bootstrap-timepicker/css/bootstrap-timepicker.css" />
		<link rel="stylesheet" href="vendor/dropzone/basic.css" />
		<link rel="stylesheet" href="vendor/dropzone/dropzone.css" />
		<link rel="stylesheet" href="vendor/bootstrap-markdown/css/bootstrap-markdown.min.css" />
		<link rel="stylesheet" href="vendor/summernote/summernote-bs4.css" />
		<link rel="stylesheet" href="vendor/codemirror/lib/codemirror.css" />
		<link rel="stylesheet" href="vendor/codemirror/theme/monokai.css" />
		
	<?php } 
		elseif($pagerole=="index2"){?>?>
			<link rel="stylesheet" href="vendor/codemirror/lib/codemirror.css" />
				<link rel="stylesheet" href="vendor/codemirror/theme/monokai.css" />
				<?php }
				
				elseif($pagerole=="calendar"){?>?>
				<link rel="stylesheet" href="vendor/jquery-ui/jquery-ui.css" />
				<link rel="stylesheet" href="vendor/jquery-ui/jquery-ui.theme.css" />
				<link rel="stylesheet" href="vendor/fullcalendar/fullcalendar.css" />
				<link rel="stylesheet" href="vendor/fullcalendar/fullcalendar.print.css" media="print" />
		
				<?php } ?>
		<!--(remove-empty-lines-end)-->

		<!-- Theme CSS -->
		<link rel="stylesheet" href="css/theme.css" />


		<!--(remove-empty-lines-end)-->



		<!-- Skin CSS -->
		<link rel="stylesheet" href="css/skins/default.css" />

		<!-- Theme Custom CSS -->
		<link rel="stylesheet" href="css/custom.css">

		<!-- Head Libs -->
		<script src="vendor/modernizr/modernizr.js"></script>

	</head>
	<?php include('header.php'); ?>