Zend SEO friendly URL

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
We have a system built on Zend/MySQL, and running on Nginx server.
And we need help to rewite 2 kinds of URLs:

We have a number of companies using our system, and each company will get their own profile page.
New companies will be added continously, and old companies might be deleted.

The URL to a profile looks like this - where the ID number identifies the company:

We want to change this URL to:

Each company also have a second page where the URL looks like this:

We want to change this URL to:
http://company-name.domain.com (if this is possible)

If not, we want to change it so something like this:

If you bid on this, please provide the following information:
- How would you do this
- How much time will it take
- What is your thoughts around #2, is it possible to use subdomain or is it better to use the other option?

Additional Project Description:
12/03/2012 at 15:01 GMT
Sorry, but we can see we're missing important information regarding #2.
For those of you who have already made a bid, please cancel or modify it if these changes makes a big change to the work that needs to be done.

It is regarding #2 of the project.
As described, we have the URL:

Basically, http://www.domain.com/offsite/ is a kind of a homepage for all of the companies in our system, and each company have around 14-15 pages here.

So login-or-register is just one of them.

A few other examples are :

Offsite is the controller/folder.
The spid number is the ID for each company.

So the new URLs should be:

this will be:

will be:

will be

The changes are similar for all 14-15 pages.
I'm not sure if this will only require one change for the controller offsite, or if a job must be done for each page.

Skills required:
MySQL, Nginx, PHP, Zend
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 200
in 2 days
$ 150
in 5 days
$ 100
in 1 days
$ 80
in 3 days
Hire jonsonhav15
$ 250
in 1 days
Hire KSiimson
$ 180
in 1 days