how to organize the code?
<pre><code>&lt;?php
if(arg(0)=="test"){
echo "code here";
}else{
echo '&lt;div class="item-list"&gt;
  &lt;?php if (!empty($title)) : ?&gt;
    &lt;h3&gt;&lt;?php print $title; ?&gt;&lt;/h3&gt;
  &lt;?php endif; ?&gt;
  &lt;&lt;?php print $options['type']; ?&gt;&gt;
    &lt;?php foreach ($rows as $id =&gt; $row): ?&gt;
      &lt;li class="&lt;?php print $classes[$id]; ?&gt;"&gt;&lt;?php print $row; ?&gt;&lt;/li&gt;
    &lt;?php endforeach; ?&gt;
  &lt;/&lt;?php print $options['type']; ?&gt;&gt;
&lt;/div&gt;
';}
</code></pre>

<p>the else echo is too long. is there a way to make it small.</p>
