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

<!DOCTYPE html>
<html lang="en">

<head>

	<?php include '../assets/meta-tags.php'; ?>

    <title>Student Portal | Create module</title>

    <?php include '../assets/css-paths/common-css-paths.php'; ?>

</head>

<body>

	<div class="preloader"></div>

	<?php if (isset($_SESSION['signedIn']) && $_SESSION['signedIn'] == true) : ?>
	
    <?php if (isset($_SESSION['account_type']) && $_SESSION['account_type'] == 'administrator') : ?>

	<?php include '../includes/menus/portal_menu.php'; ?>

	<div class="container">

    <ol class="breadcrumb breadcrumb-custom">
    <li><a href="../../home/">Home</a></li>
	<li><a href="../../timetable/">Timetable</a></li>
    <li class="active">Create module</li>
    </ol>

    <!-- Create module -->
	<form class="form-horizontal form-custom" style="max-width: 100%;" name="createmodule_form" id="createmodule_form" novalidate>

    <p id="error" class="feedback-danger text-center"></p>
	<p id="success" class="feedback-success text-center"></p>

	<div id="hide">

	<div class="form-group">
	<div class="col-xs-12 col-sm-12 full-width">
	<label for="module_name">Name<span class="field-required">*</span></label>
    <input class="form-control" type="text" name="module_name" id="module_name" placeholder="Enter a name">
	</div>
	</div>

	<div class="form-group">
	<div class="col-xs-12 col-sm-12 full-width">
	<label>Notes</label>
    <textarea class="form-control" rows="5" name="module_notes" id="module_notes" placeholder="Enter notes"></textarea>
	</div>
	</div>

	<div class="form-group">
	<div class="col-xs-12 col-sm-12 full-width">
	<label>Moodle URL</label>
    <input class="form-control" type="text" name="module_url" id="module_url" placeholder="Enter a URL">
	</div>
	</div>

    <hr>

	</div>

    <div class="text-center">
    <button id="FormSubmit" class="btn btn-primary btn-lg btn-load">Create module</span></button>
    </div>

	<div id="success-button" class="text-center" style="display:none;">
    <hr>
    <a class="btn btn-success btn-lg btn-load" href="">Create another</span></a>
	</div>
	<commit_msg>Changed structure<commit_after><?php
include '../includes/session.php';
?>

<!DOCTYPE html>
<html lang="en">

<head>

	<?php include '../assets/meta-tags.php'; ?>

    <title>Student Portal | Create module</title>

    <?php include '../assets/css-paths/common-css-paths.php'; ?>

</head>

<body>

	<div class="preloader"></div>

	<?php if (isset($_SESSION['signedIn']) && $_SESSION['signedIn'] == true) : ?>
	
    <?php if (isset($_SESSION['account_type']) && $_SESSION['account_type'] == 'administrator') : ?>

	<?php include '../includes/menus/portal_menu.php'; ?>

	<div class="container">

    <ol class="breadcrumb breadcrumb-custom">
    <li><a href="../../home/">Home</a></li>
	<li><a href="../../timetable/">Timetable</a></li>
    <li class="active">Create module</li>
    </ol>

    <!-- Create module -->
	<form class="form-horizontal form-custom" style="max-width: 100%;" name="createmodule_form" id="createmodule_form" novalidate>

    <p id="error" class="feedback-danger text-center"></p>
	<p id="success" class="feedback-success text-center"></p>

	<div id="hide">

	<div class="form-group">
	<div class="col-xs-12 col-sm-12 full-width">
	<label for="module_name">Name<span class="field-required">*</span></label>
    <input class="form-control" type="text" name="module_name" id="module_name" placeholder="Enter a name">
	</div>
	</div>

	<div class="form-group">
	<div class="col-xs-12 col-sm-12 full-width">
	<label>Notes</label>
    <textarea class="form-control" rows="5" name="module_notes" id="module_notes" placeholder="Enter notes"></textarea>
	</div>
	</div>

	<div class="form-group">
	<div class="col-xs-12 col-sm-12 full-width">
	<label>Moodle URL</label>
    <input class="form-control" type="text" name="module_url" id="module_url" placeholder="Enter a URL">
	</div>
	</div>

    <hr>

	</div>

    <div class="text-center">
    <button id="FormSubmit" class="btn btn-primary btn-lg btn-load">Create module</span></button>
    </div>

	<div id="success-button" class="text-center" style="display:none;">
    <hr class="hr-success">
    <a class="btn btn-success btn-lg btn-load" href="">Create another</span></a>
	</div>
	
{'fraction_non_alphanumeric': 0.22180714452486575, 'fraction_numerical': 0.007471398552416531, 'mean_word_length': 4.368421052631579, 'pattern_counts': {'":': 0, '<': 147, '<?xml version=': 0, '>': 147, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '7521485', 'n_tokens_mistral': 1553, 'n_tokens_neox': 1465, 'n_words': 294}