Location: PHPKode > projects > texTPress > ads.right.inc.php
<?php
// (c)2011 by Muhammad Fauzan Sholihin 		www.tetuku.com		Paypal donation: hide@address.com		LR donation: U1462159 (Iyin payment gateway)		Bank : BCA 0372344006 SwiftCode=CENA IDJA
// Your donation will keep development process of this web apps. Thanks for your kindness
// You may use, modify, redistribute my apps for free as long as keep the origin copywrite
session_start ();
include_once('functions.inc.php');

$row_ads = read_db('files/ads.txt',1,100);
$count_data = count($row_ads);
if ($count_data <= 0) { $row_ads = array();}
?>
<? if ($_SESSION['username'] != '') {?><a href="ads.php?ads_position=right">[+]</a><br /><? }?>
	<? 
		foreach ($row_ads as $column_ads) {
		
if (@eregi('right',$column_ads[3])) {echo $column_ads[2]."<br />"; }
 
		}
?>
Return current item: texTPress