<?php // +---------------------------------------------------------- // | Auto-Press // +---------------------------------------------------------- // | siteadministration.php // | // +---------------------------------------------------------- // | Jan Bevers // +---------------------------------------------------------- // +---------------------------------------------------------- // | HTML-code // +---------------------------------------------------------- include_once getcwd() . "/classes/BLSite.php"; $blSite = new BLSite(); $sites = $blSite->getSites(); $scripts = ""; $html = ""; $html .= "<table>"; $html .= "<tr>"; $html .= "<th>Name</th>"; $html .= "<th>Car Administration</th>"; $html .= "<th>Preview</th>"; $html .= "<th style=\"width:100px\">Valid</th>"; $html .= "<th>Generate HTML</th>"; $html .= "</tr>"; if ($sites != null) { foreach ($sites as $site) { $html .= "<tr>"; $html .= "<td>" . $site->getName() . "</td>"; $html .= "<td><a class='link' href='" . SUBFOLDER . "/page/caradministration/" . $site->getName() . "/'><img src=\"" . SUBFOLDER . "/css/images/icons/car-icon.png\" alt=\"car\" /></a></td>";