Pin it to your shirt, Glue it to your shift knob, turn it into a necklace and give it to your significant other for valentines day. Whatever the purpose, we’ve got your Turtle Hat Pin right here!
Hat Pin measures 1-inch in diameter and is 1/16-inch thick.
$expires = ’12:00:00 PM Feb 12 2021′;
$message = ‘T-minus %%H%% hours %%M%% minutes %%S%% seconds’;
if (time() > strtotime($starts))
echo ‘
TargetDate = “‘ . date(“n/d/Y g:i A”, strtotime($expires)) . ‘”;
BackColor = “#E8E8E8”;
ForeColor = “#AF1D22”;
CountActive = true;
CountStepper = -1;
LeadingZero = false;
DisplayFormat = “‘ . $message . ‘”;
FinishMessage = “”;
‘;
$settings = array(
‘ajax’ => 0,
‘hide_if_empty’ => 1,
‘default_tab’ => 0,
‘title’ => ‘Product’,
‘rendered’ => ‘quicktabs’,
‘style’ => ‘nostyle’,
);
$custom_tabs = array();
// ==[ DESCRIPTION ]===========================================================
$content = ‘Main Quick Tab goes here’;
$custom_tabs[] = array(
‘title’ => ‘Description’,
‘contents’ => $content,
‘weight’ => 1,
);
// ==[ APPLICATIONS ]===========================================================
$applications = ”;
$result = db_query(“SELECT field_application_value FROM {field_data_field_application} WHERE bundle = ‘product’ AND entity_id = :nid”, array(‘:nid’ => $node->nid));
while ($row = $result->fetchField())
$applications .= str_replace(‘_’, ‘ ‘, $row) . ‘
‘;
if (strlen($applications) > 0)
$custom_tabs[] = array(
‘title’ => ‘Applications’,
‘contents’ => ‘
Applications
‘ . $applications . ‘
‘,
‘weight’ => 2,
);
// ==[ SPECS ]===========================================================
$custom_tabs[] = array(
‘title’ => ‘Specs’,
‘contents’ => ‘
Weight: ‘ . $node->weight . ‘ ‘ . $node->weight_units . ‘
Length: ‘ . $node->length . ‘ ‘ . $node->length_units . ‘
‘,
‘weight’ => 3,
);
if (isset($content[‘body’][‘#object’]->field_instruction_pdf[‘und’][0][‘filename’])) // We have instructions!
$custom_tabs[] = array(
‘title’ => ‘Instructions’,
‘contents’ => ‘
Instructions
Click here to download the instructions in PDF format
‘,
‘weight’ => 4,
);
// ==[ TECH NOTES ]===========================================================
$custom_tabs[] = array(
‘title’ => ‘Tech Notes’,
‘contents’ => ‘
Tech Notes
‘,
‘weight’ => 5,
);
echo ‘
echo drupal_render(quicktabs_build_quicktabs(‘Product’, $settings, $custom_tabs));
echo ‘
‘;
}
?>