-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathservices.php
More file actions
executable file
·101 lines (94 loc) · 2.53 KB
/
services.php
File metadata and controls
executable file
·101 lines (94 loc) · 2.53 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> Welcome to DSL FAITH </title>
<style type="text/css">
<?php echo htmlentities(file_get_contents('faith_style.css', true)); ?>
</style>
</head>
<table cellspacing="0" cellpadding="0" width="750px">
<tr>
<td>
<?php
require_once 'func.php';
require_once 'vars.php';
require_once 'facebook.php';
try
{
mysqlSetup($db);
$facebook = new Facebook($appapikey, $appsecret);
$user_id = $facebook->require_login();
$results = mysql_query("SELECT transform_add.transform_add_id,
transform_add.add_uid_a,
transform_add.add_time,
transform_add.social_path,
transform_add.status
from transform_add
where transform_add.add_uid_b = $user_id AND
transform_add.status = 0
order by transform_add.add_time DESC", $db);
$div_counter = 0;
while($row = mysql_fetch_array($results))
{
$div_counter++;
}
display_header_links($div_counter, $user_id);
}
catch (Exception $e)
{
echo 'Caught database exception: ', $e->getMessage(), "\n";
}
?>
</td>
</tr>
<tr>
<td height="10px"></td>
</tr>
<tr>
<td style="height: 650px;vertical-align:top;border-right: #3b5998 3px solid;border-top: #3b5998 3px solid;border-left: #3b5998 3px solid;border-bottom: #3b5998 3px solid;">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="5%"></td>
<td colspan="2" width="90%" style="padding-top: 20px;padding-bottom: 5px;font-weight: bolder;font-size: 10pt;font-family: Verdana, Arial;line-height: 45px;text-align: left;border-bottom: #AAAAAA 1px solid;">
FAITH Services</td><td colspan="2">
</td>
<td width="5%"></td>
</tr>
<tr>
<td width="5%"></td>
<td width="45%" valign="top">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="8%" height="45px">
<img src="<?php echo $source_server_url; ?>image/privacy_shield.jpg" />
</td>
<td width="92%" class="TransformTitleLink">
<a href="<?php echo $facebook_iframe_canvas_page_url; ?>service_privacy_shield.php?setting=1">Privacy Shield (IFrame App)</a>
</td>
</tr>
<tr>
<td></td>
<td class="TransformTitleDescription">
Recommend you a better privacy setting for your wall posts.
</td>
</tr>
</table>
</td>
<td width="45%" valign="top">
</td>
<td width="5%"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20px"></td>
</tr>
</table>
</td>
</tr>
</table>
</html>
<?php