| Author |
Message |
hireamerica Client

Joined: Sep 30, 2004 Posts: 103 Location: New Jersey
|
Posted:
Thu Oct 21, 2004 9:50 am |
|
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. |
|
|
|
 |
hireamerica Client

Joined: Sep 30, 2004 Posts: 103 Location: New Jersey
|
Posted:
Thu Oct 21, 2004 12:31 pm |
|
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 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
|
Posted:
Fri Oct 22, 2004 4:38 am |
|
$time is the variable passed to the formatTimestamp function in mainfile.php for proccessing - $datetime is the result sent back. |
|
|
|
 |
hireamerica Client

Joined: Sep 30, 2004 Posts: 103 Location: New Jersey
|
Posted:
Fri Oct 22, 2004 8:54 am |
|
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? |
|
|
|
 |
|
|
|
|