
Faz`
Members-
Posts
652 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Everything posted by Faz`
-
Re: New MainMenu Screeny is here, sorry for it being late. Virgin cut out on me yesterday, I don't know why, was kinda annoying. Here it is.
-
This is a main menu I've made. It is just because I wanted to spice things up, as the current one is bit, well, plain. Here it is, just replace mainmenu.php with this. There are no if statements for when you are in hospital or jail, you will have to add those yourself if you are implementing them. <?php global $db,$c,$ir, $set; $hc=$set['hospital_count']; $jc=$set['jail_count']; $ec=$ir['new_events']; $mc=$ir['new_mail']; $ac=$ir['new_announcements']; print " <table width=100% border=7> <tr height=25> <td colspan=2> [b]Main Menu[/b] </td> </tr> <tr height=25> <td valign=top> [url='index.php']Home[/url] </td> <td valign=top> [url='inventory.php']Items[/url] </td> </tr> <tr height=25> <td valign=top>"; if($ec > 0) { print "[url='events.php']Events ($ec)[/url] "; } else { print "[url='events.php']Events (0)[/url] "; } print " </td> <td valign=top>"; if($mc > 0) { print "[url='mailbox.php']Mailbox ($mc)[/url] "; } else { print "[url='mailbox.php']Mailbox (0)[/url] "; } print " </td> </tr> <tr height=25> <td valign=top>"; if($ac > 0) { print "[url='announcements.php']Announcement ($ac)[/url] "; } else { print "[url='announcements.php']Announcement (0)[/url] "; } print " </td> <td valign=top> [url='explore.php']Explore[/url] </td> </tr> <tr height=25> <td valign=top> [url='gym.php']Gym[/url] </td> <td valign=top> [url='crystaltemple.php?spend=refill']Refill[/url] </td> </tr> <tr height=25> <td valign=top> [url='job.php']Your Job[/url] </td> <td valign=top> [url='criminal.php']Crimes[/url] </td> </tr> <tr height=25> <td valign=top> [url='education.php']Local School[/url] </td> <td valign=top> [url='polling.php']Polling Booth[/url] </td> </tr> <tr height=25> <td valign=top> [url='hospital.php']Hospital ($hc)[/url] </td> <td valign=top> [url='jail.php']Jail ($jc)[/url] </td> </tr> <tr height=25> <td valign=top> [url='forums.php']Forums[/url] </td> <td valign=top> [url='newspaper.php']Newspaper[/url] </td> </tr> <tr height=25> <td valign=top> [url='search.php']Search[/url] </td> <td valign=top> [url='usersonline.php']Users Online[/url] </td> <tr height=25>"; if($ir['gang']) { print" <td colspan=2> [url='yourgang.php']Your Gang[/url] </td> </tr>"; } if($ir['user_level'] > 1) { print "<td colspan=2> [b]Staff Area[/b] </td> </tr> <td colspan=2> [url='staff.php']Staff Panel[/url] </td> </tr>"; } if($ir['donatordays']) { print "<td colspan=2> [b]Donators Only[/b] </td> </tr> <tr height=25> <td valign=top> [url='friendslist.php']Friends List[/url] </td> <td valign=top> [url='blacklist.php']Black List[/url] </td> </tr> <tr height=25> <td colspan=2>"; } print " [b]Personal Preferences[/b] </td> </tr> <tr height=25> <td valign=top> [url='preferences.php']Preferences[/url] </td> <td valign=top> [url='preport.php']Player Report[/url] </td> </tr> <tr height=25> <td valign=top> [url='breport.php']Bug Report[/url] </td> <td valign=top> [url='helptutorial.php']Help Tutorial[/url] </td> </tr> <tr height=25> <td valign=top> [url='gamerules.php']Game Rules[/url] </td> <td valign=top> [url='viewuser.php?u={$ir[']My Profile[/url] </td> </tr> <tr height=25> <td colspan=2> [b]Exit Area[/b] </td> </tr> <tr height=25> <td colspan=2> [url='logout.php']Logout[/url] </td> </tr> </table> "; ?> I also forgot to add, I received a bit of help from Grimsybaby. Thank you.
-
Re: Why won't anyone comment on this? So now people are arguing over how long CE was down...does it even matter? It was down and there was nothing you could do. The point is, your still here, so that says something.
-
Re: Why won't anyone comment on this? Damnit man! Even when I try to post something positive, it immediately takes a turn for the negative, can't humans just get on and live in peace and harmony! lol
-
Re: Why won't anyone comment on this? True, so why don't you leave right now? Go to the forum you went to while CE was down? If CE was down for a few months, and it was a crap site, do you not think most of the members would have left? From what I see, its gaining more and more people everyday.
-
A few people have been going on about EineyEntertainments topic, and oh boy that touched a few peoples spots :P Its all good and well talking about the useless comments and how bad CE gets at times, but why not talk about how good CE actually is. Its full of noobs (Me for one) but also has some professional programmers who are actually willing to give up their time, and fix some issues people may have. Not all are professional, some are more "knowledgeable" i should say. I must admit, I knew nothing when I started, I came here and I have learn loads, I'm sure many people are like me, can't learn by sitting on their backside all day and reading a tutorial, they have to try things out, and that's where CE is so good. People have issues, try and try to fix an error, they don't succeed, so where do they go? CE, and what do they do? Post a topic on their query. I think we should stop being so negative, and just think about how good CE is, most people sell their mods here, advertise their sites here, so why act in a negative manner towards CE? People should think, you don't realise what you have until you lose it, if CE closed down today what would you do? Go to another nooby forum for help? You could do, but I guarantee the help would be nowhere near as good as the help you would get from CE. So just think before you post is all I can say, CE is very good. Stop acting negative, think positive!
-
Re: Is It Possible? Thanks a lot, will look into it now.
-
Re: Is It Possible? I know how to make tables :P I am a noob, but not that big, at least I like to think so lol.
-
Re: Is It Possible? Alright thanks for that, I'll have a play around again, I tried before, but as usual always mess things up :P
-
Re: Is It Possible? I didn't quite understand that, could you explain?
-
Well, as you might now I put all the side menu links into a table, and I was now wondering if it could be shifted up, I have a seen a few games that are v1 and the name and stuff is in the top corner, and everything is very neatly set out, but the V2, well, just doesn't look good enough for me. So I was wondering if it could be shifted up a bit. Screenshot of what it looks like right now: If there could be anyway to move the Name and other details right up, it would be appreciated if someone could let me know how. Thanks. Faz
-
Re: game folder wriatble failed All this stuff is very simple, I'm sure there will be a few topics on how to do this, if there is not, I might make one later to answer people's questions, I'm sure people get annoyed by people asking the same questions.
-
Re: [MCV1]Crimes Need An Item I'm a noob, and to be honest, with the explanation AlabamaHit gave you (thorough and precise) and body with the least coding knowledge could do it.
-
Re: Table Help I have got it done, thanks a lot for your help grimsy. Much appreciated.
-
Re: Table Help Thanks a lot! It is really appreciated. I had it going, it was just the damn if statements, Now I have that done, I'm gonna try and put it in a if statement so staff panel and donator features only come up if you are one of them without breaking everything! lol
-
Ok, I've currently set about putting mainmenu.php into a table. I got it done succesfully, however there is only a slight problem. I had it so if you had a mail, event or announcement the link went white, although I'm having a bit of a problem incorporating that into a table, its probably very simple I know, so don't start slaying me, I'm just asking for help. Here is my mainmenu: <?php global $db,$c,$ir, $set; $hc=$set['hospital_count']; $jc=$set['jail_count']; $ec=$ir['new_events']; $mc=$ir['new_mail']; $ac=$ir['new_announcements']; print " <table width=100% border=7> <tr height=25> <td colspan=\"2\"> Main Menu </td> </tr> <tr height='25'> <td valign=top> [url='index.php']Home[/url] </td> <td valign=top> [url='inventory.php']Items[/url] </td> </tr> <tr height=25> <td valign=top> [url='events.php']Events ($ec)[/url] </td> <td valign=top> [url='mailbox.php']Mailbox ($mc)[/url] </td> </tr> <tr height=25> <td valign=top> [url='announcements.php']Announcement ($ac)[/url] </td> <td valign=top> [url='explore.php']Explore[/url] </td> </tr> <tr height=25> <td valign=top> [url='gym.php']Gym[/url] </td> <td valign=top> [url='crystaltemple.php?spend=refill']Refill[/url] </td> </tr> <tr height=25> <td valign=top> [url='job.php']Your Job[/url] </td> <td valign=top> [url='criminal.php']Crimes[/url] </td> </tr> <tr height=25> <td valign=top> [url='education.php']Local School[/url] </td> <td valign=top> [url='polling.php']Polling Booth[/url] </td> </tr> <tr height=25> <td valign=top> [url='hospital.php']Hospital ($hc)[/url] </td> <td valign=top> [url='jail.php']Jail ($jc)[/url] </td> </tr> <tr height=25> <td valign=top> [url='forums.php']Forums[/url] </td> <td valign=top> [url='newspaper.php']Newspaper[/url] </td> </tr> <tr height=25> <td valign=top> [url='search.php']Search[/url] </td> <td valign=top> [url='usersonline.php']Users Online[/url] </td> <tr height=25> <td colspan=\"2\"> Donators Only </td> </tr> <tr height=25> <td valign=top> [url='friendslist.php']Friends List[/url] </td> <td valign=top> [url='blacklist.php']Black List[/url] </td> </tr> <tr height=25> <td colspan=\"2\"> Personal Preferences </td> </tr> <tr height=25> <td valign=top> [url='preferences.php']Preferences[/url] </td> <td valign=top> [url='preport.php']Player Report[/url] </td> </tr> <tr height=25> <td valign=top> [url='breport.php']Bug Report[/url] </td> <td valign=top> [url='helptutorial.php']Help Tutorial[/url] </td> </tr> <tr height=25> <td valign=top> [url='gamerules.php']Game Rules[/url] </td> <td valign=top> [url='viewuser.php?u={$ir[']My Profile[/url] </td> </tr> <tr height=25> <td colspan=\"2\"> Exit Area </td> </tr> <tr height=25> <td colspan=\"2\"> [url='logout.php']Logout[/url] </td> </tr> </table> " ?> There it is, and what I want to put it in is the following. Mailbox: if($mc > 0) { print "[url='mailbox.php']Mailbox ($mc)[/url] "; } else { print "[url='mailbox.php']Mailbox (0)[/url] "; } Events: if($ec > 0) { print "[url='events.php']Events ($ec)[/url] "; } else { print "[url='events.php']Events (0)[/url] "; } Announcements: if($ac > 0) { print "[url='announcements.php']Announcement ($ac)[/url] "; } else { print "[url='announcements.php']Mailbox (0)[/url] "; } If anyone could fix it up for me it would be highly appreciated. Thanks. Faz
-
Re: Spoilt For Choice Hmm yeah, I tend to use copperplate gothic when I'm typing word documents, but I don't think that is available, however thanks for your input, I will take it on board. Thanks a lot
-
Re: [MCCODES V2] Fully Customise your game layout Your scripts are some of the best I've seen on here :D I may be interested in purchasing this once its finished. Should be good.
-
Okay, now we all know most Mccode games have the same font, but I was just wondering which font family would look the best for an mccode game, any ideas would be appreciated. p.s I am not sure if this topic should be here, please move to the correct position if in the wrong group.
-
Re: [Help]Scrollbars I can believe that, as it is the default browser on Windows, which the majority of people are on, and some people probably can't be bothered to d/l another browser or haven't heard of the other browsers.
-
Re: McCode v2 center I don't know why you are posting? People like POG1 and AlabamaHit actually took some time to review what my issue was and tried to help me out. I don't appreciate people like you posting stupid stuff just to get their post count up.
-
Re: McCode v2 center Ok, I've finally got it sorted. Thanks for all who helped.
-
Re: McCode v2 center Tried that, but all its done is bring the annoying gap on the left again. Thanks for trying ;)
-
Re: Serious Help [Mccodes V2] I had this error, I had this error as I was entering the wrong DB name and mine was not localhost. Are you with 000webhost?
-
Re: McCode v2 center I'm still a noob lol. Here is the screenshot. As you can see there is a big gap on the right, I have tried many things, but just can't get rid of the gap.