Location: PHPKode > scripts > Rounded Border Table Generator > rounded-border-table-generator/rborder.php
<?php


class RBorders
{
 /*
  Author : Afrosio Sadie
  
  Date: July 18th
  
  Contry: Mozambique
  

  - Tested in IExplorer and Firefox(Thanx to Gonçalo Henriques) .
  
  - Don't forget to call stylesheet in your project and 
	<link rel="stylesheet" type="text/css" href="estilo.css" title="Folha de Estilo das Bordas">
	
  - require_once("rborder.php"); somewhere in your project

*/
      function Inicio() 
      {
		echo "<table cellspacing='0' cellpadding='0' border='0' width='100%'>
				<tr>
					<td class='bordtopleft'>
			  			<img src='i/spacer.gif' width='16' height='16' />
			  		</td>
					<td class='bordtopcenter'>
						<img src='i/spacer.gif' width='1' height='16' />
					</td>
					<td class='bordleftop'>
						<img src='i/spacer.gif' width='16' height='16' />
					</td>
				</tr>
				<tr>
					<td class='bordleft'>
						<img src='i/spacer.gif' width='16' height='1' />
					</td>
					<td>";
      }

      function Fim()
      {
		echo "		</td>
					<td class='bordright'>
						<img src='i/spacer.gif' width='16' height='1' />
					</td>
				</tr>
				<tr>
					<td class='bordbottomleft'>
						<img src='i/spacer.gif' width='16' height='16' />
					</td>
					<td class='bordbottomcenter'>
						<img src='i/spacer.gif' width='1' height='16' />
					</td>
					<td class='bordrightbottom'>
						<img src='i/spacer.gif' width='16' height='16' />
					</td>
				</tr>
			</table>";

      }

}




/*
Use it anywhere by calling the object like : 

RBorders:: Inicio();

echo "Content here...";

RBorders:: Fim();


*/





?>
Return current item: Rounded Border Table Generator