Jump to content
MakeWebGames

Paddy

Members
  • Posts

    211
  • Joined

  • Last visited

Everything posted by Paddy

  1. Thanks for the thought zu i know how you feel Anyway took some time and added it for everyone Download here
  2. Does any one have this in one zip file ? would like to see it in action and add some ideas to it but its too big and cant be arsed to copy paste all the posts cheers
  3. Yeah that's what i thought to be honest, that's why i asked in what sense in my post to a_bertrand
  4. ah yeah the part where you say "no links nor decide when exactly it appears." i understand but what about the images? in what sense?
  5. Might be wrong but y use JS when you can use something like this   a.Tooltip { position : relative; z-index : 24; background-color : #555; color : #000; text-decoration : none; } a.Tooltip:hover { z-index : 25; } a.Tooltip span { display : none; } a.Tooltip:hover span { display : block; position : absolute; top : 2em; left : 2em; width : 14em; border : 1px solid #333; background-color : #555; color : #000; text-align : center; }   i would like to know what the advantage is in using JS rather then CSS
  6. hall of fame is only included in the other games which can be purchased, since this is free its limited if you know what i mean.
  7. Can you show me what you have in mind? like what ideas you have or perhaps you so a games template that you really like and would want something similar? if you can give me your ideas i can look into this and come up with something for sure
  8. rulerofzu you read my post ? we said the same thing, only i posted the link :P and yes that link i got it from using yslow & firebug which helped me alot :)
  9. if you read this 5 times and actually learn something i bet you could do it on your own without hiring anyone Make your site faster step by step :P i wouldn't mind helping you if you find something on there you don't understand :) this is a start that im 100% sure if done well you can get a much better loading time, but there is more to be done to be a grade A on mcc
  10. if in not mistaken it should be   $db->query("UPDATE users SET donatordays=donatordays-1 WHERE donatordays > 0");
  11. Paddy

    Layout

    My Header try it out, then you can edit or tell me and ill guide you trough any issues/changes
  12. a small example to get you to the right direction This function will change new lines (line breaks) to and it allows you to limit the amount of brs allowed at any point in time. This function was made to avoid people spaming a textarea with hundreds of line breaks or empty lines.   function nl2br_limit($string, $num){ $dirty = preg_replace('/\r/', '', $string); $clean = preg_replace('/\n{4,}/', str_repeat(' ', $num), preg_replace('/\r/', '', $dirty)); return nl2br($clean); } echo nl2br_limit($string,'4');   // Heres how it works // nl2br_limit($string, $num) // $string is the entered text you want to strip lines out of, it could be ($_POST['myinput']) // $num is the amount of consecutive 's that are allowed any at a time. The user is allowed to enter as many line breaks as $num allows   php.net or you can use -->> stripslashes($_REQUEST['post']) if im not mistaken
  13. its your Doc type your pages are triggering Quirks Mode, if you use IE 8 hit F12 and you will see Browser Mode: & Document Mode: if you hit the Document Mode/Drop down and choose IE8 you will see that the template is much better, then all you need to do is look up some IE CSS hacks and you're done shouldn't be hard now that you know the issue :)
  14. Looks good,, but i only cn see it in FF, in IE8 it has a white BG
  15. what is the error now? is it the same? more details will help if its the same error try moving the quotes " like below code {$r['userid']}" '. $loser .'  
  16. which are? a more detailed post can help
  17. Try this top do <th width="90%" colspan="3"><div align="left">Crime</div></th> then (change image name)   <td width="1%">[img=/images/1.png]</td> <td>[b]Search For Money [/b] <span style="font-family: Arial; font-size: 9px; color: #ff0000;">-2 Nerve Required</span> </td>
  18. so you want IMAGE "Search For Money 2 Nerve Required"
  19. you are missing a "   <form action="attackwon.php?ID='{$r['userid']}'. $loser .' " method="post"> <input type="submit" value="Mug them"> <form action="attackbeat.php?ID='{$r['userid']}'. $loser .' " method="post"> <input type="submit" value="Hospitalize them"> <form action="attacktake.php?ID='{$r['userid']}'. $loser .' " method="post"> <input type="submit" value="Leave them">   Try this and post back if there is an error
  20. this is to be used for a day or 2 till site is fixed, so that you dont have to reset, ive seen games that had to reset cos the hacker giving users money - crystals or getting mugged, this usually happens when admin is fast asleep and no staff online so yes it is a good script to use to start with. As stated in my first post "use this till you get your site sorted out and secured then remove" so that will answer the bigint pointed out, it is not to be used as secured but as a temporary security
  21. Please note: this is not a fix. it just helps you get the user auto jailed so if you are not online his / her money or crystals can not be stolen or used/transferred   use this till you get your site sorted out and secured then remove add this code to your header   if($ir['money'] > 2700000000 OR $ir['crystals'] > 60000 AND $ir['userid'] != 1 AND $ir['userid'] != 2) { die("<table> <td class='your class'> Under investigation!!!</td></table> <font color='#ffffff'>You have over $2.700,000,000 in cash OR 60.000 in crystals, Your account is under investigation.Please mail Admin on [email][email protected][/email]</font>"); mysql_query("UPDATE users SET fedjail=1000 WHERE userid={$ir['userid']}"); }
  22. well i guess its the same, trial and error should do it :)
  23. the issue is in the class=table <table cellspacing="0" cellpadding="0" border="0" width="75%" class="table"> if you remove table they get back together with no gap or you can add to the style (.table) this line border-collapse:collapse; try and let me know Edited: you can also try .table td { border-style:hidden;
  24. First thing does it do the job? Secondly an image would help to see what gaps there is!
×
×
  • Create New...