Where could I download good wap poll script?I can't find any good poll scritpt by myself.
WAP poll script
Collapse
X
-
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
Changing it is not hard to do
You can give it a go u can see other XHTML pages and see how to code it in XHTML
This way you will know how to code better and can do it your selfVisit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
Code:CREATE TABLE `vote` ( `id` varchar(20) NOT NULL default '', `good` varchar(200) NOT NULL default '', `bad` varchar(200) NOT NULL default '' ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Code:<?php echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">\n"; echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";; echo "<head>\n"; echo "<title>VOTE!</title>\n"; echo "<link rel=\"shortcut icon\" href=\"/favicon.ico\" type=\"image/x-icon\" />\n"; echo "<meta http-equiv=\"Content-Type\" content=\"xhtml/xml; charset=utf-8\" />\n"; echo "<meta name=\"Keywords\" content=\"\" />\n"; echo "<meta http-equiv=\"pragma\" content=\"no-cache\" />\n"; echo "<meta http-equiv=\"cache-control\" content=\"no-cache\" />\n"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />\n"; echo "</head>\n"; echo "<body>\n"; $dbservertype='mysql'; $servername='localhost'; $dbusername=''; $dbpassword=''; $dbname='vote'; connecttodb($servername,$dbname,$dbusername,$dbpassword); function connecttodb($servername,$dbname,$dbuser,$dbpassword) { global $link; $link=mysql_connect ("$servername","$dbuser","$dbpassword"); mysql_select_db("$dbname",$link); } if($_GET[a] == "") { echo "<div class=\"bg\">"; echo "<div class=\"head\">Vote!</div>"; $ip=$_SERVER['REMOTE_ADDR']; echo "<div style=\"text-align:center\">See What other think about?</div>"; echo "<hr></hr>"; echo "<div style=\"text-align:center\">"; $good = mysql_fetch_array(mysql_query("SELECT COUNT(good) FROM vote WHERE good")); echo "GOOD: $good[0]<br/>"; $bad = mysql_fetch_array(mysql_query("SELECT COUNT(bad) FROM vote WHERE bad")); echo "BAD: $bad[0]"; echo "</div>"; echo "<hr></hr>"; echo "<div style=\"text-align:center\"> <form method=\"post\" action=\"?a=voteadd\"> <div> <select name=\"vote\"> <option value=\"good\" selected=\"selected\">GOOD</option> <option value=\"bad\">BAD</option> </select> </div> <div><input type=\"hidden\" name=\"id\" value=\"$ip\"/></div> <div><input type=\"submit\" value=\"VOTE!\"/></div> </form></div>"; echo "</div>"; echo "</body></html>"; exit; } if($_GET[a] == "voteadd") { echo "<div class=\"bg\">"; echo "<div class=\"head\">Voted!</div>"; $ip=$_SERVER['REMOTE_ADDR']; $ip = mysql_fetch_array(mysql_query("SELECT id FROM vote WHERE id='$_POST[id]' ")); if($ip[0] == "$_POST[id]") { echo "<div style=\"text-align:center\"> You had voted before !!</div>"; echo "<div style=\"text-align:center\"><a href=\"?\">HOME</a></div>"; echo "</div>"; echo "</body></html>"; exit; } echo "<div style=\"text-align:center\">THANK YOU!!</div>"; if($_POST[vote] == "good") { $good = mysql_fetch_array(mysql_query("SELECT good FROM vote ")); $vo = $good[0] + 1; $query=mysql_query("insert into vote(id,good) values('$_POST[id]','$vo')"); } if($_POST[vote] == "bad") { $bad = mysql_fetch_array(mysql_query("SELECT bad FROM vote ")); $vo = $bad[0] + 1; $query=mysql_query("insert into vote(id,bad) values('$_POST[id]','$vo')"); } echo "<div style=\"text-align:center\"><a href=\"?\">HOME</a></div>"; echo "</div>"; echo "</body></html>"; exit; } ?>
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
Comment