Your generous donation allows me to continue developing and updating my code!
$shell['donate'] = ob_get_contents(); ob_end_clean(); function draw_shell() { global $shell, $base; ?>
if ( $shell['title'] ) { print $shell['title']; } else { ?> Ben Alman » = $shell['title1'] ?> if ( $shell['title2'] ) { print ' » ' . $shell['title2']; } ?> if ( $shell['title3'] ) { print ' » ' . $shell['title3']; } ?> } ?>
if ( $shell['jquery'] ) { ?> } ?> if ( $shell['shBrush'] ) { foreach ( $shell['shBrush'] as $brush ) { ?> } } ?>
= $shell['html_head'] ?>
Ben
Alman
$i = 1; while ( $shell["title$i"] ) { print ' » '; if ( $shell["link$i"] ) { print '
' . $shell["title$i"] . '
'; } else { print $shell["title$i"]; } $i++; } ?>
$i = 2; while ( $shell["h$i"] ) { print "
" . $shell["h$i"] . "
"; $i++; } ?> = $shell['html_header'] ?>
= $shell['html_body'] ?>
} if ( count( get_included_files() ) == 2 ) { $shell['link2'] = ''; $shell['h2'] = 'Select an example:'; $shell['h3'] = ''; $shell['html_body'] = ''; $files = scandir( '.' ); foreach ( $files as $file ) { if ( $file != '.' && $file != '..' && file_exists( "$file/index.php" ) ) { $file_contents = file_get_contents( "$file/index.php" ); $title = preg_replace( '/^.*\$shell\[\'title3\'\]\s*=\s*"(.*?)";.*$/s', '$1', $file_contents ); $title = $title == $file_contents ? $file : stripcslashes( $title ); $shell['html_body'] .= "
$title
"; } } $base = ''; draw_shell(); } ?>