コード例 #1
0
			</table>
    </fieldset>
    <br />   
    <fieldset>
	    <legend class="TitleBlue11pt">Past Bookings</legend>
	    	<table cellspacing="1" border="0" cellpadding="3">				
			<?php 
outputHeading();
outputRows("past");
?>
			</table>
    </fieldset>
     <br />
    <fieldset>
	    <legend class="TitleBlue11pt">Cancelled Bookings</legend>
	    	<table cellspacing="1" border="0" cellpadding="3">				
			<?php 
outputHeading();
outputRows("cancelled");
?>
			</table>
    </fieldset>
    </td>
  </tr>
  <?php 
include "footer.php";
?>
</table>
</body>
</html>
コード例 #2
0
ファイル: menu.php プロジェクト: u007/FlexiPHP
		if ($translator->isEditor())
		{
			echo '<a target="edit" href="addnew.php">Add new item</a><p>';
		}
		
		echo '<p>Order by <a href="menu.php?sort=name">name</a>, <a href="menu.php?sort=words">word count</a>'.
			' or <a href="menu.php?sort=date">date</a>';
		
		echo '<p><table cellpadding="2" cellspacing="1" bgcolor="#333333">';
			outputHeading("Text which requires updates");
			outputKeyList($listNotUpToDate);
			
			outputHeading("Text which is not translated");
			outputKeyList($listNotTranslated);
			
			outputHeading("Text which is translated");
			outputKeyList($listTranslated);
		echo '</table>';
	}
			

	function outputKeyList($keyList)
	{
		global $translator;
		
		while (list ($key, $val) = each ($keyList))
		{
			echo '<tr>';
				echo '<td>';		
					echo formatDate($val[2]);			
				echo '</td>';