;ò
îgÅBc           @   s‹   d  k  Z  d  k Z d  k Z d  k Z d  k Z d k Td k l Z e i i e i	 d ƒ d e
 e i d „ Z e d j o e ƒ  Z n d  S(   N(   s   *(   s   strptimei    i   c         C   s¥  t  d d t i ƒt  d t t i ƒ d t i ƒt i t i j o d d } d d } n d } d } d } d } y' t i o | d	 8} | d	 8} n Wn n Xd
 } | t j o% y t i d } Wqå d
 } qå Xn | } y! t i | ƒ } | d d } Wn n Xt i ƒ  }
 t i d t i |
 ƒ ƒ }	 t i t |	 d ƒ ƒ } t i d t i | d d ƒ ƒ } t t i d t i d | d | d t i d t i t i ƒ  ƒ ƒ d d ƒ } | i! | | t" i# d ƒ | i$ ƒ  d } t i& o
 d } n d } d | d } d | d } d | } d | } d  | } d! t, ƒ  } t i d" j o d# t, ƒ  } n d$ t, ƒ  } t i& o | Sn d% GH| GHd
 Sd  S(&   NsO   ============================= start script ====================================s   hosts   WebStatsLayout=i  i   iø  iä  i  i   s    s   REMOTE_ADDRi    s   .s   %Y-%m-01 00:00s   %Y-%m-%d %H:%Mi   i€Q s   logs   PL_Stat s    s   %Y-%m-%d %H.%Ms   .txts   ws   .rpys   .pys   PL2_ToplistGraphs   ?graph=21&img=2&hostsingraph=0s   PL2_SpeedGraphs   ?graph=21&img=2&chart=1&IP=/s   PL2_SelectToplists   PL2_SelectHostss   PL2_control1s•  
<html>
<head>
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="brinet ab">
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Language" content="sv">
<meta name="ROBOTS" content="All">
<meta name="RESOURCE-TYPE" content="document">
<meta name="distribution" content="GLOBAL">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Expires" content="Thu, 01 Dec 1994 16:00:00 GMT">
<link rel="STYLESHEET" href="../statistics.css" type="text/css">
<title>Packetlogic webstatistics</title>
<style type="text/css">
<!--
body { xxxx
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
-->
</style>

</head>
	i   sW  
<body bgcolor="#e0e0e0" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
	<table border=1 cellpadding="1" cellspacing="0">
	<caption></capition>

	  <tr>
		<!-- Control 1 -->
		<td>
		  <iframe width="%(hostFrameWidth)spx" height="335px" style="width:%(hostFrameWidth)s px;height:335px" name="control1" scrolling=no  marginwidth="10" marginheight="5"
		  src="%(control1_src)s" frameborder="0" align="top"></iframe>
		</td>

		<!-- Toplist -->
		<td rowspan="3">&nbsp;
		  <iframe width="%(toplistFrameWidth)spx" height="%(toplistFrameHeigh)spx" style="width:%(toplistFrameWidth)spx;height:%(toplistFrameHeigh)spx" name="toplist" scrolling=yes  marginwidth="0" marginheight="0"
		  src="%(toplist_src)s" frameborder="0" align="top"></iframe>
		</td>

	  </tr>

	  <tr>
		<!-- Speed -->
		<td>
		  <iframe width="%(hostFrameWidth)spx" height="%(hostFrameHeigh)spx" style="width:%(hostFrameWidth)spx;height:%(hostFrameHeigh)spx" name="speed" scrolling=no  marginwidth="0" marginheight="0"
		  src="%(speed_src)s" frameborder="0" align="top"></iframe>
		</td>
	  </tr>

	</table>

</body>
</html>
		sê  
	<body bgcolor="#e0e0e0" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
		<table border=1 cellpadding="1" cellspacing="0">
		<caption></capition>
		  <tr>
			<!-- Control 1 -->
			<td>
			  <iframe width="%(hostFrameWidth)spx" height="335px" style="width:%(hostFrameWidth)s px;height:335px" name="control1" scrolling=no  marginwidth="10" marginheight="5"
			  src="%(control1_src)s" frameborder="0" align="top"></iframe>
			</td>
		  </tr>
		</table>

	</body>
	</html>
			s   Content-type: text/html
(.   s   debugMsgs   PL2_inis	   debugHosts   strs   webStatsLayouts
   screenSizes   XGAs   toplistFrameWidths   hostFrameWidths   toplistFrameHeighs   hostFrameHeighs   toolBoxs   hostnames
   IP_addresss   Nones   oss   environs   sockets   gethostbyaddrs   thenames   times   todays   strftimes	   localtimes   stat_start_times   mktimes   strptimes   time_tmps   stat_end_times   opens   PL_paths   seps
   outputfiles   writes   syss   argvs   closes   debugs   twisteds	   extensions   toplist_srcs	   speed_srcs   control1_srcs   selectHosts_srcs   varss   HTML(   s   file2recalls
   IP_addresss   environs   control1_srcs
   outputfiles   hostnames   hostFrameHeighs   selectHosts_srcs   HTMLs   stat_start_times   todays   toplistFrameHeighs	   speed_srcs   toplistFrameWidths   debugs   thenames   time_tmps   stat_end_times	   extensions   toplist_srcs   hostFrameWidth(    (    s   C:\Python\PL\PL2_Stat.pys   PL2_stat   sj     

#K	





 $
s   __main__(   s   times   cgis   syss   oss   PL2_inis   PL_debugs   strptimes   paths   splits   argvs   Nones   environs   PL2_stats   __name__s   HTML(   s   cgis   PL2_inis   PL2_stats   strptimes   syss   HTMLs   times   os(    (    s   C:\Python\PL\PL2_Stat.pys   ?   s   					,