View file banners.ru/www/faq/index.php

File size: 879B
<?
Error_Reporting(E_ALL & ~E_NOTICE);
require ('../data/config.php');
require ('../data/mysql.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/wml_1.1.xml">
<wml>';

/*<meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml" charset="utf-8"/>
<title><?print "$site_title";?></title>  */    ?>
<card title="<? print "$site_title";?>">

<?
require ('../html/up.php');
?>

     <p> <small>
FAQ - часто задаваемые вопросы<br/>
    <?
    $result= mysql_query("SELECT * FROM faq");
    while ($row = mysql_fetch_array($result))
        {
        print "
        <br/>- $row[q]
        <br/> $row[a]
        <br/>";
        }
    ?>


   </small></p>

</card>
</wml>