"> </td> </tr> </table> </form> <?php } elseif (isset($col_add_flag)) { js_checkColConstraint(); ?> <form method="post" action="<?php echo url_session($_SERVER['PHP_SELF']); ?> " name="tb_modadd_form"> <table class="table table-bordered"> <?php echo get_coldef_definition('add', $tb_strings['DefNewCol'], 5, TRUE); ?> </table> <input type="submit" class="btn btn-success" name="tb_modadd_doit" value="<?php echo $button_strings['Add']; ?> " class="bgrp"> <input type="reset" class="btn btn-default" name="tb_modadd_clear" value="<?php echo $button_strings['Reset']; ?> " class="bgrp"> <input type="submit" class="btn btn-danger" name="tb_modadd_cancel" value="<?php echo $button_strings['Cancel']; ?> " class="bgrp"> </form>
<table class="table table-bordered"> <tr> <td colspan="9"><b><?php echo $tb_strings['TbName']; ?> </b><br> <input type="text" class="form-control" size="30" maxlength="31" name="tb_create_table" value="<?php echo $s_create_table; ?> "> </td> </tr> <?php for ($i = 0; $i < $s_create_num; $i++) { $title = $tb_strings['DefColumn'] . ' ' . ($i + 1); echo get_coldef_definition($i, $title, 5, TRUE); } ?> </table> <br> <input type="submit" class="btn btn-success" name="tb_create_doit" value="<?php echo $button_strings['Create']; ?> " class="bgrp"> <input type="reset" class="btn btn-default" name="tb_create_clear" value="<?php echo $button_strings['Reset']; ?> " class="bgrp"> <input type="submit" class="btn btn-danger" name="tb_create_cancel" value="<?php echo $button_strings['Cancel']; ?>