//gethostbyaddr("65.55.106.131");
//$IPInfo = file("http://api.hostip.info/get_html.php?ip=".$TheIP.""); //Quick GeoLocation: http://www.dreamincode.net/forums/showtopic16693.htm
#Keep Stats - Jeff P.
require_once($_SERVER["DOCUMENT_ROOT"] . "/includes/db_accessnum.php");
$tempconn = @mysql_connect("localhost", $dbUser, $dbPass);
@mysql_select_db($dbName);
$tempip = $_SERVER["REMOTE_ADDR"];
$tempthedate = $_SERVER["REQUEST_TIME"];
$temppage = $_SERVER["PHP_SELF"];
$temprefer = $_SERVER['HTTP_REFERER'];
$tempres = @mysql_query("SELECT * FROM stats WHERE ip = \"$tempip\" AND page = \"$temppage\"", $tempconn);
if(@mysql_num_rows($tempres) > 0){
//Update
@mysql_query("UPDATE stats SET thedate=FROM_UNIXTIME($tempthedate), count=count+1 WHERE ip=\"$tempip\" AND page=\"$temppage\"", $tempconn);
}else{
//Insert
@mysql_query("INSERT INTO stats VALUES (\"$tempip\", FROM_UNIXTIME($tempthedate), 1, \"$temppage\")", $tempconn);
$temphost = @gethostbyaddr($tempip);
$tempipinfo = @file("http://api.hostip.info/get_html.php?ip=" . $tempip . "");
$tempcountry = @explode(':', $tempipinfo[0]);
$tempcountry = @trim( $tempcountry[1] );
$tempcity = @explode(':', $tempipinfo[1]);
$tempcity = @trim( $tempcity[1] );
@mysql_query("INSERT INTO stats_extra VALUES(\"$tempip\", \"$temphost\", \"$tempcity\", \"$tempcountry\", FROM_UNIXTIME($tempthedate))", $tempconn);
unset($temphost);
unset($tempipinfo);
unset($tempcountry);
unset($tempcity);
}
if(!empty($temprefer)){
@mysql_query("INSERT INTO stats_refer VALUES (\"$temprefer\")", $tempconn);
}
#Release Temp Variables
unset($tempconn);
unset($tempip);
unset($tempthedate);
unset($temppage);
unset($temprefer);
unset($tempres);
?>
Michigan ISP - GLIS·NET
|
/* Config Part --------------------------------------------------------------------------------------------------------------*/
$directory = "/home/glisoffice/domains/glisoffice.net/public_html/ad_rotator/"; // Webserver path to your adrotator files
$linkfile = "linkcode.inc"; // The Link Code file
$adcountfile = "displayad.inc"; // The Ad Display file
$pos = "right"; // Postion of banner tag (left, center or right)
$help_msg = "no"; // Display a "Help Message" - "Yes" to enable!
$help_message = "Please support this site by clicking on the banner below"; // Enter "Help Message" here
/* End of Config Part -------------------------------------------------------------------------------------------------------*/
// Leave below this line alone - If you modify anything below I can assure you it will mess up!
// the file holding the advert number to view next
$num = file($directory.$adcountfile);
// the file holding the link codes
$adverts = file($directory.$linkfile);
// tells the script to look at the next item in the array
$num = $num[0]+1;
// counting the number of adverts - using function count()
$number = count($adverts);
// If ran out of adverts, start again!
if($num>$number-1){
$num=0;
}
// write the current number to the file
if (file_exists($directory.$adcountfile)) {
$nu = fopen ($directory.$adcountfile, "w");
fputs($nu,$num);
}
else {
die("Can't find file Check ad-count file ($adcountfile) exists Check file with links ($linkfile) exists Check directory ($directory) is correct");
}
// display the link on the page
if($help_msg == "yes"){
echo "{$pos_statag}$help_message{$pos_endtag}";
}
echo "$adverts[$num] ";
?>
|
Fri Jun 09, 2023 23:57:30 |
|
|
HighSpeed Internet Service
It's required that you call us to pre-qualify.
To see if you qualify for HighSpeed Internet, call our office at 1-888-445-4763.
9:00 AM to 8:00 PM Monday - Friday
10:00 AM to 4:00 PM Saturday.
HighSpeed Service Offers |
- 10 E-mail Addresses
( 10 Megs per email address )
- Mailstorm Junk Screening.
- 10 Meg Personal Home Page.
- Free Tech Support.
- Tech support will help with all your computer problems.
- Free Invoice Billing.
- $25.00 credit for every customer referral.
- VOIP ( in the near future )
- No Hidden Charges.
- No Contracts!
- Dial-up connection can be used as a back-up if your HighSpeed is down.
- We Support Internet Freedom.
|
|
Requirements |
|
» Ethernet Card:
The ethernet card is usually located in the back of the computer.
The ethernet card will look something like the picture to the right. --->
|
|
|
|
GLISnet can provide the hardware if needed. Please see the list below.
If you provide your own hardware, tech support is limited if you use your own equipment.
GLISnet will configure your DSL modem and ship it to you. All that you need to do is plug it in and start surfing!
GLISnet can provide the following hardware...
|
Hardware - Choose between a standard modem or wireless modem - |
Price |
Shipping |
SpeedTouch 4 Port HSI Modem/Router |
$54.95 + tax |
$15.00 |
SpeedTouch 4 Port HSI Wireless Modem/Router (out-of-stock) |
$89.95 + tax |
Phone Filter (Used to filter out the DSL noise on your phones) |
$9.95 + tax ( each ) |
SpeedTouch Router Features |
|
- Connect up to 4 computers to your HSI connection.
- Built in Firewall.
- Parental Control: Gives the ability to block websites by name or IP address.
- Intrusion Detection: Protects your network against malicious intrusions.
- Game and Application Sharing.
- Password protected.
|
Please read GLISnet's Cancellation Policy
|
|
 |
|
|