//echo $gender; ?>
if ($gender == "F") echo "Female";
if ($gender == "M") echo "Male";
if ($gender == "FM") echo "Female/Male";
?>
// if review_title1 is empty, use hardcoded index, else,
// display nothing
if ( ($review_title1 === ""))
{
?>
// Index ?>
//echo stripslashes($review_index_title);
?>
Evaluation Summary - Index
//echo stripslashes($review_index_paragraph); ?>
// if #about, add this to toc
// echo stristr($review_title1,'about');
// if ( (stristr($review_title1,'about'))
// if ( (strlen($review_title1) == 0)
// if ( ($review_title1 === "")
/*
or
($review_paragraph2 == "%\#about%")
or
($review_paragraph3 like "%\#about%") or
($review_paragraph4 like "%\#about%") or
($review_paragraph5 like "%\#about%")
*/
// ) {
// display menu
echo '
These icons represent important attributes with which this product / service
is associated, contributes to, or encourages development of.
Select any of the unique icons below to learn more about the specific attribute it represents.
//Connect to the database for sponsors update
$db =
mysql_connect("localhost","thetoyma_thetoym","@1221za");
mysql_select_db("thetoyma_thetoymanonline",$db);
// Set sql to update sponsors table with incremented popular_rank count
$sql="select * from company_directory where (company_name = '$company_name') ";
//echo $sql;
$result = mysql_query($sql,$db);
// ===== get count and if 0, print no selections available
$marows=mysql_affected_rows();
$myrow = mysql_fetch_array($result);
// make current variables
$id=$myrow["id"];
$show_company=$myrow["show_company"];
$featured=$myrow["featured"];
$astra_member=$myrow["astra_member"];
$creditcollective_member=$myrow["creditcollective_member"];
$gama_member=$myrow["gama_member"];
$nssea_member=$myrow["nssea_member"];
$tia_member=$myrow["tia_member"];
$gpa_member=$myrow["gpa_member"];
$jpma_member=$myrow["jpma_member"];
$naeyc_member=$myrow["naeyc_member"];
// $company_name=$myrow["company_name"];
$company_url=$myrow["company_url"];
$date_received=$myrow["date_received"];
//echo $marows;
//echo $company_name;
// if in company directory and a member of any association, print title
if ( ($marows > "0") and (
( $astra_member=="yes" ) or
( $creditcollective_member=="yes" ) or
( $gama_member=="yes" ) or
( $nssea_member=="yes" ) or
( $tia_member=="yes" ) or
( $gpa_member=="yes" ) or
( $jpma_member=="yes" ) or
( $naeyc_member=="yes" )
)
) {
echo "Industry Memberships";
}
?>
//Connect to the database for sponsors update
$db = mysql_connect("localhost", "thetoyma_thetoym","@1221za");
mysql_select_db("thetoyma_thetoymanonline",$db);
// Set sql to update sponsors table with incremented popular_rank count
$sql="select * from company_directory where (company_name = '$company_name') ";
//echo $sql;
$result = mysql_query($sql,$db);
// ===== get count and if 0, print no selections available
$marows=mysql_affected_rows();
//$myrow = mysql_fetch_array($result);
if ( $marows == "0" ) {
// echo "
";
// always print other data if it's present
if ($independent_lab_name == 'Other') {
echo "$independent_lab_other_name";
} else {
echo "$independent_lab_name";
}
// always print other data if Other wasn't selected
// this will print a second lab if the first wasn't 'Other'
if ($independent_lab_name <> 'Other') {
echo " $independent_lab_other_name";
}
//else {
// echo "$independent_lab_name";
//}
echo "";
echo "
";
// echo "
";
// third part 2 of row data
// echo "
";
// echo "
";
/*
echo "
";
// always print other data if Other wasn't selected
// this will print a second lab if the first wasn't 'Other'
if ($independent_lab_name <> 'Other') {
echo "$independent_lab_other_name";
}
//else {
// echo "$independent_lab_name";
//}
echo "";
echo "
";
//}
// if soa seal is yes, then add header table, then print
// soa award, then if any of the three other awards
// are selected, print them,
// else, do nothing
//
if ( $seal_of_approval == "yes") {
// print header table with overall rating
// and four award's
// approved/not eligable/approved selections
echo "
";
echo "
";
?>
EVALUATION RESULTS - From evaluation for induction into "The Toy ManŽ Product Guide"
//echo "EVALUATION RESULTS - From evaluation for induction into \"The Toy Man® Product Guide\"
";
echo "";
?>
// First line of evaluation results - 3 spacer columes, 3 with content ?>
Overall
Rating:
=$product_rating;?>
Seal of
Approval:  
if ( $seal_of_approval == "yes") {
// echo " Approved ";
echo "";
} else {
echo " Not Eligible ";
}
?>
";
// end of - print header table with overall rating
//
// ================== print soa ===============
//
include "review_seal_of_approval.inc.php";
//eco_recognition seal option
// echo "aaaa";
// echo $eco_recognition_seal;
// echo "bbbb";
// if any of the other four awards is selected, print them.
//
// =========== print recommends awardl ===============
if ($recommends_award == "yes" ) {
include "review_toyman_recommends.inc.php";
}
// =========== print eco recognition seal ===============
if ($eco_recognition_seal == "yes" ) {
include "review_eco_recognition_seal.inc.php";
//echo "ggggggggggggggggggg";
}
// =========== print award of excellence ===============
if ($excellence_award == "yes" ) {
include "review_award_of_excellence.inc.php";
}
// =========== print echoice award ===============
if ($echoice_award == "yes" ) {
include "review_echoice_award.inc.php";
}
}
else
{
//echo stripslashes($review_paragraph5);
//echo "