POG1
Members-
Posts
1,419 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by POG1
-
Re: Include or Require? try require_once ("../globals.php");
-
Re: Updated Display Pic System [V2] echo ($ir['display_count'] == 0)?'nopic.jpg':$ir['display_pic'];
-
Re: [Other] Website Template with margin you could use; margin: 50px auto; when there is 2 values the browser will take the first as top and bottom margin and the other left and right..
-
Re: Which piece of code is better to use? i changed my mind lol preg_match..
-
Re: Which piece of code is better to use? ereg('[^0-9]',$subject)
-
Re: [mccode v2] Brothel Non exploitable lol :P
-
Re: [REVIEW] - Celtic Raids link?
-
Re: [mccode v2] Brothel Non exploitable if(preg_match("/^MF/",$_GET['y'])) { switch($_GET['y']){ case 'M': //MALE STUFF break; case 'F'; //FEMALE STUFF break; } $h->endpage(); die; } That would be more secure right? "i haven't tested it"
-
[mccode V2]Login, Register and Header - (Template)[$10.00]
POG1 replied to CLANG's topic in Paid Modifications
Re: [mccode V2]Login, Register and Header - (Template)[$20.00] hhmmm lovely -
Re: *special* McCodes v3 BETA Release What dumbass would be using mc code as their game code if they built their own? it was an example
-
Re: [Other]Game login page[$9.99] you got a demo of the login? people need to see how it performs (loading speeds)
-
Re: Referal in HOF the query is selecting from the referals table and the username is in the users table. Take a look at LEFT JOIN in the mysql manual..
-
Re: Variables.. document.write is not exactly the best thing to use but for this purpose it is ok.
-
Re: [MCCodes V2] View User I just don't like to see very long scripts for something as simple as getting a word ;)
-
Re: [mccode] Buy A House With Level Requirements ! on the page where you show the houses put this in the cell with the buy link ( i don't know exact names ) ... echo($r['hLEVEL'] =< $ir['level']):'[url="buyhouse.php?id='.$r['hID'].'"]Buy[/url]':'<i style="color:#009">'.number_format($r['hCOST']).'[/i]'; Then in the buy bit.. if($np['hLevel'] > $ir['level'] ) { echo ' You Are Not The Level Required Yet</p>'; $h->endpage(); die; } $newMoney = $ir['money'] - $np['hPRICE']; if($db->query(sprintf("UPDATE users SET money = '%u', will = '0', maxwill = '%u' WHERE userid = '%u'",$newMoney,(int)$np['hWILL'],(int)$userid))) { echo ' You now live in a '.$np['hNAME'],'</p>[url="index.php"]back[/url]'; } else { echo 'error';
-
Re: [MCCodes V2] View User I found this in your code... if($r['user_level'] == 1) { $UserLevel = "Member"; } else if($r['user_level'] == 2) { $UserLevel = "Admin"; } else if ($r['user_level'] == 3) { $UserLevel = "Secretary"; } else if($r['user_level'] == 5) { $UserLevel = "Assistant"; } else if($r['user_level'] == 0) { $UserLevel = "NPC"; } else { $UserLevel = "Report To Admin."; } what about? $userLevel = array(0=>"NPC",1=>"Member",2=>"Admin",3=>"Sectretary",5=>"Assistant"); $userLevel = $userLevel[$r['user_level'];
-
Re: *special* McCodes v3 BETA Release But what evidence would there be to say "this is mccodes"? If someone has over time recoded every page then who's to say the game is mccodes..
-
Re: C.E FORUM COLORS! This theme was chosen because it has very little in comparison to other SMF themes; this cuts down on loading times,server load and bandwidth.
-
[mccode v2] Search.php in one | Optimized
POG1 replied to Haunted Dawg's topic in Free Modifications
Re: [MCC V2] - Search.php in one | Optimized In the form you have; '<form action="'.$_SERVER['PHP_SELF'].'" method="post">' The action to the same page isn't needed, it will do it anyway ;) Apart from that it looks good though -
[MCcode v2] Advanced spying script [$10 USD]
POG1 replied to radio_active's topic in Paid Modifications
Re: [MCcode v2] Advanced spying script [$10 USD] That looks sick man, worth the $10 any day! -
Re: How to use sprintf? spacing some things is useless..
-
Re: [mccode] Free Starter Pack it looks like its trying to detect the mccode version, because only V2 has globals.php
-
Re: Some crons not working you need some crazy query optimization
-
Re: Opacity in IE Browser's Ok, but from which version of safari is opacity accepted? It would be good for some people who would have the older browsers