Jump to content
MakeWebGames

[mccode v2]Admin Shops


Recommended Posts

Posted

This is simple but i had some help lol from another post.

I have put the URL and posters name in the code

Create a page called shopsshow.php and put this code in it

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now the link in smenu.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

+1 me up if you liked it also give AlabamaHit credit as he actually posted the code i just changed the words :-)

Posted

Re: [Mccode V2]Admin Shops

 

lol, nice....

Thought that code looked familiar, lol.. 8-)

Hey thanks for the post lol, i have now leaned something from it, YAY, thanks +1

Posted

Re: [Mccode V2]Admin Shops

 

Admin shop.. i am just curious about what this mod actually is is it just a shop which only admins can access?

Nope it allows admins to see all shops on the game..and where....what it's called....and what the description is...

1) Nice one sniks...

2) Are though you only used print

3) What is all the echo's for on each line?

Posted

Re: [Mccode V2]Admin Shops

Why would you personally use that?

Posted

Re: [Mccode V2]Admin Shops

 

Why would you personally use that?

Personally i think its:

  • Easier to read
  • Easier to find bugs/errors
  • Uses number_format
  • Uses stripslashes
  • No need to put html tables in a php tags
Posted

Re: [Mccode V2]Admin Shops

Well ImMoTal X

I could hit you with the Exact same Questions...

1) Why you open and close the php tags so much?

2) why use strip_slashes?

3) why use number_format?

Don't see need for that there?

Lol...Just thought i would ask since you asked.....

Posted

Re: [Mccode V2]Admin Shops

 

Well ImMoTal X

I could hit you with the Exact same Questions...

1) Why you open and close the php tags so much?

2) why use strip_slashes?

3) why use number_format?

Don't see need for that there?

Lol...Just thought i would ask since you asked.....

1) Whats the point putting html tables in php tags? Personally it makes no sense.

2) To stop Karlos\'s Kinife...Whereas with stripslashes it would just be Karlos's Knife

3) If you have alot of shops on a game numbers can be displayed as 1224...with number_format it will be displayed as 1,224

Posted

Re: [Mccode V2]Admin Shops

Fair enough on all...

but You think its point less to put table in php...I see it point less on opening and closing php so much on that......when there is no need to...

But i see the otehr 2 makes since..

Posted

Re: [Mccode V2]Admin Shops

 

...but You think its point less to put table in php...I see it point less on opening and closing php so much on that......when there is no need to...

Well thats your view....Im sure killah, zero and MTG all have their styles, but im comfortable with that one :-)

Posted

Re: [Mccode V2]Admin Shops

 

Why thank you Alabama.

Just keep coding :-)

wow...

i dislike the opening and closing makes it look messy,

just my professional opinion (well basic opinion lol).

+ 1 to everyone

i've noticed everyone using similar quotes now it's getting annoying lol Learn it, Test it, Use it... i mean come on it's

Live It, Learn it, Code it and it makes more sense lol

Posted

Re: [Mccode V2]Admin Shops

 

Why thank you Alabama.

Just keep coding :-)

wow...

i dislike the opening and closing makes it look messy,

just my professional opinion (well basic opinion lol)...

Well said that it is your personally opinion, i personally like to do that now..

 

....+ 1 to everyone...

Why thank you zero.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...