category = $_GET['c']; if(!$data->category) $data->category = ''; $data->reply = intval($_GET['r']); if($data->reply < 1) $data->reply = 0; if($_POST['reply'] > 0) $data->reply = $_POST['reply']; $data->subject = $_POST['subject']; $data->message = $_POST['message']; $data->confirm = $_POST['confirm']; if(!$_POST['confirm']) $data->confirm = ''; $data->edit = $_POST['edit']; if(!$_POST['edit']) $data->edit = ''; ?> Auskunft.jp - Auskunft.jp

language) { case 'ja': ?>Platz [プラッツ]PlatzPlatz

category; $que = pg_query_params($db, 'SELECT * FROM categories WHERE path = $1 AND language = $2 AND suspended = FALSE', array($path, $data->language)); if($res = pg_fetch_object($que)) { $name = $res->name; $description = $res->description; } else { $que = pg_query_params($db, 'SELECT * FROM categories WHERE path = $1 AND language = $2 AND suspended = FALSE', array($path, 'en')); if($res = pg_fetch_object($que)) { $name = $res->name; $description = $res->description; } else { $que = pg_query_params($db, 'SELECT * FROM categories WHERE path = $1 AND suspended = FALSE', array($path)); if($res = pg_fetch_object($que)) { $name = $res->name; $description = $res->description; } else { $name = $data->category; $description = ''; } } } ?> reply > 0) { ?>

language) { case 'ja': ?>の#への返信Zu # von zu antwortenReply to # of

language) { case 'ja': ?>への投稿Zu zu schreibenPost to

category, $data->reply)); ?>

#:

parent > 0) { ?>language) { case 'ja': ?>返信先Antwort zu Answer to # - - - language) { case 'ja': ?>返信AntwortReply
edit && $data->confirm) { $que = pg_query($db, 'SELECT max(id) AS last FROM platz'); $res = pg_fetch_object($que); $data->id = intval($res->last + 1); $que = pg_query_params($db, 'INSERT INTO platz (id, name, subject, message, category, parent) VALUES ($1, $2, $3, $4, $5, $6)', array($data->id, $auth->name, $data->subject, $data->message, $data->category, $data->reply)); if($que) $data->success = true; else $data->success = false; mail_platz($data->language, $email_notice, $data->category, $data->id, $data->subject, $auth->name, $data->message, $data->reply); } ?> edit) { $data->check = true; if(!$auth->name) { $data->check = false; $data->error_1 = true; } if(!$data->subject) { $data->check = false; $data->error_2 = true; } if(!$data->message) { $data->check = false; $data->error_3 = true; } } ?> success) { ?>

language) { case 'ja': ?>完了AbschlussDone

check) { ?>

language) { case 'ja': ?>確認BestätigungConfirm

language) { case 'ja': ?>編集RedaktionEdit

success) { ?>

language) { case 'ja': ?>投稿が完了しました。Erfolg Ihre Nachricht zu schreiben!Success to post!

confirm) { ?>

language) { case 'ja': ?>投稿に失敗しました。Misserfolg Ihre Nachricht zu schreiben!Failure to post!

check) { ?>

language) { case 'ja': ?>以下の通り投稿しますか?Schreiben Sie gewiss im Folgende?Do you post as below certainly?

edit) { ?>

language) { case 'ja': ?>エラーがあります。訂正してください。Es gibt Fehler. Bitte korrigieren es richtig.There are errors. Please change it correctly.

error_1) { ?>

language) { case 'ja': ?>投稿するにはログインしてください。Entschuldigung. Sie brauchen Login, um hier zu schreiben.Sorry. You need to log in in order to post here.

error_2) { ?>

language) { case 'ja': ?>題名の入力内容を確認してください。Bitte checken den Inhalt im Titel.Please check the content in the Subject.

error_3) { ?>

language) { case 'ja': ?>メッセージの入力内容を確認してください。Bitte checken den Inhalt in der Nachricht.Please check the content in the Message.

check && !$data->success) { ?>

#new:

reply > 0) { ?>language) { case 'ja': ?>返信先Antwort zu Answer to # - YYYY-MM-DD HH:MM:SS - - language) { case 'ja': ?>返信AntwortReply
success) { ?>
check) { ?>
language) { case 'ja': ?>ユーザー名UsernameUsernamelogin) { ?>language) { case 'ja': ?>投稿するにはログインしてください。Entschuldigung. Sie brauchen Login, um hier zu schreiben.Sorry. You need to log in in order to post here.
language) { case 'ja': ?>題名TitelSubject
language) { case 'ja': ?>メッセージNachrichtMessage
/skyscraper.png