Equinox
Members-
Posts
553 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Equinox
-
$Row = mysql_num_rows(mysql_query("SELECT `cmADDER` FROM `crystalsmarket` WHERE (`cmADDER` = ".$_SESSION['userid'].")")); if($Row >= 5) { echo '<p style = "text-align : center;">You have reached your maximum allowed limit for listings on the market <a title = "Crystal market" href = "cmarket.php">Back</a></p>'; exit($h->endpage()); }
-
Why would it matter?? Never mind that, I thought it said something else XD I'd just got up. -.-
-
Why would it matter??
-
Pfft, tight ass ;)
-
Ffs! XD Read it properly, I'm going to re-word my post.
-
This template rocks....I actually love it!
-
The method you've posted, Naruto, is a ternary operator method. It's exactly the same as using the method followed: if(isset($_GET['ID']) && ctype_digit($_GET['ID'])) { // } else { /// } ^ ^ This is not my example of ternary! You get the idea, it won't effect the code any more than doing it with other methods, like Djkanna has displayed.
-
This seriously made me laugh out loud, enjoy....
-
Good for you, Dave and Zed. But those are your opinions - I'd much prefer to keep the crons inside the public folder. Lets face it, if you move your crons into a folder and protect them with some sort of thing only you're going to be able to know how to run it, then there's no problem. And before you cry, I'm not saying you're wrong. I'm stating the facts. Good on you though Dave for putting in the effort for $20 ;) He should've picked you >.<
-
Seems a bit much to me, IMO. Remove the key, I agree with. But meh, I still lul'd
-
I was going to completely recode them and optimize them for you :L and then change the way they run to make them more secure. But it's good you got them fixed! I lol'd.... Change they way they're run to make them more secure? -.- Are you sure you wasn't just going to change the way the key is set?
-
To center the table you could do: <table width = "100%" class = "table" align = "center"> or to center the text inside the table <td align = "center">Text</td> Or just center the text <div style = "text-align : center;">Text</div>
-
Why are you re-formatting the numbers? And you could probably check if 'pn_update' a bit more. if(isset($_POST['pn_update']) && is_string($_POST['pn_update'])) {
-
It's actually pretty good, I like it.
-
Erm..... I'm not Zed. My name is Equinox -.-
-
I'm surprised Danny didn't pick up on this.... number_format() should only be used on output. It just formats the number to display nicely, for example 1000 becomes 1,000. You're using this on inserts, urls and in if() statements O.o Your if() statement would look like this: if( (1,000 == 1000)) { As you can see, this isn't going to work. And in some cases you spelt it "money_forumat" You've used HTML that is deprecated like the tag. There are several other things I would've changed and done differently, but that's my preference and some things I just don't agree with. Other than that, you tried, so kudos to you.
-
Thanks guys.... Joshua, feel free to contact me and wrx I will take a look around deviant art :)
-
Hello MWG :D I'm in need of some talented artists to draw some things. I'm not talking about taking images off of google and editing them or claiming as your own, I'm talking people with a tablet and can draw custom images that I request. Obviously this will be paid work, and I'm willing to negotiate - preferably looking for a discount for bulk images. Mail me or post here, I will be asking for a small bit of custom work (just like a single image) so I'm certain that you're not stealing other artist's work - the image I request won't be used. SO, gimme a shout :D
-
Well, I am working on something fairly big and it does need to include quite a bit but I'm some what of an efficiency freak. Mine is including: A DB class (fairly big) A functions file (handles a multitude of different functions - I decided to keep seperate from the class) Template - few images Huge CSS file (been compressed) Sort of a 'games log' thingy (records most of a users activity - only what's needed) And I have an error handler, and some other minor things that really aren't that important. I done this speed test in a global file and loaded the page I was working on at the time which was fairly big, my results are as follows: This page took 0.002826 seconds to load. This page took 0.003050 seconds to load. This page took 0.002796 seconds to load. This page took 0.002796 seconds to load This page took 0.002813 seconds to load. This page took 0.002698 seconds to load. Now I've added a few more queries as a test and got these results: This page took 0.002890 seconds to load. This page took 0.002858 seconds to load. This page took 0.002857 seconds to load. This page took 0.002828 seconds to load. This page took 0.002805 seconds to load. This page took 0.002794 seconds to load. Finally a few more select queries and I got these results: This page took 0.002937 seconds to load. This page took 0.002841 seconds to load. This page took 0.002872 seconds to load. This page took 0.002896 seconds to load. This page took 0.002843 seconds to load. This page took 0.002995 seconds to load. Hope this helps
-
That's not needed at all....they're all doing the same thing, so take the original script posted by Zed and alter the "$Gain" $Gain = (0.0002*$ir[$_GET['uStat']])+(0.00212*$Data['will']+0.55)*$_GET['uAmount']; $NewGain = mt_rand(($Gain * 0.9),($Gain * 1.1));
-
I think it's good, You're not looking into how much effort is required to make this stuff, you need to be good! I still want to see the stock for Image #1 though It's not a C4D, it's just (probably) layer masks and blending effects.
-
Scratch that - I didn't look >.<
-
Just a little thing that could be done here - why use "$Data" when you can just use $ir. It's there to be used, even if it is hugely inefficient, obviously this way would be much better being used outside of McCodes... Other than that, I love it. You seem to be getting very good at Javascript