i was bored again, lol...
so i wondered what my status bar would look like if i gave it a different skin, lol...
sql:
CREATE TABLE IF NOT EXISTS `ak_newzlinez` (
`id` int(100) NOT NULL auto_increment,
`statbarmsg` varchar(500) NOT NULL default '',
`uid` varchar(100) NOT NULL default 'Nobody',
`timesaid` int(100) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
INSERT INTO `ak_newzlinez` (`id`, `statbarmsg`, `uid`, `timesaid`) VALUES
(1, 'Hello Everyone!!!', 'pmbguy', 1281568065);
///////////////////////////////////////////////////////
file attached here too, needs some work done cause line 134 kept giving error so i disabled it, lol... just means now the click for more link always showing...
comments, feedback, etc welcome...
Added after 5 minutes:
lol, forgot demo link as usual...
demo here
Added after 40 minutes:
ok antiflood update:
find this bit n copy paste or update missing lines
so i wondered what my status bar would look like if i gave it a different skin, lol...
sql:
CREATE TABLE IF NOT EXISTS `ak_newzlinez` (
`id` int(100) NOT NULL auto_increment,
`statbarmsg` varchar(500) NOT NULL default '',
`uid` varchar(100) NOT NULL default 'Nobody',
`timesaid` int(100) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
INSERT INTO `ak_newzlinez` (`id`, `statbarmsg`, `uid`, `timesaid`) VALUES
(1, 'Hello Everyone!!!', 'pmbguy', 1281568065);
///////////////////////////////////////////////////////
file attached here too, needs some work done cause line 134 kept giving error so i disabled it, lol... just means now the click for more link always showing...
comments, feedback, etc welcome...
Added after 5 minutes:
lol, forgot demo link as usual...
demo here
Added after 40 minutes:
ok antiflood update:
find this bit n copy paste or update missing lines
PHP Code:
if ($do=="post")
{
$lastpost = mysql_fetch_array(mysql_query("SELECT MAX(timesaid) FROM ak_newzlinez"));
$lasttext = mysql_fetch_array(mysql_query("SELECT statbarmsg FROM ak_newzlinez WHERE timesaid='$lastpost[0]'"));
$lastposted = $lasttext[0];
$ucans = $_POST["ucans"];
$rcans = $_POST["rcans"];
$rcans = 191919 - $rcans;
$status = $_POST['status'];
$uid = $_POST['name'];
if($ucans!=$rcans)
{
echo "Wrong Image Verification!<br/>";
echo "<a href=\"index.php\">BACK</a>";
}
else if ($status!=$lastposted)
{
$timenow = time();
$res = mysql_query("INSERT INTO ak_newzlinez SET statbarmsg='".$status."', uid='".$uid."', timesaid='".$timenow."'");
echo "Message Posted!";
echo "<meta http-equiv=Refresh content=0;url=index.php>";
}
else
{
echo "No Double Posting!!!<br/>";
echo "<a href=\"index.php\">BACK</a>";
}
//echo "$lastpost[0]";
}
Comment