PHP Script Enhancement & Bug Fixing
Budget: €30 – €250 EUR
It is not really a job. It is rather making corrections on a few bugs and add a functionality to an existing script. However, if this job is well done, you might be asked to do a few other things on the main project and that might take a few weeks of work. A good freelancer should be able to solve these problems here in max. 3 hours. I am willing to pay 50€ for it. I, as a non professional, am working already more than one day on it so, I want to find a freelancer who can do this small job for me. So here is what I want to be done ASAP. Bootstrap 3 must be used for the layout, not 4 or 5.
The script runs on www.1europrojects.com. What you see is what should be shown in a modal.
What is the meaning of the script?
Imagine! I have a car and I park it somewhere in the world (where there is internet of course). I click on the hoempage on a button ‘ carLocation’ (icon of a car) and a modal opens. In the modal, there are 3 buttons: ‘saveBtn’, ‘deleteBtn’ and ‘goBtn’.
‘saveBtn’ is by default display: block;
‘deleteBtn’ and ‘goBtn’ is by default display: none;
I click on the button ‘saveBtn’ on the place where my car is parked and the location is saved in a tabel ‘tbl_car’’ of the database. The ‘saveBtn’ disappears and the two other buttons appear. Beneath the buttons there is a table that shows the saved address and timestamp. If no location is saved, the message: “No car location saved’ appears.
I walk the whole day and I want to find back my car. I click on the button’ carLocation’ ,the modal opens and I click on ‘goBtn’. The place where my car is parked appears in a Google Maps page. Now I can walk straight to my car. I use as href:
Example:
for Street art: href="https://www.google.com/maps?q=street art" target="_blank">
Once arrived at the car, I can delete the location in the tabel by clicking on deleteBtn. The saveBtn reappears and the two other disappear.
What are the problems that you must solve for me?
1. It may only be possible to add one car location. So best is, once clicked on saveBtn, this button gets ‘display: none;’.
2. Make disappear ‘saveBtn’ by clicking on it an appear the two other buttons.
3. Make appear ‘saveBtn’ and disappear ‘deleteBtn’ and ‘goBtn’ when clicking on ‘deleteBtn.
4. Now when I click on ‘goBtn’ the link that is send is the address of where I am standing. It should be the address that has been saved in the tabel ‘tbl_car’.
5. The button ‘carLocation’ shoud have class ‘btn-primary’ when the tabel is empty and class ‘btn-success’ whe a car location is saved.
Added are a few pictures to explain:
1. Database: the structure of the database ‘dbdrie’ with tabel ‘tbl_car.
2. Img-1: the address of where I am standing, my geolocation, as shown in the main project on the homepage.
3. Img-2: screenshot with an emty table. No records found. Should be ‘No car location saved’.
4. Img-3: screenshot with a location saved and shown in table.
5. Img 4: a screenshot of the homepage of the real project. In the head you see the icon of the car. That button has the function of the button carLocation. It opens the modal.
Please, make a proposition for budget and time. I want this job tob e done TODAY.
The script runs on www.1europrojects.com. What you see is what should be shown in a modal.
What is the meaning of the script?
Imagine! I have a car and I park it somewhere in the world (where there is internet of course). I click on the hoempage on a button ‘ carLocation’ (icon of a car) and a modal opens. In the modal, there are 3 buttons: ‘saveBtn’, ‘deleteBtn’ and ‘goBtn’.
‘saveBtn’ is by default display: block;
‘deleteBtn’ and ‘goBtn’ is by default display: none;
I click on the button ‘saveBtn’ on the place where my car is parked and the location is saved in a tabel ‘tbl_car’’ of the database. The ‘saveBtn’ disappears and the two other buttons appear. Beneath the buttons there is a table that shows the saved address and timestamp. If no location is saved, the message: “No car location saved’ appears.
I walk the whole day and I want to find back my car. I click on the button’ carLocation’ ,the modal opens and I click on ‘goBtn’. The place where my car is parked appears in a Google Maps page. Now I can walk straight to my car. I use as href:
Example:
for Street art: href="https://www.google.com/maps?q=street art" target="_blank">
Once arrived at the car, I can delete the location in the tabel by clicking on deleteBtn. The saveBtn reappears and the two other disappear.
What are the problems that you must solve for me?
1. It may only be possible to add one car location. So best is, once clicked on saveBtn, this button gets ‘display: none;’.
2. Make disappear ‘saveBtn’ by clicking on it an appear the two other buttons.
3. Make appear ‘saveBtn’ and disappear ‘deleteBtn’ and ‘goBtn’ when clicking on ‘deleteBtn.
4. Now when I click on ‘goBtn’ the link that is send is the address of where I am standing. It should be the address that has been saved in the tabel ‘tbl_car’.
5. The button ‘carLocation’ shoud have class ‘btn-primary’ when the tabel is empty and class ‘btn-success’ whe a car location is saved.
Added are a few pictures to explain:
1. Database: the structure of the database ‘dbdrie’ with tabel ‘tbl_car.
2. Img-1: the address of where I am standing, my geolocation, as shown in the main project on the homepage.
3. Img-2: screenshot with an emty table. No records found. Should be ‘No car location saved’.
4. Img-3: screenshot with a location saved and shown in table.
5. Img 4: a screenshot of the homepage of the real project. In the head you see the icon of the car. That button has the function of the button carLocation. It opens the modal.
Please, make a proposition for budget and time. I want this job tob e done TODAY.