|
@@ -79,13 +79,25 @@ class LotteryImageService
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$time = now()->format('Y-m-d H:i:s');
|
|
$time = now()->format('Y-m-d H:i:s');
|
|
|
-
|
|
|
|
|
|
|
+ $lang = App::getLocale();
|
|
|
|
|
+ $group_language = Config::where('field', 'group_language')->first()->val;
|
|
|
|
|
+ App::setLocale($group_language);
|
|
|
|
|
+ $Canada28LotteryResults = lang("加拿大28开奖记录");
|
|
|
|
|
+ $recentLotteryResults = lang("最近开奖记录");
|
|
|
|
|
+ $th1 = lang("回合");
|
|
|
|
|
+ $th2 = lang("结果");
|
|
|
|
|
+ $th3 = lang("组合");
|
|
|
|
|
+ $th4 = lang("极值");
|
|
|
|
|
+ $th5 = lang("尾数");
|
|
|
|
|
+ $createdTime = lang("生成时间");
|
|
|
|
|
+ $dataForReferenceOnly = lang("数据仅供参考");
|
|
|
|
|
+ App::setLocale($lang);
|
|
|
return <<<HTML
|
|
return <<<HTML
|
|
|
<!DOCTYPE html>
|
|
<!DOCTYPE html>
|
|
|
<html>
|
|
<html>
|
|
|
<head>
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
<meta charset="UTF-8">
|
|
|
-<title>加拿大28开奖记录</title>
|
|
|
|
|
|
|
+<title>{$Canada28LotteryResults}</title>
|
|
|
<style>
|
|
<style>
|
|
|
body {
|
|
body {
|
|
|
font-family: "Microsoft YaHei", Arial, sans-serif;
|
|
font-family: "Microsoft YaHei", Arial, sans-serif;
|
|
@@ -143,17 +155,17 @@ body {
|
|
|
<body>
|
|
<body>
|
|
|
<div class="container">
|
|
<div class="container">
|
|
|
<div class="header">
|
|
<div class="header">
|
|
|
- <h1>加拿大28开奖记录</h1>
|
|
|
|
|
- <div class="subtitle">最近开奖记录</div>
|
|
|
|
|
|
|
+ <h1>{$Canada28LotteryResults}</h1>
|
|
|
|
|
+ <div class="subtitle">{$recentLotteryResults}</div>
|
|
|
</div>
|
|
</div>
|
|
|
<table class="results-table">
|
|
<table class="results-table">
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr>
|
|
<tr>
|
|
|
- <th>回合</th>
|
|
|
|
|
- <th>结果</th>
|
|
|
|
|
- <th>组合</th>
|
|
|
|
|
- <th>极值</th>
|
|
|
|
|
- <th>尾数</th>
|
|
|
|
|
|
|
+ <th>{$th1}</th>
|
|
|
|
|
+ <th>{$th2}</th>
|
|
|
|
|
+ <th>{$th3}</th>
|
|
|
|
|
+ <th>{$th4}</th>
|
|
|
|
|
+ <th>{$th5}</th>
|
|
|
</tr>
|
|
</tr>
|
|
|
</thead>
|
|
</thead>
|
|
|
<tbody>
|
|
<tbody>
|
|
@@ -161,7 +173,7 @@ body {
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
|
<div class="footer">
|
|
<div class="footer">
|
|
|
- 生成时间: {$time} | 数据仅供参考
|
|
|
|
|
|
|
+ {$createdTime}: {$time} | {$dataForReferenceOnly}
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</body>
|
|
</body>
|