Commit 8c301b82 authored by Raph El's avatar Raph El

Address : mode lecture

parent 9b4248a3
......@@ -7,14 +7,19 @@ else if(!empty($answer) && isset($answer["answers"][$key]))
if($mode == "r" || $mode == "pdf"){ ?>
<div class="col-xs-12 no-padding" id="<?php echo $kunik ?>">
<label for="<?php echo $kunik ?>"><h4 style="color:<?php echo ($titleColor) ? $titleColor : "black"; ?>"><?php echo $label ?></h4></label>
<label for="<?php echo $kunik ?>"><h4 style="color:<?php echo ($titleColor) ? $titleColor : "black"; ?>"><?php echo $label ?></h4></label><br>
<?php
if(!empty($value)){
foreach ($value as $keyAdd => $valAdd) {
echo @$valAdd["name"]."<br>";
if(!empty($value["address"]) && !empty($value["address"]["name"]) ){
echo $value["address"]["name"]."<br>";
}
if(!empty($value["addresses"]) ){
foreach ($value["addresses"] as $keyAdd => $valAdd) {
if( !empty($valAdd["name"]) )
echo @$valAdd["name"]."<br>";
}
}
}
?>
</div>
<?php
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment