Beispiel #1
0
							$posDisplay = $pos;
							$currentStreak = $streak;
						}						
						$pos++;
				?>
					<tr class="row">
						<td style="text-align:right"><?php 
echo $posDisplay;
?>
</td>
						<td><?php 
echo formatNewsDate($item[1]);
?>
</td>
						<td><?php 
echo formatNewsDate($item[2]);
?>
</td>
						<td style="text-align:right"><b><?php 
echo $streak;
?>
</b></td>
					</tr>
				<? } ?> 
				<?php 
echo getRankBoxBottom();
?>
				
 
			
			
Beispiel #2
0
		echo "<b>$date - $title</b>&nbsp;&nbsp;<span class='grey-small'>(posted by $user)</span>";
?></td>
						      </tr>
						      <tr>
						         <td><?php echo"$news" ?></td>
						      </tr>
						  </table>
	<? echo getBoxBottom() ?>
</td></tr></table>
<?

	} else {
?>
<table width="50%"><tr><td>
<?= getBoxTop("Post News", "", false, null) ?>
<? $newsDate = formatNewsDate(time()); ?>
<form name="form1" method="post" action="post.php?submit=1">
<table class="formtable">
<tr>
<td>Date</td>
</tr>
<tr>
<td><input type="Text" class="width100" size="10" name="date" value="<?php echo "$newsDate" ?>"></td>
</tr>
<tr>
<td>Title</td>
</tr>
<tr>
<td><input type="Text" class="width250" size="45" name="titlenews" value="<?php echo "$titlenews" ?>"></td>
</tr>
<tr>