Enter any part of the URL to locate a resource that matches:

Lookup
Resource

No matching resources.

"; showSearchForm(); exit; } else { multiPageLinks($start, $vs_maxRows, 'vs_resource.php?s='.urlencode($s).'&start=%d'); print ""; $i=0; while ($row=mysql_fetch_assoc($result)) { $class="zebra".(int)(0==$i++%3); $row['URL']=wrapURL($row['URL']); print ""; print ""; print ""; print ""; print ""; } print "
Last AccessTypeResource
{$row['lastHit']} {$row['type']}".vs_trunc($row['URL'], 125)."
"; } exit; } else { if (!isset($_GET['ID']) || empty($_GET['ID'])) { showSearchForm(); } } $_GET['ID']=mysql_real_escape_string($_GET['ID']); $sql="SELECT r.ID, r.type FROM {$vs_dbPrefix}resource r WHERE r.ID={$_GET['ID']}"; $result=mysql_query($sql); $resource=mysql_fetch_assoc($result); $sql="SELECT r.ID, r.type, sp.phrase, COUNT(h.time) AS accesses, CONCAT(r.scheme, '://', r.host, r.path, IF(r.query IS NULL, '', r.query)) AS URL FROM {$vs_dbPrefix}resource r LEFT JOIN {$vs_dbPrefix}hit h ON h.".('ref'==$resource['type']?'referral':'resource')."ID=r.ID LEFT JOIN {$vs_dbPrefix}searchPhrase sp ON r.searchPhraseID=sp.ID WHERE r.ID={$_GET['ID']} AND h.userID={$vs_user} GROUP BY r.ID"; $result=mysql_query($sql); if (0==mysql_num_rows($result)) { print "

No hits or acess denied.

"; die; } $resource=mysql_fetch_assoc($result); $resource['dispURL']=wrapURL($resource['URL']); ?>
URL
Type
Hits
Search phrase
0) { print '

Resources referred to'.('ref'==$resource['type']?'':' by').':'; ?> '; print ""; print ""; print ''; } } ?>
Accesses Resource
{$row['accesses']}{$row['dispURL']}