Exemplo n.º 1
0
function _set_success_()
{
    $var_array_alamat = array('id' => array("Gedung 1, Lantai 1", "Gedung 1, Lantai 2", "Gedung 1, Lantai 3", "Gedung 1, Lantai 4", "Gedung 1, Lantai 5", "Gedung 2, Lantai 1", "Gedung 2, Lantai 2", "Gedung 2, Lantai 3", "Gedung 2, Lantai 4", "Gedung 2, Lantai 5", "Gedung 3, Lantai 1", "Gedung 3, Lantai 2", "Gedung 3, Lantai 3", "Gedung 3, Lantai 4", "Gedung 3, Lantai 5", "Gedung 4, Lantai 1", "Gedung 4, Lantai 2", "Gedung 4, Lantai 3", "Gedung 4, Lantai 4", "Gedung 4, Lantai 5", "Gedung 5, Lantai 1", "Gedung 5, Lantai 2", "Gedung 5, Lantai 3", "Gedung 5, Lantai 4", "Gedung 5, Lantai 5"), 'text' => array("Gedung 1, Lantai 1", "Gedung 1, Lantai 2", "Gedung 1, Lantai 3", "Gedung 1, Lantai 4", "Gedung 1, Lantai 5", "Gedung 2, Lantai 1", "Gedung 2, Lantai 2", "Gedung 2, Lantai 3", "Gedung 2, Lantai 4", "Gedung 2, Lantai 5", "Gedung 3, Lantai 1", "Gedung 3, Lantai 2", "Gedung 3, Lantai 3", "Gedung 3, Lantai 4", "Gedung 3, Lantai 5", "Gedung 4, Lantai 1", "Gedung 4, Lantai 2", "Gedung 4, Lantai 3", "Gedung 4, Lantai 4", "Gedung 4, Lantai 5", "Gedung 5, Lantai 1", "Gedung 5, Lantai 2", "Gedung 5, Lantai 3", "Gedung 5, Lantai 4", "Gedung 5, Lantai 5"));
    $var_html = '<tr>';
    $var_html .= '<td>' . _set_label_("", "Kirim ke") . '</td>';
    $var_html .= '<td>';
    $var_html .= _set_pulldown_("slt_alamat", $var_array_alamat, 24);
    $var_html .= '</td></tr><tr>';
    $var_html .= '<td colspan="2" align="right" class="mytable_cpt">' . _set_submit_("", "Konfirmasi") . '</td></tr>';
    return $var_html;
}
Exemplo n.º 2
0
                    </td>
                </tr>

                <?php 
    } else {
        ?>
                
                <tr>
                    <td colspan="3"><?php 
        echo _set_label_("", "Kirim ke");
        ?>
</td>
                    <td colspan="2">
                        <?php 
        $var_array_alamat = array('id' => array("Gedung 1, Lantai 1", "Gedung 1, Lantai 2", "Gedung 1, Lantai 3", "Gedung 1, Lantai 4", "Gedung 1, Lantai 5", "Gedung 2, Lantai 1", "Gedung 2, Lantai 2", "Gedung 2, Lantai 3", "Gedung 2, Lantai 4", "Gedung 2, Lantai 5", "Gedung 3, Lantai 1", "Gedung 3, Lantai 2", "Gedung 3, Lantai 3", "Gedung 3, Lantai 4", "Gedung 3, Lantai 5", "Gedung 4, Lantai 1", "Gedung 4, Lantai 2", "Gedung 4, Lantai 3", "Gedung 4, Lantai 4", "Gedung 4, Lantai 5", "Gedung 5, Lantai 1", "Gedung 5, Lantai 2", "Gedung 5, Lantai 3", "Gedung 5, Lantai 4", "Gedung 5, Lantai 5"), 'text' => array("Gedung 1, Lantai 1", "Gedung 1, Lantai 2", "Gedung 1, Lantai 3", "Gedung 1, Lantai 4", "Gedung 1, Lantai 5", "Gedung 2, Lantai 1", "Gedung 2, Lantai 2", "Gedung 2, Lantai 3", "Gedung 2, Lantai 4", "Gedung 2, Lantai 5", "Gedung 3, Lantai 1", "Gedung 3, Lantai 2", "Gedung 3, Lantai 3", "Gedung 3, Lantai 4", "Gedung 3, Lantai 5", "Gedung 4, Lantai 1", "Gedung 4, Lantai 2", "Gedung 4, Lantai 3", "Gedung 4, Lantai 4", "Gedung 4, Lantai 5", "Gedung 5, Lantai 1", "Gedung 5, Lantai 2", "Gedung 5, Lantai 3", "Gedung 5, Lantai 4", "Gedung 5, Lantai 5"));
        echo _set_pulldown_("slt_alamat", $var_array_alamat, 24);
        ?>
                    </td>
                </tr>
                <tr>
                    <td colspan="5" align="right" class="mytable_cpt"><?php 
        echo _set_submit_("", "Konfirmasi");
        ?>
</td>
                </tr>

                <?php 
    }
    ?>
                </table>
                </div>