Location: PHPKode > projects > MyOWNSpace > MyOWNspace_v8.2/www/showmyownascii.php
	<? 
$go=$_GET['go'];
$conf_file="myownascii/ascii.".$go.".php";

if (file_exists($conf_file)) 
{
include $conf_file;
if(isset($myownascii)&&count($myownascii)!=0){
$col=1;$row=1;

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">'. $myspace[$go]['artiste'].'\'s  Own ASCII Art Collection</span>
			</td>
		</tr>
		<tr valign="top">
			<td>
				<table align="center" bgcolor="#ffffff" border="0" bordercolor="#000000" cellpadding="3" cellspacing="3" width="300">
              <tbody><tr>';
shuffle($myownascii);
while (list($key,$val) = each($myownascii)) {

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">
'.$myownascii[$key]['titre'].'
</td></tr><tr>
<td align="center" bgcolor="#ffffff" valign="top" width="25%">
<pre>'.$myownascii[$key]['ascii'].'</pre>
</td>
</tr></tbody></table></td></tr>';
$row++;
//if($col<2) {$col++;echo'</td>';} else {$col=1;$row++;echo'</td></tr><tr>';}
if(($row>1)&&($view_all!=1)) break;
}
echo '<tr align="right" valign="center">
						<td colspan="4" bgcolor="#ffffff">';
                
                if($view_all==1) echo '<a href="/'. $go.'" class="redlink">Back to '. $myspace[$go]['artiste'].'\'s Own Space!</a>';
                else echo '<a href="myownascii.php?go='. $go.'" class="redlink">View All of '. $myspace[$go]['artiste'].'\'s ASCII ART Collection</a>';
							
	echo '						<br><br>
						</td></tr>
<tr></tr>
</tbody></table></td></tr></tbody></table><br>';
//echo $conf_file;
}}
else  {
echo 'no ASCII ART COLLECTION YET!<br><a href="myownascii.php?go='.$_GET['go'].'">Create Your Own ASCII ART GALLERY</a><br>';
}	

?>										
								
Return current item: MyOWNSpace