Пример #1
0
print B_ICON . ' ' . B_ICON;
?>
-floppy-disk"></span></button>
            </div>
          </div>
<?php 
print $doc->getDocRowHeader();
$query = $mySQL['r']->prepare("SELECT `ID` FROM `core_files` ORDER BY `title` ASC");
$query->execute();
$query->store_result();
if ($query->num_rows != 0) {
    $query->bind_result($ID);
    while ($query->fetch()) {
        $doc->setID($ID);
        $doc->createVariables();
        $doc->createDocRow(true);
        print $doc->getDocRow();
        $doc->clear(true);
    }
}
?>
        </div>
      </div>
<?php 
$deleteConf = new Modal();
$deleteConf->setID('saveCont');
$deleteConf->setBody('Do you wish to save and continue to set up sessions or save and return to the View Competitions page?');
$deleteConf->setTitle('Save?');
$deleteConf->setCentre('default', 'Save &amp; Close', 'floppy-disk', 'button', '$(\'#saveOpt\').val(\'back\');document.getElementById(\'comp_add\').submit();');
$deleteConf->setRight('success', 'Save &amp; Continue', 'floppy-save', 'submit', '$(\'#saveOpt\').val(\'cont\');');
print $deleteConf->getModal();