HOST,'user'=>DBUSER,'password'=>DBPASS,'database'=>DBNAME)); $siteDataObj = new SiteData($dbObj); $breedsdDataArr = getBreedsArr($dbObj); // get most recent articles // init catData object class catData {}; $catDataObj = new catData(); $catDataObj->catNameArr = array(); $catDataObj->topArticleCats = array(); getCatID($catDataObj,"",0,$dbObj,$siteDataObj); $htmlArtArr = array(); $a = 0; $query = "SELECT * FROM techArticles WHERE active = 1 ORDER BY id DESC LIMIT 1"; $dbObj->performQuery($query); while($row = $dbObj->fetchRow()){ $artCatArr = explode(",",$row['category']); $body = showFirst($row['body'],300); $htmlArtArr[$a] = "

".$row['title']."

"; $htmlArtArr[$a] .= "

$body"; if(strlen($body)>300){ $cat = explode(",",$row['category']); $articleLink = $siteDataObj -> siteURL.'/dog-training/'.getCatURL($catDataObj,$artCatArr[0])."/".Linkformat::addDashes($row['fileName'],lcase).'.html'; $htmlArtArr[$a] .= '
Complete Training Article

'; } $a++; } $dogBragHTML = ""; $query = "SELECT id,name,title,imgExt,dateCreated,description,breed,website FROM dogBrags WHERE active = 1 ORDER BY dateCreated DESC LIMIT 1"; $dbObj->performQuery($query); if($dRow = $dbObj->fetchRow()){ $dogBragHTML = ""; $dogBragHTML .= "

{$dRow['title']}

"; if(trim($dRow['imgExt']) != ""){ $dogBragHTML .= ""; } $dogBragHTML .= "Breed: ".$breedsdDataArr[$dRow['breed']]."
"; $dogBragHTML .= "From: {$dRow['name']}
"; $dogBragHTML .= "".formatDate($dRow['dateCreated']).""; $dogBragHTML .= "

".showFirst($dRow['description'],200)."

"; $dogBragHTML .= "K9 Dog Brag Details"; } // get active breeder count $dbObj->performQuery("SELECT COUNT(breeders.id) as count FROM breeders WHERE active = 1"); if($row = $dbObj->fetchRow()){ $kennelCount = $row['count']; } // get classified count $dbObj->performQuery("SELECT COUNT(classifieds.id) as count FROM classifieds WHERE expires >= NOW()"); if($row = $dbObj->fetchRow()){ $classifiedsCount = $row['count']; } //$paid = false; ?> <?= $siteDataObj -> defaultTitle ?> - <?= $siteDataObj -> siteName?>
Browse by Type
Browse by Breed

Protection Dogs

Connecting Buyers and Protection Dog Breeders

Currently Protection Dog Breeders and K9 classified ads in the USA & Canada.
Click a state to view Protection dog breeders in your area...

Best Protection Dog Puppies

Let us help you find your next Protection dog puppy. What type of guard dog would best fit your needs?

These are the 5 most popular K9 breeds:

Recently Added Breeders
    performQuery($query); while($row = $dbObj->fetchRow()){ ?>
Most Recent Listings
    = NOW() $sbSQL GROUP BY classifieds.id ORDER BY classifieds.id DESC LIMIT 20"; $dbObj->performQuery($query); while($row = $dbObj->fetchRow()) { $linkHTML = ""; if($row['imgCount'] > 0) { $linkHTML = "\"\" "; $linkTitle = showfirst($row['title'],35); } else { $linkTitle = showfirst($row['title'],40); } $linkHTML .= breakString($linkTitle,22); ?>
  • by in
More Guard Dog Stuff
Social Media
ProtectionDogBreeders.com on FaceBook
ProtectionDogBreeders.com on Twitter