Here is what is expected by enquirers:
1. TRY first
what you want to do!
2. Formulate what was done by you that looks like an issue/not working.
Try them and tell if you face issues.
Members will be more than happy to help like this.
If you still want code then I would suggest you another forum: CP Jobs
]... Go here, put your requirements, give money and all will be done in time