Location: PHPKode > scripts > Arab Temp > arab_TempCache/tpl_index.tpl.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256" />
<title>arab_Temp</title>
<style type="text/css">
.style1 {
	border-collapse: collapse;
	border: 1px solid #000000;
}
</style>
</head>

<body>


foreach key=>value<br/>
<?php 
$_FROM=$this->var_Temp['row'];if(!is_array($_FROM) and !is_object($_FROM)){settype($_FROM,"array");}if(count($_FROM)){foreach($_FROM  as $this->var_Temp['keys']=>$this->var_Temp['values']){?>
<?php echo $this->var_Temp['keys'];?> &nbsp;|<?php echo $this->var_Temp['values']['fname'];?><br>
<?php }unset($_FROM); } ?>

for array <br>
<?php 
if(!is_array($this->var_Temp['row']) and !is_object($this->var_Temp['row'])){settype($this->var_Temp['row'],"array");}$Counts_Froms=count($this->var_Temp['row']);
if($Counts_Froms){for($this->var_Temp['FORI']=0;$this->var_Temp['FORI']<count($this->var_Temp['row']);$this->var_Temp['FORI']++){?>
<?php echo $this->var_Temp['row'][$this->var_Temp['d']]['i'][$this->var_Temp['d']];?>|<?php echo $this->var_Temp['row'][$this->var_Temp['d']]['fname'];?><br>
<?php  } } ?>
<br/>

<?php echo $this->display('include.tpl');?>
foreach array <br>
<?php 
$_FROM= $this->var_Temp['row'];if(!is_array($_FROM) and !is_object($_FROM)){settype($_FROM,"array");}if(count($_FROM)){foreach($_FROM  as  $this->var_Temp['row']){?>
<?php echo $this->var_Temp['row']['id'];?> &nbsp;|&nbsp;<?php echo $this->var_Temp['row']['fname'];?>&nbsp;|&nbsp;<?php echo $this->var_Temp['row']['sname'];?><br>
<?php }unset($_FROM); } ?>
<br/>
</body>

</html>
Return current item: Arab Temp