Пример #1
0
					</div>
					<div class="row" id="espace"></div>
					<div class="row">
						<div class="form-group">
							<div class="col-sm-12">
							<?php 
if ($this->msg != "") {
    if (isset($_SESSION["nbSession"]) && $_SESSION["nbSession"] != "") {
        if (gettype($this->msg) === "array") {
            foreach ($this->msg as $index => $value) {
                echo '<div class="row">';
                echo '<button type="button" class="btn btn-default col-sm-1 col-sm-offset-2" onclick="window.location.href=\'' . Help::getNbDir() . 'sessions/DeleteSession/' . $index . '\'">X</button>';
                echo '<div class="col-sm-2">';
                echo '<input type="text" name="title" class="form-control text-center" value="' . $value . '">';
                echo '</div>';
                echo '<button type="button" class="btn btn-default col-sm-1" onclick="window.location.href=\'' . Help::getNbDir() . 'sessions/' . $index . '\'">Modifier</button>';
                echo '</div>';
            }
        }
    }
}
?>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>