示例#1
0
     echo "<FORM ACTION=\"{$chat_file}\" TARGET=\"topframe\" NAME=\"form1\" METHOD=\"POST\">" . "<INPUT TYPE=\"HIDDEN\" NAME=\"http_host\" VALUE=\"{$http_host}\">\n";
 }
 if ($gast_login && $communityfeatures && $forumfeatures) {
     if (!isset($id)) {
         $id = "";
     }
     $titel = $login_titel . "[<A HREF=\"" . $_SERVER['PHP_SELF'] . "?http_host={$http_host}&id={$id}&aktion=login&" . $t['login10'] . "=los&eintritt=forum\">" . $ft0 . $t['login23'] . $ft1 . "</A>]";
 } else {
     $titel = $login_titel;
 }
 if ($einstellungen_aendern) {
     $titel .= "[<A HREF=\"" . $_SERVER['PHP_SELF'] . "?http_host={$http_host}&aktion=passwort_neu\">" . $ft0 . $t['login27'] . $ft1 . "</A>]";
 }
 // Box und Disclaimer ausgeben
 if (!isset($keineloginbox)) {
     show_box($titel, $logintext, "", "100%");
 }
 echo "<script language=javascript>\n<!-- start hiding\ndocument.write(\"<input type=hidden name=javascript value=on>\");\n" . "// end hiding -->\n</script>\n";
 echo "<DIV align=center>" . $f3 . str_replace("%farbe_text%", $farbe_text, $disclaimer) . $f4 . "</DIV>\n</FORM>";
 werbung("index_popup", $werbung_gruppe);
 if (!isset($beichtstuhl) || !$beichtstuhl) {
     // Wie viele User sind in der DB?
     $query = "SELECT count(u_id) FROM user WHERE u_level in ('A','C','G','M','S','U')";
     $result = mysql_query($query, $conn);
     $rows = mysql_num_rows($result);
     if ($result) {
         $useranzahl = mysql_result($result, 0, 0);
         mysql_free_result($result);
     }
     // User online und Räume bestimmen -> merken
     $query = "SELECT o_who,o_name,o_level,r_name,r_status1,r_status2, " . "r_name='" . mysql_real_escape_string($lobby) . "' as lobby " . "FROM online left join raum on o_raum=r_id  " . "WHERE (UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(o_aktiv)) <= {$timeout} " . "ORDER BY lobby desc,r_name,o_who,o_name ";
示例#2
0
文件: bug_report.php 项目: jfmc/logen
		check these carefully before submitting.</p>
		<p>Here is your program:</p>
		<?php 
                    show_box($_SESSION['plfile']);
                    ?>
		<p>Here is your annotation file:</p>
		<?php 
                    show_box($_SESSION['annfile']);
                    ?>
		<p>Here is your goal:</p>
		<?php 
                    show_box($_SESSION['goal']);
                    ?>
		<p>Here is the error that was generated:</p>
		<?php 
                    show_box($_SESSION['specerror']);
                } else {
                    die('Invalid stage');
                }
            }
        }
    }
    ?>
<p>If you want to add any extra information, please do so in this box:</p>
<textarea name="bugtext" style="width: 99%" rows="10"></textarea>
<?php 
} else {
    ?>
Please enter details of bug or request:
<textarea name="bugtext" style="width: 99%" rows="30"></textarea>
<?php