<commit_before>﻿<?php include 'header.php';?>
	<body>
		<?php 
			include 'dbc.php';
			if (!$con)
			  {
				echo '<font color="red" size="48">服务器无法连接数据库！<br/>请联系网络管理员！</font>';
			  }
		?>
		<div class="header">
			<h1>Court Wall of School - POST PAGE</h1>
		</div>
		<hr/>
		<div class="main">
			<form action="insert.php" method="post">
				留言内容<font color="red">（必填<font color="black"> 最多500字符</font>）</font>：<br/>
				<textarea rows="5" cols="40" name="content" maxlength="500"></textarea><br/><br/><commit_msg>更新了一个bug 连接不到服务器时改用die()函数提示<commit_after>﻿<?php include 'header.php';?>
	<body>
		<?php 
			include 'dbc.php';
			if (!$con)
			  {
				die '<font color="red" size="48">服务器无法连接数据库！<br/>请联系网络管理员！</font>';
			  }
		?>
		<div class="header">
			<h1>Court Wall of School - POST PAGE</h1>
		</div>
		<hr/>
		<div class="main">
			<form action="insert.php" method="post">
				留言内容<font color="red">（必填<font color="black"> 最多500字符</font>）</font>：<br/>
				<textarea rows="5" cols="40" name="content" maxlength="500"></textarea><br/><br/>
{'fraction_non_alphanumeric': 0.2366412213740458, 'fraction_numerical': 0.02480916030534351, 'mean_word_length': 4.043269230769231, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '2152750', 'n_tokens_mistral': 526, 'n_tokens_neox': 471, 'n_words': 74}