-
Notifications
You must be signed in to change notification settings - Fork 228
/
Copy pathshare.php
28 lines (28 loc) · 848 Bytes
/
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
28
<?
require_once($_SERVER['DOCUMENT_ROOT'] . "/classes/stdf.php");
$title = urldecode( __paramInit('string', 'title') );
$login = urldecode( __paramInit('string', 'login') );
$name = urldecode( __paramInit('string', 'name') );
$img = urldecode( __paramInit('string', 'img') );
$gr_name = urldecode( __paramInit('string', 'gr_name') );
//$id = __paramInit( 'int', 'id' );
$from = __paramInit( 'string', 'from' );
$id = $_GET['id'];
if(is_array($id)) {
$id = array_map("intval", $id);
} else {
$id = intval($id);
}
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body {margin: 0;padding: 0;background:transparent;}
</style>
</head>
<body>
<?= SocialButtonsSrc( $id, $title, $img, $from, $login, $name, $gr_name ) ?>
</body>
</html>