示例#1
0
						Decoded. To get started, you\'ll need to click the
						button below to setup the database.  If this is not a
						new installation, you should <a
						href="http://docs.statedecoded.com/config.html">check
						that your database is configured properly</a> and
						everything is working as it should.
					</p>
					<p>
						<input type="hidden" name="action" value="setup" />
						<input type="submit" name="submit"
							value="Setup the database"/>
					</p>
				</form>';
            }
            ob_end_clean();
        } elseif ($parser->check_migrations()) {
            $body = '
				<form method="post" action="/admin/?page=setup&noframe=1">
					<h3>Update</h3>
					<p>
						The State Decoded has been updated but the database
						needs to be upgraded. Please click the button below
						to update the database.
					</p>
					<p>
						<input type="hidden" name="action" value="update_db" />
						<input type="submit" name="submit"
							value="Update the database"/>
					</p>
				</form>';
        } else {