Jump to content
MakeWebGames

Zero-Affect

Members
  • Posts

    3,713
  • Joined

  • Last visited

    Never

Everything posted by Zero-Affect

  1. depends really because this isn't the html section you could do a image link like so... <div style="background-image: url (images/image.png);" onclick="location.href=page.php?blah=action"> Text over the image (optional) could of used </div>
  2. I think that kind of explains it for you bladewolf
  3. They better or we should hang the entire squad... Would make the next lot win lol
  4. i have never seen the USA in the world cup before now they are drawing with us the (first players/inventors(i know the ball was made in china or something like that)) of the game i really do hate England when it's like this.
  5. It's not like im a die hard fan or anything...
  6. Yeah i do gain from MCC's lack of security i do admit it's been a eye opener for me and yeah i can be a little over opinionated at times. MCC didn't give support but i do agree that Raven users are victims but they still shouldn't be given support by MCC unless they buy a copy of MCv2. Alain don't make me shoot you... :evil:
  7. Zero-Affect

    Layout

    why not try http://www.sosfactory.com http://www.ripplewerkz.com http://www.bluetrendzdesigns.com
  8. I hope England get in Semi's but i don't think we'll win it's basically the same old team and we lost one of our best defenders due to some mug... I can't believe we left out some of the new blood and still run with Lampard he is like the worst person to have on your team. Rooney has anger issues so all it takes is someone to call him a c%#t and he'll go psycho and lose us the game. England out in Semi's hopefully (hopefully because we probably won't make it that far). I would personally say the top 3 will be Spain/Germany/Italy, Spain for the win. Note: CB England were all up in arms because of the 40 year anniversary and we still lost, if we had beat Portugal we would of totally kicked France/Italy's butt.
  9. Ah i do apologise for that im actually not a angry person your the first to say i come across angry when i post... (not entirely the first but the first for awhile).
  10. Nein
  11. Nein
  12. Nein
  13. To be honest i only just looked up magic quotes and it seems like a stupid solution (like haunted dawgs header code) to multiple security issues.
  14. if(get_magic_quotes_gpc()) { $value = stripslashes($_GET[$key]); } else { $value = $_GET[$key]; } isn't something like that already on MC somewhere, i remember looking at it once and thinking... wtf...
  15. Zero-Affect

    Include "...."

    good point i think im obsessed with foreach lol Mine is a little different to what i posted anyway i do use key and value in the array because i use the key for the title... anyways lol
  16. Did i say something bad?
  17. never thought of it that way, thanks for that LordDan
  18. Well if i told you where i put everything then you could just be copying, you need to work these things out for yourself. Also why not (if your wanting to be a little more unique) use something like http://www.4templates.com/view/search=%3D%3DAecuEtyUrquYgEKVSJVWQqKZdxWZoVKZIIaztSpiLNJIi6HE_5mYJJnRmpASWDsSJoKKnErM-SLpYIKyMgGUGpmbqA5mIQTq6MtyAgiakVKZkFKZdt1CgU1GiQ/0/AX0094RD?
  19. Ah it's not such a bad template actually i use it for now on http://www.crimgame.com granted i am changing it soon but still seems like your copying (to others).
  20. I actually was thinking about doing a exchange rate one but the exchange rates are updated all the time there's not much point really.
  21. function currency_format($amount, $currency='') { $currency_array = array( 'GBP' => '£', 'JPY' => '¥', 'CNY' => '¥', 'EUR' => '€', 'USD' => '$', '' => '' ); if ( (ctype_alpha($currency) OR empty($currency)) && array_key_exists($currency, $currency_array) && ctype_digit($amount) ) { $ret_txt = '<span style="font-weight: bold;">'.$currency_array[$currency].'</span>'.number_format($amount); } else { $ret_txt = FALSE; } return $ret_txt; } $var = '2001'; echo currency_format($var, 'USD'); // outputs $2,001 echo currency_format($var, 'GBP'); // outputs £2,001 echo currency_format($var, 'JPY'); // outputs ¥2,001 echo currency_format($var, 'CNY'); // outputs ¥2,001 echo currency_format($var, 'EUR'); // outputs €2,001 echo currency_format($var); // outputs 2,001 echo currency_format($var, 'lol'); // fails echo currency_format('+'.$var, 'USD'); // fails I was bored and needed something like this so i made it and thought i'd post my result
  22. Zero-Affect

    Include "...."

    i use something very like this if( isset( $_GET['page'] ) ) { $pages = array( 'page1', 'page2', 'page3' ); if( in_array( $_GET['page'], $pages ){ include( $_GET['page'] .'.php' ); } else { include( 'index.php' ); } but mines more like $file_array = array( 'files/file1.php', 'files/file2.php' ); $_GET['page'] = ( isset($_GET['page']) && in_array($_GET['page'], $file_array) ) ? basename(str_replace('.php', '', $_GET['page'])) : 'file1' ; # File Inclusion (Start) foreach ( $file_array as $value) { if ( $_GET['page'] == $value ) { include_once (DIRNAME(__FILE__) . '/' . $value); } } # File Inclusion (End) This may not work i edited it since im not giving out my entire index.php file ( basically 50 lines in my index file).
  23. Zero-Affect

    Include "...."

    I'm sorry where did someone say include isn't secure?
  24. If i had a wish, it would be to provide the world with a service which makes everyone happy (not drugs).
  25. Is it weird your header reminds me a little of pokemon?
×
×
  • Create New...