How to get nid of Views row?
I know this was asked a while ago, but for the benefit of people still searching, here is a solution.

&lt;?php foreach ($rows as $id =&gt; $row): ?&gt;

&lt;?php
$node = node_load($view-&gt;result[$id]-&gt;nid);
// do something with your node
?&gt;

&lt;?php endforeach; ?&gt;