Пример #1
0
<?php 
            }
            ?>
						</table>
					</div>
				</div>
<?php 
        }
    }
    ?>
<!-- Scores -->
<?php 
    if (false) {
        //////////////////////
        $g = new gRaph($dbh);
        foreach ($g->getAttributes() as $attribute) {
            if ($attribute->type == "float") {
                ?>
				<div class="box">
					<h2>
						<a href="#"><?php 
                echo htmlentities($attribute->name);
                ?>
</a>
					</h2>
					<div class="block">
						<table class="scoretable">
							<tr>
								<th>Color</th>
								<th><?php 
                echo htmlentities($attribute->name);
Пример #2
0
									},
<?php 
                }
            }
            ?>
								],
								maxNodesCount:<?php 
            echo jsdefend($maxNodesCount);
            ?>
							}];
						</script>
					</div>
				</div>
<?php 
            // Pie charts
            foreach ($g->getAttributes() as $secondAttribute) {
                $valuesAgregated = $secondAttribute->getValuesAgregatedByPriorAttribute($attribute->id, $avaSubset->value);
                if ($secondAttribute != $attribute && $secondAttribute->viz == "partition") {
                    $sndAttrRewrittenName = $secondAttribute->getRewrittenName();
                    ?>
				
				<div class="box">
					<h2>
						<a href="#"><?php 
                    echo htmlentities($sndAttrRewrittenName);
                    ?>
 for "<?php 
                    echo htmlentities($valueRewritten);
                    ?>
"</a>
					</h2>