mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-13 07:59:20 +00:00
日常开发
This commit is contained in:
@@ -15,7 +15,7 @@ class IPIP
|
||||
*/
|
||||
public static function ip($ip)
|
||||
{
|
||||
$filePath = storage_path('ipip.ipdb');
|
||||
$filePath = public_path('ipip.ipdb');
|
||||
|
||||
$loc = new City($filePath);
|
||||
$result = $loc->findMap($ip, 'CN');
|
||||
|
||||
@@ -15,7 +15,7 @@ class QQWry
|
||||
*/
|
||||
public static function ip($ip)
|
||||
{
|
||||
$filePath = storage_path('qqwry.dat');
|
||||
$filePath = public_path('qqwry.dat');
|
||||
|
||||
return IpLocation::getLocation($ip, $filePath);
|
||||
}
|
||||
|
||||
0
storage/ipip.ipdb → public/ipip.ipdb
Executable file → Normal file
0
storage/ipip.ipdb → public/ipip.ipdb
Executable file → Normal file
0
storage/qqwry.dat → public/qqwry.dat
Executable file → Normal file
0
storage/qqwry.dat → public/qqwry.dat
Executable file → Normal file
@@ -15,9 +15,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body">
|
||||
<div class="search-container bordered">
|
||||
<div class="search-container">
|
||||
@if($articleList->isEmpty())
|
||||
<p style="text-align:center;">{{trans('home.invoice_table_none')}} </p>
|
||||
<div style="text-align: center;"><h3>{{trans('home.invoice_table_none')}}</h3></div>
|
||||
@else
|
||||
<ul>
|
||||
@foreach($articleList as $key => $article)
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<tbody>
|
||||
@if($orderList->isEmpty())
|
||||
<tr>
|
||||
<td colspan="8">{{trans('home.invoice_table_none')}}</td>
|
||||
<td colspan="8"><h3>{{trans('home.invoice_table_none')}}</h3></td>
|
||||
</tr>
|
||||
@else
|
||||
@foreach($orderList as $key => $order)
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
</div>
|
||||
@if(Auth::user()->subscribe->status)
|
||||
@if($nodeList->isEmpty())
|
||||
<h2>请先<a href="{{url('services')}}">购买服务</a></h2>
|
||||
<div style="text-align: center;"><h2>请先<a href="{{url('services')}}">购买服务</a></h2></div>
|
||||
@else
|
||||
<div class="portlet-body">
|
||||
<div class="mt-clipboard-container">
|
||||
@@ -158,7 +158,7 @@
|
||||
</div>
|
||||
@endif
|
||||
@else
|
||||
<h3>{{trans('home.subscribe_baned')}}</h3>
|
||||
<div style="text-align: center;"><h3>{{trans('home.subscribe_baned')}}</h3></div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<tbody>
|
||||
@if($ticketList->isEmpty())
|
||||
<tr>
|
||||
<td colspan="4" style="text-align: center;"> {{trans('home.ticket_table_none')}} </td>
|
||||
<td colspan="4" style="text-align: center;"> <h3>{{trans('home.ticket_table_none')}}</h3> </td>
|
||||
</tr>
|
||||
@else
|
||||
@foreach($ticketList as $key => $ticket)
|
||||
|
||||
Reference in New Issue
Block a user