function statikHTML($paramTitle, $param) { $html = '<div style = "height:auto; padding:5px;"> <span><strong>' . $paramTitle . '</strong></span> </div><br />'; if (strlen($param) != 0) { $html .= '<div style = "height:auto; padding: 5px 5px 5px 10px;"> <span style="text-align:justify;">' . FormFactory::ignoreBreaks($param) . '</span> </div>'; } return $html; }
function statikTabloHTML($paramTitle, $param) { if (is_array($param)) { $param = implode($param, ","); } $html = '<div style = "height:auto; padding:5px;"> <table style = "width:100%;"> <tbody> <tr> <td style = "font-size:14px; width:35%;"><strong>' . $paramTitle . ': </strong></td> <td>' . FormFactory::ignoreBreaks($param) . '</td> </tr> </tbody> </table> </div>'; return $html; }
function statikHTML2($paramTitle, $param, $bottomPadding = 0) { $html = '<br/> <span><strong>' . $paramTitle . '</strong></span> <br>'; if (strlen($param) != 0) { $html .= ' <span style="padding:0px; margin:0px; text-align:justify;">' . FormFactory::ignoreBreaks(rtrim($param, "..")) . '</span> '; } return $html; }
function divHTML($data) { return "<div><dt> </dt><dd>" . FormFactory::ignoreBreaks($data) . "</dd></div>"; }
function statikHTML($paramTitle, $param, $bottomPadding = 10) { $html = '<div style = "margin:0px; padding:0px; "> <span><strong>' . $paramTitle . '</strong></span> </div><br />'; if (strlen($param) != 0) { $html .= '<div style = "height:auto; padding: 0px 5px 0px ' . $bottomPadding . 'px;"> <span style="padding:0px; margin:0px; text-align:justify;">' . FormFactory::ignoreBreaks($param) . '</span> </div>'; } return $html; }