diff --git a/README.md b/README.md index b74b25a..bec0b7c 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,25 @@ # Boz Libre Hosting Panel This projects was started to create another _keep it simple and stupid_ libre web hosting control panel suitable for providers of everyday shared hosting services. -Features that will be supported: +## Features -* administration of own FTP accounts (thanks to Pure-FTPd over MariaDB) -* administration of own mailboxes and aliases (thanks to Postfix and Dovecot over MariaDB) -* administration of own MariaDB databases +Let me say that I love listening to the whishlist of my costumers. Here are the most important features/TODOs: + +* administration of own mailboxes + * [X] password reset +* administration of own mail aliases (thanks to Postfix and Dovecot over MariaDB) + * [X] change foward destination(s) +* [ ] administration of own FTP accounts (thanks to Pure-FTPd over MariaDB) +* [ ] administration of own MariaDB databases ## License Copyright (C) 2018 [Valerio Bozzolan](https://boz.reyboz.it/) - _Boz Libre Hosting Panel_ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . diff --git a/domain.php b/domain.php index b6e5132..42eb738 100644 --- a/domain.php +++ b/domain.php @@ -1,77 +1,67 @@ . /* * This is the domain edit page */ // load framework require 'load.php'; // wanted domain list( $domain_name ) = url_parts( 1 ); // retrieve domain -$domain = ( new DomainAPI ) - ->whereStr( 'domain_name', $domain_name ) +$domain = ( new DomainAPI() ) + ->whereDomainName( $domain_name ) ->whereDomainIsEditable() ->queryRow(); // 404? $domain or PageNotFound::spawn(); -// domain mailboxes -$mailboxes = ( new MailboxFullAPI() ) - ->select( [ - 'domain_name', - 'mailbox_username', - 'mailbox_receive', - ] ) - ->whereMailboxDomainID( $domain->get( 'domain_ID' ) ) - ->queryGenerator(); - // spawn header Header::spawn( [ 'title' => sprintf( __( "Domain: %s" ), "" . esc_html( $domain_name ) . "" ), ] ); -?> - valid() ): ?> -

- - +// spawn the domain template +template( 'domain', [ + 'mailboxes' => + $domain->factoryMailbox() + ->select( [ + 'domain_name', + 'mailbox_username', + 'mailbox_receive', + ] ) + ->queryGenerator(), + + 'mailfowards' => + $domain->factoryMailfoward() + ->select( [ + 'domain_name', + 'mailfoward_source', + 'mailfoward_destination', + ] ) + ->queryGenerator() +] ); -. /** * A domain handled by the user */ class Domain extends Queried { const T = 'domain'; const UID = 'domain_name'; public function __construct() { $this->integers( 'domain_ID' ); $this->booleans( 'domain_active' ); $this->dates( 'domain_born', 'domain_expiration' ); } + /** + * Get domain ID + * + * @return int + */ + public function getDomainID() { + return $this->get( 'domain_ID' ); + } + /** * Get the domain edit URl * * @return string */ public function getDomainPermalink( $absolute = false ) { return ROOT . '/domain.php/' . $this->get( 'domain_name' ); } + /** + * Factory mailbox from this domain + * + * @return MailboxFullAPI + */ + public function factoryMailbox() { + return ( new MailboxFullAPI() )->whereDomain( $this ); + } + + /** + * Factory e-mail foward from this domain + * + * @return MailfowardFullAPI + */ + public function factoryMailfoward() { + return ( new MailfowardFullAPI() )->whereDomain( $this ); + } + } diff --git a/include/class-DomainAPI.php b/include/class-DomainAPI.php index ad39a72..dfb102f 100644 --- a/include/class-DomainAPI.php +++ b/include/class-DomainAPI.php @@ -1,70 +1,101 @@ . /** * Domain API */ class DomainAPI extends Query { + const UID = 'name'; + public function __construct() { parent::__construct(); $this->from( Domain::T ); $this->defaultClass( 'Domain' ); } - /** - * Join domain and users (once) - * - * @return self - */ - public function joinDomainUser() { - if( empty( $this->joinedDomainUser ) ) { - $this->from( 'domain_user' ); - $this->equals( 'domain_user.domain_ID', 'domain.domain_ID' ); - - $this->joinedDomainUser = true; - } - return $this; - } - /** * Where the domains are editable by me * * @return self */ public function whereDomainIsEditable() { if( ! has_permission( 'edit-domain-all' ) ) { $this->whereDomainUser(); } return $this; } /** * Limit to a certain user (or yourself) * * @param $user_ID int * @return self */ public function whereDomainUser( $user_ID = false ) { if( $user_ID === false ) { $user_ID = get_user( 'user_ID' ); } $this->joinDomainUser(); return $this->whereInt( 'domain_user.user_ID', $user_ID ); } + /** + * Limit to a certian domain name + * + * @param $domain_name string + * @return self + */ + public function whereDomainName( $domain_name ) { + return $this->whereStr( 'domain_name', $domain_name ); + } + + /** + * Constructor from a domain ID + * + * @param $domain_ID int + * @return self + */ + public function whereDomainID( $domain_ID ) { + return $this->whereInt( 'domain.domain_ID', $domain_ID ); + } + + /** + * Constructor from a Domain object + * + * @param $domain object + * @return self + */ + public function whereDomain( $domain ) { + return $this->whereDomainID( $domain->getDomainID() ); + } + + /** + * Join domain and users (once) + * + * @return self + */ + public function joinDomainUser() { + if( empty( $this->joinedDomainUser ) ) { + $this->from( 'domain_user' ); + $this->equals( 'domain_user.domain_ID', 'domain.domain_ID' ); + + $this->joinedDomainUser = true; + } + return $this; + } } diff --git a/include/class-Header.php b/include/class-Header.php index ef67282..5f0548a 100644 --- a/include/class-Header.php +++ b/include/class-Header.php @@ -1,88 +1,88 @@ . /** * The header of the web page */ class Header { /** * Header arguments * * It's public because the Footer reads it. * * @var array */ public static $args; /** * Spawn the header to standard output * * @param $args mixed Can be the page UID, or arguments where: * uid: menu UID like 'home' * title: document title */ public static function spawn( $args = [] ) { // store arguments for future reads self::$args = & $args; // shortcut if( is_string( $args ) ) { $args = [ 'uid' => $args ]; } // eventually retrieve actual page UID if( ! isset( $args[ 'uid' ] ) ) { $args[ 'uid' ] = self::actualPageUID(); } // retrieve page informations $page = isset( $args[ 'uid' ] ) ? get_menu_entry( $args[ 'uid' ] ) : null; // populate the page informations if( $page ) { $args = array_replace( [ 'title' => $page->name, ], $args ); } // populate default arguments $args = array_replace( [ 'container' => true, 'sidebar' => true, ], $args ); // charset is usually UTF-8 header( 'Content-Type: text/html; charset=' . CHARSET ); // spawn header template template( 'header', $args ); } /** * Get the default page UID * * @return string */ public static function actualPageUID() { - $page = basename( $_SERVER[ 'PHP_SELF' ] ); + $page = basename( $_SERVER[ 'SCRIPT_NAME' ] ); return str_replace( '.php', '', $page ); } } diff --git a/include/class-Mailbox.php b/include/class-Mailbox.php index bf34607..be565a6 100644 --- a/include/class-Mailbox.php +++ b/include/class-Mailbox.php @@ -1,106 +1,106 @@ . /** * A mailbox */ class Mailbox extends Domain { const T = 'mailbox'; public function __construct() { $this->booleans( 'mailbox_receive' ); } /** * Get the mailbox address * * @return string E-mail */ public function getMailboxAddress() { return sprintf( "%s@%s", $this->get( 'mailbox_username' ), $this->get( 'domain_name' ) ); } /** * Get the mailbox permalink * * @return string */ public function getMailboxPermalink( $absolute = false ) { return Mailbox::permalink( $this->get( 'domain_name' ), $this->get( 'mailbox_username' ) ); } /** * Update this mailbox password * * @param $password string * @return string */ public function updateMailboxPassword( $password = null ) { if( ! $password ) { $password = Mailbox::generatePassword(); } $enc_password = Mailbox::encryptPassword( $password ); query_update( 'mailbox', [ new DBCol( 'mailbox_password', $enc_password, 's' ), ], sprintf( "domain_ID = %d AND mailbox_username = '%s'", - esc_sql( $this->get( 'domain_ID' ) ), + $this->getDomainID(), esc_sql( $this->get( 'mailbox_username' ) ) ) ); return $password; } /** * Get the mailbox permalink * * @return string */ public static function permalink( $domain, $mailbox ) { return sprintf( '%s/%s/%s', ROOT . '/mailbox.php', $domain, $mailbox ); } /** * Encrypt a password * * TODO: do not hardcode to my Dovecot configuration */ public static function encryptPassword( $password ) { $salt = bin2hex( openssl_random_pseudo_bytes( 3 ) ); return '{SHA512-CRYPT}' . crypt( $password, "$6$$salt" ); } /** * Generate a password * * TODO: do not hardcode to a certain way */ public static function generatePassword() { return rtrim( base64_encode( bin2hex( openssl_random_pseudo_bytes( 8 ) ) ), '=' ); } } diff --git a/include/class-MailboxAPI.php b/include/class-MailboxAPI.php index b180af0..5c0ce47 100644 --- a/include/class-MailboxAPI.php +++ b/include/class-MailboxAPI.php @@ -1,52 +1,44 @@ . /** * Mailbox API */ class MailboxAPI extends DomainAPI { public function __construct() { Query::__construct(); $this->from( Mailbox::T ); $this->defaultClass( 'Mailbox' ); } - /** - * Limit to a certain domain - * - * @param $domain_ID int - */ - public function whereMailboxDomainID( $domain_ID ) { - return $this->whereInt( 'mailbox.domain_ID', $domain_ID ); - } - /** * Join mailboxes and domain (once) * * @return self */ public function joinMailboxDomain() { if( empty( $this->joinedMailboxDomain ) ) { - $this->joinedMailboxDomain = true; $this->from( 'domain' ); $this->equals( 'domain.domain_ID', 'mailbox.domain_ID' ); + + $this->joinedMailboxDomain = true; } return $this; } } diff --git a/include/class-MailboxFullAPI.php b/include/class-MailboxFullAPI.php index e42330a..c620a42 100644 --- a/include/class-MailboxFullAPI.php +++ b/include/class-MailboxFullAPI.php @@ -1,28 +1,28 @@ . /** - * Mailbox API (retrieve a full mailbox address) + * Mailbox API (a full mailbox address) */ class MailboxFullAPI extends MailboxAPI { public function __construct() { parent::__construct(); $this->joinMailboxDomain(); } } diff --git a/include/class-Mailfoward.php b/include/class-Mailfoward.php new file mode 100644 index 0000000..90c21c8 --- /dev/null +++ b/include/class-Mailfoward.php @@ -0,0 +1,82 @@ +. + +/** + * An e-mail fowarding + */ +class Mailfoward extends Domain { + + const T = 'mailfoward'; + + /** + * Get the mailfoward address + * + * @return string E-mail + */ + public function getMailfowardAddress() { + return sprintf( "%s@%s", + $this->get( 'mailfoward_source' ), + $this->get( 'domain_name' ) + ); + } + + /** + * Get the mailfoward destination + * + * @return string + */ + public function getMailfowardDestination() { + return $this->get( 'mailfoward_destination' ); + } + + /** + * Get the mailfoward permalink + * + * @return string + */ + public function getMailfowardPermalink( $absolute = false ) { + return Mailfoward::permalink( + $this->get( 'domain_name' ), + $this->get( 'mailfoward_source' ) + ); + } + + /** + * Update the related database row + */ + public function update( $columns ) { + query_update( self::T, $columns, sprintf( + "domain_ID = %d AND mailfoward_source = '%s'", + $this->getDomainID(), + esc_sql( $this->get( 'mailfoward_source' ) ) + ) ); + } + + /** + * Get the mailfoward permalink + * + * @return string + */ + public static function permalink( $domain, $mailfoward ) { + return sprintf( + '%s/%s/%s', + ROOT . '/mailfoward.php', + $domain, + $mailfoward + ); + } +} diff --git a/include/class-MailboxAPI.php b/include/class-MailfowardAPI.php similarity index 59% copy from include/class-MailboxAPI.php copy to include/class-MailfowardAPI.php index b180af0..2fdd830 100644 --- a/include/class-MailboxAPI.php +++ b/include/class-MailfowardAPI.php @@ -1,52 +1,53 @@ . /** - * Mailbox API + * E-mail fowarding API */ -class MailboxAPI extends DomainAPI { +class MailfowardAPI extends DomainAPI { public function __construct() { Query::__construct(); - $this->from( Mailbox::T ); - $this->defaultClass( 'Mailbox' ); + $this->from( Mailfoward::T ); + $this->defaultClass( 'Mailfoward' ); } /** - * Limit to a certain domain + * Join mailfowardes and domain (once) * - * @param $domain_ID int + * @return self */ - public function whereMailboxDomainID( $domain_ID ) { - return $this->whereInt( 'mailbox.domain_ID', $domain_ID ); + public function joinMailfowardDomain() { + if( empty( $this->joinedMailfowardDomain ) ) { + $this->joinedMailfowardDomain = true; + $this->from( 'domain' ); + $this->equals( 'domain.domain_ID', 'mailfoward.domain_ID' ); + } + return $this; } /** - * Join mailboxes and domain (once) + * Filter to a certain mail fowarding source * + * @param mailfoward_source string * @return self */ - public function joinMailboxDomain() { - if( empty( $this->joinedMailboxDomain ) ) { - $this->joinedMailboxDomain = true; - $this->from( 'domain' ); - $this->equals( 'domain.domain_ID', 'mailbox.domain_ID' ); - } - return $this; + public function whereMailfowardSource( $mailfoward_source ) { + return $this->whereStr( 'mailfoward_source', $mailfoward_source ); } } diff --git a/include/class-MailboxFullAPI.php b/include/class-MailfowardFullAPI.php similarity index 86% copy from include/class-MailboxFullAPI.php copy to include/class-MailfowardFullAPI.php index e42330a..1522268 100644 --- a/include/class-MailboxFullAPI.php +++ b/include/class-MailfowardFullAPI.php @@ -1,28 +1,28 @@ . /** - * Mailbox API (retrieve a full mailbox address) + * Mailbox API (a full mailbox address) */ -class MailboxFullAPI extends MailboxAPI { +class MailfowardFullAPI extends MailfowardAPI { public function __construct() { parent::__construct(); - $this->joinMailboxDomain(); + $this->joinMailfowardDomain(); } } diff --git a/include/functions.php b/include/functions.php index a5b425f..1a2a758 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,109 +1,110 @@ . /** * Require a certain page from the template directory * * @param $name string page name (to be sanitized) * @param $args mixed arguments to be passed to the page scope */ function template( $name, $args = [] ) { + extract( $args ); require TEMPLATE_PATH . __ . "$name.php"; } /** * Print an e-mail (safe for bots) * * @param $email string */ function email_blur( $email ) { $dot = strip_tags( __( " dot " ) ); $at = strip_tags( __( " at " ) ); $email = esc_html( $email ); echo str_replace( [ '.', '@' ], [ $dot, $at ], $email ); } /** * Send an e-mail to someone * * @param $subject string E-mail subject * @param $message string E-mail message * @param $to string E-mail recipient (from current logged-in user as default) */ function send_email( $subject, $message, $to = false ) { if( ! $to ) { if( ! is_logged() ) { die( "can't retrieve e-mail address from anon user" ); } $to = get_user( 'user_email' ); } return SMTPMail::instance() ->to( $to ) ->message( $subject, $message ) ->disconnect(); } /** * Require a certain permission * * @param $permission string An internal permission like 'edit-all-user' * @param $redirect boolean Enable or disable the redirect */ function require_permission( $permission, $redirect = true ) { if( ! has_permission( $permission ) ) { if( is_logged() ) { Header::spawn( [ 'title' => __( "Permission denied" ), ] ); Footer::spawn(); exit; } else { $login = get_menu_entry( 'login' ); $url = $login->getSitePage( URL ); if( $redirect && isset( $_SERVER[ 'REQUEST_URI' ] ) ) { $url = http_build_get_query( $url, [ 'redirect' => $_SERVER[ 'REQUEST_URI' ], ] ); } http_redirect( $url, 307 ); } } } /** * Check the POST action * * @param $action string e.g. 'save-domain' * @return bool */ function is_action( $action ) { return isset( $_POST[ 'action' ] ) && $_POST[ 'action' ] === $action; } /** * Get URL parts * * @param $n */ function url_parts( $n ) { $parts = explode( _, $_SERVER[ 'PATH_INFO' ] ); array_shift( $parts ); if( count( $parts ) !== $n ) { BadRequest::spawn(); } return $parts; } diff --git a/mailbox.php b/mailbox.php index 52486c0..b8ec9b6 100644 --- a/mailbox.php +++ b/mailbox.php @@ -1,64 +1,64 @@ . /* * This is the mailbox edit page */ // load framework require 'load.php'; // wanted domain and mailbox username list( $domain_name, $mailbox_username ) = url_parts( 2 ); // retrieve domain -$mailbox = ( new MailboxFullAPI ) +$mailbox = ( new mailboxFullAPI ) ->select( [ 'domain.domain_ID', 'domain.domain_name', 'domain.domain_active', 'mailbox_username', ] ) ->whereStr( 'domain_name', $domain_name ) ->whereStr( 'mailbox_username', $mailbox_username ) ->whereDomainIsEditable() ->queryRow(); // 404? $mailbox or PageNotFound::spawn(); $password = null; if( is_action( 'mailbox-password-reset' ) ) { $password = $mailbox->updateMailboxPassword(); } // spawn header Header::spawn( [ 'title' => sprintf( __( "Mailbox: %s" ), "" . esc_html( $mailbox->getMailboxAddress() ) . "" ), ] ); // spawn the page content template( 'mailbox', [ 'mailbox' => $mailbox, 'password' => $password, ] ); // spawn the footer Footer::spawn(); diff --git a/mailbox.php b/mailfoward.php similarity index 54% copy from mailbox.php copy to mailfoward.php index 52486c0..3539442 100644 --- a/mailbox.php +++ b/mailfoward.php @@ -1,64 +1,72 @@ . /* - * This is the mailbox edit page + * This is the single e-mail fowarding edit page */ // load framework require 'load.php'; -// wanted domain and mailbox username -list( $domain_name, $mailbox_username ) = url_parts( 2 ); +// wanted domain and mail fowarding source +list( $domain_name, $mailfoward_source ) = url_parts( 2 ); // retrieve domain -$mailbox = ( new MailboxFullAPI ) +$mailfoward = ( new MailfowardFullAPI ) ->select( [ 'domain.domain_ID', 'domain.domain_name', 'domain.domain_active', - 'mailbox_username', + 'mailfoward_source', + 'mailfoward_destination', ] ) - ->whereStr( 'domain_name', $domain_name ) - ->whereStr( 'mailbox_username', $mailbox_username ) + ->whereDomainName( $domain_name ) + ->whereMailfowardSource( $mailfoward_source ) ->whereDomainIsEditable() ->queryRow(); // 404? -$mailbox or PageNotFound::spawn(); +$mailfoward or PageNotFound::spawn(); -$password = null; -if( is_action( 'mailbox-password-reset' ) ) { - $password = $mailbox->updateMailboxPassword(); +// handle save destination action +if( is_action( 'mailfoward-save-destination' ) ) { + $destination = $_POST[ 'mailfoward_destination' ]; + if( filter_var( $destination, FILTER_VALIDATE_EMAIL ) ) { + $mailfoward->update( [ + new DBCol( 'mailfoward_destination', $destination, 's' ), + ] ); + + // POST/redirect/GET + http_redirect( URL . $_SERVER[ 'REQUEST_URI' ] ); + } } // spawn header Header::spawn( [ 'title' => sprintf( - __( "Mailbox: %s" ), - "" . esc_html( $mailbox->getMailboxAddress() ) . "" + _( "Mailfoward: %s" ), + "" . esc_html( $mailfoward->getMailfowardAddress() ) . "" ), ] ); // spawn the page content -template( 'mailbox', [ - 'mailbox' => $mailbox, - 'password' => $password, +template( 'mailfoward', [ + 'mailfoward' => $mailfoward, ] ); // spawn the footer Footer::spawn(); diff --git a/password-reset.php b/password-reset.php index b23979c..52e2fa3 100644 --- a/password-reset.php +++ b/password-reset.php @@ -1,49 +1,50 @@ . require 'load.php'; /* * This is the password reset page */ // do something if( is_action( 'password-reset' ) ) { + die( "Apologies. This feature is not ready :(" ); if( is_logged() ) { send_email( __( "Password reset" ), $message, $to = false ); } else { send_email( __( "Password reset" ), $message, $to = false ); } } // spawn header Header::spawn(); ?>
" />
. /* * This is the template for a bad request + * + * Called from: + * include/class-PageNotFound.php */ // unuseful when load directly defined( 'BOZ_PHP' ) or die; ?>

diff --git a/template/bad-request.php b/template/bad-request.php index 85ed2b2..d14feb5 100644 --- a/template/bad-request.php +++ b/template/bad-request.php @@ -1,28 +1,31 @@ . /* * This is the template for a bad request + * + * Called from: + * include/class-BadRequest.php */ // unuseful when load directly defined( 'BOZ_PHP' ) or die; ?>

diff --git a/template/dashboard.php b/template/dashboard.php index 062cb3e..eac2428 100644 --- a/template/dashboard.php +++ b/template/dashboard.php @@ -1,29 +1,32 @@ . /* * This is the template for the website dashboard + * + * Called from: + * index.php */ // unuseful when load directly defined( 'BOZ_PHP' ) or die; ?>

diff --git a/template/bad-request.php b/template/domain.php similarity index 73% copy from template/bad-request.php copy to template/domain.php index 85ed2b2..5e8b84d 100644 --- a/template/bad-request.php +++ b/template/domain.php @@ -1,28 +1,34 @@ . /* - * This is the template for a bad request + * This is the template for the website domain dashboard page + * + * Called from: + * domain.php */ // unuseful when load directly defined( 'BOZ_PHP' ) or die; -?> -

+// spawn the mailboxes list +template( 'mailboxes', [ 'mailboxes' => $mailboxes ] ); + +// spawn the mail fowardings list +template( 'mailfowards', [ 'mailfowards' => $mailfowards ] ); + -

diff --git a/template/footer.php b/template/footer.php index f8f1dfd..7aab1f5 100644 --- a/template/footer.php +++ b/template/footer.php @@ -1,70 +1,77 @@ . /* * This is the template for the website footer + * + * Called from: + * include/class-Footer.php */ // unuseful when load directly defined( 'BOZ_PHP' ) or die; load_module( 'footer' ); ?> - +
- +
+

+ +

+
diff --git a/template/header.php b/template/header.php index 5c816fc..5b5875f 100644 --- a/template/header.php +++ b/template/header.php @@ -1,58 +1,59 @@ . /* * This is the template for the website header * - * Please look at the /include/Header.php class to understand the arguments + * Called from: + * include/class-Header.php */ // unuseful when load directly defined( 'BOZ_PHP' ) or die; // load Bootstrap stuff enqueue_js( 'jquery' ); enqueue_js( 'bootstrap' ); enqueue_css( 'bootstrap' ); ?> - <?php echo strip_tags( $args[ 'title' ] ) ?> - <?php echo strip_tags( SITE_NAME ) ?> + <?php echo strip_tags( $title ) ?> - <?php echo strip_tags( SITE_NAME ) ?>

-

+

- +
- +
diff --git a/template/bad-request.php b/template/mailbox-description.php similarity index 70% copy from template/bad-request.php copy to template/mailbox-description.php index 85ed2b2..139d699 100644 --- a/template/bad-request.php +++ b/template/mailbox-description.php @@ -1,28 +1,29 @@ . /* - * This is the template for a bad request + * This is the template for a single e-mail fowarding + * + * Called from: + * template/mailbox.php */ // unuseful when load directly defined( 'BOZ_PHP' ) or die; ?> -

- -

+

diff --git a/template/mailbox.php b/template/mailbox.php index 3221d67..28f8f35 100644 --- a/template/mailbox.php +++ b/template/mailbox.php @@ -1,44 +1,48 @@ . /* * This is the template for a mailbox + * + * Called from: + * mailbox.php */ // unuseful when load directly defined( 'BOZ_PHP' ) or die; - ?> + +

- +