Closed

Mobile development

I need a mobile site. I would like it designed and built. jordanduncan221 / Facebook Like Script

Very clean and simple Facebook like script

Facebook Like Script

<?php

function curPageURL() {

$pageURL = 'http';

if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}

$pageURL .= "://";

if ($_SERVER["SERVER_PORT"] != "80") {

$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];

} else {

$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];

}

return $pageURL;

}

?>

<head>

<title><?php $quote = strip_tags($_GET['p']); print stripslashes($quote) ?></title>

<style type="text/css">

body {

background: #45A2D0;

color: #333;

font-family: "Myriad Pro";

text-align: center;

}

#main {

margin: 20px auto 0 auto;

width: 805px;

font-size: 38px;

text-shadow: #98CCE5 0px 1px 0px;

}

#like {

margin: 10px auto 0 auto;

padding: 5px;

width: 460px;

background: #327A9D;

border: 1px solid #246B8F;

border-radius: 3px;

}

#input {

margin: 0 auto 0 auto;

font-size: 22px;

width: inherit;

}

TEXTAREA {

width: 350px;

height: 150px;

background: #F5F5F5;

border: 1px solid #CCC;

border-radius: 5px;

font-family: "Myriad Pro";

font-size: 16px;

margin: 10px 0 0 0;

}

</style>

</head>

<body>

<div id="main">

<?php

$quote = strip_tags($_GET['p']);

print stripslashes($quote);

?>

<div id="like">

<?php

if(isset($_GET['p'])){

print '<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="'.curPageURL().'" layout="standard" show_faces="true" width="450"></fb:like>';

}

?>

</div>

<div id="input">

<form action="[url removed, login to view]" method="GET">

What Do You Like?<br />

<textarea id="quoteinput" name="p"></textarea><br />

<input type="submit" width="120" value="I Like It!">

</form>

</div>

</div>

</body>

</html>

@vikalrudra

vikalrudra

commented about 1 month ago

not reliable

@mayurhajare123

mayurhajare123

commented 10 days ago

<title></title> <style type="text/css"> body { background: #45A2D0; color: #333; font-family: "Myriad Pro"; text-align: center; } #main { margin: 20px auto 0 auto; width: 805px; font-size: 38px; text-shadow: #98CCE5 0px 1px 0px; } #like { margin: 10px auto 0 auto; padding: 5px; width: 460px; background: #327A9D; border: 1px solid #246B8F; border-radius: 3px; } #input { margin: 0 auto 0 auto; font-size: 22px; width: inherit; } TEXTAREA { width: 350px; height: 150px; background: #F5F5F5; border: 1px solid #CCC; border-radius: 5px; font-family: "Myriad Pro"; font-size: 16px; margin: 10px 0 0 0; } </style>

</script>'; }

?>

What Do You Like?

<textarea id="quoteinput" name="p"></textarea>

Comment on gist

Sign in to comment

or sign up to join this conversation on GitHub

Desktop version

Skills: HTML, Mobile App Development

See more: axes solutions mobile development, gps mobile development, gps windows mobile development, windows mobile development sql express samples, windows mobile windows mobile development resume jobs, extjs mobile development, windows mobile development gps, build mobile development team, mobile development lahore, gis mobile development ukraine, mobile dialer version, alibaba scripts development version, cakephp mobile development, crm windows mobile development, windows mobile development pdas

About the Employer:
( 0 reviews ) India

Project ID: #16311727

2 freelancers are bidding on average $35 for this job

sunil224

Hello, Development Speed is always my motto. So if you're looking for a faster + quality developer, I'm the one you're looking for. Over the last 5+ years Experience. To provide highest quality of service in every More

$55 USD in 1 day
(9 Reviews)
3.2
sharmajiwebsite

Hi, I've 5 years experience in website design and development. I am web Professional, Designer, Programmer, QA with highly qualified and experienced. I am involved in development of web based solutions for last deca More

$15 USD in 1 day
(4 Reviews)
1.1