<commit_before><?php include 'header.php'; ?>

    <div class="container-fluid">
	<?php if ( isset($_SESSION["admLoggedIn"]) == "admLoggedIn") { ?>
        <div class="row">
            <div class="col-md-12">
                <h2 style="text-align:center;">Search for all restaraunts offering a specific menu item in a city</h2>
                <br>
            </div>
        </div>
        <div class="row">
            <div class="col-md-1"></div>
            <div class="col-md-10">
                <form name="Search" method="GET" action="DBMSAdvancedQuery2.php" class="form-horizontal">
                    <fieldset>
                        <div class="form-group">
                            <label class="col-md-4 control-label" for="food">Item</label>
                            <div class="col-md-4">
                                <input id="food" name="food" type="text" placeholder="e.g. Soup"
                                       class="form-control input-md"
                                       required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-4 control-label" for="city">City</label>
                            <div class="col-md-4">
                                <input id="city" name="city" type="text" placeholder="e.g. Dundee"
                                       class="form-control input-md"
                                       required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-4 control-label" for="performquery"></label>
                            <div class="col-md-1">
                                <button type="submit" value="advanced" id="performquery" name="performquery"
                                        class="btn btn-success">Search
                                </button>
                            </div>
                        </div>
                    </fieldset>
                </form>
            </div>
            <div class="col-md-1"></div>
        </div>
		<?php } else {
			?> <div class="row">
            <div class="col-md-12">
                    <?php echo '<h2 style="text-align:center";>You do not appear to be an admin! Access Denied!</h2>'; ?>
			</div>
			</div> <?php
                } ?>
		</div>

<?php include 'footer.php'; ?><commit_msg>Turns out I can't remember to save either<commit_after><?php include 'header.php'; ?>

    <div class="container-fluid">
	<?php if ( isset($_SESSION["admLoggedIn"]) == "admLoggedIn") { ?>
        <div class="row">
            <div class="col-md-12">
                <h2 style="text-align:center;">Search for all restaurants offering a specific menu item in a city</h2>
                <br>
            </div>
        </div>
        <div class="row">
            <div class="col-md-1"></div>
            <div class="col-md-10">
                <form name="Search" method="GET" action="DBMSAdvancedQuery2.php" class="form-horizontal">
                    <fieldset>
                        <div class="form-group">
                            <label class="col-md-4 control-label" for="food">Item</label>
                            <div class="col-md-4">
                                <input id="food" name="food" type="text" placeholder="e.g. Soup"
                                       class="form-control input-md"
                                       required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-4 control-label" for="city">City</label>
                            <div class="col-md-4">
                                <input id="city" name="city" type="text" placeholder="e.g. Dundee"
                                       class="form-control input-md"
                                       required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-4 control-label" for="performquery"></label>
                            <div class="col-md-1">
                                <button type="submit" value="advanced" id="performquery" name="performquery"
                                        class="btn btn-success">Search
                                </button>
                            </div>
                        </div>
                    </fieldset>
                </form>
            </div>
            <div class="col-md-1"></div>
        </div>
		<?php } else {
			?> <div class="row">
            <div class="col-md-12">
                    <?php echo '<h2 style="text-align:center";>You do not appear to be an admin! Access Denied!</h2>'; ?>
			</div>
			</div> <?php
                } ?>
		</div>

<?php include 'footer.php'; ?>
{'fraction_non_alphanumeric': 0.14059366225431208, 'fraction_numerical': 0.00762133975130365, 'mean_word_length': 1.0658657829328915, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6244889', 'n_tokens_mistral': 1313, 'n_tokens_neox': 1231, 'n_words': 265}