Location: PHPKode > projects > MyOWNSpace > MyOWNspace_v8.2/www/showmyownpics.php
<? if($myownpic=="1"){
$conf_file="myownpic/pic.".$n.".php";
if (file_exists($conf_file) ) 
{
include $conf_file;
if(isset($myownpic)&&(count($myownpic)!=0)){
echo'	<br><table bgcolor="#6699cc" border="1" bordercolor="#6699cc" cellpadding="0" cellspacing="0" width="300">
		<tbody><tr>
			<td class="text" wrap="" style="" align="left" bgcolor="#6699cc" height="10" valign="center" width="300">
				&nbsp;&nbsp;&nbsp;<span class="whitetext12">';
        if($view_all=1) echo '<a href="/'.$n.'">'. $title.'\'s  Own Picture</a></span>';
        else echo $title.'\'s  Own Picture</a>';
echo'</td>
		</tr>
		<tr valign="top">
			<td>
				<table align="center" bgcolor="#ffffff" border="0" bordercolor="#000000" cellpadding="3" cellspacing="3" width="300">
              <tbody><tr>
<script type="text/javascript" src="http://www.huddletogether.com/projects/lightbox/lightbox.js"></script>';
$row=1;
$col=1;
for($j=1;$j<=count($myownpic);$j++)
{
$titre[$j]=$myownpic[$j]['titre'];
$url[$j]=$myownpic[$j]['url'];

///**************** PRINT
echo '<td align="center" bgcolor="#ffffff" valign="top" width="1">
<table align="center" border="0" cellspacing="0">
<tbody><tr>
<td style="" align="center" bgcolor="#ffffff" valign="top" width="107">
&nbsp;<a href="'.$url[$j].'" rel="lightbox">'.$titre[$j].'</a>&nbsp;
</td></tr><tr>
<td align="center" bgcolor="#ffffff" valign="top" width="25%"><a href="'.$url[$j].'" rel="lightbox">
<img width="80" src="'. $url[$j].'"></a><br></td>
</tr></tbody></table></td>';

if($col>=3) {echo'</tr><tr>';$col=1;$row++;}
else $col++;
if(($row>=2)&&($view_all!=1)) break;
}
                                 
 echo '</td></tr>
<tr></tr>
</tbody></table></td></tr></tbody></table><br>';
  
  }}}

	?>	
Return current item: MyOWNSpace