PHP short-open-tags fixed

This commit is contained in:
Frank Agerholm 2018-12-27 16:00:48 +01:00
commit 2679cd9e4a
12 changed files with 21 additions and 21 deletions

View file

@ -1,4 +1,4 @@
<?
<?php
include("retwis.php");
if (!isLoggedIn()) {
header("Location: index.php");
@ -9,7 +9,7 @@ $r = redisLink();
?>
<div id="postform">
<form method="POST" action="post.php">
<?=utf8entities($User['username'])?>, what you are doing?
<?php echo utf8entities($User['username']) ?>, what you are doing?
<br>
<table>
<tr><td><textarea cols="70" rows="3" name="status"></textarea></td></tr>
@ -17,11 +17,11 @@ $r = redisLink();
</table>
</form>
<div id="homeinfobox">
<?=$r->zcard("followers:".$User['id'])?> followers<br>
<?=$r->zcard("following:".$User['id'])?> following<br>
<?php echo $r->zcard("followers:".$User['id'])?> followers<br>
<?php echo $r->zcard("following:".$User['id'])?> following<br>
</div>
</div>
<?
<?php
$start = gt("start") === false ? 0 : intval(gt("start"));
showUserPostsWithPagination(false,$User['id'],$start,10);
include("footer.php")