<commit_before><%@ page contentType="text/html; charset=iso-8859-1" language="java" import="null" %>
<%
    int eid;

    try {
        eid = new Integer(request.getParameter("id")).intValue();
    } catch (NumberFormatException ex1) {
        eid = 0;
    }

// Get the session user input
    String sbody = (String) session.getAttribute("spell.cbody");
    String ssubject = (String) session.getAttribute("spell.csubject");

    if (sbody == null)
        sbody = "";

    if (ssubject == null)
        ssubject = "";

%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title>JustJournal.com: Add Comment</title>
    <link rel="stylesheet" type="text/css" href="../layout.css" media="all"/>
    <link rel="stylesheet" type="text/css" href="../font-normal.css" media="all"/>
    <link rel="home" title="Home" href="../index.jsp"/>
    <link rel="contents" title="Site Map" href="../sitemap.jsp"/>
    <link rel="help" title="Technical Support" href="../support/index.jsp"/>
    <style type="text/css" media="all">
        <!--

        div.row {
            clear: both;
            padding-top: 5px;
        }

        div.row span.label {
            float: left;
            width: 140px;
            text-align: right;
        }

        div.row span.formw {
            float: right;
            width: 335px;
            text-align: left;
        }

        div.spacer {
            clear: both;
        }

        -->
    </style>
</head>

<body>

<jsp:include page="../header.inc" flush="false"/>

<div id="content">
    <h2>Add Comment</h2>

    <jsp:include page="../inc_login.jsp" flush="false"/>

    <div style="width: 500px; padding: 5px; margin: 0">
        <form method="post" action="/addComment" name="frmAddComment">
            <input type="hidden" name="id" value="<%=eid%>"/>
            <%
                Integer userID = (Integer) session.getAttribute("auth.uid");
                int ival = 0;
                if (userID != null) {
                    ival = userID.intValue();
                }

                if (ival < 1) {
            %><commit_msg>$Id$, Comment<commit_after><%@ page contentType="text/html; charset=iso-8859-1" language="java" %>
<%--
Form to add a journal entry.  Forwards the request to a servlet.

$Id: add.jsp,v 1.2 2007/02/25 16:53:46 laffer1 Exp $
--%>
<%
    int eid;

    try {
        eid = new Integer(request.getParameter("id")).intValue();
    } catch (NumberFormatException ex1) {
        eid = 0;
    }

    // Get the session user input
    String sbody = (String) session.getAttribute("spell.cbody");
    String ssubject = (String) session.getAttribute("spell.csubject");

    if (sbody == null)
        sbody = "";

    if (ssubject == null)
        ssubject = "";

%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title>JustJournal.com: Add Comment</title>
    <link rel="stylesheet" type="text/css" href="../layout.css" media="all"/>
    <link rel="stylesheet" type="text/css" href="../font-normal.css" media="all"/>
    <link rel="home" title="Home" href="../index.jsp"/>
    <link rel="contents" title="Site Map" href="../sitemap.jsp"/>
    <link rel="help" title="Technical Support" href="../support/index.jsp"/>
    <style type="text/css" media="all">
        <!--

        div.row {
            clear: both;
            padding-top: 5px;
        }

        div.row span.label {
            float: left;
            width: 140px;
            text-align: right;
        }

        div.row span.formw {
            float: right;
            width: 335px;
            text-align: left;
        }

        div.spacer {
            clear: both;
        }

        -->
    </style>
</head>

<body>

<jsp:include page="../header.inc" flush="false"/>

<div id="content">
    <h2>Add Comment</h2>

    <jsp:include page="../inc_login.jsp" flush="false"/>

    <div style="width: 500px; padding: 5px; margin: 0">
        <form method="post" action="../addComment" name="frmAddComment">
            <input type="hidden" name="id" value="<%=eid%>"/>
            <%
                Integer userID = (Integer) session.getAttribute("auth.uid");
                int ival = 0;
                if (userID != null) {
                    ival = userID.intValue();
                }

                if (ival < 1) {
            %>
{'fraction_non_alphanumeric': 0.17813241319818848, 'fraction_numerical': 0.021350010782833728, 'mean_word_length': 2.029392553886349, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 2, '>': 60, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, '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': '2064441', 'n_tokens_mistral': 1592, 'n_tokens_neox': 1466, 'n_words': 317}