Пример #1
0
    echo $row['title'];
    ?>
</span><span class="smallGrey"> - 
		<?php 
    echo $getCategory->getResultRow("category");
    ?>
</span><br /><br />
</td>
	   </tr>
	  
	  <tr>
	  <td width="126" class="tdVertBottom"><span class="smallPink"><a href="?id=<?php 
    echo $row['rowid'];
    ?>
">L&auml;s mer</a></span></td>
	  <td width="164" class="tdVertBottom" align="right" ><span class="smallGrey"><?php 
    echo date("Y-m-d H:i", strtotime($row['date']));
    ?>
</span></td>
	  </tr>
	  
	</table>
	<br />
	<?php 
}
$paging->displayLinks("se", "smallPink", "smallGrey");
?>
  
</div>
<?php 
include "footer.php";
Пример #2
0
<table border="0" cellpadding="1" cellspacing="1" width="500">
<?php 
while ($row = mysql_fetch_assoc($paging->getResult())) {
    $getCategory = new Query("advertisement_categories");
    $getCategory->whereQuery("*", "rowid", $row['category'], "rowid", "ASC", 100);
    ?>
	  <tr>
		<td align="left" ><span class="boldGreyLighter"><?php 
    echo $row['title'];
    ?>
</span><span class="smallGrey"> - 
		<?php 
    echo $getCategory->getResultRow("category");
    ?>
</span></td>
        <td align="left"><span class="smallGrey"><?php 
    echo $row['date'];
    ?>
</span></td>
        <td align="right"><a href="admin_market_action.php?action=remove&id=<?php 
    echo $row['rowid'];
    ?>
"><img src="graphics/remove.jpg" alt="Ta bort" border="0" width="10"/></a></td>
	   </tr>  
<?php 
}
?>
</table>
<?php 
$paging->displayLinks("se", "", "");
include "admin_footer.php";