";
}
//*************************
// Input-field
//*************************
function get_form_text($Name, $Value, $Size, $Maxsize)
{
echo "";
}
//*************************
// Pass-field
//*************************
function get_form_pass($Name, $Value, $Size, $Maxsize)
{
echo "";
}
//*************************
// Pass-field
//*************************
function get_form_file($Name, $Size)
{
echo "";
}
//*************************
// Checkbox-field
//*************************
function get_form_checkbox($Name, $Value, $Checked, $Text)
{
echo " ";
}
//*************************
// Textarea-field
//*************************
function get_form_textarea($Id, $Value, $Rows, $Cols)
{
echo "";
}
//*************************
// Submit-field
//*************************
function get_form_input($Name, $Value)
{
echo "";
}
function get_form_reset($Name, $Value)
{
echo "";
}
//*************************
// Radio-field
//*************************
function get_form_radio($Name, $Value, $Checked)
{
echo "";
}
//*************************
// Select-field
//*************************
function get_form_select($Name, $Options, $Key, $Length, $Selected)
{
echo "";
}
//===========================================================================
// Commments
//===========================================================================
// Start form
function form_comment($Target)
{
get_form("comment", $Target);
// Create anti-spam hidden form
$Characters = array_merge(range('a','z'), range(0,9));
shuffle($Characters);
$Chars = implode("", $Characters);
$Code = substr($Chars, 0, 10);
echo '';
$_SESSION['antispam'] = $Code;
}
// Name
function form_comment_name()
{
if(defined("USER_ID"))
{
get_form_text("comment_author_name", USER_LOGIN, 32, 64);
}
else
{
get_form_text("comment_author_name", "", 32, 64);
}
}
// E-mail
function form_comment_email()
{
if(defined("USER_ID"))
{
get_form_text("comment_author_email", USER_EMAIL, 32, 64);
}
else
{
get_form_text("comment_author_email", "", 32, 128);
}
}
// URL
function form_comment_url()
{
if(defined("USER_ID"))
{
get_form_text("comment_author_url", USER_URL, 32, 255);
}
else
{
get_form_text("comment_author_url", "", 32, 255);
}
}
// Content
function form_comment_content()
{
get_form_textarea("comment_content", "", "10", "60");
}
// Submit
function form_comment_submit($Text)
{
get_form_input("comment_submit", $Text);
}
?>