Drop Coats


escape_string($fUserKey) . "' AND type = " . $db->escape_string($stage); //$frsql = "SELECT COUNT(*) AS NumRows FROM Registrar WHERE Owner='" . $db->escape_string($fUserKey) . "' AND type = " . $db->escape_string($stage); if ($db->errno) error_log("TeuluBreedables Plugin: Cannot connect to database " . $type . " om line " . __LINE__); $descriptName = "About"; if ($coatType == 2) { $descriptName = "Description"; } $bTmp = ""; $bTmpCQuery = ""; if ($coatType == 0) { $bTmp = $db->query("SELECT `name`, `Body`, $descriptName, MAX(`id`) as `id` FROM `" . str_replace("`", "", $coatTable) . "` WHERE showOnSite=TRUE GROUP BY `name`, `Body`, $descriptName ORDER BY id DESC LIMIT $traitsPerPage OFFSET " . (string)($page * $traitsPerPage) . ";"); } else $bTmp = $db->query("SELECT `name`, `Body`, $descriptName, MAX(`id`) as `id` FROM `" . str_replace("`", "", $coatTable) . "` WHERE showOnSite=TRUE && Active=1 GROUP BY `name`, `Body`, $descriptName ORDER BY id DESC LIMIT $traitsPerPage OFFSET " . (string)($page * $traitsPerPage) . ";"); if (!$bTmp) error_log("TeuluBreedables Plugin: Query failed on line " . __LINE__ . " Error recieved: " . $db->error); else { if ($coatType == 0) {$bTmpCQuery = "SELECT COUNT(DISTINCT `name`, `Body`) AS NumRows FROM `" . str_replace("`", "", $coatTable) . "` WHERE showOnSite=TRUE;";} else { $bTmpCQuery = "SELECT COUNT(DISTINCT `name`, `Body`) AS NumRows FROM `" . str_replace("`", "", $coatTable) . "` WHERE showOnSite=TRUE && Active=1;"; } } $frres = $db->query($bTmpCQuery); $numRowsFound = 0; if (!$frres) echo "error: " . $db->error; while ($rowfound = mysqli_fetch_assoc($frres)) $numRowsFound = $rowfound["NumRows"]; $maxPagesFloat = (float)$numRowsFound / (float)$traitsPerPage; $maxPages = floor($maxPagesFloat); if (!$bTmp) echo mysqli_error($db); ?>

Coats

Welcome to the Drop Coats page!
Here you can browse all the available coats for your Teulu Horse
Use the menu below to view Starter, Limited Edition / Special Edition / One-Of-A-Kind, and Drop Coats.

 


Warning: Undefined variable $bTmp in /home/portal7/public_html/newportal/newportal/wordpress/wp-content/themes/astra/page-templates/coats-template.php on line 213

Fatal error: Uncaught TypeError: mysqli_fetch_row(): Argument #1 ($result) must be of type mysqli_result, null given in /home/portal7/public_html/newportal/newportal/wordpress/wp-content/themes/astra/page-templates/coats-template.php:213 Stack trace: #0 /home/portal7/public_html/newportal/newportal/wordpress/wp-content/themes/astra/page-templates/coats-template.php(213): mysqli_fetch_row() #1 /home/portal7/public_html/newportal/newportal/wordpress/wp-includes/template-loader.php(132): include('...') #2 /home/portal7/public_html/newportal/newportal/wordpress/wp-blog-header.php(19): require_once('...') #3 /home/portal7/public_html/newportal/newportal/wordpress/index.php(17): require('...') #4 {main} thrown in /home/portal7/public_html/newportal/newportal/wordpress/wp-content/themes/astra/page-templates/coats-template.php on line 213

   Image

   Coat Name

   Description