| 155 |
- |
1 |
<table width="100%" class="list">
|
| 103 |
- |
2 |
<tr class="listHead">
|
| 155 |
- |
3 |
<td><?php echo $spText['common']['Url']?></td>
|
| 103 |
- |
4 |
<td><?php echo $spTextPS['Desktop Speed']?></td>
|
|
|
5 |
<td><?php echo $spTextPS['Mobile Speed']?></td>
|
| 155 |
- |
6 |
<td><?php echo $spText['common']['Details']?></td>
|
| 103 |
- |
7 |
</tr>
|
|
|
8 |
<?php
|
| 155 |
- |
9 |
$colCount = 4;
|
| 103 |
- |
10 |
if(count($list) > 0){
|
| 155 |
- |
11 |
foreach($list as $url) {
|
| 103 |
- |
12 |
$debugVar = !empty($_POST['debug']) ? "&debug=1" : "";
|
| 155 |
- |
13 |
$debugVar .= !empty($_POST['debug_format']) ? "&debug_format=" . $_POST['debug_format'] : "" ;
|
| 103 |
- |
14 |
?>
|
| 155 |
- |
15 |
<tr>
|
|
|
16 |
<td style="text-align:left;padding-left:10px;"><?php echo $url?></td>
|
|
|
17 |
<td><?php echo $reportList[$url]['desktop']['speed_score'] ? $reportList[$url]['desktop']['speed_score'] : 0;?> / 100</td>
|
|
|
18 |
<td><?php echo $reportList[$url]['mobile']['speed_score'] ? $reportList[$url]['mobile']['speed_score'] : 0;?> / 100</td>
|
|
|
19 |
<td>
|
|
|
20 |
<a href="https://developers.google.com/speed/pagespeed/insights/?url=<?php echo $url; ?>" target="_blank">
|
|
|
21 |
<?php echo $spText['common']['Details']?> >>
|
|
|
22 |
</a>
|
| 103 |
- |
23 |
</td>
|
|
|
24 |
</tr>
|
|
|
25 |
<?php
|
|
|
26 |
}
|
|
|
27 |
}else{
|
|
|
28 |
echo showNoRecordsList($colCount-2);
|
|
|
29 |
}
|
|
|
30 |
?>
|
|
|
31 |
</table>
|