//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] ";
?>
|
Sat Jun 10, 2023 01:11:50 |
|
|
Start saving money NOW on your phone calls!
GLISnet currently offers 2.9¢ / minute long distance priced either by usage or on a monthly basis. To sign
up for one of our long distance services, call our customer support at 1-888-445-4763. We are open from 9AM to 8PM, Monday
through Friday, and from 10AM to 4PM on Saturdays. Sorry, on Sundays we are closed.
Choose how you pay for your long distance! Unlimited monthly usage or on a call by call basis!
- It's fast and easy, works right away, and there is No waiting period!
- Works like a calling card except no pin number required.
- Calls can be made to anywhere within the 48 continental states and Canada!
- Access numbers through-out Michigan.
- No fees for signing up or adding additional phone numbers!
- You don't have to be a member to sign up!
- Long Distance Services -
Package |
Price |
Unlimited Long Distance + Unlimited Dial-Up |
$29.95 |
Unlimited Long Distance |
$24.95 |
Usage-Based Long Distance* |
2.9¢ / Minute |
*Current GLIS·net customers are automatically on this plan.
To use your new money-saving service, simply follow the instructions below.
- Locate an access number nearest to your town. Access Numbers
Write this phone number down and keep it next to your phone.
- Dial the local access number. You'll hear an announcement
saying "Please dial the number you wish to reach".
- After the announcement you'll hear a dial-tone enter the phone number
you wish to reach with the 1 and area code. That's it!!
- To view your monthly usage, click here.
NOTE: Local calls are still handled by your local carrier. There is no need to use the local
access number to call a local number.
For Non-GLIS·NET customers credit card payment only.
If for some reason you don't want to use a credit card. There will be a $4.95 charge for invoicing.
Unlimited Long Distance is limited to a three hour call length.
|
|
 |
|
|