Jump to content
MakeWebGames

?-XxDeceptionxX-?

Members
  • Posts

    42
  • Joined

  • Last visited

    Never

?-XxDeceptionxX-?'s Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Re: (New) Feature Vip News [V1] Why Has This Thread Turned Into A Battle Zone Guys Come Off It Do It Somewere Else Please I Would Apreciate It Thanks Alot
  2. Re: (New) Feature Vip News [V1] 1) Youngold There Has 2 Be Some Way Of You Not Posting On The Threads I Make 2) Thanks For Using My Mod Which I Made (Youngold) Despite What You Have 3) Stop Re-Posting This Mod Please Thanks
  3. Re: (New) Feature Vip News [V1] Im Thinking so .... im working onit i might have the sql in my files somewere
  4. <?php /*----------------------------------------------------- Vip News -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); $post=strip_tags($_POST['post']); if ($post) { mysql_query("INSERT INTO vipnews VALUES ('$post', unix_timestamp())",$c) or die (mysql_error()); print "News Added"; mysql_query("UPDATE users SET newvip=newvip+1 WHERE userid>0",$c); exit; } $vip=mysql_query("SELECT * FROM vipnews ORDER BY time DESC LIMIT 10",$c); print "<center><table width='75%' cellpadding='2' border=0 class='forumline'> <tr> <table width=75% border=1><tr><th width=75%>News</th><th>Time</th></tr><tr><td>"; while ($a=@mysql_fetch_array($vip)) { $time=date(' G:i:s, F d, Y', $a['time']); if ($a['time']>$ir['ant']) { print "<tr><td>[b]New:[/b]</font>";} print " {$a['msg']} <td>$time</br /> </tr> "; } print "</table></center> "; if ($ir['user_level']==2) { print "<form action='vipnews.php' method='post'><textarea name='post' rows='7' cols='100'></textarea> <center><input type='submit' value='Post News'></center></form>"; } $ti=time(); mysql_query("UPDATE users SET ant=$ti WHERE userid=$userid",$c); mysql_query("UPDATE users SET newvip=0 WHERE userid=$userid",$c); ?> Save As vipnews.php Add This To Mainmenu.php   if ($ir[newvip]==0) print" [url='vipnews.php']<LI></font>VIP News</font>[/url] "; if ($ir[newvip]>0) print" [url="vipnews.php><LI>VIP"][/url] ";   Not fully sure if it works please post iff it dont work :) +1 If it does May Need sql i dont really no anyone finds it post it please
  5. Re: Free gamedemo thingy Again True But i wouldnt trust anyone whos asking to see anything of mine up close i guess thats just the way i am im very suspicious
  6. Re: Free gamedemo thingy Oh Well lloll i got treated like a n00b when i got on this im not saying hes a noob but asking ppl who you dont no gives it away abit
  7. Re: Free gamedemo thingy lol thats what he says how do you now actually what he means
  8. Re: Free gamedemo thingy Cos Hes A n00b and donst no what mccodes are probably its best just let him figure it out for himself tez :)
  9. Re: v2 hall of shame Thats why im gona re code one out of this by only using active users cos i hate users on my game who are inactive for more than 30 days thats why i reset and re coded cos ppl move on
  10. Re: free top gangs Now If I Was A Noob At Coding I Wouldnt No Were To Put That lol +1 Again A Good Feature Mate
  11. Re: v2 hall of shame Nice On The Best But Havnt You Just Reversed The Hall Of Fame Codes I Mean A 4 yaer Old Could Figure That Out Mate Still It Saves Me Doing It So I'll Use It +1
×
×
  • Create New...