Vorlage:Steps: Unterschied zwischen den Versionen

Aus Afterbuy-Wiki
Wechseln zu:Navigation, Suche
 
(19 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 8: Zeile 8:
 
  if(trim($line)!=""){
 
  if(trim($line)!=""){
 
  $cells=explode('::',trim($line));
 
  $cells=explode('::',trim($line));
  $out='<tr><td width="1%">
+
  $out='<tr class="border-bottom mb-2 pb-2"><td width="1%" class="p-3 m-3" valign="top"><span class="fa-stack fa-lg" style="color:#edb800"><span class="fa fa-circle fa-stack-2x" style="color:#edb800"></span><strong class="fa-stack-1x" style="color:white;font-size:20px;">'.trim($cells[0]).'</strong></span></td><td>';
<span class="fa-stack fa-lg" style="color:#fde200"><span class="fa fa-circle fa-stack-2x" style="color:#fde200"></span><strong class="fa-stack-1x" style="color:white;font-size:30px;">'.trim($cells[0]).'</strong></span></td><td>';
+
  if(isset($cells[2]) && trim($cells[2])!=""){
  if(trim($cells[2])!=""){
+
  $out.='<div class="pt-2 mt-3 font-weight-bold h4">'.trim($cells[2]).'</div>';
  $out.='<strong>'.trim($cells[2]).'</strong><br />';
 
 
  }
 
  }
  $out.=trim($cells[1]).'</td></tr>';
+
  $out.=chr(10).trim($cells[1]).'<br /><br /></td></tr>';
 +
  echo $out;
 
  }
 
  }
 
}
 
}

Aktuelle Version vom 4. Juni 2021, 07:21 Uhr