<commit_before><?php
include '../../../includes/session.php';

DeleteLocation();
ImportLocations();

//ImportLocations function
function ImportLocations () {

    global $mysqli;
    global $category;
    global $created_on;

    $stmt1 = $mysqli->prepare("DELETE FROM system_map_markers");
    $stmt1->execute();
    $stmt1->close();

    $url1 = 'https://student-portal.co.uk/includes/university-map/xml/locations.xml';
    $result1 = file_get_contents($url1);
    $universitymap_locations = new SimpleXMLElement($result1);

    $url2 = 'https://student-portal.co.uk/includes/university-map/xml/cycle_hire.xml';<commit_msg>Changed structure<commit_after><?php
include '../../../includes/session.php';

DeleteLocations();
ImportLocations();

//ImportLocations function
function ImportLocations () {

    global $mysqli;
    global $category;
    global $created_on;

    $stmt1 = $mysqli->prepare("DELETE FROM system_map_markers");
    $stmt1->execute();
    $stmt1->close();

    $url1 = 'https://student-portal.co.uk/includes/university-map/xml/locations.xml';
    $result1 = file_get_contents($url1);
    $universitymap_locations = new SimpleXMLElement($result1);

    $url2 = 'https://student-portal.co.uk/includes/university-map/xml/cycle_hire.xml';
{'fraction_non_alphanumeric': 0.1657370517928287, 'fraction_numerical': 0.012749003984063745, 'mean_word_length': 4.190082644628099, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6714524', 'n_tokens_mistral': 411, 'n_tokens_neox': 406, 'n_words': 60}