Naturals: The Paper People: Our Hair and Shapes
';
// ===========================================================
// 7. PRICE & METADATA
// ===========================================================
if ($hasPrice) {
echo '
';
if ($discount !== null && (float)$discount > 0) {
echo 'List Price: $'.number_format((float)$listprice, 2).' Now Only $'.number_format((float)$discount, 2).'!';
} else {
echo 'List Price: $'.number_format((float)$listprice, 2);
}
echo '
';
}
if ($ts > 0) {
$imprintText = !empty($imprint) ? $imprint : $pub_name;
$urlSafeImprint = !empty($imprint) ? str_replace([' / ', '/'], ' ', $imprint) : '';
$imprintHref = !empty($imprint) ? '/imprint/' . u($urlSafeImprint) : '#';
echo ''.h($imprintText).' ('.date('M d, Y', $ts).')
';
}
echo '';
if (!empty($agerange)) { echo '' . h($agerange) . ', '; }
echo h($genre);
if (!empty($format)) echo ', ' . h($format);
if ($pagecount > 0) echo ', ' . $pagecount . ' pages';
echo '
';
// ===========================================================
// 8. BESTSELLER STATUS & HONORS
// ===========================================================
echo '';
if (isset($mysqli) && $mysqli instanceof mysqli) {
$isbn_clean = $mysqli->real_escape_string($isbn13);
$sql = "SELECT category, timesonlist, period FROM v_circana_bestsellers WHERE isbn = '{$isbn_clean}' ORDER BY period DESC LIMIT 1";
if ($res = $mysqli->query($sql)) {
if ($best = $res->fetch_assoc()) {
$slug = str_replace(' ', '_', $best['category']);
$bts = strtotime($best['period'] ?? '');
if ($bts) {
echo '
';
// ===========================================================
// 9. REVIEWS & EXCERPTS (CONVERTED TO BUTTONS)
// ===========================================================
echo ''.(int)$best['timesonlist'].'-time BLK Bestseller, '.h($best['category']).'
'; } } } } echo '- ';
if (($row_safe['nyt100'] ?? 0) > 1) echo '
- A New York Times Notable Book of '.(int)$row_safe['nyt100'].' '; if (($row_safe['oprah'] ?? 0) > 1) echo '
- An Oprah’s Book Club Selection ('.(int)$row_safe['oprah'].') '; if (($row_safe['bestseller'] ?? 0) > 0) echo '
- '.(int)$row_safe['bestseller'].' Time AALBC.com Bestseller! '; if (($row_safe['readinglist'] ?? 0) > 0) echo '
- Selected for '.(int)$row_safe['readinglist'].' Book Club Reading Lists '; if (($row_safe['cskaward'] ?? 0) > 0) echo '
- Coretta Scott King Award Winning Book '.h($row_safe['cskaward']).' '; if (($row_safe['cgwaward'] ?? 0) > 0) echo '
- Carter G. Woodson Award Winning Book '.h($row_safe['cgwaward']).' '; if (($row_safe['pulitzerawards'] ?? 0) > 1916) echo '
- Pulitzer Prize Finalist/Winner '.h($row_safe['pulitzerawards']).' '; if (($row_safe['sacredfire'] ?? 'n') === 'y') echo '
- A QBR 100 Essential Black Book '; echo '
';
// 1. Precise Detection: Get script name and the full URI
$current_script = $_SERVER['SCRIPT_NAME']; // e.g., /books/bookreview.php
$current_uri = $_SERVER['REQUEST_URI']; // e.g., /book-review/9780593139134
// 2. Strict Review Page Detection (Matches slug with hyphen AND filename)
$is_on_review = (
strpos($current_script, 'bookreview.php') !== false ||
strpos($current_uri, '/book-review') !== false
);
// 3. Strict Excerpt Page Detection
$is_on_excerpt = (
strpos($current_script, 'excerpt.php') !== false ||
strpos($current_uri, '/excerpt') !== false
);
// --- Review Button ---
if ($r > 0 && !$is_on_review) {
echo '
Read Our Review
';
}
// --- Excerpt Button ---
if ($excerpt > 0 && !$is_on_excerpt) {
echo '
Read an Excerpt
';
}
// --- Contest Button ---
if (!empty($contest)) {
echo '
Win a Free Copy
';
}
echo '
';
// ISBN/Publisher footer
echo '';
if (preg_match('/^978/', $isbn13)) { echo 'ISBN: '.h($isbn13).''; }
$urlSafePub = !empty($pub_name) ? str_replace([' / ', '/'], ' ', $pub_name) : '';
$pubHref = !empty($pub_name) ? '/books/publisher/' . u($urlSafePub) : '#';
echo 'Publisher: '.h($pub_name).'';
echo '
';
?> Description of Naturals: The Paper People: Our Hair and Shapes
Naturals: The Paper People are paper people who live inside books, called "Naturals." They come alive every so often to interact with people in the world and help them make decisions or learn new things. Their goal is to make the world a better place through loved, education, helpful gestures, and unity.
Our Hair and Shapes is about taking pride in one’s hair by exploring different types of natural hair styles. The book also focuses on shapes that we come into contact on a regular basis.