- Messages
- 1,682
- Reaction score
- 32
- Points
- 48
Code:
[PHP]<?php
require('config.php');
if($maintenance_mode == "1"){
include('maintenance.php');
exit();
} else {
if($construction_mode == "1"){
include('construction.php');
exit();
} else {
?>[/PHP]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>trial1 - anasianscreations</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="style.css" media="screen"/>
</head>
<body>
<!--ContentHere-->
</body>
</html>
[PHP]<?php
}
}
?>[/PHP]
I want to have this part in a file called: 'check.php'
PHP:
<?php
require('config.php');
if($maintenance_mode == "1"){
include('maintenance.php');
exit();
} else {
if($construction_mode == "1"){
include('construction.php');
exit();
} else {
?>