Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
107 lines (103 sloc) 4.23 KB
require 'fbmain.php';
<!DOCTYPE html>
<html lang="en">
<title>Speak Your Status</title>
<link href="screen.css" media="screen" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="dialog_box.css" />
<script type="text/javascript" src="dialog_box.js"></script>
<style type="text/css">
.style2 {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 16px;
<link href="" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
<script src=""></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript">
function updateStatus(){
var status = document.getElementById('status').value;
type: "POST",
url: "submit.php",
data: "status=" + status,
success: function(msg){
error: function(msg){
<div id="fb-root"></div>
window.fbAsyncInit = function() {
appId : 204674169621376, // App ID
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
// Additional initialization code here
// Load the SDK Asynchronously
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); = id; js.async = true;
js.src = "//";
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); = id;
js.src = "//";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<p align="center"><img src="coollogo.png"></p>
<?php if ($user){ ?>
<h1 align="center" class="nosupport">Your browser does not support webkit speech. We recommend you to try Google Chrome.</h1>
<p align="center" class="nosupport"><a href="" target="_blank"><img src="chrome-banner.jpg"></a>
<div class="fb-like" data-href="" data-send="true" data-width="450" data-show-faces="true"></div>
<form action=" " method=" ">
<div align="center" class="UIComposer_Box">
<span class="w">
<label for="status">Update Status</label>
<input type="text" id="status" name="status" onFocus="if (this.value=='Whats on Your mind') this.value = ''" x-webkit-speech="x-webkit-speech" size="60" rows="5" VALUE="Whats on Your mind"/>
<div align="right" style="height:30px; padding:10px 10px;">
<label id="shareButton">
<input type="button" onClick="updateStatus(); return false;" value="Share" class="uiButtonLarge uiButtonShare">
if (document.createElement("input").webkitSpeech === undefined) {
var ns = document.getElementsByClassName("nosupport");
for (i = 0, il = ns.length; i < il; i++) ns[i].style.display = "block";
<?php } ?>
<p class="style2">Here's a <a href="" target="_blank">Getting Start Tutorial for you</a>! </p>
<p class="style2">Note:- Click on this <img src="Google-Voice-Search-1.png" width="21" height="25"> in the Share Box and Speak &quot;Whats on your Mind&quot; </p>
<p align="center" class="style1"><a href="" target="_blank" class="style1">A Virendra Rajput Production</a></p>