forked from picometer/GR-Board
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtml_head.php
20 lines (20 loc) · 1012 Bytes
/
html_head.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
$grboard = str_replace('/'.end(explode('/', $_SERVER['REQUEST_URI'])), '', $_SERVER['REQUEST_URI']);
$styleURL = $grboard;
$_GET['htmlHeadAdd'] = $_POST['htmlHeadAdd'] = $_REQUEST['htmlHeadAdd'] = '';
if($getOutlogin['var']) $styleURL = $grboard.'/admin/theme/outlogin/'.$getOutlogin['var'];
if($getJoinus['var']) $styleURL = $grboard.'/admin/theme/join/'.$getJoinus['var'];
if($getScrapView['var']) $styleURL = $grboard.'/admin/theme/scrap/'.$getScrapView['var'];
if($getMemo['var']) $styleURL = $grboard.'/admin/theme/memo/'.$getMemo['var'];
if($getReport['var']) $styleURL = $grboard.'/admin/theme/report/'.$getReport['var'];
if($getInformation['var']) $styleURL = $grboard.'/admin/theme/info/'.$getInformation['var'];
if($preRoute) $styleURL = $preRoute;
?>
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="<?php echo $styleURL; ?>/style.css" type="text/css" title="style" />
<meta charset="utf-8" />
<?php echo $htmlHeadAdd; ?>
<title><?php echo $title; ?></title>
</head>