File size: 1.03Kb
<?php
include "verx.php";
if($wap=="wml")
{
print 'Анекдот:<br/></small>
<input title="text" name="anekdot" value=""/><br/>
<anchor title="add">Добавить<go href="add.php?wap='.$wap.'&url='.$url.'&rek='.$rek.'" method="post">
<postfield name="anekdot" value="$(anekdot)"/>
</go></anchor>
<br/><small>-----<br/>';
}
else
{
print'
<form action="add.php?wap=html&url='.$url.'&rek='.$rek.'" method="post">
Анекдот:<br/>
<input name="anekdot" value=""/><br/>
<input type="submit" value="Добавить"/>
</form>';
}
if($wap=="html")
{print '<div class="news">xHTML + <a href="index.php?wap=wml&rek='.$rek.'&url='.$url.'">WML</a><br/>© <a href="http://'.$url.'">'.$url.'</a><br/><img src="http://'.$rek.'" alt=""/><br/></div></div></body></html>';}
else
{print '<br/>WML + <a href="index.php?wap=html&url='.$url.'&rek='.$rek.'">xHTML</a><br/>© <a href="http://'.$url.'">'.$url.'</a><br/><img src="http://'.$rek.'" alt=""/></small><br/></p></card></wml>';}
?>