-
Notifications
You must be signed in to change notification settings - Fork 0
/
share.php
27 lines (25 loc) · 1.2 KB
/
share.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="https://www.facebook.com/2008/fbml">
<head>
<?php
$title = isset($_GET['title']) ? $_GET['title'] : '';
$desc = isset($_GET['desc']) ? $_GET['desc'] : '';
$thumb = isset($_GET['thumb']) ? $_GET['thumb'] : '';
$width = isset($_GET['width']) ? $_GET['width'] : '590';
$height = isset($_GET['height']) ? $_GET['height'] : '300';
$url = isset($_GET['url']) ? $_GET['url'] : 'https://codecanyon.net/user/demonisblack';
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title;?></title>
<meta property="og:title" content="<?php echo $title;?>" />
<meta property="og:description" content="<?php echo $desc;?> "/>
<meta property="og:image" content="<?php echo $thumb;?>"/>
<meta property="og:image:width" content="<?php echo $width;?>"/>
<meta property="og:image:height" content="<?php echo $height;?>"/>
</head>
<body>
<script>
window.location.href = "<?php echo $url;?>";
</script>
</body>
</html>