Просмотр файла script/topten_p.php

Размер файла: 4.98Kb
<?php
/*-----------------------------------------------------------------------------------------
mcGalleryPRO
All code is © 2003 Marc Cagninacci.
No files may be redistributed in whole or significant part.
----------------- mcgalleryPRO IS NOT FREE SOFTWARE -------------------
You should have receive a file called license.txt in this package
--------------------------------------------------------------------------------------------*/

$cat = urldecode($_SESSION['cat']);
if ($cat == $l_topten && $tab =='p') { $fleche = 'bas.gif'; $bold = '<b>'; $Fbold = '</b>'; }
else  { $fleche = 'droit.gif'; $bold = ''; $Fbold = ''; }
echo '<tr><td class="td1" align="center"><a href="index.php?tab=p&cat='.urlencode($l_topten).'" onMouseOver="window.status=\'\';return true"><img src="images/'.$fleche.'" border="0" alt=""></a></td>';
echo '<td class="td2" width="100%" colspan="2"><font size="1">'.$bold;
echo '<a href="index.php?tab=p&cat='.urlencode($l_topten).'" class="lien1" onMouseOver="window.status=\'\';return true">'.$l_topten.'</a>'.$Fbold.'</font></td></tr>';
unset($bold);
unset($Fbold);
if ($l_topten == $cat && $tab =='p')
{
	if ($use_topten{1} == 1)
	{
	echo '<tr><td class="td2" width="'.$thumb_title.'" align="center">';
	echo '<a href="index.php?tab=p&top=date" onMouseOver="window.status=\'\';return true"><img src="images/droit.gif" border="0" alt=""></a></td>';
	echo '<td class="td2" width="100%" colspan="2"><font size="1">';
	if ($top == 'date')  { echo '<b>'; }
	echo '<a href="index.php?tab=p&top=date" class="lien1" onMouseOver="window.status=\'\';return true">'.$l_top_date.'</a>';
	if ($top == 'date')  { echo '</b>'; }
	echo '</font></td></tr>';
	echo "\n";
	}

	if ($use_topten{2} == 1)
	{
	echo '<tr><td class="td2" width="'.$thumb_title.'" align="center">';
	echo '<a href="index.php?tab=p&top=com" onMouseOver="window.status=\'\';return true"><img src="images/droit.gif" border="0" alt=""></a></td>';
	echo '<td class="td2" width="100%" colspan="2"><font size="1">';
	if ($top == 'com')  { echo '<b>'; }
	echo '<a href="index.php?tab=p&top=com" class="lien1" onMouseOver="window.status=\'\';return true">'.$l_top_com.'</a>';
	if ($top == 'com')  { echo '</b>'; }
	echo '</font></td></tr>';
	echo "\n";
	}

	if ($use_topten{7} == 1)
	{
	echo '<tr><td class="td2" width="'.$thumb_title.'" align="center">';
	echo '<a href="index.php?tab=p&top=dis" onMouseOver="window.status=\'\';return true"><img src="images/droit.gif" border="0" alt=""></a></td>';
	echo '<td class="td2" width="100%" colspan="2"><font size="1">';
	if ($top == 'dis')  { echo '<b>'; }
	echo '<a href="index.php?tab=p&top=dis" class="lien1" onMouseOver="window.status=\'\';return true">'.$l_top_dis.'</a>';
	if ($top == 'dis')  { echo '</b>'; }
	echo '</font></td></tr>';
	echo "\n";
	}

	if ($use_topten{3} == 1)
	{
	echo '<tr><td class="td2" width="'.$thumb_title.'" align="center">';
	echo '<a href="index.php?tab=p&top=rate" onMouseOver="window.status=\'\';return true"><img src="images/droit.gif" border="0" alt=""></a></td>';
	echo '<td class="td2" width="100%" colspan="2"><font size="1">';
	if ($top == 'rate')  { echo '<b>'; }
	echo '<a href="index.php?tab=p&top=rate" class="lien1" onMouseOver="window.status=\'\';return true">'.$l_top_rate.'</a>';
	if ($top == 'rate')  { echo '</b>'; }
	echo '</font></td></tr>';
	echo "\n";
	}

	if ($use_topten{4} == 1)
	{
	echo '<tr><td class="td2" width="'.$thumb_title.'" align="center">';
	echo '<a href="index.php?tab=p&top=card" onMouseOver="window.status=\'\';return true"><img src="images/droit.gif" border="0" alt=""></a></td>';
	echo '<td class="td2" width="100%" colspan="2"><font size="1">';
	if ($top == 'card')  { echo '<b>'; }
	echo '<a href="index.php?tab=p&top=card" class="lien1" onMouseOver="window.status=\'\';return true">'.$l_top_card.'</a>';
	if ($top == 'card')  { echo '</b>'; }
	echo '</font></td></tr>';
	echo "\n";
	}

	if ($use_topten{5} == 1)
	{
	echo '<tr><td class="td2" width="'.$thumb_title.'" align="center">';
	echo '<a href="index.php?tab=p&top=rev" onMouseOver="window.status=\'\';return true"><img src="images/droit.gif" border="0" alt=""></a></td>';
	echo '<td class="td2" width="100%" colspan="2"><font size="1">';
	if ($top == 'rev')  { echo '<b>'; }
	echo '<a href="index.php?tab=p&top=rev" class="lien1" onMouseOver="window.status=\'\';return true">'.$l_top_rev.'</a>';
	if ($top == 'rev')  { echo '</b>'; }
	echo '</font></td></tr>';
	echo "\n";
	}

	if ($use_topten{6} == 1)
	{
	echo '<tr><td class="td2" width="'.$thumb_title.'" align="center">';
	echo '<a href="index.php?tab=p&top=aut" onMouseOver="window.status=\'\';return true"><img src="images/droit.gif" border="0" alt=""></a></td>';
	echo '<td class="td2" width="100%" colspan="2"><font size="1">';
	if ($top == 'aut')  { echo '<b>'; }
	echo '<a href="index.php?tab=p&top=aut" class="lien1" onMouseOver="window.status=\'\';return true">'.$l_top_aut.'</a>';
	if ($top == 'aut')  { echo '</b>'; }
	echo '</font></td></tr>';
	echo "\n";
	}
}
?>