示例#1
0
    echo '<div class="col-xl-' . $x . ' col-md-' . $x . ' col-sm-' . $x . '" ' . $pad . '>';
}
//HTML Start
echo '<html><head>';
//echo '<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>'; //TODO: JQUERY
echo '<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">';
echo '<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" integrity="sha256-MfvZlkHCEqatNoGiOXveE8FIwMzZg4W85qfrfIFBfYc= sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">';
echo '</head><body>';
echo '<h2>Terminology Asset Management&nbsp;&nbsp;&nbsp; <a href="' . $url . '"><small>(Home) </small></a></h2>';
echo '<hr>';
echo '<div class="container">';
echo '<div class="col-xl-9 col-md-9  col-sm-5">';
if (!isset($_POST['action'])) {
    $countries = $is->fetchCountries();
    $regions = $is->fetchRegions();
    $districts = $is->fetchDistricts();
    $counties = $is->fetchCounties();
    // ResourceMap - Manilla
    echo '<h3 class="muted">Resource Map Sync Tools</h3>';
    echo '<div class="alert alert-warning" role="alert">Resource Map - Bali Facility Types</div>';
    row();
    formStart();
    div(5);
    button('Populate Resource Map Bali Facility Types', 'syncRmapFacilityTypes', 'success');
    div_end();
    div(5);
    $rmap_config_id = 'bali';
    valuesetTextbox($rmap_layer_configs[$rmap_config_id]->getDefaultValuesetName());
    rmapCollectionData($rmap_config_id);
    div_end();
    formFinish();