File size: 1.36Kb
<?php
include "cfg.php";
if(empty($_GET['show'])){
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/wml_1.1.xml">
<wml>
<head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>
<card title="WAP-Библиотека">
<p>
Жанры<br/><small>
_______<br />
<a href="./Detektiv/index.php">Детектив</a><br/>
<a href="./Drama/index.php">Драма</a><br/>
<a href="./Erotika/index.php">Эротика</a><br/>
<a href="./Istorija/index.php">История</a><br/>
<a href="./Klassika/index.php">Классика</a><br/>
<a href="./Fentazi/index.php">Фэнтази</a><br/>
<a href="./Fantastika/index.php">Фантастика</a><br/>
<a href="./Yumor/index.php">Юмор</a></small><br/>
_______<br/>
<a href="'.$main_url.'">На главную</a>
</p>
</card>
</wml>';
}else{
include "list.php";
}
?>