The largest online pirate, skulls, vampire and automotive t-shirts for car lovers
Home   |   T-shirt Store   |    T-shirt-info   |    Policies   |   Car Clubs   |   Club Signup   |   Contact Us   |   Checkout
"; echo ""; echo "
"; echo "
"; echo "
"; echo ""; echo $_GET[cat]; echo ""; echo "
"; include ("main-to-sub.php4"); if(count(${$_GET[cat]})==0) { echo "no subcategories added yet"; } else { for ($i=0; $i".${$_GET[cat]}[$i]."
"; } } echo "
"; ?>
T-shirt Categories:
More Cool Stuff:

Flamed Bad Boys Sunglasses!
Cool Links

Join the 1000's of customers who are saying: I love my shirt, these designs are too **COOL!**


$_GET[descr]

"; echo "

Please click on image or title to order

"; $_GET[descr]=strtolower($_GET[descr]); include("sub-to-prod.php4"); include("main-to-sub.php4"); include("crest-arrays.php4"); include("black-array.php4"); $crest = $_GET[subcat]; $crest .= "c"; if($_GET[subcat]=="Powered_by_Ford") { echo "
The cars in this group were not built by Ford and not considered Ford cars."; echo "
They are put in this category because they are powered by Ford

"; } if($_GET[subcat]=="Sports_cars") { echo "
Item numbers: SL044, SL048, FM006, FM012, FM078, TB133, TB146, TBH014, AND TBH019 were not built by Ford."; echo "
They are not Ford cars but we put them in this category because they are powered by Ford

"; } if(count(${$_GET[subcat]})==0) { echo "
No products have been added to this subcategory yet
"; } else { if (count(${$_GET[subcat]}) > 12) { echo ""; echo "
"; echo "Items 1 through 12 out of ",count(${$_GET[subcat]})," displayed"; echo ""; echo "next page
"; echo "

";//Hyperlink this with string query } else { echo "Number of designs in this category: ",count(${$_GET[subcat]}); } echo ""; $i = 0; $n_items = count(${$_GET[subcat]}); // Set this to how many items you have per page $n_cols = 3; // How many columns to use $n_rows = 4; //ceil ( $n_items / $n_cols ); // This calculates the number of rows (round up) for ( $row = 0; $row < $n_rows; ++$row ) { echo ''; // The major change comes below // We have to make sure that we don't run out of items, so // we add another condition to the loop ( $i < $n_items ) for ( $col = 0; $col < $n_cols && $i < $n_items; ++$col ) { echo ''; } if($_GET[cat]==Workshirts) { echo ''.${$_GET[subcat]}[$i].''; } else { echo ''.${$_GET[subcat]}[$i].''; } ++$i; } echo ''; } echo '
'; if($_GET[cat]==Hat_designs) { echo ''; echo ''; echo '
'; } if($_GET[cat]==Workshirts) { echo ''; echo ''; echo '
'; } else { echo ''; echo ''; echo '
'; } if($_GET[cat]==Hat_designs) { echo ''.${$_GET[subcat]}[$i].'
'; if (count(${$_GET[subcat]}) > 12) { echo ''; echo '
'; echo 'next page'; echo '
';//Hyperlink this with string query } if($_GET[cat]=="Workshirts") { echo '

These images below are examples of what your workshirt could look like:

'; echo '
'; echo ''; echo ''; echo ''; echo '
'; } } ?>