Programm a HTML/PHP page with a layout very similar to the one shown in the photo (example [login to view URL]).
Color-Definitions:
- dark Brown #7c3b11
- light Brown #a56323
- dark gray #393939
- light gray #b5b5b5
The blue Color shall be replaced with the dark Brown.
The logo in the top right corner shall be a plain dark-brown rectangular (as an image, which can be replaced later) and the text (SBB CFF FFS) shall be replaced with SchoPla Bahn.
The watch in the Bottom right corner shall be according to the one on the following url
[login to view URL]
The widget must be programmed from scratch and may not be copied from the page Above.
(i.e. a JS-widget)
The page shall be called with a Parameter such as …..php?train_number=123&offset=0
(explanation of parameter offset see bottom section)
The contents is taken from a database (to be defined by the programmer) with:
TABLE trains
- train_id
- train_number (example: 123)
- train_desc (example: S29)
- train_icon (Maybe empty or with an URL to an available Icon) >> use this for your tests: [login to view URL]:[login to view URL]
- train_bg (example: FFFFFF for white or 000000 for black)
TABLE stations
- station_id
- parent_train_id
- station_time (example: 12:08)
- station_name (example: Holderbank AG)
- station_icon (Maybe empty or with an URL to an available Icon) >> use this for your tests: [login to view URL]:[login to view URL]
The code searches the TABLE trains for the id given as the Parameter with the number given as a parameter in the URL.
The description is shown (train_desc, in the photo top left corner) with the backgroundcolor as specified in train_bg. The font shall be white with dark background colors and black with light background colors. The Icon (train_icon) is shown if not empty.
The code searches the TABLE stations for all recordes with the parent_train_id == train_id ORDER station_time.
The next station with station_time >= current time is shown in the dark bar on the top (in example [login to view URL]: Holderbank AG) with the time as given in the TABLE (Ankunft: 12:08)
After that, the next four (4) stations (except for the last station of that train) are shown, ordered by time (e.g. 12:10 Schinznach Bad, 12:16 Brugg) and some gray circles in the gray line. Maybe (as shown in the example [login to view URL]) there are not four stations available, so only 1..2..3 or even none are shown.
Note: Icons are show right after the station_name if not = none (as the images given in the link)
Note: If there are more stations between the last of the four shown and the final station in the bottom gray bar, the arrow must be dashed (example example Zurich with many [login to view URL])
The last station of the train_id is shown in the Bottom bar as the final target.
If the train has reached the final destination (i.e. the time is > than the last station_time of the train specified), the layout according to example final station [login to view URL] is shown.
**Explanation for Parameter offset in calling line**
The offset specifies the difference between the timestamps specified in TABLE stations (station_time) and the time to be used for the display. Value given in minutes.
Example:
- offset = 0 - the times as specified in station_time shall be used.
>> SELECT ... station_time ... FROM stations ...
- offset = 60 - the train is runs on hour later
>> SELEC … station_time+("60 minutes") ... FROM stations …
This allows to put one train in the database and run it e.g. every hour without adding it several times in the database.
The page updates itself automatically.
The page shall run on any PC using a web-browser.
Deliverables:
- all code as needed (html, php, widgets, etc)
- dump of database as needed (use mariaDB)
Hello,
My name is Babis. I have great experience in website/app development and design.
I have 15 years experience in web design and development and highly value communication and work towards your specific requirements.
I am looking forward hearing from you.
Thank you.
€200 EUR за 2 дні(-в)
5,0
(406 відгуки(-ів))
8,3
8,3
23 фрілансерів(-и) готові виконати цю роботу у середньому за €175 EUR
Hello Sir
Can you please share more information regarding work
we are Experienced more than a 10+ years in Website Development
Please send us message to Discuss more
Thanks
TivLabs
Hello Mate!Greetings Marco S.,
I am an expert wordpress expert with more than 6+ years of experience. I have carefully checked your project - HTML/PHP Page with customizable Train Schedule and I can do this task now.
I have checked your attachments .
I'm confident that I can deliver an exceptional site that meets your needs. I can start work on this project !
"60 minutes"
Please contact me to discuss more regarding this project.
A fast response is appreciated
"HTML/PHP Page with customizable Train Schedule
" I CAN START NOW !!!!
Sir I read your project brief and I can do your project
Please review my similar portfolio
https://www.freelancer.com/u/Webtechfusion23
My Experience in this field for last 10 years and i m very consistent in my work i work almost 20 hours a day
i am highly professional and master in Web designing and developing websites/ Apps field and i will do a great job on your project if you give me the chance and will make you 100% satisfy from my work .
Please come to chat for discuss in details. I'm ready to start your project now
Aftab