![]() ![]() |
Home |
How it works |
Projects archive |
Contact Us Air Compressor Bot |
|
| The Career Path of Freelance Programming Jobs |
XHTML/CSS dynamic table creation |
![]() |
Bidding Time: |
14/10/2006 22:38 - 21/10/2006 00:00 |
Budget: |
$100-300 |
Status: |
Closed |
|
|
|
Job Type: |
|
Description: |
Greetings: I have a text file (Example text file) that contains (for now) six columns (order of columns can be changed if needed) that are separated by tabs (better suggestions?) per line (better suggestions?), this file is be manually updated with new entries on occasion, new entries will just be added to the bottom of the text file. ## Example text file (listings.txt) ## Item Site Item Name Item End Time Item TZ Item End Date Item URL Amazon Bag of parts that you want for no reason 08:45:15 CST 10/31/06 http://www.amazon.com... eBay Container of things you may use someday 23:59:00 PDT 10/25/06 http://www.ebay.com... Craigslist Tray of stuff just to have around 12:30:59 EST 10/15/06 http://www.craigslist.com... I need a script that will check to see if the text file (Example text file) exists and is not empty before continuing, script should then read through the text file and dynamically create an XHTML/CSS table using the external stylesheet prettytable.css), script should also update the text file by removing expired entries. Table (Example table) should be centered on page, each TR should have an alternating background color, I would like some whitespace between the TH and start of the TR's and between the TR's themselves, Item Time Remaining should be time adjusted to system time (PDT) and Item Link will open Item URL. ## Example table ## Item Name Item Time Remaining Item Link Tray of stuff just to have around 8d 19h 31m Craigslist Container of things you may use someday 14d 8h 20m eBay Bag of parts that you want for no reason 31d 1h 5m Amazon ## prettytable.css ## table.prettytable { background:#FFF; border-collapse:collapse; empty-cells:show; margin:1em 1em 1em 2em; } table.prettytable caption { margin-left:inherit; margin-right:inherit; } table.prettytable td { border:1px #000 solid; padding:0.2em; } table.prettytable th { background:#FFF; border:1px #000 solid; padding:0.2em; text-align:center; } table.prettytable tr.d0{ background-color: #FFF; } table.prettytable tr.d1 { background-color: #CCC; } I will be using the script on my Linux server and would prefer it be written in BASH/PHP so that I may try and maintain it, server is running Apache 2.2.3-2 , PHP 5.1.6-3, Zend Optimizer 3.0.1, and MySQL 5.0.26-1, I am also using CMS Made Simple 1.0.2 (utilizes Smarty templates). Thank you, - James Additional information submitted: 10/14/2006 at 23:47 EDT: 10/15/2006 at 1:43 EDT: 10/15/2006 at 14:51 EDT: This project is the proprietary information of .
Click here to remove this project from OUR database.
|
Operating System: |
Linux |
Database System: |
MySQL |
| <<< back |
|
| Home | Projects archive | RSS | Resources | Links | Contact Us | © 2004-2008 ProjectsList.biz /0.468 |