PHP short-open-tags fixed
This commit is contained in:
parent
74fa8136d2
commit
2679cd9e4a
12 changed files with 21 additions and 21 deletions
10
home.php
10
home.php
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue