PHP
php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
if ($_SERVER['PHP_SELF'] != "/admin/login.php" && $_SERVER['PHP_SELF'] != "/admin/register.php"){
include('auth.php');
include ('meta.php');
include $_SERVER["DOCUMENT_ROOT"] . "/core/config.php";}
else {
include $_SERVER["DOCUMENT_ROOT"] . "/core/config.php";
include ('meta.php');
}
?>
<!-- Index Start -->
<!DOCTYPE html>
<html>
<head>
<title><?php echo $title; ?></title>
<meta name="language" content="english" />
<meta name="author" content="Vithul T Nair">
<meta name="reply-to" content="admin@ucinema.ml">
<!-- OG Attributes -->
<meta property="og:title" content="<?php echo $title; ?>" /> <meta property="og:type" content="website" />
<meta property="og:url" content="<?php echo 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>" />
<meta property="og:image" content="https://ucinema.ml/ico/ms-icon-310x310.png" />
<meta property="og:image:alt" content="https://ucinema.ml/ico/ms-icon-180x180.png" />
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run