function onetab($line) { return ' <tr> <td class="mdl-data-table__cell--non-numeric">' . $line["opis"] . '</td> <td>' . getHelpers($line["id"]) . '</td> <td> <!-- Raised button with ripple --> <form action="dodaj" method="post"> <input type="hidden" name="need" value = "' . $line["id"] . '"/> <input type="submit" name="Pomóż" value="Pomóż"style="border-style:none;" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect"/></form> </td> <td>' . $line["status"] . '</td> </tr>'; }
<html> <head> <meta charset='utf-8'> <title> test </title> <script type="text/javascript" src="<?php echo base_url_admin; ?> /template/test/js/jquery-1.8.3.min.js"></script> </head> <body> <?php include PATH_ROOT . '/../helpers/getAll.php'; getLibs(); getHelpers(); ?> <div class="hader"> <?php // getText(); ?> </div> <div class="cont"> <?php echo getConComp($dbl, $controller, $method); ?> </div> <div class="footer"> footer </div>