<div style="padding-left: 38px;padding-bottom:10px">Gives an uncluttered database with essential record and field types<br />Recommended for general use</div> <input type="radio" name="dbtype" value="1" id="rb2" /><label for="rb2" class="labelBold">Extended database</label> <div style="padding-left: 38px;">A database structure with extra record types and fields to support tool such as XSL transforms<br />The additional structure elements can be imported later from the H3ToolSupport database</div> <p>New database creation takes 10 - 20 seconds. New databases are created on the current server.<br> You will become the owner and administrator of the new database.<br> The database will be created with the prefix "<?= HEURIST_DB_PREFIX ?>" (all databases created by this installation of the software will have the same prefix).</p> </div> <h3>Enter a name for the new database:</h3> <div style="margin-left: 40px;"> <!-- user name used as prefix --> <b><?= HEURIST_DB_PREFIX ?> <input type="text" maxlength="20" size="6" name="uname" id="uname" onkeypress="{onKeyPress(event)}" style="padding-left:3px; font-weight:bold;" value=<?=(is_logged_in()?prepareDbName():'')?> > _ </b> <input type="text" maxlength="64" size="25" name="dbname" onkeypress="{onKeyPress(event);}"> <input type="submit" name="submit" value="Create database" style="font-weight: bold;" > <p>The user name prefix is editable, and may be blank, but we suggest using a consistent prefix for personal databases<br> so that all your personal databases appear together in the list of databases<p></p> </div> </form> </div> <!-- createDBForm --> <? } function isInValid($str) { return preg_match('[\W]', $str); }
<div id="div_register_entered" style="display: none;"> <h3 style="margin:5px 0 10px 38px;color:darkgreen;">Registration information entered</h3> </div> <div id="div_create"> <h3 style="margin-left: 38px">Enter a name for the new database</h3> <div style="margin-left:60px; margin-top: 0px;"> <!-- user name used as prefix --> <b><?php echo HEURIST_DB_PREFIX; ?> <input type="text" maxlength="30" size="6" name="uname" id="uname" onkeypress="{onKeyPress(event)}" style="padding-left:3px; font-weight:bold;" value=<?php echo is_logged_in() ? prepareDbName() : ''; ?> > </b> <b>_</b> <input type="text" maxlength="64" size="30" id="dbname" name="dbname" onkeypress="{onKeyPress(event);}"> <input id="btnCreateDb" type="submit" name="submit" value="Create database" style="font-weight: bold;" > <div style="padding-top:1em; max-width:500px">No spaces or punctuation other than underscore. Database names are case-sensitive. <p><i>The user name prefix is editable, and may be left blank, but we suggest using a consistent prefix for personal databases so that they are easily identified and appear together in the list of databases.</i></p></div> </div> </div> </form>