| '.$title.''."\n".' |
|---|
'."\n".'';
}
function __footer ( $width, $title ) {
echo ' '."\n".' |
'."\n";
}
function __row_start ( $attributes ) {
$code = '';
$found_class = false;
reset( $attributes );
while( list( $key, $value ) = each( $attributes ) ) {
$code .= ' '.$key.'="'.$value.'"';
if( $key == 'class' )
$found_class = true;
}
if( $found_class=== false )
$code .= ' class="'.next_color().'"';
echo '';
}
function __row_stop ( $attributes ) {
echo '
';
}
function __cell_start ( $text, $attributes ) {
$code = '';
reset( $attributes );
while( list( $key, $value ) = each( $attributes ) )
$code .= ' '.$key.'="'.$value.'"';
echo ''.$text;
}
function __cell_stop ( $text, $attributes ) {
echo ' | ';
}
}
class tpl_BLANK {
function __header ( $width, $title ) {
echo '';
}
function __footer ( $width, $title ) {
echo '
';
}
function __row_start ( $attributes ) {
echo '';
}
function __row_stop ( $attributes ) {
echo '
';
}
function __cell_start ( $text, $attributes ) {
$code = '';
reset( $attributes );
while( list( $key, $value ) = each( $attributes ) )
$code .= ' '.$key.'="'.$value.'"';
echo ''.$text;
}
function __cell_stop ( $text, $attributes ) {
echo ' | ';
}
}
?>