Got the installer working. Fixed a few bugs including a nasty-to-debug issue where the lang_id was being hardcoded during installation, resulting in strings being inserted with the wrong lang_id causing an infinfinite loop with fetch() throwing a "no strings" error and using template (which calls fetch()) to complain
</div>
</td>
<td id="main-right"></td>
</tr>
<tr>
<td id="foot-left"></td>
<td id="foot-main">
{COPYRIGHT}
</td>
<td id="foot-right"></td>
</tr>
<tr>
<td id="foot-btm-left"></td>
<td id="foot-btm"></td>
<td id="foot-btm-right"></td>
</tr>
</table>
</td>
<td style="width: 10%;"></td>
</tr>
</table>
</body>
</html>