Jump to content


Staff Alumni
  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by QuickOldCar

  1. In your style.css are these rules #sitename { font-size: 60px; color: #7272DE; padding: 20px; text-align: center;} #banner { margin-left: 210px; background: #000; text-align: right;} Yet when viewing the header.tpl file I do not see these rules applied <!-- START BLOCK : header --> <body> <div id="{page_id}"> <div id="leftcontainer"> <div id="maincontainer"> <div id="leftcolumn"> <div class="leftblock"> <div class="lefttitle"><div class="lefttitle2">{menu2_title}</div></div> <div class="blockbox">{menu2_content}</div> </div> <div class="leftblock"> <div class="lefttitle"><div class="lefttitle2">{random_title}</div></div> <div class="content">{random_content}</div> </div> {login_title}{login_content} </div> <div id="banner"></div> <div id="skincontainer"><div id="skincontainerB"><div id="skincontainerC">{menu_content}{skinchange_content}{rss}</div></div></div> </div> <div id="mainpage"> <!-- END BLOCK : header -->
  2. css .centeredImage { text-align:center; margin-top:0px; margin-bottom:0px; margin-right: auto; margin-left: auto; padding:0px; } html <p class="centeredImage"><a href="http://site.com"><img src="http://site.com/images/default.png" alt="Logo" style="max-width:98%;max-height:90px;"/></a> </p>
  3. You also want to never use a negative value so if less than 1 make it one again. if($page < 1){ $page = 1; }
  4. You want to see if page is set in the GET and not empty, otherwise set it to 1 if(isset($_GET['page'] && trim($_GET['page'] != '')){ $page = $_GET['page']; }else{ $page = 1; }
  5. I really hate ads, popups, spam and commercials

  6. People are only nice when they need something from you.

  7. The internet is a mess, amazing works as well as it does.

  8. Did you ever notice the most common and frequent things need to do in coding never have a well made function?

  9. Tip of the day: HTTP referer - The word referer is mispelled in most coding and should have been referrer. Although some spell it correctly such as any using DOM.

  10. When kids talk in class, here is how they handle the punishment. for($i=1;$i<=1000;$i++){ echo "I will not talk in class.
    "; }

  11. The best thing about a Boolean is even if you are wrong, you are only off by a bit.

  12. The only java I like is in my cup.

  13. The most important language a programmer needs to learn is English.

  14. Check to see if actually getting a response then check if it's valid. http://jsonlint.com/
  15. That is a vague question. Is many variables to them that could make them slower. By default they are fast. A big helper would be to cache the results or pages somehow. Optimize queries and create an index for the database. Only fetch data you are using Don't load lots of images or large ones, cache smaller thumbnail versions of them when can. Use gzip or any other compression for js and css Can test your pages out here and try to find out what is making it slow. http://tools.pingdom.com/fpt/
  16. Have a look at Mysql Connector/Python MySQL Connector/Python enables Python programs to access MySQL databases Coding examples
  17. Smart programmers make computers not be dumb.

  18. Would it be possible to change my name to Quick Date Registered: December 30, 2003, 07:28:46 PM Last Active: December 30, 2003, 07:33:21 PM
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.