# # linkster.php # # ******************************************************* # * * # * Linkster 1.0 - a PHP/MySQL link indexing script * # * * # * [ March 21, 2001 ] * # * * # ******************************************************* # # Copyright 2001 Steve Gliebe. All rights reserved. # # Linkster 1.0 is distributed by Dream Dolphin Studio (http://dreamdolphin.com) as freeware. # It may be used and modified for your own use as long as this copyright/usage note remains # intact and unchanged in each place it appears. You may not sell or distribute the code of # Linkster 1.0, in whole or part, without the expressed written consent of Steve Gliebe and # Dream Dolphin Studio. # # By using Linkster 1.0 you agree to indemnify Steve Gliebe and Dream Dolphin Studio from # any liability. # # Being freeware, support for this script is not offered by Steve Gliebe or Dream Dolphin # Studio. Installation is offered for a small fee by Dream Dolphin Studio as well as custom # programming, web design, and graphic design services. Visit http://dreamdolphin.com for # more information. # require("common.php"); ######### CLICK COUNT ######### if ($QUERY_STRING && $LID && $URL) { mysql_query("UPDATE $link_table SET Clicks = Clicks+1 WHERE ID = $LID"); // add 1 to click count header("Location: $URL"); // send user to website } ######### PRINT HEADER/MENU ######### require("$header_html"); if ($public_add == "yes" || $QUERY_STRING) { echo "\n
\n"; echo "
\n";
}
if ($public_add == "yes" && $action != "add_link") {
echo " | \n";
echo "
Error: No data exists.
\n