Location: PHPKode > projects > Cdub's Logs > cdubs-logs/pageviews.php
<?
include("cdub_config.php");
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr> 
    <td width="400" height="13" valign="top"><font color="#666666" size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong> 
      <?
			  $getpages = mysql_query("SELECT * FROM cdub_pagviews WHERE ip = '$ip' ORDER BY id DESC");
			  while ($row = mysql_fetch_array($getpages)) {
			  $page = $row["page"];
			  $vdate = $row["date"];
			  ?>
      </strong> 
      <a href="<?=$cdub_site?><?=$page?>" target="blank"><?=$page?></a>
      - - 
      <?=$vdate?>
      <br>
      <?
			  }
			  ?>
      </font></td>
  </tr>
</table>
Return current item: Cdub's Logs