Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
hireamerica
Client


Joined: Sep 30, 2004
Posts: 103
Location: New Jersey

PostPosted: Thu Oct 21, 2004 9:50 am Reply with quote

I'm looking to use the newgraphic function in a custom module.

It takes $TIME and $DATETIME like in downloads and weblinks mods, and those are working great.

Basically, I can' find where $TIME and $DATETIME are first instantiated.

If I had those, I'm positive I can port that function anywhere as long as I address where the images should always come from.
 
View user's profile Send private message Visit poster's website Yahoo Messenger
hireamerica
PostPosted: Thu Oct 21, 2004 12:31 pm Reply with quote

Well, I think I got it... $time is renamed from the date column of the nuke_links_links and similiar for downloads table.

$datetime is aparently global.

It works so on Only registered users can see links on this board! Get registered or login! the patriotic list (which now has Raven's hosting) now shows a correct green new logo next to it (I put in on 10/19).
 
Holbrookau
Hangin' Around


Joined: Jun 25, 2004
Posts: 32

PostPosted: Fri Oct 22, 2004 4:38 am Reply with quote

$time is the variable passed to the formatTimestamp function in mainfile.php for proccessing - $datetime is the result sent back.
 
View user's profile Send private message
hireamerica
PostPosted: Fri Oct 22, 2004 8:54 am Reply with quote

So if it's all coming back.. I include mainfile.php and $time is gotten from my tables... e.g., a select of column date into variable $time. Then formatTimestamp is executed with $time and $datetime is returned.

So then I have $time and $datetime and I can use them.

Sounds good...think it's working...now I just need to vertically center the image next to text (defauly is top apparently)... HTML 4.0 deprecates valign and align in IMG...any ideas?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©