<h2>INDEX</h2> <?php global $menuHover; $menuHover->Add("Все", "/hosting"); $menuHover->Add("Новый", "/hosting/new"); ?> <!-- <a href="/hosting/new">ADD</a><br><br> --> <?php hosting::printArray(hosting::GETALL());
<textarea name="name"><?php echo $current->name; ?> </textarea> <script type="text/javascript"> CKEDITOR.replace('name', { filebrowserBrowseUrl : '/js/fileman/index.html', filebrowserImageBrowseUrl: '/js/fileman/index.html?type=image', }); </script><br> hostingID:<select name="hostingID"> <option disabled selected>Выберите хостинг</option> <?php $hostings = hosting::GETALL(); foreach ($hostings as $hosting) { echo " <option "; if ($current->hostingID == $hosting->id) { echo " selected "; } echo ' value="' . $hosting->id . '" '; echo " > "; echo $hosting->name; echo " </option> "; } ?> </select> managerID:<select name="managerID"> <option disabled selected>Выберите менеджера</option>