This would probably be faster than recursive. I have a feeling that the long delay on the very first time I load the page is because of the stupid recursive calls. Damn you, S2. I may end up rewriting these before handing the code and stuff over to Xella, just because it's not broken yet, but quite slow. Dunno how much faster foreach would be, but it should be lots faster. Yes, lots faster. :P
...Emmm, but the good news is that the layout's practically complete. Glitches and Issues remaining include:
- long_day format _not_ showing up correctly. Bizarre. Dunno why.
- Need to grab the code that generates navigation links (as in, the forward 10 entries, backward 10 entries things).
- A need to make parents shut up about how this isn't worth the money. grr... I'm doing this because it's more fun than going out and finding a real job, damnit. Plus, I actually learn stuff from doing this, instead of moving boxes or writing up inventories or whatever I might do in a large chain store place.
Xella, do you want me to follow that format for the other pages? Friends page, day pages, etc.? Silence will be taken for a yes... Actually, we talked about this. I just don't remember. I've partially started implementing it anyways... not too hard, just wrapping the usual around it...
Odd, apache died again for the second time tonight. Need to check the logs and see if there are attacks that are shutting it down, or if it's just me messing with bad S2 code?
[ edit | yeah, need to replace the recursive code with foreach code. I call too many things that do recursive looping too many times... the friends page isn't loading -.- Either that, or I managed to accidentally make an infinite loop.... ]