Quote:
Originally Posted by donjski
The problem I am having is that all the screenshots are showing up in alphabetical order.
|
I'm sorry to say this, but I removed this feature in the current version because it increased the loading time of the website by many seconds.
My goal was to provite a very simplistic PHP script that allows access to UTDC's screenshots. Sorting the screenies unfortunately exceeds the scope of my goal.
If you are literal in PHP, then you might want to have a look at the compareScreenie() function (also have a look at the usort() function in the PHP documentation), but from now on you are on your own (even though I certainly dont mind answering questions). Sorry. :/
P.S.: If you dont mind a long loading time, then simply remove the line "return $logdir.$strA < $logdir.$strB;" and uncomment the line "return @filemtime($logdir.$strA) < @filemtime($logdir.$strB);".