View file sms/mega.php

File size: 1.77Kb
<?php

header("Content-type:text/vnd.wap.wml;charset=utf-8");

print "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">";
print "<wml><head><meta http-equiv=\"Cache-Control\" content=\"no-cache\" forua=\"true\"/></head>

<card id=\"main\" title=\"MegaFon MSK\">
<onevent type=\"onenterforward\">
<refresh>
<setvar name=\"prefix\" value=\"7926\"/>
<setvar name=\"To\" value=\"\"/>
<setvar name=\"Msg\" value=\"\"/>
</refresh>
</onevent>
<p align=\"center\">MegaFon SMS MSK
<br/>---<br/>[&#x0412;&#x0440;&#x0435;&#x043C;&#x044F;] ";
$tm=date("H:i:s");
echo "$tm";
echo "<br/>";
echo "[&#x0414;&#x0430;&#x0442;&#x0430;] ";
$dat=date("j.m.Y");
print "$dat<br/>*******<br/>         
<input format=\"*N\" emptyok=\"false\" size=\"4\" maxlength=\"4\" name=\"prefix\" value=\"7926\"/>
<input format=\"*N\" emptyok=\"true\" size=\"7\" maxlength=\"7\" name=\"To\" value=\"\"/><br/>
&#x0422;&#x0435;&#x043A;&#x0441;&#x0442;: <br/>
<input emptyok=\"true\" maxlength=\"140\" name=\"Msg\" value=\"\"/><br/>
<anchor title=\"Send\">Send<br/>
<go href=\"http://www.megafonmoscow.ru/misc/sms2\" method=\"post\">
<postfield name=\"transliterate\" value=\"off\"/>
<postfield name=\"messlen\" value=\"160\"/>
<postfield name=\"send\" value=\"%CE%F2%EF%F0%E0%E2%E8%F2%FC\"/>
<postfield name=\"mlength\" value=\"%28%EC%E0%EA%F1%E8%EC%F3%EC+160+%F1%E8%EC%E2%EE%EB%EE%E2%29%3A\"/>
<postfield name=\"prefix\" value=\"$(prefix)\"/>
<postfield name=\"addr\" value=\"$(To)\"/>
<postfield name=\"message\" value=\"$(Msg)\"/>  
</go>
</anchor>
---<br/>
<a href=\"index.php\">&#x41D;&#x430;&#x437;&#x430;&#x434;</a><br/>
<a href=\"http://nskmob.com\">&#x41D;&#x430; &#x433;&#x43B;&#x430;&#x432;&#x43D;&#x443;&#x44E;</a><br/>
</p> 
</card> 
</wml>";
?>