}
            echo "</ul>\n";
        }
        ?>
						
					</ul>
				
				</td>
				
				<td valign="top">
					<h3><?php 
        yourls_e('Direct vs Referrer Traffic');
        ?>
</h3>
					<?php 
        yourls_stats_pie(array(yourls__('Direct') => $direct, yourls__('Referrers') => $notdirect), 5, '440x220', 'stat_tab_source_direct');
        ?>
					<p><?php 
        yourls_e('Direct traffic:');
        echo ' ' . sprintf(yourls_n('<strong>%s</strong> hit', '<strong>%s</strong> hits', $direct), $direct);
        ?>
 </p>
					<p><?php 
        yourls_e('Referrer traffic:');
        echo ' ' . sprintf(yourls_n('<strong>%s</strong> hit', '<strong>%s</strong> hits', $notdirect), $notdirect);
        ?>
 </p>

				</td>
			</tr>
			</table>
                echo "<li>";
                yourls_html_link(key($url));
                echo ": 1</li>\n";
            }
            echo "</ul>\n";
        }
        ?>
						
					</ul>
				
				</td>
				
				<td valign="top">
					<h3>Direct vs Referrer Traffic</h3>
					<?php 
        yourls_stats_pie(array('Direct' => $direct, 'Referrers' => $notdirect), 5, '440x220');
        ?>
					<p>Direct traffic: <strong><?php 
        echo $direct;
        ?>
</strong> <?php 
        echo yourls_plural('hit', $direct);
        ?>
 </p>
					<p>Referrer traffic: <strong><?php 
        echo $notdirect;
        ?>
</strong> <?php 
        echo yourls_plural('hit', $notdirect);
        ?>
 </p>