View Single Post
Old 08-26-2011, 05:10 AM  
jollyhumper
Confirmed User
 
jollyhumper's Avatar
 
Industry Role:
Join Date: Mar 2011
Location: Norway
Posts: 400
I',m using Zorgman's TEVS, quite happy with it.
I am trying to include this code in one of my tubes.

Now; Zorgman already have a
datecheck in the header.file; which is:
Code:
$datetoday = date('Y-m-d');
I just
Code:
<?php include("h.php")?>
attop of my galleryfile.

So basically I changed yours
Code:
 $date to $datetoday
It does work like a charm, except for one thing.
If I am trying to put the date-folders into a folder named 'gallery'
Code:
<img src="gallery/<?php echo $datetoday; ?>/001.jpg">
The check routine always ends up with default, probably because the folder ain't on the root. But I can't fuing find out how to alter your code to check for the date inside a gallery folder. What makes me fucking is just that the solution is right infront of me, I should've seen it! argh

SO, someone, a little more input would be appreciated.
The stuff is basically working at pornpitstop right now, in it's most basic form.

Mrten
__________________
MongerCash - This Asian program converts as hell!. Sign up! |

Tons of Porn
|
Email: Jolly [at] pornpitstop (døt) com | Icq: 619 746 889 |
jollyhumper is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook