I have created a block using views and that block dispaying totally five items. I want to display a certain no.of items based on theme. For example: I have two themes for x and y. For x-theme i want to display "three" items and for y-theme i wish to display "Five" items.

how can i do this?

Comments

At first glance, I'd be tempted to send you to the Views Contextual Displays module and/or Context module:

Views Contextual Displays module

The Context Module README

Interesting challenge!
d

I got solution. Thanks to alienzed in this thread http://drupal.org/node/404714 :