$th = array(_("Company"), _("Table set"), _("Current version"), _("Last log"), _('Upgrade'));
start_table(TABLESTYLE);
table_header($th);
$th = array(_("Company"), _("Table set"), _("Current version"), _("Last log"), _('Upgrade'));
start_table(TABLESTYLE);
table_header($th);
label_cell($comp['version'], 'align=center' .($status ? '':' class=redfg')/*, 'class='.( $status ? 'ok' : 'error')*/);
label_cell($comp['version'], 'align=center' .($status ? '':' class=redfg')/*, 'class='.( $status ? 'ok' : 'error')*/);
if (file_exists($log))
{
label_cell(viewer_link(_('View log'), "admin/view/view_upgrade_log.php?id=$i", null, $i, 'log.png')
if (file_exists($log))
{
label_cell(viewer_link(_('View log'), "admin/view/view_upgrade_log.php?id=$i", null, $i, 'log.png')