studio ide upload code fixes
This commit is contained in:
parent
1694d58526
commit
7194aeb391
|
|
@ -4,15 +4,17 @@ $games_html = "";
|
||||||
$games = getAllGames($user->id)->fetchAll(PDO::FETCH_ASSOC);
|
$games = getAllGames($user->id)->fetchAll(PDO::FETCH_ASSOC);
|
||||||
foreach ($games as $game)
|
foreach ($games as $game)
|
||||||
{
|
{
|
||||||
$placethumbnail = handleGameThumb($game[id]);
|
$placeid = $game['id'];
|
||||||
|
$placethumbnail = handleGameThumb($placeid);
|
||||||
|
$placename = $game['Name'];
|
||||||
$games_html .= <<<EOT
|
$games_html .= <<<EOT
|
||||||
<li>
|
<li>
|
||||||
<div class="studio-place-card text-center" style="cursor: pointer;" onclick="updateGame({$game[id]})">
|
<div class="studio-place-card text-center" style="cursor: pointer;" onclick="updateGame({$placeid})">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<div class="studio-place-card-img">
|
<div class="studio-place-card-img">
|
||||||
<img class="img-fluid" src="{$placethumbnail}">
|
<img class="img-fluid" src="{$placethumbnail}">
|
||||||
</div>
|
</div>
|
||||||
<p class="no-overflow">{$game[Name]}</p>
|
<p class="no-overflow">{$placename}</p>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue