Просмотр файла top/inc/pages.php

Размер файла: 1.06Kb
<table width="<?php echo (table_width+10); ?>" align=center border=0 cellpadding=0 cellspacing=0><tr><td>
<DIV class=blue>
 <table width=100% bgcolor="<?php echo top_bg; ?>" border=0 background="<?php echo top_bg2; ?>">
  <tr>
   <td width=100% align=center height=18>
<?php
	$before = $start; 
	$after = $count_pages - $start - 1;
	if ($before > $mlim) $before = $mlim;
	if ($after > $mlim) $after = $mlim;
	$mstart = $start - $before;	$mfinish = $start + $after+1;
	for ($i=$mstart; $i<$mfinish; $i++) {
		if ($i == $start)  { ?>
           <span style="padding:0px;font:11px Verdana,Tahoma; COLOR: #F00000; FONT-FAMILY: Verdana,Tahoma; Monospace; LETTER-SPACING: 0px; TEXT-DECORATION: none"><b>[<?php echo ($i+1); ?>/10] </span>
<?php   }
		else { ?>
			<a class=main href="index.php?start=<?php echo ($i+1) ?>"><span style="padding:0px;font:11px Verdana,Tahoma; color:#000CFF; FONT-FAMILY: Verdana,Tahoma; Monospace; LETTER-SPACING: 0px; TEXT-DECORATION: none"><b>[<?php echo ($i+1); ?>/10]</b></a></span>
<?php   }
	}
?>
</td></tr></table></div></td></tr></table>