File size: 1.1Kb
<?
require_once('config.inc.php');
require_once('libs/realtones_soc.inc');
$sRealtonesContent = PlayFonRealtones($sRealtonesUrl, $iResourceId, $sRealtonesGenresExclude);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Do you like you'r mobile?</title>
<link rel="STYLESHEET" type="text/css" href="example.css">
</head>
<body>
<table style="width:600px;">
<tr>
<td style="width:150px;"><a href="index.php">Главная страница</a></td>
<td>
Поиск реалтонов:
<form action="realtones.php">
<input type="hidden" name="region" value="<? echo REGION; ?>">
<input type="text" name="ph_query" value="<? echo (!empty($_REQUEST['ph_query'])?$_REQUEST['ph_query']:'');?>">
<input type="submit" value="Искать">
</form>
</td>
<td style="text-align:right">
<?
foreach($aRegions as $sRegion => $sRegionName){
if (REGION == $sRegion)
echo " ".$sRegionName;
else
echo " <a href='?region=".$sRegion."'>".$sRegionName.'</a>';
}
?>
</td>
</tr>
<tr>
<td colspan="3">
<?
echo $sRealtonesContent;
?>
</td>
</tr>
</table>
</body>
</html>