Commentics is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Commentics. If not, see <http://www.gnu.org/licenses/>. Text to help preserve UTF-8 file encoding: 汉语漢語. */ if (!isset($cmtx_path)) { die('Access Denied.'); } if (isset($_POST['cmtx_submit']) || isset($_POST['cmtx_sub']) || isset($_POST['cmtx_preview']) || isset($_POST['cmtx_prev'])) { //if data submitted if (!cmtx_is_form_enabled(false)) { //if form is disabled return; //exit file } define('CMTX_PROCESSING', true); //define that the form was submitted $cmtx_ip_address = cmtx_get_ip_address(); //get user's IP address cmtx_check_if_banned(); //check if user is banned //initialise a few variables $cmtx_approve = false; $cmtx_approve_reason = ""; $cmtx_error = false; $cmtx_error_message = "";
<?php } ?> <h3 class="cmtx_form_heading" id="<?php echo str_ireplace('#', '', CMTX_ANCHOR_FORM); ?> "><?php echo CMTX_FORM_HEADING; ?> </h3> <div class="cmtx_height_below_form_heading"></div> <?php if (!cmtx_is_form_enabled(true)) { //if form is disabled return; //exit file } ?> <?php cmtx_clean_form_defaults(); ?> <?php if (cmtx_setting('hide_form')) { ?> <div id="cmtx_open_form" class="cmtx_open_form"> <a href="<?php