= <b><?php echo $nof100 * 100; ?> %</b> </div> <div class="clearfix"></div> <br> <?php ?> </div> <div class="col-md-4"> <?php $itotal = OperationData::GetInputQ($product->id, $cut->id); $ino_oficial = OperationData::GetInputQNoF($product->id, $cut->id); $ioficial = OperationData::GetInputQYesF($product->id, $cut->id); $nof100 = 0; $of100 = 0; if ($ino_oficial > 0) { $nof100 = $ino_oficial / $itotal; } if ($ioficial > 0) { $of100 = $ioficial / $itotal; } ?> <h1 class="pull-right"><?php echo $itotal; ?> </h1>