<commit_before><?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
</head>
<body>
<div class="blog">
	<?php if ($this->session->flashdata('message')) { ?>
    <div class="alert alert-success fade in">
        <?php echo "YA TE HABIAS INSCRITO A ESTE CURSO D;" ?>
    </div>
    <?php } ?>


	<div id="blog_text">
		<iframe width="560" height="315" src="https://www.youtube.com/embed/kY5P9sZqFas" frameborder="0" allowfullscreen></iframe>
	</div>

	<?php echo form_open('main/insert_ctrl'); ?>

	<input type="hidden" value="1" name="idcurso">
	
	<?php echo form_submit(array('id' => 'submit', 'value' => 'Registrarse al curso', 'class' => 'btn btn-primary btn-lg')); ?>
	<?php echo form_close(); ?><br/>
</div>

</body>
</html><commit_msg>Despliega mensaje cuando usuario intenta inscribirse a un curso que ya estaba inscrito (intento 8)<commit_after><?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
</head>
<body>
<div class="blog">
	<?php if ($this->session->flashdata('message')) { ?>
    <div class="alert alert-danger" role="alert">
        <?php echo "YA TE HABIAS INSCRITO A ESTE CURSO D;" ?>
    </div>
    <?php } ?>


	<div id="blog_text">
		<iframe width="560" height="315" src="https://www.youtube.com/embed/kY5P9sZqFas" frameborder="0" allowfullscreen></iframe>
	</div>

	<?php echo form_open('main/insert_ctrl'); ?>

	<input type="hidden" value="1" name="idcurso">
	
	<?php echo form_submit(array('id' => 'submit', 'value' => 'Registrarse al curso', 'class' => 'btn btn-primary btn-lg')); ?>
	<?php echo form_close(); ?><br/>
</div>

</body>
</html>
{'fraction_non_alphanumeric': 0.2129255626081939, 'fraction_numerical': 0.013271783035199077, 'mean_word_length': 4.858108108108108, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 63, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '2243460', 'n_tokens_mistral': 665, 'n_tokens_neox': 626, 'n_words': 160}