-46 Removals
+37 Additions

Created by:phpboost

<section id="module-stats"> <section id="module-stats">
<header> <header>
<h1>{L_STATS}</h1> <h1>{L_STATS}</h1>
</header> </header>
<nav id="menustats"> <nav id="menustats">
<a href="" class="js-menu-button" onclick="open_submenu('menustats');return false;" title="${LangLoader::get_message('categories', 'categories-common')}"> <a href="" class="js-menu-button" onclick="open_submenu('menustats');return false;" title="${LangLoader::get_message('categories', 'categories-common')}">
<i class="fa fa-bars"></i> ${LangLoader::get_message('categories', 'categories-common')} <i class="fa fa-bars" aria-hidden="true"></i> ${LangLoader::get_message('categories', 'categories-common')}
</a> </a>
<ul> <ul>
<li> <li>
<a href="{PATH_TO_ROOT}/stats/stats{U_STATS_SITE}#stats"> <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_SITE}#stats">
<i class="fa fa-home"></i> <span>{L_SITE}</span> <i class="fa fa-home" aria-hidden="true"></i> <span>{L_SITE}</span>
</a> </a>
</li> </li>
<li> <li>
<a href="{PATH_TO_ROOT}/stats/stats{U_STATS_USERS}#stats"> <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_USERS}#stats">
<i class="fa fa-users"></i> <span>{L_USERS}</span> <i class="fa fa-users" aria-hidden="true"></i> <span>{L_USERS}</span>
</a> </a>
</li> </li>
<li> <li>
<a href="{PATH_TO_ROOT}/stats/stats{U_STATS_VISIT}#stats"> <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_VISIT}#stats">
<i class="fa fa-eye"></i> <span>{L_VISITS}</span> <i class="fa fa-eye" aria-hidden="true"></i> <span>{L_VISITS}</span>
</a> </a>
</li> </li>
<li> <li>
<a href="{PATH_TO_ROOT}/stats/stats{U_STATS_PAGES}#stats"> <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_PAGES}#stats">
<i class="fa fa-file-o"></i> <span>{L_PAGES}</span> <i class="far fa-file" aria-hidden="true"></i> <span>{L_PAGES}</span>
</a> </a>
</li> </li>
<li> <li>
<a href="{PATH_TO_ROOT}/stats/stats{U_STATS_BROWSER}#stats"> <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_BROWSER}#stats">
<i class="fa fa-globe"></i> <span>{L_BROWSERS}</span> <i class="fa fa-globe" aria-hidden="true"></i> <span>{L_BROWSERS}</span>
</a> </a>
</li> </li>
<li> <li>
<a href="{PATH_TO_ROOT}/stats/stats{U_STATS_OS}#stats"> <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_OS}#stats">
<i class="fa fa-laptop"></i> <span>{L_OS}</span> <i class="fa fa-laptop" aria-hidden="true"></i> <span>{L_OS}</span>
</a> </a>
</li> </li>
<li> <li>
<a href="{PATH_TO_ROOT}/stats/stats{U_STATS_LANG}#stats"> <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_LANG}#stats">
<i class="fa fa-flag-o"></i> <span>{L_LANG}</span> <i class="fa fa-flag" aria-hidden="true"></i> <span>{L_LANG}</span>
</a> </a>
</li> </li>
<li> <li>
<a href="{PATH_TO_ROOT}/stats/stats{U_STATS_REFERER}#stats"> <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_REFERER}#stats">
<i class="fa fa-share-square-o"></i> <span>{L_REFERER}</span> <i class="fa fa-share-square" aria-hidden="true"></i> <span>{L_REFERER}</span>
</a> </a>
</li> </li>
<li> <li>
<a href="{PATH_TO_ROOT}/stats/stats{U_STATS_KEYWORD}#stats"> <a href="{PATH_TO_ROOT}/stats/stats{U_STATS_KEYWORD}#stats">
<i class="fa fa-key"></i> <span>{L_KEYWORD}</span> <i class="fa fa-key" aria-hidden="true"></i> <span>{L_KEYWORD}</span>
</a> </a>
</li> </li>
</ul> </ul>
</nav> </nav>
# IF C_STATS_SITE # # IF C_STATS_SITE #
<table id="table"> <table id="table">
<thead> <thead>
<tr> <tr>
<th> <th>
{L_SITE} {L_SITE}
</th> </th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td> <td>
{L_START}: <strong>{START}</strong> {L_START}: <strong>{START}</strong>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
{L_VERSION} PHPBoost: <strong>{VERSION}</strong> {L_VERSION} PHPBoost: <strong>{VERSION}</strong>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
# ENDIF # # ENDIF #
# IF C_STATS_USERS # # IF C_STATS_USERS #
<article> <article>
<header> <header>
<h2>{L_USERS}</h2> <h2>{L_USERS}</h2>
</header> </header>
<table id="table"> <table id="table">
<thead> <thead>
<tr> <tr>
<th> <th>
{L_USERS} {L_USERS}
</th> </th>
<th> <th>
{L_LAST_USER} {L_LAST_USER}
</th> </th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td> <td>
{USERS} {USERS}
</td> </td>
<td> <td>
<a href="{U_LAST_USER_PROFILE}" class="{LAST_USER_LEVEL_CLASS}" # IF C_LAST_USER_GROUP_COLOR # style="color:{LAST_USER_GROUP_COLOR}" # ENDIF #>{LAST_USER}</a> <a href="{U_LAST_USER_PROFILE}" class="{LAST_USER_LEVEL_CLASS}" # IF C_LAST_USER_GROUP_COLOR # style="color:{LAST_USER_GROUP_COLOR}" # ENDIF #>{LAST_USER}</a>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div class="elements-container"> <div class="elements-container">
<h3>{L_TEMPLATES}</h3> <h3>{L_TEMPLATES}</h3>
<div class="block"> <div class="block">
{GRAPH_RESULT_THEME} {GRAPH_RESULT_THEME}
</div> </div>
<div class="block"> <div class="block">
<table id="table2"> <table id="table2">
<thead> <thead>
<tr> <tr>
<th> <th>
{L_TEMPLATES} {L_TEMPLATES}
</th> </th>
<th> <th>
{L_COLORS} {L_COLORS}
</th> </th>
<th> <th>
{L_USERS} {L_USERS}
</th> </th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
# START templates # # START templates #
<tr> <tr>
<td> <td>
{templates.THEME} <span class="smaller">({templates.PERCENT}%)</span> {templates.THEME} <span class="smaller">({templates.PERCENT}%)</span>
</td> </td>
<td> <td>
<div class="stats-color-square" style="background-color: {templates.COLOR};"></div> <div class="stats-color-square" style="background-color: {templates.COLOR};"></div>
</td> </td>
<td> <td>
{templates.NBR_THEME} {templates.NBR_THEME}
</td> </td>
</tr> </tr>
# END templates # # END templates #
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
# IF C_DISPLAY_SEX # # IF C_DISPLAY_SEX #
<div class="spacer"></div> <div class="spacer"></div>
<div class="elements-container"> <div class="elements-container">
<h3>{L_SEX}</h3> <h3>{L_SEX}</h3>
<div class="block"> <div class="block">
{GRAPH_RESULT_SEX} {GRAPH_RESULT_SEX}
</div> </div>
<div class="block"> <div class="block">
<table id="table3"> <table id="table3">
<thead> <thead>
<tr> <tr>
<th> <th>
{L_SEX} {L_SEX}
</th> </th>
<th> <th>
{L_COLORS} {L_COLORS}
</th> </th>
<th> <th>
{L_USERS} {L_USERS}
</th> </th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
# START sex # # START sex #
<tr> <tr>
<td> <td>
{sex.SEX} <span class="smaller">({sex.PERCENT}%)</span> {sex.SEX} <span class="smaller">({sex.PERCENT}%)</span>
</td> </td>
<td> <td>
<div class="stats-color-square" style="background-color: {sex.COLOR};"></div> <div class="stats-color-square" style="background-color: {sex.COLOR};"></div>
</td> </td>
<td> <td>
{sex.NBR_MBR} {sex.NBR_MBR}
</td> </td>
</tr> </tr>
# END sex # # END sex #
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
# ENDIF # # ENDIF #
<div class="spacer"></div> <div class="spacer"></div>
<table id="table4"> <table id="table4">
<thead> <thead>
<tr> <tr>
<th colspan="3"> <th colspan="3">
{L_TOP_TEN_POSTERS} {L_TOP_TEN_POSTERS}
</th> </th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td> <td>
N&deg; N&deg;
</td> </td>
<td> <td>
{L_PSEUDO} {L_PSEUDO}
</td> </td>
<td> <td>
{L_MSG} {L_MSG}
</td> </td>
</tr> </tr>
# START top_poster # # START top_poster #
<tr> <tr>
<td> <td>
{top_poster.ID} {top_poster.ID}
</td> </td>
<td> <td>
<a href="{top_poster.U_USER_PROFILE}" class="{top_poster.USER_LEVEL_CLASS}" # IF top_poster.C_USER_GROUP_COLOR # style="color: {top_poster.USER_GROUP_COLOR}" # ENDIF #>{top_poster.LOGIN}</a> <a href="{top_poster.U_USER_PROFILE}" class="{top_poster.USER_LEVEL_CLASS}" # IF top_poster.C_USER_GROUP_COLOR # style="color: {top_poster.USER_GROUP_COLOR}" # ENDIF #>{top_poster.LOGIN}</a>
</td> </td>
<td> <td>
{top_poster.USER_POST} {top_poster.USER_POST}
</td> </td>
</tr> </tr>
# END top_poster # # END top_poster #
</tbody> </tbody>
</table> </table>
</article> </article>
# ENDIF # # ENDIF #
# IF C_STATS_VISIT # # IF C_STATS_VISIT #
<form action="stats.php#stats" method="get"> <form action="stats.php#stats" method="get">
<article> <article>
<header> <header>
<h2>{L_VISITORS}</h2> <h2>{L_VISITORS}</h2>
</header> </header>
<div class="elements-container"> <div class="elements-container">
<div class="block block-xlarge"> <div class="block block-xlarge">
# IF U_YEAR #<div class="date-selector-filter">{MONTH} {U_YEAR}</div># ENDIF # # IF U_YEAR #<div class="date-selector-filter">{MONTH} {U_YEAR}</div># ENDIF #
<div class="date-selector-container"> <div class="date-selector-container">
<p class="text-strong">{L_TOTAL}: {VISIT_TOTAL} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {L_TODAY}: {VISIT_DAY}</p> <p class="text-strong">{L_TOTAL}: {VISIT_TOTAL} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {L_TODAY}: {VISIT_DAY}</p>
<a class="fa fa-arrow-left" href="stats{U_PREVIOUS_LINK}#stats"></a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="stats{U_PREVIOUS_LINK}#stats" aria-label="${LangLoader::get_message('previous', 'common')}"><i class="fa fa-arrow-left" aria-hidden="true" title="${LangLoader::get_message('previous', 'common')}"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;
# IF C_STATS_DAY # # IF C_STATS_DAY #
<select name="d"> <select name="d">
{STATS_DAY} {STATS_DAY}
</select> </select>
# ENDIF # # ENDIF #
# IF C_STATS_MONTH # # IF C_STATS_MONTH #
<select name="m"> <select name="m">
{STATS_MONTH} {STATS_MONTH}
</select> </select>
# ENDIF # # ENDIF #
# IF C_STATS_YEAR # # IF C_STATS_YEAR #
<select name="y"> <select name="y">
{STATS_YEAR} {STATS_YEAR}
</select> </select>
# ENDIF # # ENDIF #
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
<a class="fa fa-arrow-right" href="stats{U_NEXT_LINK}#stats"></a> <a href="stats{U_NEXT_LINK}#stats" aria-label="${LangLoader::get_message('next', 'common')}"><i class="fa fa-arrow-right" aria-hidden="true" title="${LangLoader::get_message('next', 'common')}"></i></a>
<br /><br />
<p> <p>
<input type="hidden" name="{TYPE}" value="1"> <input type="hidden" name="{TYPE}" value="1">
<input type="hidden" name="token" value="{TOKEN}"> <input type="hidden" name="token" value="{TOKEN}">
<button type="submit" name="date" value="true" class="submit">{L_SUBMIT}</button> <button type="submit" name="date" value="true" class="submit">{L_SUBMIT}</button>
</p> </p>
</div> </div>
</div> </div>
<div class="block"> <div class="block">
# IF C_STATS_NO_GD # # IF C_STATS_NO_GD #
<table id="table2"> <table id="table2">
<tbody> <tbody>
<tr> <tr>
<td></td> <td></td>
<td> <td>
{MAX_NBR} {MAX_NBR}
</td> </td>
# START values # # START values #
<td> <td>
<table> <table>
<tbody> <tbody>
# START values.head # # START values.head #
<tr> <tr>
<td class="table-values-head"> <td class="table-values-head">
</td> </td>
</tr> </tr>
# END values.head # # END values.head #
<tr> <tr>
<td class="table-values" style="height: {values.HEIGHT}px;"> <td class="table-values" style="height: {values.HEIGHT}px;">
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</td> </td>
# END values # # END values #
# START end_td # # START end_td #
{end_td.END_TD} {end_td.END_TD}
# END end_td # # END end_td #
</tr> </tr>
<tr> <tr>
<td></td> <td></td>
<td> <td>
0 0
</td> </td>
# START legend # # START legend #
<td> <td>
{legend.LEGEND} {legend.LEGEND}
</td> </td>
# END legend # # END legend #
</tr> </tr>
<tr> <tr>
<td colspan="{COLSPAN}"></td> <td colspan="{COLSPAN}"></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<br />
# ENDIF # # ENDIF #
{GRAPH_RESULT} {GRAPH_RESULT}
<p class="center">{L_TOTAL}: {SUM_NBR}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{L_AVERAGE}: {MOY_NBR}</p> <p class="center">{L_TOTAL}: {SUM_NBR}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{L_AVERAGE}: {MOY_NBR}</p>
<p class="center">{U_VISITS_MORE}</p> <p class="center">{U_VISITS_MORE}</p>
</div> </div>
<div class="block"> <div class="block">
<table id="table"> <table id="table">
<thead> <thead>
<tr> <tr>
<th> <th>
{L_DAY} {L_DAY}
</th> </th>
<th> <th>
{L_VISITS_DAY} {L_VISITS_DAY}
</th> </th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
# START value # # START value #
<tr> <tr>
<td> <td>
{value.U_DETAILS} {value.U_DETAILS}
</td> </td>
<td> <td>
{value.NBR} {value.NBR}
</td> </td>
</tr> </tr>
# END value # # END value #
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
<div class="spacer"></div> <div class="spacer"></div>
</article> </article>
</form> </form>
# ENDIF # # ENDIF #
# IF C_STATS_BROWSERS # # IF C_STATS_BROWSERS #
<article> <article>
<header> <header>
<h2>{L_BROWSERS}</h2> <h2>{L_BROWSERS}</h2>
</header> </header>
<div class="content elements-container"> <div class="content elements-container">
<div class="block"> <div class="block">
{GRAPH_RESULT} {GRAPH_RESULT}
</div> </div>
<div class="block"> <div class="block">
<table id="table"> <table id="table">
<thead> <thead>
<tr> <tr>
<th>{L_BROWSERS}</th> <th>{L_BROWSERS}</th>
<th>{L_COLORS}</th> <th>{L_COLORS}</th>
<th>{L_PERCENTAGE}</th> <th>{L_PERCENTAGE}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
# START list # # START list #
<tr> <tr>
<td class="no-separator"> <td class="no-separator">
{list.IMG} {list.IMG}
</td> </td>
<td class="no-separator"> <td class="no-separator">
<div class="stats-color-square" style="background-color: {list.COLOR};"></div> <div class="stats-color-square" style="background-color: {list.COLOR};"></div>
</td> </td>
<td class="no-separator"> <td class="no-separator">
{list.L_NAME} <span class="smaller">({list.PERCENT}%)</span> {list.L_NAME} <span class="smaller">({list.PERCENT}%)</span>
</td> </td>
</tr> </tr>
# END list # # END list #
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
<div class="spacer"></div> <div class="spacer"></div>
</article> </article>
# ENDIF # # ENDIF #
# IF C_STATS_OS # # IF C_STATS_OS #
<article> <article>
<header> <header>
<h2>{L_OS}</h2> <h2>{L_OS}</h2>
</header> </header>
<div class="elements-container"> <div class="elements-container">
<div class="block"> <div class="block">
{GRAPH_RESULT} {GRAPH_RESULT}
</div> </div>
<div class="block"> <div class="block">
<table id="table"> <table id="table">
<thead> <thead>
<tr> <tr>
<th>{L_OS}</th> <th>{L_OS}</th>
<th>{L_COLORS}</th> <th>{L_COLORS}</th>
<th>{L_PERCENTAGE}</th> <th>{L_PERCENTAGE}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
# START list # # START list #
<tr> <tr>
<td class="no-separator"> <td class="no-separator">
{list.IMG} {list.IMG}
</td> </td>
<td class="no-separator"> <td class="no-separator">
<div class="stats-color-square" style="background-color: {list.COLOR};"></div> <div class="stats-color-square" style="background-color: {list.COLOR};"></div>
</td> </td>
<td class="no-separator"> <td class="no-separator">
{list.L_NAME} <span class="smaller">({list.PERCENT}%)</span> {list.L_NAME} <span class="smaller">({list.PERCENT}%)</span>
</td> </td>
</tr> </tr>
# END list # # END list #
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
<div class="spacer"></div> <div class="spacer"></div>
</article> </article>
# ENDIF # # ENDIF #
# IF C_STATS_LANG # # IF C_STATS_LANG #
<article> <article>
<header> <header>
<h2>{L_LANG}</h2> <h2>{L_LANG}</h2>
</header> </header>
<div class="elements-container"> <div class="elements-container">
<div class="block"> <div class="block">
{GRAPH_RESULT} {GRAPH_RESULT}
</div> </div>
<div class="block"> <div class="block">
<table id="table"> <table id="table">
<thead> <thead>
<tr> <tr>
<th>{L_LANG}</th> <th>{L_LANG}</th>
<th>{L_COLORS}</th> <th>{L_COLORS}</th>
<th>{L_PERCENTAGE}</th> <th>{L_PERCENTAGE}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
# START list # # START list #
<tr> <tr>
<td class="no-separator"> <td class="no-separator">
{list.IMG} {list.IMG}
</td> </td>
<td class="no-separator"> <td class="no-separator">
<div class="stats-color-square" style="background-color: {list.COLOR};"></div> <div class="stats-color-square" style="background-color: {list.COLOR};"></div>
</td> </td>
<td class="no-separator"> <td class="no-separator">
{list.L_NAME} <span class="smaller">({list.PERCENT}%)</span> {list.L_NAME} <span class="smaller">({list.PERCENT}%)</span>
</td> </td>
</tr> </tr>
# END list # # END list #
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
<div class="spacer"></div> <div class="spacer"></div>
</article> </article>
# ENDIF # # ENDIF #
# IF C_STATS_REFERER # # IF C_STATS_REFERER #
<script> <script>
<!-- <!--
function XMLHttpRequest_referer(divid) function XMLHttpRequest_referer(divid)
{ {
if ( document.getElementById('url' + divid).style.display != 'none' ) if ( document.getElementById('url' + divid).style.display != 'none' )
{ {
jQuery('#url' + divid).fadeToggle(); jQuery('#url' + divid).fadeToggle();
document.getElementById('img-url-' + divid).className = 'fa fa-plus-square-o'; document.getElementById('img-url-' + divid).className = 'far fa-plus-square';
} }
else else
{ {
var xhr_object = null; var xhr_object = null;
var filename = '{PATH_TO_ROOT}/stats/ajax/stats_xmlhttprequest.php?token={TOKEN}&stats_referer=1&id=' + divid; var filename = '{PATH_TO_ROOT}/stats/ajax/stats_xmlhttprequest.php?token={TOKEN}&stats_referer=1&id=' + divid;
var data = null; var data = null;
if (window.XMLHttpRequest) // Firefox if (window.XMLHttpRequest) // Firefox
xhr_object = new XMLHttpRequest(); xhr_object = new XMLHttpRequest();
else if (window.ActiveXObject) // Internet Explorer else if (window.ActiveXObject) // Internet Explorer
xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
else // XMLHttpRequest non support? par le navigateur else // XMLHttpRequest non support? par le navigateur
return; return;
document.getElementById('load' + divid).innerHTML = '<i class="fa fa-spinner fa-spin"></i>'; document.getElementById('load' + divid).innerHTML = '<i class="fa fa-spinner fa-spin"></i>';
xhr_object.open("POST", filename, true); xhr_object.open("POST", filename, true);
xhr_object.onreadystatechange = function() xhr_object.onreadystatechange = function()
{ {
if ( xhr_object.readyState == 4 && xhr_object.status == 200 && xhr_object.responseText != '' ) if ( xhr_object.readyState == 4 && xhr_object.status == 200 && xhr_object.responseText != '' )
{ {
jQuery('#url' + divid).fadeToggle(); jQuery('#url' + divid).fadeToggle();
document.getElementById('url' + divid).innerHTML = xhr_object.responseText; document.getElementById('url' + divid).innerHTML = xhr_object.responseText;
document.getElementById('load' + divid).innerHTML = ''; document.getElementById('load' + divid).innerHTML = '';
document.getElementById('img-url-' + divid).className = 'fa fa-minus-square-o'; document.getElementById('img-url-' + divid).className = 'far fa-minus-square';
} }
else if ( xhr_object.readyState == 4 && xhr_object.responseText == '' ) else if ( xhr_object.readyState == 4 && xhr_object.responseText == '' )
document.getElementById('load' + divid).innerHTML = ''; document.getElementById('load' + divid).innerHTML = '';
} }
xmlhttprequest_sender(xhr_object, null); xmlhttprequest_sender(xhr_object, null);
} }
} }
--> -->
</script> </script>
<article> <article>
<header> <header>
<h2>{L_REFERER}</h2> <h2>{L_REFERER}</h2>
</header> </header>
<table id="table"> <table id="table">
<thead> <thead>
<tr> <tr>
<th> <th>
{L_REFERER} {L_REFERER}
</th> </th>
<th class="total-head"> <th class="total-head">
{L_TOTAL_VISIT} {L_TOTAL_VISIT}
</th> </th>
<th class="average-head"> <th class="average-head">
{L_AVERAGE_VISIT} {L_AVERAGE_VISIT}
</th> </th>
<th class="last-update-head"> <th class="last-update-head">
{L_LAST_UPDATE} {L_LAST_UPDATE}
</th> </th>
<th class="trend-head"> <th class="trend-head">
{L_TREND} {L_TREND}
</th> </th>
</tr> </tr>
</thead> </thead>
# IF C_PAGINATION #
<tfoot>
<tr>
<td colspan="5">
# INCLUDE PAGINATION #
</td>
</tr>
</tfoot>
# ENDIF #
<tbody> <tbody>
# START referer_list # # START referer_list #
<tr> <tr>
<td> <td>
<a class="fa fa-plus-square-o" style="cursor: pointer;" onclick="XMLHttpRequest_referer({referer_list.ID})" id="img-url-{referer_list.ID}"></a> <span class="smaller">({referer_list.NBR_LINKS})</span> <a href="{referer_list.URL}">{referer_list.URL}</a> <span id="load{referer_list.ID}"></span> <a class="far fa-plus-square" style="cursor: pointer;" onclick="XMLHttpRequest_referer({referer_list.ID})" id="img-url-{referer_list.ID}"></a> <span class="smaller">({referer_list.NBR_LINKS})</span> <a href="{referer_list.URL}">{referer_list.URL}</a> <span id="load{referer_list.ID}"></span>
</td> </td>
<td> <td>
{referer_list.TOTAL_VISIT} {referer_list.TOTAL_VISIT}
</td> </td>
<td> <td>
{referer_list.AVERAGE_VISIT} {referer_list.AVERAGE_VISIT}
</td> </td>
<td> <td>
{referer_list.LAST_UPDATE} {referer_list.LAST_UPDATE}
</td> </td>
<td> <td>
{referer_list.TREND} {referer_list.TREND}
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="5" > <td colspan="5" >
<div id="url{referer_list.ID}" style="display: none;width: 100%;"></div> <div id="url{referer_list.ID}" style="display: none;width: 100%;"></div>
</td> </td>
</tr> </tr>
# END referer_list # # END referer_list #
# IF NOT C_REFERERS # # IF NOT C_REFERERS #
<tr> <tr>
<td colspan="5"> <td colspan="5">
{L_NO_REFERER} {L_NO_REFERER}
</td> </td>
</tr> </tr>
# ENDIF # # ENDIF #
</tbody> </tbody>
# IF C_PAGINATION #
<tfoot>
<tr>
<td colspan="5">
# INCLUDE PAGINATION #
</td>
</tr>
</tfoot>
# ENDIF #
</table> </table>
</article> </article>
# ENDIF # # ENDIF #
# IF C_STATS_KEYWORD # # IF C_STATS_KEYWORD #
<script> <script>
<!-- <!--
function XMLHttpRequest_referer(divid) function XMLHttpRequest_referer(divid)
{ {
if ( document.getElementById('url' + divid).style.display != 'none' ) if ( document.getElementById('url' + divid).style.display != 'none' )
{ {
jQuery('#url' + divid).fadeToggle(); jQuery('#url' + divid).fadeToggle();
document.getElementById('img-url-' + divid).className = 'fa fa-plus-square-o'; document.getElementById('img-url-' + divid).className = 'far fa-plus-square';
} }
else else
{ {
document.getElementById('load' + divid).innerHTML = '<i class="fa fa-spinner fa-spin"></i>'; document.getElementById('load' + divid).innerHTML = '<i class="fa fa-spinner fa-spin"></i>';
var xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/stats/ajax/stats_xmlhttprequest.php?token={TOKEN}&stats_keyword=1&id=' + divid); var xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/stats/ajax/stats_xmlhttprequest.php?token={TOKEN}&stats_keyword=1&id=' + divid);
xhr_object.onreadystatechange = function() xhr_object.onreadystatechange = function()
{ {
if ( xhr_object.readyState == 4 && xhr_object.status == 200 && xhr_object.responseText != '' ) if ( xhr_object.readyState == 4 && xhr_object.status == 200 && xhr_object.responseText != '' )
{ {
jQuery('#url' + divid).fadeToggle(); jQuery('#url' + divid).fadeToggle();
document.getElementById('url' + divid).innerHTML = xhr_object.responseText; document.getElementById('url' + divid).innerHTML = xhr_object.responseText;
document.getElementById('load' + divid).innerHTML = ''; document.getElementById('load' + divid).innerHTML = '';
document.getElementById('img-url-' + divid).className = 'fa fa-minus-square-o'; document.getElementById('img-url-' + divid).className = 'far fa-minus-square';
} }
else if ( xhr_object.readyState == 4 && xhr_object.responseText == '' ) else if ( xhr_object.readyState == 4 && xhr_object.responseText == '' )
document.getElementById('load' + divid).innerHTML = ''; document.getElementById('load' + divid).innerHTML = '';
} }
xmlhttprequest_sender(xhr_object, null); xmlhttprequest_sender(xhr_object, null);
} }
} }
--> -->
</script> </script>
<article> <article>
<header> <header>
<h2>{L_KEYWORD}</h2> <h2>{L_KEYWORD}</h2>
</header> </header>
<table> <table>
<thead> <thead>
<tr> <tr>
<th> <th>
{L_KEYWORD} {L_KEYWORD}
</th> </th>
<th class="total-head"> <th class="total-head">
{L_TOTAL_VISIT} {L_TOTAL_VISIT}
</th> </th>
<th class="average-head"> <th class="average-head">
{L_AVERAGE_VISIT} {L_AVERAGE_VISIT}
</th> </th>
<th class="last-update-head"> <th class="last-update-head">
{L_LAST_UPDATE} {L_LAST_UPDATE}
</th> </th>
<th class="trend-head"> <th class="trend-head">
{L_TREND} {L_TREND}
</th> </th>
</tr> </tr>
</thead> </thead>
# IF C_PAGINATION #
<tfoot>
<tr>
<td colspan="5">
# INCLUDE PAGINATION #
</td>
</tr>
</tfoot>
# ENDIF #
<tbody> <tbody>
# START keyword_list # # START keyword_list #
<tr> <tr>
<td> <td>
<a class="fa fa-plus-square-o" style="cursor: pointer;" onclick="XMLHttpRequest_referer({keyword_list.ID})" id="img-url-{keyword_list.ID}"></a> <span class="smaller">({keyword_list.NBR_LINKS})</span> {keyword_list.KEYWORD} <span id="load{keyword_list.ID}"></span> <a class="far fa-plus-square" style="cursor: pointer;" onclick="XMLHttpRequest_referer({keyword_list.ID})" id="img-url-{keyword_list.ID}"></a> <span class="smaller">({keyword_list.NBR_LINKS})</span> {keyword_list.KEYWORD} <span id="load{keyword_list.ID}"></span>
</td> </td>
<td> <td>
{keyword_list.TOTAL_VISIT} {keyword_list.TOTAL_VISIT}
</td> </td>
<td> <td>
{keyword_list.AVERAGE_VISIT} {keyword_list.AVERAGE_VISIT}
</td> </td>
<td> <td>
{keyword_list.LAST_UPDATE} {keyword_list.LAST_UPDATE}
</td> </td>
<td> <td>
{keyword_list.TREND} {keyword_list.TREND}
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="5"> <td colspan="5">
<div id="url{keyword_list.ID}" style="display: none;width: 100%;"></div> <div id="url{keyword_list.ID}" style="display: none;width: 100%;"></div>
</td> </td>
</tr> </tr>
# END keyword_list # # END keyword_list #
# IF NOT C_KEYWORDS # # IF NOT C_KEYWORDS #
<tr> <tr>
<td colspan="5"> <td colspan="5">
{L_NO_KEYWORD} {L_NO_KEYWORD}
</td> </td>
</tr> </tr>
# ENDIF # # ENDIF #
</tbody> </tbody>
# IF C_PAGINATION #
<tfoot>
<tr>
<td colspan="5">
# INCLUDE PAGINATION #
</td>
</tr>
</tfoot>
# ENDIF #
</table> </table>
</article> </article>
# ENDIF # # ENDIF #
</section> </section>
<script>
<!--
function open_submenu(myid)
{
jQuery('#' + myid).toggleClass('active');
}
-->
</script>
Editor
Original Text
Changed Text
Recommended videos