<table class="tab1" cellspacing="0" cellpadding="5"> <tr> <td class="td1"> <p>These features are not currently not available.<br /><br />Reason:<br /><b>$tbpref</b> is set to a fixed value in <i>connect.inc.php</i>.<br />Please remove the definition<br /><span class="red"><b>$tbpref = '<?php echo substr($tbpref, 0, -1); ?> ';</b></span></br />in <i>connect.inc.php</i> to make these features available.<br /> Then try again.</p> <p class="right"> <br /><input type="button" value="<< Back" onclick="history.back();" /></p> </td> </tr> </table> <?php } else { $prefix = getprefixes(); ?> <table class="tab1" style="width: auto;" cellspacing="0" cellpadding="5"> <tr> <th class="th1 center">Select</th> <td class="td1"> <form name="f1" class="inline" action="<?php echo $_SERVER['PHP_SELF']; ?> " method="post"> <p>Table Set: <select name="prefix"> <option value="-" selected="selected">[Choose...]</option> <option value="">Default Table Set</option> <?php
} require_once 'settings.inc.php'; require_once 'connect.inc.php'; require_once 'dbutils.inc.php'; require_once 'utilities.inc.php'; if ($tbpref == '') { $span2 = "<b>Default</b> Table Set</span>"; } else { $span2 = "Table Set: <b>" . tohtml(substr($tbpref, 0, -1)) . "</b></span>"; } if ($fixed_tbpref) { $span1 = '<span>'; $span3 = '<span>'; } else { $span1 = '<span title="Manage Table Sets" onclick="location.href=\'table_set_management.php\';" class="click">'; if (count(getprefixes()) > 0) { $span3 = '<span title="Select Table Set" onclick="location.href=\'start.php\';" class="click">'; } else { $span3 = '<span>'; } } pagestart_nobody("Home"); echo '<h4>' . $span3; echo_lwt_logo(); echo "Learning With Texts (LWT)"; echo '</span></h4><h3>Home' . ($debug ? ' <span class="red">DEBUG</span>' : '') . '</h3>'; echo "<p> </p>"; $currentlang = getSetting('currentlanguage'); $currenttext = getSetting('currenttext'); $langcnt = get_first_value('select count(*) as value from ' . $tbpref . 'languages'); if ($langcnt == 0) {