Fix more unquoted array keys

This commit is contained in:
Xkeeper 2018-01-24 19:49:42 -08:00
parent 90391fe625
commit 9c055df5a9
2 changed files with 7 additions and 7 deletions

View File

@ -131,7 +131,7 @@
if(!$user['posts'] or $user['posts']>=$topposts or $projdate>2000000000 or $projdate<ctime()) $projdate=""; if(!$user['posts'] or $user['posts']>=$topposts or $projdate>2000000000 or $projdate<ctime()) $projdate="";
else $projdate=" -- Projected date for $topposts posts: ".date($dateformat,$projdate+$tzoff); else $projdate=" -- Projected date for $topposts posts: ".date($dateformat,$projdate+$tzoff);
if($user['minipic']) $minipic="<img src=\"". htmlspecialchars($user[minipic]) ."\" width=16 height=16 align=absmiddle> "; if($user['minipic']) $minipic="<img src=\"". htmlspecialchars($user['minipic']) ."\" width=16 height=16 align=absmiddle> ";
$homepagename=$user['homepageurl']; $homepagename=$user['homepageurl'];
if($user['homepagename']) $homepagename="$user[homepagename]</a> - $user[homepageurl]"; if($user['homepagename']) $homepagename="$user[homepagename]</a> - $user[homepageurl]";
if($user['postbg']) $postbg="<div style='background:url($user[postbg]);' height=100%>"; if($user['postbg']) $postbg="<div style='background:url($user[postbg]);' height=100%>";

View File

@ -5,7 +5,7 @@
print " print "
$header $header
$fonttag $fonttag
Show: <a href=\"?\">layout sizes</a> - <a href=\"?bio=1\">bio sizes</a> Show: <a href=\"?\">layout sizes</a> - <a href=\"?bio=1\">bio sizes</a>
<br>$tblstart <br>$tblstart
$tccellh>&nbsp;</td> $tccellh>&nbsp;</td>
$tccellh colspan=2>User</td> $tccellh colspan=2>User</td>
@ -26,11 +26,11 @@
print "<tr> print "<tr>
$tccell2>". ($lm ? "<img src=\"images/smilies/denied.gif\" title=\"Say no to the layout maker!\" align=absmiddle> $r <img src=\"images/smilies/denied.gif\" title=\"Say no to the layout maker!\" align=absmiddle>" : "$r") ."</td> $tccell2>". ($lm ? "<img src=\"images/smilies/denied.gif\" title=\"Say no to the layout maker!\" align=absmiddle> $r <img src=\"images/smilies/denied.gif\" title=\"Say no to the layout maker!\" align=absmiddle>" : "$r") ."</td>
$tccell2 width=16>". ($u['minipic'] ? "<img src=\"". htmlspecialchars($u['minipic']) ."\" width=16 height=16>" : "") ."</td> $tccell2 width=16>". ($u['minipic'] ? "<img src=\"". htmlspecialchars($u['minipic']) ."\" width=16 height=16>" : "") ."</td>
$tccell1><a href=profile.php?id=$u[id]><font ". getnamecolor($u[sex], $u[powerlevel]) .">$u[name]</font></a></td> $tccell1><a href=profile.php?id=$u[id]><font ". getnamecolor($u['sex'], $u['powerlevel']) .">$u[name]</font></a></td>
". (!$_GET['bio'] ? "$tccell2 width=100>". number_format($u[hsize]) ."</td> ". (!$_GET['bio'] ? "$tccell2 width=100>". number_format($u['hsize']) ."</td>
$tccell2 width=100>". number_format($u[ssize]) ."</td>" : "") ." $tccell2 width=100>". number_format($u['ssize']) ."</td>" : "") ."
$tccell1 width=100><b>". number_format($u[tsize]) ."</b><br><img src=images/minibar.png width=\"". number_format($u['tsize'] / $max * 200) ."\" align=left height=3></td></tr>"; $tccell1 width=100><b>". number_format($u['tsize']) ."</b><br><img src=images/minibar.png width=\"". number_format($u['tsize'] / $max * 200) ."\" align=left height=3></td></tr>";
} }
print $tblend.$footer; print $tblend.$footer;
printtimedif($startingtime); printtimedif($startingtime);
?> ?>