Вы находитесь на странице: 1из 4

<?php if(isset($_GET['page']) && $_GET['page'] === 'like') { ?

>
<html><head></head>
<body>
<script language="JavaScript">
window.scrollTo(5,5);
</script>
<div id="fb-root">
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
appId : '189360657781783D',
non : '',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
FB.Event.subscribe('edge.create', function(response) {
top.location="go to this link after";
});
</script>
<div><fb:like colorscheme='light' layout='button_count' show_faces='true' width=
'350' height='100' href="http://www.yoursiteurl.com/"/></script></div>
</body>
</html>
<?php } else { ?>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>your p
age and video title </title>
<meta property="og:title" content="your page and video title ">
<meta property="og:url" content="http://www.yoursiteurl.com/">
<meta property="og:image" content="site iamge ">
<meta property="og:site_name" content="Video">
<meta property="og:description" content="site description ">
<style type="text/css">
body {
background: url(http://www.yoursiteurl.com/Images/background.png) repeat
-x;
}
div {
display:block;
}
#content {
width: 990px;
margin: 0px auto 0px;
text-shadow: white 0px 1px;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size:12px;
color:#666;
}
#footer {
text-align:center;
font-size:11px;
color:#666;
width:100%;
font-family:Trebuchet MS, arial;
overflow:hidden;
padding-top:70px;
clear:both;
}
.ind-left {
width:660px;
float:left;
padding-top:40px;
}
.ind-right {
float: left;
width: 250px;
margin-top: 40px;
}
.ind-left-box {
background: #F4F5FC url('http://www.yoursiteurl.com/Images/blank.jpeg')
0% 0%;
padding: 10px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0px 0px 11px #666;
-moz-box-shadow: 0px 0px 10px #666;
box-shadow: 0px 0px 10px #666;
width: 640px;
/*height:385px;*/
height:420px;
}
#over {
background:url('http://www.yoursiteurl.com/Images/video.png');
z-index:500;
position:absolute;
height:385px;
width:640px;
}
.vid-real {
z-index:50;
height:385px;
width:640px;
position:absolute;
}
#f1{position:absolute;left:0px;bottom:2px;}
#f1,#f2,#f3,#f4{opacity:0;filter:alpha(opacity=0);}
</style>
</head>
<body>

<div id="content">

<div class="ind-left">

<div class="ind-left-box">

<div class="top" style="margin-bottom:10px;">

<div class="vid-real"></div>

<div id="over">
<div style="float:left;width:250px;margin-left:296px;margin-top:147px;overflow:h
idden;display:inline;">
<fb:like class=" fb_edge_widget_with_comment fb_iframe_widget" href="http://www.
yoursiteurl.com/" layout="button_count" show_faces="false" width="450" font="" i
d="f1"><span><iframe src="index.php?page=like" class="fb_ltr" title="Like this c
ontent on Facebook." style="border: medium none; overflow: hidden; height: 20px;
width: 450px;" name="f28f25a98ed68cc" id="f21a59fd18817b2" scrolling="no"></ifr
ame></span></fb:like>
<fb:like class=" fb_edge_widget_with_comment fb_iframe_widget" href="http://www.
yoursiteurl.com/" layout="button_count" show_faces="false" width="450" font="" i
d="f2"><span><iframe src="index.php?page=like" class="fb_ltr" title="Like this c
ontent on Facebook." style="border: medium none; overflow: hidden; height: 20px;
width: 450px;" name="f3877cdde7c6838" id="f16593a0dbdd522" scrolling="no"></ifr
ame></span></fb:like>
<fb:like class=" fb_edge_widget_with_comment fb_iframe_widget" href="http://www.
yoursiteurl.com/" layout="button_count" show_faces="false" width="450" font="" i
d="f3"><span><iframe src="index.php?page=like" class="fb_ltr" title="Like this c
ontent on Facebook." style="border: medium none; overflow: hidden; height: 20px;
width: 450px;" name="f7108ac23c6808" id="f105d45a3a799aa" scrolling="no"></ifra
me></span></fb:like>
<fb:like class=" fb_edge_widget_with_comment fb_iframe_widget" href="http://www.
yoursiteurl.com/" layout="button_count" show_faces="false" width="450" font="" i
d="f4"><span><iframe src="index.php?page=like" class="fb_ltr" title="Like this c
ontent on Facebook." style="border: medium none; overflow: hidden; height: 20px;
width: 450px;" name="f161d597d3f51ca" id="f17e91da5700c5c" scrolling="no"></ifr
ame></span></fb:like> </div>
</div>
</div>

<div class="bottom" style="padding-top:385px;overflow:hidden;color:#2D76B9;font-
size:18px;font-weight:bold;">your page and video title </div>

<br><br><br>

</div>
</div>

<div class="ind-right"> </div>

</div>
</body>
</html>
<?php } ?>

Вам также может понравиться