From: <lor...@us...> - 2012-07-13 19:09:50
|
Revision: 9862 http://xoops.svn.sourceforge.net/xoops/?rev=9862&view=rev Author: lord_venom Date: 2012-07-13 19:09:43 +0000 (Fri, 13 Jul 2012) Log Message: ----------- news design Modified Paths: -------------- XoopsModules/TDMStats/trunk/TDMStats/counter.php XoopsModules/TDMStats/trunk/TDMStats/include/summary.php XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_index.html XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_stats.html XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_summary.html Modified: XoopsModules/TDMStats/trunk/TDMStats/counter.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/counter.php 2012-07-13 16:07:40 UTC (rev 9861) +++ XoopsModules/TDMStats/trunk/TDMStats/counter.php 2012-07-13 19:09:43 UTC (rev 9862) @@ -42,7 +42,7 @@ * @feature * Keeps total count of pages served, including refreshes and revisits */ -$page = $_REQUEST['page']; + $page = $_REQUEST['page']; if ($page != "") { $check_page = getResult("SELECT * FROM ".XOOPS_DB_PREFIX."_TDMStats_page WHERE page='$page'"); Modified: XoopsModules/TDMStats/trunk/TDMStats/include/summary.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/include/summary.php 2012-07-13 16:07:40 UTC (rev 9861) +++ XoopsModules/TDMStats/trunk/TDMStats/include/summary.php 2012-07-13 19:09:43 UTC (rev 9862) @@ -165,7 +165,7 @@ $hour['percent'][] = round($hour_percent, '2'); if ($hour_percent > 0) { - $xoopsTpl->append('hours', array('id' => 'hour'.$i, 'hour' => $hour_info[$i]['hour'], 'info' => $hour_info[$i]['count'], 'percent' => round($hour_percent, '2'))); + //$xoopsTpl->append('hours', array('id' => 'hour'.$i, 'hour' => $hour_info[$i]['hour'], 'info' => $hour_info[$i]['count'], 'percent' => round($hour_percent, '2'))); $xoopsTpl->append('hours_map', array('id' => 'hour'.$i, 'hour' => $hour_info[$i]['hour'], 'info' => $hour_info[$i]['count'], 'percent' => round($hour_percent, '2'))); } @@ -179,6 +179,25 @@ $ref['percent'][] = 0; $ref['color'][] = 0; $max = $xoopsModuleConfig['maxpage']; + + $ref_info = getResult("select * from ".$xoopsDB->prefix("TDMStats_referer")." order by count DESC LIMIT 3"); + //$total_hour = getResult("select SUM(count) AS sum from ".$xoopsDB->prefix("TDMStats_today_hour").""); + + if($ref_info){ + for($i=0; $i<sizeof($ref_info); $i++){ + if($ref_info[$i]['count'] > 0) { + $url = (strlen($ref_info[$i]['url']) > 30 ? substr($ref_info[$i]['url'],0,(30))."..." : $ref_info[$i]['url']); + $ref['info'][] = $ref_info[$i]['count']; + //$hour['percent'][] = round($hour_percent, '2'); + + $xoopsTpl->append('item_refs', array('id' => 'ref'.$i, 'info' => $ref_info[$i]['count'], 'url' => $url)); +} + } + + } + + + $ref_info = getResult("select distinct url, count from ".$xoopsDB->prefix("TDMStats_referer")." order by count desc limit $max"); $ref_total = getResult("select SUM(count) AS sum from ".$xoopsDB->prefix("TDMStats_referer").""); for ($i = 0; $i < sizeof($ref_info); $i++) { @@ -191,19 +210,34 @@ } $ref['info'][] = $ref_info[$i]['count']; - $ref['ref'][] = (strlen($ref_info[$i]['url']) > 50 ? substr($ref_info[$i]['url'],0,(50))."..." : $ref_info[$i]['url']); + //$ref['ref'][] = (strlen($ref_info[$i]['url']) > 50 ? substr($ref_info[$i]['url'],0,(50))."..." : $ref_info[$i]['url']); $title = $ref_info[$i]['url']; $url = (strlen($ref_info[$i]['url']) > 50 ? substr($ref_info[$i]['url'],0,(50))."..." : $ref_info[$i]['url']); $ref['percent'][] = round($ref_percent, '2'); if ($ref_percent > 0) { - $xoopsTpl->append('refs', array('id' => 'ref'.$i, 'ref' => $url, 'title' => $title, 'info' => $ref_info[$i]['count'], 'percent' => round($ref_percent, '2'))); + //$xoopsTpl->append('refs', array('id' => 'ref'.$i, 'ref' => $url, 'title' => $title, 'info' => $ref_info[$i]['count'], 'percent' => round($ref_percent, '2'))); $xoopsTpl->append('refs_map', array('id' => 'ref'.$i, 'ref' => $url, 'title' => $title, 'info' => $ref_info[$i]['count'], 'percent' => round($ref_percent, '2'))); } } +///////////PAYSSS + $pays_info = getResult("select * from ".$xoopsDB->prefix("TDMStats_pays")." order by count DESC LIMIT 3"); + //$total_hour = getResult("select SUM(count) AS sum from ".$xoopsDB->prefix("TDMStats_today_hour").""); -///////////PAYSSS + if($pays_info){ + for($i=0; $i<sizeof($pays_info); $i++){ + if($pays_info[$i]['count'] > 0) { + $pays['country'][] = $pays_info[$i]['country']; + $pays['info'][] = $pays_info[$i]['count']; + //$hour['percent'][] = round($hour_percent, '2'); + + $xoopsTpl->append('item_pays', array('id' => 'pay'.$i, 'info' => $pays_info[$i]['count'], 'country' => $pays_info[$i]['country'],)); +} + } + + } + $max = $xoopsModuleConfig['maxpage']; $pays_info = getResult("select distinct country, pays, count from ".$xoopsDB->prefix("TDMStats_pays")." order by count desc limit $max"); $pays_total = getResult("select SUM(count) AS sum from ".$xoopsDB->prefix("TDMStats_pays").""); @@ -230,7 +264,7 @@ //$pays['percent'][] = round($pays_percent, '2'); //print_r($maxcolor[$i]); if ($pays_percent > 0) { - $xoopsTpl->append('payss', array('id' => 'pays'.$i, 'flag' => $flag, 'country' => $pays_info[$i]['country'], 'pays' => $pays_info[$i]['pays'], 'info' => $pays_info[$i]['count'], 'percent' => round($pays_percent, '2'))); + //$xoopsTpl->append('payss', array('id' => 'pays'.$i, 'flag' => $flag, 'country' => $pays_info[$i]['country'], 'pays' => $pays_info[$i]['pays'], 'info' => $pays_info[$i]['count'], 'percent' => round($pays_percent, '2'))); $xoopsTpl->append('payss_map', array('id' => 'pays'.$i, 'flag' => $flag, 'country' => $pays_info[$i]['country'], 'pays' => $pays_info[$i]['pays'], 'info' => $pays_info[$i]['count'], 'percent' => round($pays_percent, '2'))); } } Modified: XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_index.html =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_index.html 2012-07-13 16:07:40 UTC (rev 9861) +++ XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_index.html 2012-07-13 19:09:43 UTC (rev 9862) @@ -53,8 +53,10 @@ }); } else { - $tdmstats("#masque_" +id).fadeOut("fast", function() { + $tdmstats("#masque_" +id).fadeOut("fast", function() { + $tdmstats("div[id^='masque']").fadeIn("fast").hide(); $tdmstats("#masque_" +id).fadeIn("fast").show(); + }); } Modified: XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_stats.html =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_stats.html 2012-07-13 16:07:40 UTC (rev 9861) +++ XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_stats.html 2012-07-13 19:09:43 UTC (rev 9862) @@ -4,7 +4,75 @@ $("#tabs").tabs(); }); </script> +<table cellpadding="0" id="masque_1" cellspacing="0" style="margin:5px;"><tr><td><ul id="tree_menu"> +<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/day.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('day')"><{$smarty.const._AM_BY_DAY}></h2></a> +<div style="text-align:left"> + <{foreach from=$item_hours item=item}> + <span id="tree_num"><{$smarty.const._AM_P_A}> <{$item.hour}>h, <{$item.info}> <{$smarty.const._AM_P_VISITS}></span><br /> + <{/foreach}> + +</div></div> +<div id="tree_form"><a href="javascript:;" onclick="javascript:masque('hour')" ><{$smarty.const._AM_VIEW}></a></div></li> + +<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/weekday.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('weekday')"><{$smarty.const._AM_BY_WEEKDAY}></h2></a> +<div style="text-align:left"> + <{foreach from=$item_hours item=item}> + <span id="tree_num"><{$smarty.const._AM_P_A}> <{$item.hour}>h, <{$item.info}> <{$smarty.const._AM_P_VISITS}></span><br /> + <{/foreach}> + +</div></div> +<div id="tree_form"><a href="javascript:;" onclick="javascript:masque('hour')" ><{$smarty.const._AM_VIEW}></a></div></li> + +<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/week.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('week')"><{$smarty.const._AM_BY_WEEK}></h2></a> +<div style="text-align:left"> + <{foreach from=$item_hours item=item}> + <span id="tree_num"><{$smarty.const._AM_P_A}> <{$item.hour}>h, <{$item.info}> <{$smarty.const._AM_P_VISITS}></span><br /> + <{/foreach}> + +</div></div> +<div id="tree_form"><a href="javascript:;" onclick="javascript:masque('hour')" ><{$smarty.const._AM_VIEW}></a></div></li> + +<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/mth.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('mth')"><{$smarty.const._AM_BY_MTH}></h2></a> +<div style="text-align:left"> + <{foreach from=$item_hours item=item}> + <span id="tree_num"><{$smarty.const._AM_P_A}> <{$item.hour}>h, <{$item.info}> <{$smarty.const._AM_P_VISITS}></span><br /> + <{/foreach}> + +</div></div> +<div id="tree_form"><a href="javascript:;" onclick="javascript:masque('hour')" ><{$smarty.const._AM_VIEW}></a></div></li> + +<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/hour.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('mth')"><{$smarty.const._AM_BY_HOUR}></h2></a> +<div style="text-align:left"> + <{foreach from=$item_hours item=item}> + <span id="tree_num"><{$smarty.const._AM_P_A}> <{$item.hour}>h, <{$item.info}> <{$smarty.const._AM_P_VISITS}></span><br /> + <{/foreach}> + +</div></div> +<div id="tree_form"><a href="javascript:;" onclick="javascript:masque('hour')" ><{$smarty.const._AM_VIEW}></a></div></li> + + +<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/page.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('mth')"><{$smarty.const._AM_BY_PAGE}></h2></a> +<div style="text-align:left"> + <{foreach from=$item_hours item=item}> + <span id="tree_num"><{$smarty.const._AM_P_A}> <{$item.hour}>h, <{$item.info}> <{$smarty.const._AM_P_VISITS}></span><br /> + <{/foreach}> + +</div></div> +<div id="tree_form"><a href="javascript:;" onclick="javascript:masque('hour')" ><{$smarty.const._AM_VIEW}></a></div></li> + +<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/module.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('mth')"><{$smarty.const._AM_BY_MODULE}></h2></a> +<div style="text-align:left"> + <{foreach from=$item_hours item=item}> + <span id="tree_num"><{$smarty.const._AM_P_A}> <{$item.hour}>h, <{$item.info}> <{$smarty.const._AM_P_VISITS}></span><br /> + <{/foreach}> + +</div></div> +<div id="tree_form"><a href="javascript:;" onclick="javascript:masque('hour')" ><{$smarty.const._AM_VIEW}></a></div></li> + + +<br style="clear: both;" /></ul></td></tr></table><br /> + <div id="tabs"> <ul> <li style="list-style-type: none;"><a href="#day"><{$lang_by_day}></a></li> Modified: XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_summary.html =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_summary.html 2012-07-13 16:07:40 UTC (rev 9861) +++ XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_summary.html 2012-07-13 19:09:43 UTC (rev 9862) @@ -1,16 +1,12 @@ <{include file="db:TDMStats_index.html"}> -<script type="text/javascript"> - $(function() { - $("#tabs").tabs(); - }); - </script> <table cellpadding="0" id="masque_1" cellspacing="0" style="margin:5px;"><tr><td><ul id="tree_menu"> -<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/resume.png" title="<{$smarty.const._AM_STATS_INFO}>"><br/></div><div><h2><a href ="'.$cat_link.'" title="<{$smarty.const._AM_STATS_INFO}>"><{$smarty.const._AM_STATS_INFO}></h2></a> +<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/resume.png" title="<{$smarty.const._AM_STATS_INFO}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('resum')"><{$smarty.const._AM_STATS_INFO}></h2></a> <div style="text-align:left"><span id="tree_num"><{$lang_total_visits}> <b><{$total}></b></span><br /> <span id="tree_num"><{$lang_today}> <b><{$today}></b></span><br /> -<span id="tree_num"><{$lang_ave_day}> <b><{$ava_day}></b></span></div></div><div id="tree_form">go win</div></li> +<span id="tree_num"><{$lang_ave_day}> <b><{$ava_day}></b></span></div></div> +<div id="tree_form"><a href="javascript:;" onclick="javascript:masque('resum')" ><{$smarty.const._AM_VIEW}></a></div></li> <li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/tip.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href ="'.$cat_link.'" title="<{$lang_forecast}>"><{$smarty.const._AM_FORECAST}></h2></a> <div style="text-align:left"><span id="tree_num"><{$smarty.const.AM_AVE}> <b><{$cur_percent}>%</b> <{$smarty.const.AM_DAILY_VISIT}> <b><{$date_daily}></b>. @@ -18,32 +14,39 @@ <br/><{$smarty.const.AM_SO_FARE}> <b><{$today_hits}></b> <{$smarty.const.AM_PAGE_VIEW}> </span></div></div></li> -<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/calender.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href ="'.$cat_link.'" title="<{$lang_forecast}>"><{$smarty.const._AM_TODAY}></h2></a> +<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/calender.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('hour')"><{$smarty.const._AM_TODAY}></h2></a> <div style="text-align:left"> <{foreach from=$item_hours item=item}> <span id="tree_num"><{$smarty.const._AM_P_A}> <{$item.hour}>h, <{$item.info}> <{$smarty.const._AM_P_VISITS}></span><br /> <{/foreach}> -</div></div><div id="tree_form">go win</div></li> +</div></div> +<div id="tree_form"><a href="javascript:;" onclick="javascript:masque('hour')" ><{$smarty.const._AM_VIEW}></a></div></li> + +<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/ref.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('ref')"><{$smarty.const._AM_BY_REF}></h2></a> +<div style="text-align:left"> + <{foreach from=$item_refs item=item}> + <span id="tree_num"><{$item.url}>, <{$item.info}> <{$smarty.const._AM_P_VISITS}></span><br /> +<{/foreach}> +</div></div> +<div id="tree_form"><a href="javascript:;" onclick="javascript:masque('ref')" ><{$smarty.const._AM_VIEW}></a></div></li> + +<li style="width:47%;" class="even"><div><img src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/word.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('pays')"><{$smarty.const._AM_BY_COUNTRY}></h2></a> +<div style="text-align:left"> + <{foreach from=$item_pays item=item}> + <span id="tree_num"><{$item.country}>, <{$item.info}> <{$smarty.const._AM_P_VISITS}></span><br /> + <{/foreach}> + +</div></div> +<div id="tree_form"><a href="javascript:;" onclick="javascript:masque('pays')" ><{$smarty.const._AM_VIEW}></a></div></li> + -<br style="clear: both;" /></ul></td></tr></table><br /> +<br style="clear: both;" /></ul></td></tr></table><br /> - -<div id="tabs"> - <ul> - <li style="list-style-type: none;"><a href="#stats"><{$smarty.const._AM_STATS_INFO}></a></li> - <li style="list-style-type: none;"><a href="#prevision"><{$smarty.const._AM_FORECAST}></a></li> - <li style="list-style-type: none;"><a href="#hour"><{$smarty.const._AM_BY_TODAY_HOUR}></a></li> - <li style="list-style-type: none;"><a href="#ref"><{$smarty.const._AM_BY_REF}></a></li> - <li style="list-style-type: none;"><a href="#pays"><{$smarty.const._AM_BY_PAYS}></a></li> - </ul><br style="clear: both;" /> - <div id="stats"> - + <div id="masque_resum" style="display: none;"> +<h2><{$lang_stats_info}></h2> <table width="100%" border="0" cellspacing="1" cellpadding="4" class="outer"> - <tr> - <th colspan="4" align="center"><{$lang_stats_info}></th> - </tr> <tr class="even"> <td align="center" width="28%"><{$lang_total_visits}></td> <td align="center" width="22%"><{$total}></td> @@ -97,126 +100,70 @@ </div> -<div id="prevision"> - - <table width="100%" border="0" cellspacing="1" cellpadding="4" class="outer"> - <tr> - <th align="center"><{$lang_forecast}></th> - </tr> - <tr class="even"> - <td align="center" class="statstable"><{$lang_ave}> <b><{$cur_percent}>%</b> <{$lang_daily_visit}> <b><{$date_daily}></b>.<br /><{$lang_bas_nbr}> <b><{$daycount}></b> <{$lang_so_far}> <b><{$today_hits}></b> <{$lang_page_view}></td> - </tr> - </table> -</div> - - -<div id="hour"> - + <div id="masque_hour" style="display: none;"> + <h2><{$smarty.const._AM_TODAY}></h2> <table class="map" cellspacing="0" cellpadding="0"> - <caption align="top"><{$smarty.const._AM_TODAY}><br /><br /></caption> <tr> - <th scope="col"><{$smarty.const._AM_HR_HOUR}></th> - <th scope="col"><{$smarty.const._AM_DATE_VISITS}></th> + <th style="text-align:center;"><{$smarty.const._AM_HR_HOUR}></th> + <th></th> + <th style="text-align:center;"><{$smarty.const._AM_DATE_VISITS}></th> + <th style="text-align:center;"><{$smarty.const._AM_DATE_PERCENT}></th> </tr> <{foreach item=hours_map from=$hours_map}> <tr> - <td width="20%" class="option"><div style="margin:5px;"><{$hours_map.hour}></div></td> - <td width="80%" class="value"><img src="./images/bar/<{$img_bar}>" title="<{$hours_map.percent}>%" alt="<{$hours_map.percent}>%" width="<{$hours_map.percent}>%" height="16" /><{$hours_map.info}></td> - </tr> + <td width="20%" style="text-align:center; vertical-align:middle;"><div style="margin:5px;"><{$hours_map.hour}></div></td> + <td width="60%" style="vertical-align:middle;"><img src="./images/bar/<{$img_bar}>" title="<{$hours_map.percent}>%" alt="<{$hours_map.percent}>%" width="<{$hours_map.percent}>%" height="16px" /></td> + <td width="10%" style="text-align:center; vertical-align:middle;"><{$hours_map.info}></td> + <td width="10%" style="text-align:center; vertical-align:middle;"><{$hours_map.percent}>%</td> + </tr> <{/foreach}> </table> - <span><a href="javascript:;" onclick="javascript:masque('<{$smarty.const._AM_HR_HOUR}>')" ><{$smarty.const._AM_VIEW}></a></span> <br /><br /> - <div id="masque_<{$smarty.const._AM_HR_HOUR}>" style="display: none;"> - <table class="outer" width="100%" border="0" cellspacing="1" cellpadding="4" align="center"> - <tr> - <td class="head" width="33%" align="center"><{$smarty.const._AM_HR_HOUR}></td> - <td class="head" width="33%" align="center"><{$smarty.const._AM_DATE_VISITS}></td> - <td class="head" width="33%" align="center"><{$smarty.const._AM_DATE_PERCENT}></td> - </tr> - <{foreach item=hours from=$hours}> - <tr class="<{cycle values="even,odd"}>" valign="center"> - <td align="center"><{$hours.hour}></td> - <td align="center"><{$hours.info}></td> - <td align="center"><{$hours.percent}>%</td> - </tr> - <{/foreach}> - </table> </div> -</div> - <div id="ref"> + <div id="masque_ref" style="display: none;"> + <h2><{$smarty.const._AM_BY_REF}></h2> <table class="map" cellspacing="0" cellpadding="0"> - <caption align="top"><{$smarty.const._AM_BY_REF}><br /><br /></caption> <tr> - <th scope="col"><{$smarty.const._AM_REF_REF}></th> - <th scope="col"><{$smarty.const._AM_DATE_VISITS}></th> + <th style="text-align:center;"><{$smarty.const._AM_REF_REF}></th> + <th></th> + <th style="text-align:center;"><{$smarty.const._AM_DATE_VISITS}></th> + <th style="text-align:center;"><{$smarty.const._AM_DATE_PERCENT}></th> </tr> <{foreach item=refs_map from=$refs_map}> <tr> - <td width="20%" class="option"><div style="margin:5px;" title="<{$refs_map.title}>" alt="<{$refs_map.title}>"><{$refs_map.ref}></div></td> - <td width="80%" class="value"><img src="./images/bar/<{$img_bar}>" title="<{$refs_map.percent}>%" alt="<{$refs_map.percent}>%" width="<{$refs_map.percent}>%" height="16" /><{$refs_map.info}></td> - </tr> + <td width="20%" style="text-align:center; vertical-align:middle;"><div style="margin:5px;"><{$refs_map.ref}></div></td> + <td width="60%" style="vertical-align:middle;"><img src="./images/bar/<{$img_bar}>" title="<{$refs_map.percent}>%" alt="<{$refs_map.percent}>%" width="<{$refs_map.percent}>%" height="16px" /></td> + <td width="10%" style="text-align:center; vertical-align:middle;"><{$refs_map.info}></td> + <td width="10%" style="text-align:center; vertical-align:middle;"><{$refs_map.percent}>%</td> + </tr> <{/foreach}> </table> - <span><a href="javascript:;" onclick="javascript:masque('<{$smarty.const._AM_REF_REF}>')" ><{$smarty.const._AM_VIEW}></a></span> <br /><br /> - <div id="masque_<{$smarty.const._AM_REF_REF}>" style="display: none;"> - <table class="outer" width="100%" border="0" cellspacing="1" cellpadding="4" align="center"> - <tr> - <td class="head" align="center"><{$smarty.const._AM_REF_REF}></td> - <td class="head" align="center"><{$smarty.const._AM_DATE_VISITS}></td> - <td class="head" align="center"><{$smarty.const._AM_DATE_PERCENT}></td> - </tr> - <{foreach item=refs from=$refs}> - <tr class="<{cycle values="even,odd"}>" valign="center"> - <td width="33%" align="center"><span title="<{$refs.title}>" alt="<{$refs.title}>"><{$refs.ref}></span></td> - <td width="33%" align="center"><{$refs.info}></td> - <td width="33%" align="center"><{$refs.percent}>%</td> - </tr> - <{/foreach}> - </table> - </div> </div> - <div id="pays"> - <table class="map" cellspacing="0" cellpadding="0"> - <caption align="top"><{$smarty.const._AM_BY_PAYS}><br /><br /></caption> + <div id="masque_pays" style="display: none;"> + <h2><{$smarty.const._AM_BY_PAYS}></h2> + <table class="outer" cellspacing="0" cellpadding="0"> <tr> - <th scope="col"><{$smarty.const._AM_BY_COUNTRY}></th> - <th scope="col"><{$smarty.const._AM_DATE_VISITS}></th> + <th style="text-align:center;"><{$smarty.const._AM_BY_COUNTRY}></th> + <th></th> + <th style="text-align:center;"><{$smarty.const._AM_DATE_VISITS}></th> + <th style="text-align:center;"><{$smarty.const._AM_DATE_PERCENT}></th> </tr> <{foreach item=payss_map from=$payss_map}> <tr> - <td width="20%" class="option"><div style="margin:1px;"><{$payss_map.flag}></div></td> - <td width="80%" class="value"><img src="./images/bar/<{$img_bar}>" title="<{$payss_map.percent}>%" alt="<{$payss_map.percent}>%" width="<{$payss_map.percent}>%" height="16" /><{$payss_map.info}></td> - </tr> + <td width="20%" style="text-align:center; vertical-align:middle;"><div style="margin:5px;"><{$payss_map.flag}></div></td> + <td width="60%" style="vertical-align:middle;"><img src="./images/bar/<{$img_bar}>" title="<{$payss_map.percent}>%" alt="<{$payss_map.percent}>%" width="<{$payss_map.percent}>%" height="16" /></td> + <td width="10%" style="text-align:center; vertical-align:middle;"><{$payss_map.info}></td> + <td width="10%" style="text-align:center; vertical-align:middle;"><{$payss_map.percent}>%</td> + </tr> <{/foreach}> </table> - <span><a href="javascript:;" onclick="javascript:masque('4')" ><{$smarty.const._AM_VIEW}></a></span> <br /><br /> - <div id="masque_4" style="display: none;"> - <table class="outer" width="100%" border="0" cellspacing="1" cellpadding="4" align="center"> - <tr> - <td class="head" align="center"></td> - <td class="head" align="center"><{$smarty.const._AM_BY_COUNTRY}></td> - <td class="head" align="center"><{$smarty.const._AM_DATE_VISITS}></td> - <td class="head" align="center"><{$smarty.const._AM_DATE_PERCENT}></td> - </tr> - <{foreach item=payss from=$payss}> - <tr class="<{cycle values="even,odd"}>" valign="center"> - <td width="10%" align="center"><{$payss.flag}></td> - <td width="30%" align="center"><{$payss.pays}></td> - <td width="10%" align="center"><{$payss.info}></td> - <td width="10%" align="center"><{$payss.percent}>%</td> - </tr> - <{/foreach}> - </table> - </div> </div> - -</div> + <br /><br style="clear: both;" /> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |