mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-14 18:24:54 +02:00
make shop images work with SSL (https) (#501)
This commit is contained in:
6
shop.php
6
shop.php
@@ -220,7 +220,7 @@ foreach ($shop_list as $key => $offer) {
|
|||||||
<tr class="special">
|
<tr class="special">
|
||||||
<td><?php echo $offers['description']; ?></td>
|
<td><?php echo $offers['description']; ?></td>
|
||||||
<?php if ($config['shop']['showImage']):?>
|
<?php if ($config['shop']['showImage']):?>
|
||||||
<td><img src="http://<?php echo $config['shop']['imageServer']; ?>/<?php echo $offers['itemid']; ?>.<?php echo $config['shop']['imageType']; ?>" alt="img"></td>
|
<td><img src="//<?php echo $config['shop']['imageServer']; ?>/<?php echo $offers['itemid']; ?>.<?php echo $config['shop']['imageType']; ?>" alt="img"></td>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<td><?php echo $offers['count']; ?>x</td>
|
<td><?php echo $offers['count']; ?>x</td>
|
||||||
<td><?php echo $offers['points']; ?></td>
|
<td><?php echo $offers['points']; ?></td>
|
||||||
@@ -251,7 +251,7 @@ foreach ($shop_list as $key => $offer) {
|
|||||||
<tr class="special">
|
<tr class="special">
|
||||||
<td><?php echo $offers['description']; ?></td>
|
<td><?php echo $offers['description']; ?></td>
|
||||||
<?php if ($config['shop']['showImage']):?>
|
<?php if ($config['shop']['showImage']):?>
|
||||||
<td><img src="http://<?php echo $config['shop']['imageServer']; ?>/<?php echo $offers['itemid']; ?>.<?php echo $config['shop']['imageType']; ?>" alt="img"></td>
|
<td><img src="//<?php echo $config['shop']['imageServer']; ?>/<?php echo $offers['itemid']; ?>.<?php echo $config['shop']['imageType']; ?>" alt="img"></td>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<td><?php echo $offers['count']; ?> Days</td>
|
<td><?php echo $offers['count']; ?> Days</td>
|
||||||
<td><?php echo $offers['points']; ?></td>
|
<td><?php echo $offers['points']; ?></td>
|
||||||
@@ -351,7 +351,7 @@ foreach ($shop_list as $key => $offer) {
|
|||||||
<tr class="special">
|
<tr class="special">
|
||||||
<td><?php echo $offers['description']; ?></td>
|
<td><?php echo $offers['description']; ?></td>
|
||||||
<?php if ($config['shop']['showImage']):?>
|
<?php if ($config['shop']['showImage']):?>
|
||||||
<td><img src="http://<?php echo $config['shop']['imageServer']; ?>/<?php echo $offers['itemid']; ?>.<?php echo $config['shop']['imageType']; ?>" alt="img"></td>
|
<td><img src="//<?php echo $config['shop']['imageServer']; ?>/<?php echo $offers['itemid']; ?>.<?php echo $config['shop']['imageType']; ?>" alt="img"></td>
|
||||||
<?php endif;
|
<?php endif;
|
||||||
if ($offers['count'] === 0): ?>
|
if ($offers['count'] === 0): ?>
|
||||||
<td>Unlimited</td>
|
<td>Unlimited</td>
|
||||||
|
Reference in New Issue
Block a user