<div id="rightBox">
	<table border="0" cellpadding="0" cellspacing="0" class="rightBox_table">
		<tr>
			<td><img src="/files/contentBoxTop.jpg" alt="" width="690" height="16"/></td>
		</tr>
		<tr>
			<td valign="top" style="background-image: url(/files/contentBoxMiddle.jpg); width: 690px; height: 547px; background-position: center top; background-repeat: no-repeat;">
				<div id="rightBox_content">
					<?php
						if($this->uri->segment('1')=='superadmin') 
							$link = 'superadmin';
						else		
							$link = 'admin';
						
						$kategoriaId = (int)$this->uri->segment('4');
						if($kategoriaId == 0)
							$kategoriaId = 1;
						
					?>
					
					<div class="mediumButton"><a class="gray_link" <?php if($kategoriaId==1) echo 'style="color:#ec2323"'; ?> href="/<?=$link;?>/show_domain_statcounter/<?php echo $domain_id; ?>/1">dzienne</a></div>
					<div class="mediumButton"><a class="gray_link" <?php if($kategoriaId==2) echo 'style="color:#ec2323"'; ?> href="/<?=$link;?>/show_domain_statcounter/<?php echo $domain_id; ?>/2">tygodniowe</a></div>
					<div class="mediumButton"><a class="gray_link" <?php if($kategoriaId==3) echo 'style="color:#ec2323"'; ?> href="/<?=$link;?>/show_domain_statcounter/<?php echo $domain_id; ?>/3">miesieczne</a></div>  
					<div class="mediumButton"><a class="gray_link" <?php if($kategoriaId==4) echo 'style="color:#ec2323"'; ?> href="/<?=$link;?>/show_domain_statcounter/<?php echo $domain_id; ?>/4">roczne</a></div>
					<br /><br />
					
					
					<?php $this->load->view('charts/images'); ?>
					<br /><br />
					Kod licznika odwiedzin dla tej domeny
					<br /><br />
					<textarea cols="70" rows="10"><!-- stats networds -->
	<script language="javascript">
		<!--
			var project=<?php echo $domain_id; ?>;
			document.write('<SCR' + 'IPT LANGUAGE="JavaScript" SRC="http://stat.networds.datatask.net/stats.js"><\/SCR' + 'IPT>');
		//-->
	</script>
<!-- stats networds -->
					</textarea>
						
					<br />
					<div class="smallButton2"><a class="gray_link" href="/<?=$link;?>/domain">WSTECZ</a></div>					
				</div>
			</td>	
		</tr>
		<tr>
			<td><img src="/files/contentBoxBottom.jpg" alt="" width="690" height="17"/></td>
		</tr>
	</table>
</div>	


