Home » ';
$link .= '
Diseases By Crop';
if( isset($_GET['ref']) && isset($_GET['plant']) ) {
$ref = $_GET['ref'];
$plant = $_GET['plant'];
$plant_name = str_replace('-',' ',$plant);
$link .= ' »
' . ucfirst($plant_name) . '';
$node = arg(1);
$node = node_load($node);
$link .= ' »
' . $node->title . '';
echo $link;
echo '';
}
else if( isset($_GET['part']) && isset($_GET['plant']) ) {
$node = arg(1);
$node = node_load($node);
$term = taxonomy_get_term_by_name($_GET['part']);
$plant_part = key($term);
$term = taxonomy_get_term_by_name($_GET['plant']);
$crop_id = key($term);
$link = '
Home » ';
$link .= '
Diagnostic Keys » ';
$link .= '
' . ucfirst($_GET['plant']) . ' » ';
$link .= '
' . $_GET['part'] . ' » ';
$link .= '
' . $node->title . '';
echo $link;
echo '';
}
else if( arg(1) != '') {
echo $link . ' »
'. arg(1) .'';
}
else {
echo $link;
}
?>