Viewing file: 37219c87a19a74a1b0c6b23509ee16fdb4046845.file.visitors.tpl.php (9.31 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-04-23 02:24:55 compiled from "modules/zzvisitors/templates/visitors.tpl" */ ?> <?php /*%%SmartyHeaderCode:15019054544f949347363770-96149921%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '37219c87a19a74a1b0c6b23509ee16fdb4046845' => array ( 0 => 'modules/zzvisitors/templates/visitors.tpl', 1 => 1333007960, ), ), 'nocache_hash' => '15019054544f949347363770-96149921', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <script type="text/javascript"> $(document).ready(function(){ $("#geo").load("geoip.php?site=<?php echo GetParam("Domain");?> "); }) </script> <div class="Visitors"> <table width="100%"> <tr align="center" valign="top"> <td width="33%"> <h1><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsYearsStat'];?> </h1> <table align="center" class="visitors-table" cellspacing="1"> <tr> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsYearMonth'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsVisits'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsNew'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsPages'];?> </th> </tr> <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('yearstat')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){ $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['row']->key; ?> <tr> <td><?php echo $_smarty_tpl->tpl_vars['key']->value;?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['visits']['count'];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['new']['count'];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['access']['count'];?> </td> </tr> <?php }} ?> </table><br /> <h1><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsMonthStat'];?> </h1> <table align="center" class="visitors-table" cellspacing="1"> <tr> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsYearMonth'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsVisits'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsNew'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsPages'];?> </th> </tr> <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('monthstat')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){ ?> <tr> <td><?php echo $_smarty_tpl->tpl_vars['row']->value['visits']['year'];?> , <?php echo $_smarty_tpl->getVariable('ALANG')->value["CoreMonth".($_smarty_tpl->tpl_vars['row']->value['visits']['month'])];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['visits']['count'];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['new']['count'];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['access']['count'];?> </td> </tr> <?php }} ?> </table> <br /> <h1 class="pageChapter"><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsGEO'];?> </h1> <div id="geo"></div> </td> <td width="34%"> <h1><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsWeekdayStat'];?> </h1> <table align="center" class="visitors-table" cellspacing="1"> <tr> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsWeekday'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsVisits'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsNew'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsPages'];?> </th> </tr> <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('weekdaystat')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){ $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['row']->key; ?> <tr> <td><?php echo $_smarty_tpl->getVariable('ALANG')->value["CoreWeekday".($_smarty_tpl->tpl_vars['key']->value)];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['visits']['count'];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['new']['count'];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['access']['count'];?> </td> </tr> <?php }} ?> </table> <h1><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsHoursStat'];?> </h1> <table align="center" class="visitors-table" cellspacing="1"> <tr> <th>Часы</th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsVisits'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsNew'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsPages'];?> </th> </tr> <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('hoursstat')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){ $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['row']->key; ?> <tr> <td><?php echo $_smarty_tpl->tpl_vars['key']->value;?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['visits']['count'];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['new']['count'];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['access']['count'];?> </td> </tr> <?php }} ?> </table> </td> <td width="33%"> <h1><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsBrowserStat'];?> </h1> <table align="center" class="visitors-table" cellspacing="1"> <tr> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsBrowser'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsVisits'];?> </th> </tr> <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('browserstat')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){ $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['row']->key; ?> <tr> <td><?php echo $_smarty_tpl->tpl_vars['row']->value['browser'];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['count'];?> </td> </tr> <?php }} ?> </table> <h1><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsBrowserVersionStat'];?> </h1> <table align="center" class="visitors-table" cellspacing="1"> <tr> <th>Браузер</th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsVisits'];?> </th> </tr> <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('browserdetstat')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){ $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['row']->key; ?> <tr> <td><?php echo $_smarty_tpl->tpl_vars['row']->value['browser'];?> <?php echo $_smarty_tpl->tpl_vars['row']->value['version'];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['count'];?> </td> </tr> <?php }} ?> </table> <h1><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsResolutionStat'];?> </h1> <table align="center" class="visitors-table" cellspacing="1"> <tr> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsResolution'];?> </th> <th><?php echo $_smarty_tpl->getVariable('ALANG')->value['VisitorsCount'];?> </th> </tr> <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('screenstat')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){ $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['row']->key; ?> <tr> <td><?php echo $_smarty_tpl->tpl_vars['row']->value['width'];?> x<?php echo $_smarty_tpl->tpl_vars['row']->value['height'];?> </td> <td align="right"><?php echo $_smarty_tpl->tpl_vars['row']->value['count'];?> </td> </tr> <?php }} ?> </table> </td> </tr> </table> </div>
|