Exemple #1
0
// QuickLinksBar
dumpQuickLinks(array());
// message for the user on post operations
if (isset($validationMessage) && !empty($validationMessage)) {
    echo '<div class="' . ($validated == true ? 'info' : 'err') . '">' . $validationMessage . '</div>';
}
// create a new form
echo '<form action="Company.php" method="post">';
// Bootstrap table for Adding Company
echo '<div class="row show-grid" style="margin-left: 5px; margin-top: 15px; width: 900px">';
echo '<div class="col-sm-2">';
dumpBasicSubmitButton("Refresh", "Refresh", "Refresh page", true);
echo '</div>';
echo '<div class="col-sm-4">';
//dumpBootTextField("CompanyName", "CompanyName", 50, 50, '', "Enter a New Company Name");
dumpSearchBootTextField("CompanyName", "CompanyName", "autocomplet()", 50, 50, '', "Enter a New Company Name");
echo "<ul id='SearchCompanyNameList'></ul>";
echo '</div>';
echo '<div class="col-sm-2">';
dumpBasicSubmitButton("AddCompany", "AddCompany", "Add", true);
echo '</div>';
echo '</div>';
// add a div tag for the grid
echo '<div style="margin-left: 20px; margin-top: 15px;" id="CompanyListDiv"></div>';
echo '<table id="list"></table>';
echo '<div id="pager"></div>';
echo '</br><button type="button" style = "margin-right: 10px;" id="ShowCSVExport" onclick="toggle(\'checkbox\');">Show/Hide CSV Export Options</button>';
dumpBasicSubmitButton("ExportCSV", "ExportCSV", "Export data to .CSV", true);
//echo '<a style = "margin-left: 10px;">【Size: 647KB】</a>';
//div tag for checkboxes below grid
echo '</br></br><div class="checkbox" name="Checkboxes[]"  id="checkbox" style="display:none">';
Exemple #2
0
dumpBasicSubmitButton("Refresh", "Refresh", "Refresh page", true);
echo '</div>';
echo '<div class="col-sm-1">';
echo "";
echo '</div>';
echo '<div class="col-sm-2" style="margin-left: 40px;">';
//dumpBootTextField("FirstName", "FirstName", 15, 30, '', "First Name");
dumpSearchBootTextField("FirstName", "FirstName", "autocomplet()", 15, 30, '', "First Name");
echo '</div>';
echo '<div class="col-sm-1">';
//dumpBootTextField("MidInitial", "MidInitial", 15, 255, '', "M.I.");
dumpSearchBootTextField("MidInitial", "MidInitial", "autocomplet()", 15, 255, '', "M.I.");
echo '</div>';
echo '<div class="col-sm-2">';
//dumpBootTextField("LastName", "LastName", 15, 35, '', "Last Name");
dumpSearchBootTextField("LastName", "LastName", "autocomplet()", 15, 30, '', "Last Name");
echo '</div>';
echo '<div class="col-sm-1">';
dumpBasicSubmitButton("AddFounder", "AddFounder", "Add", true);
echo '</div>';
echo '</div>';
echo '<div margin-top: 100px;>';
echo "<ul id='SearchFounderNameList'></ul>";
echo '</div>';
// add a div tag for the grid
echo '<div style="margin-left: 5px; margin-top: 15px;" id="FounderListDiv"></div>';
echo '</br><button type="button" id="ShowCSVExport" onclick="toggle(\'checkbox\');">Show/Hide CSV Export Options</button> &nbsp';
dumpBasicSubmitButton("ExportCSV", "ExportCSV", "Export data to .CSV", true);
echo '&nbsp';
dumpBasicSubmitButton("ExportCSVCondensed", "ExportCSVCondensed", "Export data to .CSV (Condensed Version)", true);
//div tag for checkboxes below grid
Exemple #3
0
echo '</td>';
echo '<td width="70%" style="padding-right: 5px">';
dumpBootTextField("CompanyID", "CompanyID", 10, 50, '', "CompanyID");
echo '</td>';
echo '</tr>';
echo '<tr>';
echo '<td width="30%" style="padding-right: 5px">';
directBlankButton("Direct", "Direct", "Direct to page", "openBlankWindow()", true);
echo '</td>';
echo '</tr>';
echo '</table>';
echo '<div class="info" style="margin-left: 10px; margin-top: 15px;">Enter a Company Name: </div>';
echo '<div class="row" style="margin-left: 10px;">';
echo '<div class="col-md-3">';
//dumpBootTextField("SearchCompanyName", "SearchCompanyName", 35, 35, '', "Search Company Name");
dumpSearchBootTextField("SearchCompanyName", "SearchCompanyName", "autocomplet()", 35, 35, '', "Search Company Name");
echo "<ul id='SearchCompanyNameList'></ul>";
echo '</div>';
echo '<div class="col-md-2">';
dumpBasicSubmitButton("SearchCompany", "SearchCompany", "Search", true, true);
echo '</div>';
echo '</div>';
if (isset($CompanySearchResult) && !empty($CompanySearchResult)) {
    echo '<div class="info" style="margin-left: 10px; margin-top: 15px;">The following related companies were found.</div>';
    echo '<div class="info" style="margin-left: 15px; margin-top: 15px;">';
    // load the returned list of duplicates to a list box
    displayMatchCompanyPulldown("companySelect", "companySelect", $CompanySearchResult, 5, 300);
    echo '</div>';
    echo '<div class="info" style="margin-left: 15px; margin-top: 15px;">';
    // display a button to jump to the details page
    directBlankButton("ViewSelectedCompany", "ViewSelectedCompany", "View Event for selected Company", "directBlankWindow()", true);