Share market is a place to trade the shares. Buying through IPO is the primary market & exchanging the stocks thereafter is called the secondary market. Nifty is the average of top 50 companies in NSE whereas SENSEX is the average of top 30 companies in BSE.
Dividend, Bonus, Split & Face value has no effect in valuing a company.