PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
hireamerica
Client


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

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

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
Client


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

PostPosted: Thu Oct 21, 2004 12:31 pm Reply with quote Back to top

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 to the forums!
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).
View user's profile Send private message Visit poster's website Yahoo Messenger
Holbrookau
Hangin' Around


Joined: Jun 25, 2004
Posts: 32

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

$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
Client


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

PostPosted: Fri Oct 22, 2004 8:54 am Reply with quote Back to top

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?
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum