Notice: Undefined offset: 8192 in /home/entering/public_html/includes/common.inc on line 611

Notice: Undefined offset: 8192 in /home/entering/public_html/includes/common.inc on line 618
TownofNorwood.com | Town Directory - All Departments
Town Directory - All Departments

<?php
$host = "localhost"; //database location
$user = "norwood"; //database username
$pass = "n0Rw00D1-337ccn"; //database password
$db_name = "ton"; //database name
$old_cat = "xxxcat"; //used for category breaks

//database connection
$link = mysql_connect($host, $user, $pass);
mysql_select_db($db_name);
?>

<?php

$desc_str = mysql_query("
SELECT
t2.ton_service_category_priority,
t1.listing_priority,
t1.ton_service_category_id,
t2.ton_service_category_desc,
t1.listing_name,
t1.listing_desc,
t1.ton_url,
t1.actual_url,
t1.address,
t1.town,
t1.state,
t1.zip,
t1.phone,
t1.fax,
t1.email
FROM ton_service_directory AS t1, ton_service_category AS t2
WHERE
t1.active = 1 AND
t1.ton_service_category_id = t2.ton_service_category_id
ORDER BY t2.ton_service_category_priority, t1.ton_service_category_id
");

//$category = $_GET['category'];
//print 'category = '.$category;

if (mysql_num_rows($desc_str) != 0)
{ while ($desc_row= mysql_fetch_array($desc_str))
{

$new_cat = $desc_row[ton_service_category_desc];
if ($new_cat != $old_cat)
{print "

$desc_row[ton_service_category_desc]

";}

print "

$desc_row[listing_name] - (Website, ";

$emaildesc = $desc_row[email];
if ($emaildesc != NULL)
{print "Email, ";}

$addplus = str_replace(" ", "+", $desc_row[address]);
print " Map)

";

//print "$desc_row[address], $desc_row[town] $desc_row[state] //$desc_row[zip]
";

//print "Phone: $desc_row[phone]";

//$faxdesc = $desc_row[fax];
//if ($faxdesc != NULL)
//{print " Fax: $desc_row[fax]
";}
//else
//{print "
";}

//$listdesc = $desc_row[listing_desc];
//if ($listdesc != NULL)
//{print "$desc_row[listing_desc]
";}

//print "$desc_row[ton_url]

";

$old_cat = $new_cat;
}
}
?>


cialis

link android handy spionage app iphone link link spionage software whatsapp link android app spy location link computer temperatur Гјberwachen chip handy einmalig orten lassen salfeld kindersicherung administrator ispy para iphone 6 Plus link pc Гјberwachung polizei