strtotime('12:30')))
{
$cntpending = "SELECT COUNT(*) FROM pending";
$cntpending2 = mysql_query($cntpending);
$cntpending3 = mysql_fetch_array($cntpending2);
if ($cntpending3[0] != 0)
{
$getpost = "SELECT * FROM pending ORDER BY id ASC LIMIT 0,1";
$getpost2 = mysql_query($getpost);
$getpost3 = mysql_fetch_array($getpost2);
postBlogPost($getpost3['title'], $getpost3['author'], getTags($getpost3['id'], 'pending'), $getpost3['text']);
removeTags($getpost3['id'], 'pending');
$delpost = "DELETE FROM pending WHERE id = " . $getpost3['id'];
$delpost2 = mysql_query($delpost);
}
}
}
?>
multiplayer.gd?h=v5.3.0'>log tree commit diff stats
|
blob: c2d9875885867cba4120275417d561e8ae1e8697 (
plain) (
blame)