forked from iliu88/usell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
86 lines (60 loc) · 2.89 KB
/
main.html
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
<!DOCTYPE html>
<!-- Search Bar -->
<html>
<head>
<title>USellit</title>
</head>
<body>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
<script type="text/javascript" src="/scripts/jquery.js"></script>
<p>Input prototype. Data must be of form college firstname lastname item</p>
<form method="post">
<div>
<div><textarea name="content" rows="3" cols="60"></textarea></div>
<div><input type="submit" value="New item"></div>
</div>
</form>
<!-- Horzontal Line Across Page -->
<div style="margin-left:-8px;margin-right:-8px">
<hr style="color:Black;background-color:Black;border:0;width:100%;height:1px;" />
</div>
<!-- Like our Page -->
<h2>Like the USellit Facebook App Here:</h2>
<iframe src="https://www.facebook.com/plugins/like.php?href=https://www.facebook.com/collegeUSellit"
scrolling="no" frameborder="0"
style="border:none; width:450px; height:80px"></iframe>
<!-- Checks whether you are logged in to facebook and then sets up
for Facebook commenting section below... -->
<!-- <h2>My Facebook Login Page</h2> -->
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '284783798323209', // App ID
channelUrl : 'https://apps.facebook.com/284783798323209/?fb_source=appcenter&fb_appcenter=1#_=_', // Channel File
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
FB.ui({
method: 'feed'
});
};
// Load the SDK Asynchronously
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<!-- Facebook comments section -->
<div class="comment-section">
<h3>Newsfeed</h3>
<div id="entry-comments" class="badge_facebook_render" style="margin-left:20px;">
<fb:comments href="http://usellapp.appspot.com/" num_posts="10" width="500"></fb:comments>
<p class="facebook-init-failed" style="display:none"></p>
</div>
</body>
</html>