Просмотр файла katrinka.ru/passremind.php

Размер файла: 1.47Kb
<?php
  include 'guestbook/mylib.php';
  if (!checkagent($_SERVER['HTTP_USER_AGENT'])) { noemul(); exit; }
  list ($opname, $chatok) = check_op($_SERVER['REMOTE_ADDR']);
  if (!$chatok) { unk_op(); exit; }
  session_start();
  header("Content-type: text/vnd.wap.wml");
  $lang=$_GET['lang'];
?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN" "http://www.wapforum.org/DTD/wml_1.2.dtd">
<wml>
<?php if ($lang=='eng') print "<card id=\"Reminder\" title=\"Reminder\" newcontext=\"true\">\n"; 
 else print "<card id=\"Reminder\" title=\"Reminder\" newcontext=\"true\">\n"; ?>
<p>
<?php if ($lang=='eng') print "Enter nickname:\n"; else
 print "&#x0412;&#x0432;&#x0435;&#x0434;&#x0438;&#x0442;&#x0435; &#x043D;&#x0438;&#x043A;:\n"; ?>
<input type="text" name="slogin" title="Login" maxlength="15"/><br/>
<?php if ($lang=='eng') print "Enter e-mail:\n"; else
 print "&#x0438; &#x0412;&#x0430;&#x0448; e-mail:\n"; ?>
<input type="text" name="semail" title="E-mail" maxlength="30"/><br/>
<anchor title="Ok">Ok<go href="passremind_exec.php" method="post">
<postfield name="slogin" value="$(slogin)"/>
<postfield name="semail" value="$(semail)"/>
<?php print "<postfield name=\"lang\" value=\"".$lang."\"/>\n"; ?>
</go></anchor><br/> <?php
if ($lang=='eng') print "<a href=\"/index.php?lang=eng\">Main page</a><br/>\n";
else print "<a href=\"/\">&#x041D;&#x0430; &#x0433;&#x043B;&#x0430;&#x0432;&#x043D;&#x0443;&#x044E;</a><br/>\n"; ?>
</p>
<?php counters(); ?>
</card>
</wml>