<?
$id = $_GET['id'];
switch($id)
{
case '1':
{
$content = '
<b>Ads url</b><br><br>
This url will be used for getting xml data from ads server.
<u>Available options that are required by ads servers:</u>
<br><br>
<li>
{keywords} - search string
</li>
<li>
{IPN} - client\'s IP address
</li>
<li>
{IP} - encoded client\'s IP address (required by some servers)
</li>
<li>
{UID} - unique integer value (required by some servers)
</li>
<li>
{start} - page number of the results that you want to see
</li>
<li>
{ads_count} - number of search results to display
</li>
';
}break;
case '2':
{
$content = '
<b>Common display template</b><br><br>
Inside this template will be displayed ads boxes (in place of the {ads_content} value)
';
}break;
case '3':
{
$content = '
<b>Ads display template</b><br><br>
This template is used for displaying each ads box.
';
}break;
case '4':
{
$content = '
<b>XML parse template:</b><br><br>
This template is used for parsing xml data.
';
}break;
}
?>
<html>
<head>
</head>
<BODY LEFTMARGIN="0" TOPMARGIN="0" BOTTOMMARGIN="0" rightmargin="0" MARGINWIDTH=0 MARGINHEIGHT=0 text="#ffffff">
<table border="0" width="100%" height="100%" bgcolor="#f8fff5" style="border: 1px; border-style: solid; border-color: #231791">
<tr>
<td valign="top" style="font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; background-color: #DEE4E8;">
<?=$content?>
</td>
</tr>
</table>
</body>
</html>