00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 require_once("./cfg/config.inc");
00023
00025
00031 function checkUserAgent($agent = ""){
00032 if (!$agent)
00033 $agent = $_SERVER['HTTP_USER_AGENT'];
00034
00035 global $white_agents;
00036
00037 if (count($white_agents)==0)
00038 return 1;
00039
00040 foreach ($white_agents as $white_agent){
00041 if (eregi($white_agent, $agent)==1)
00042 return 1;
00043 }
00044
00045 return 0;
00046 }
00047
00049 function showAbout(){
00050 $ret = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
00051 <html>
00052 <head>
00053 <title>Wine AppDB xmlexport script</title>
00054 <meta http-equiv=Content-Type content=\"text/html; charset=utf8\">
00055 <meta name=\"language\" content=\"English\">
00056 <meta name=\"author\" content=\"Malakhov Alexey aka John Brezerk\">
00057 <meta name=\"copyright\" content=\"All trademarks and copyrights on this page are owned by their respective owners. The Rest © 1997-2010 BrezBlock.\">
00058 <meta name=\"robots\" content=\"noindex, nofollow\">
00059 </head>
00060 <body>
00061 <h2>Wine AppDB xmlexport</h2>
00062 <hr>
00063 <p>Welcome to Wine AppDB xmlexport script page. This script provides xml view interface for Wine AppDB database.</p>
00064 <p>Originally this script was created by Malakhov Alexey aka <a href='mailto: brezerk@gmail.com'>John Brezerk</a> for <a href='http://q4wine.brezblock.org.ua/'>q4wine</a> project.</p>
00065 <p>Current licese is GPL v3.</p>
00066 <hr>
00067 <p>All trademarks and copyrights on this page are owned by their respective owners. The Rest © 1997-2010 BrezBlock.</p>
00068 </body>
00069 </html>";
00070 return $ret;
00071 }
00072
00073 ?>