~nedimhad91/spi/spi

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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
    <script src="http://extjs-public.googlecode.com/svn/tags/extjs-4.0.7/release/ext-all.js"></script>
    <!-- thumbnail scroller stylesheet -->
    <script src="js/holder.js"></script>
    <script type="text/javascript" src="js/dhisFunctions.js"></script>

        <title>Social Profile Integeration :: INF5750</title>
    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="jumbotron-narrow.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy this line! -->
    <!--[if lt IE 9]><script src="/js/ie8-responsive-file-warning.js"></script><![endif]-->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->


</head>

<!--  <body onload="getUserdata()">-->

<body>


    <div class="container">
        <div class="header">
            <ul class="nav nav-pills pull-right">
                <li><a href="dashboard.html">Home</a>
                </li>
                <li class="active"><a href="News.html">Facebook</a>
                </li>
                <li><a href="fb.html">Test</a>
                </li>
            </ul>
            <h3 class="text-muted">Social Profile Integeration :: INF5750</h3>
        </div>





        <div class="jumbotron">
            <img class="img-circle" id="picture" border="2" alt="Generic placeholder image" align="right">
            <h2 alig="right" id="name"></h2>
            <h2 alig="right">Shahzad Ali Khan</h2>
            <!-- <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>-->

            <!-- <p><a class="btn btn-lg btn-success" href="#" role="button">Sign up today</a></p>-->
        </div>



        <div class="row marketing">
            <div id="profile" align="center"></div>
            <div class="red">
                <div>
                    <label class="labelGrad" style="width:350px;height:30px;color:white">My Friends</label>
                    <label class="labelGrad" style="width:350px;height:30px;background-color:#3b5998;color:white">Mutual Friends</label>
                </div>
                <table class="CSSTableGenerator" width="350px" style="float: left" id="dhisUserTable">

                    <thead>

                    </thead>
                    <tbody id="tboda">
                        <td></td>
                        <td></td>
                    </tbody>
                </table>

                <table class="CSSTableGenerator" width="350px" style="float: left" id="dhisMututalFriends">

                    <thead>

                    </thead>
                    <tbody id="mtboda">
                        <td></td>
                        <td></td>
                    </tbody>
                </table>

            </div>
            <style>
                .labelGrad {
                    background: #1e5799;
                    /* Old browsers */
                    background: -moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
                    /* FF3.6+ */
                    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1e5799), color-stop(50%, #2989d8), color-stop(51%, #207cca), color-stop(100%, #7db9e8));
                    /* Chrome,Safari4+ */
                    background: -webkit-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
                    /* Chrome10+,Safari5.1+ */
                    background: -o-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
                    /* Opera 11.10+ */
                    background: -ms-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
                    /* IE10+ */
                    background: linear-gradient(to bottom, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
                    /* W3C */
                    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#1e5799', endColorstr='#7db9e8', GradientType=0);
                    /* IE6-9 */
                }
                .red {
                    width: 750px;
                    height: 650px;
                    border: 4px #1e458a dashed;
                    background-color: #e5edfa;
                    padding: 18px;
                    color: #002157;
                    font-size: inherit;
                    font-weight: inherit;
                    font-family: inherit;
                    font-style: inherit;
                    text-decoration: inherit;
                    -webkit-border-radius: 8px;
                    -moz-border-radius: 8px;
                    border-radius: 8px;
                    -moz-box-shadow: 0px 0px 10px 0px #333333;
                    -webkit-box-shadow: 0px 0px 10px 0px #333333;
                    box-shadow: 0px 0px 10px 0px #333333;
                }
                margin: 0px;
                padding: 0px;
                width: 100%;
                box-shadow: 10px 10px 5px #888888;
                border: 1px solid #cccccc;
                -moz-border-radius-bottomleft: 12px;
                -webkit-border-bottom-left-radius: 12px;
                border-bottom-left-radius: 12px;
                -moz-border-radius-bottomright: 12px;
                -webkit-border-bottom-right-radius: 12px;
                border-bottom-right-radius: 12px;
                -moz-border-radius-topright: 12px;
                -webkit-border-top-right-radius: 12px;
                border-top-right-radius: 12px;
                -moz-border-radius-topleft: 12px;
                -webkit-border-top-left-radius: 12px;
                border-top-left-radius: 12px;
            }
            .CSSTableGenerator table {
                border-collapse: collapse;
                border-spacing: 0;
                width: 100%;
                height: 100%;
                margin: 0px;
                padding: 0px;
            }
            .CSSTableGenerator tr: last-child td: last-child {
                -moz-border-radius-bottomright: 12px;
                -webkit-border-bottom-right-radius: 12px;
                border-bottom-right-radius: 12px;
            }
            .CSSTableGenerator table tr: first-child td: first-child {
                -moz-border-radius-topleft: 12px;
                -webkit-border-top-left-radius: 12px;
                border-top-left-radius: 12px;
            }
            .CSSTableGenerator table tr: first-child td: last-child {
                -moz-border-radius-topright: 12px;
                -webkit-border-top-right-radius: 12px;
                border-top-right-radius: 12px;
            }
            .CSSTableGenerator tr: last-child td: first-child {
                -moz-border-radius-bottomleft: 12px;
                -webkit-border-bottom-left-radius: 12px;
                border-bottom-left-radius: 12px;
            }
            .CSSTableGenerator tr: hover td {
                background-color: #ffffff;
            }
            .CSSTableGenerator td {
                vertical-align: middle;
                background-color: #f7f7f7;
                border: 1px solid #cccccc;
                border-width: 0px 1px 1px 0px;
                text-align: left;
                padding: 7px;
                font-size: 10px;
                font-family: Arial;
                font-weight: normal;
                color: #000000;
            }
            .CSSTableGenerator tr: last-child td {
                border-width: 0px 1px 0px 0px;
            }
            .CSSTableGenerator tr td: last-child {
                border-width: 0px 0px 1px 0px;
            }
            .CSSTableGenerator tr: last-child td: last-child {
                border-width: 0px 0px 0px 0px;
            }
            .CSSTableGenerator tr: first-child td {
                background: -o-linear-gradient(bottom, #82a3e5 5%, #3b5998 100%);
                background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #82a3e5), color-stop(1, #3b5998));
                background: -moz-linear-gradient(center top, #82a3e5 5%, #3b5998 100%);
                filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#82a3e5", endColorstr="#3b5998");
                background: -o-linear-gradient(top, #82a3e5, 3b5998);
                background-color: #82a3e5;
                border: 0px solid #cccccc;
                text-align: center;
                border-width: 0px 0px 1px 1px;
                font-size: 14px;
                font-family: Trebuchet MS;
                font-weight: bold;
                color: #ffffff;
            }
            .CSSTableGenerator tr: first-child: hover td {
                background: -o-linear-gradient(bottom, #82a3e5 5%, #3b5998 100%);
                background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #82a3e5), color-stop(1, #3b5998));
                background: -moz-linear-gradient(center top, #82a3e5 5%, #3b5998 100%);
                filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#82a3e5", endColorstr="#3b5998");
                background: -o-linear-gradient(top, #82a3e5, 3b5998);
                background-color: #82a3e5;
            }
            .CSSTableGenerator tr: first-child td: first-child {
                border-width: 0px 0px 1px 0px;
            }
            .CSSTableGenerator tr: first-child td: last-child {
                border-width: 0px 0px 1px 1px;
            }
            <!-- --> tablee {
                background-color: #f7f7f7;
                width: 200px;
                border-color: #cccccc;
            }
            tbody {
                background-color: #f7f7f7;
                height: 500px;
                overflow: auto;
                font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
            }
            td {
                padding: 3px 10px;
            }
            thead > tr,
            tbody {
                display: block;
            }
            </style>

        </div>
    </div>


    <!--  
	  
	<div class="fb-comments" data-href="http://apps.dhis2.org/demo/dhis-web-dashboard-integration/" data-numposts="10" data-width="700"></div>
	  ----------
        <textarea></textarea>
		<div class="fb-share-button" data-href="http://apps.dhis2.org/demo/dhis-web-dashboard-integration" data-type="box_count"></div>
		
		------------
		
		<div class="fb-like" data-href="http://apps.dhis2.org/demo/dhis-web-dashboard-integration/" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>
		
		<div class="fb-activity" data-site="http://apps.dhis2.org/demo/" data-action="likes, recommends" data-colorscheme="light" data-header="true"></div>
		-->



    <div class="footer">
        <p>&copy; INF 5750</p>
    </div>

    </div>
    <!-- /container -->


    <!-- Bootstrap core JavaScript<script 
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script>
        $(document).ready(function () {
            getFbPic(754504513);
        });
    </script>
</body>

</html>