<?php
foreach ($int as $value) {
    ?>
    <h3>Interface <?php echo $value ?></h3></br>
    <?php $value = str_replace(" ", "_", $value) ?>
    <img src=<?php echo Yii::getAlias('@web') . "/graphs/" . $value . "_" . $often . ".gif" ?>>

    </br>
    <div style="margin-left:250px;">
        <img src=<?php echo Yii::getAlias('@web') . "/graphs/in.png" ?>> IN <img src=<?php echo Yii::getAlias('@web') . "/graphs/out.png" ?>> OUT </br>
    </div>
    <?php
}
?>
