post.php (posting new posts)
<title>Difficult issues</title>
if (! $cookie _user)
{echo "";}
else {include ("connect.inc.php");
$query = "SELECT * from My_user where user= '". $cookie _user. "' and password= '". $cookie _password. "'";
$res = mysql_query ($query);
if (! $res)
{echo "";}
Include "connect.inc.php";
if ($theme) {$content =htmlspecialchars ($content);
$content =nl2br ($content);
$theme =htmlspecialchars ($theme);
$theme =nl2br ($theme);
$query = "INSERT into guestbook (name,type,theme,content,icon,time_open,time_close,answer_count,answer_name) VALUES ( ". $cookie _user." ', 1, ' ". $theme." ', ' ". $content." ', ". $icon.", now (), now (), 1, ' ". $cookie _user." ";
$res = mysql_query ($query);
if ($res)
{echo "";}
else echo $query;}}
?>
"The copyright of this article is owned by the author and house Orso near net, if need to reprint, please specify the author and source"