Make Open-inviter a block

Hello everybody iam using Open inviter ,  i want make this like a block.

i have Deanos Tools !

 

So here is the code "inviter.php"

 

<?php

require_once( 'inc/header.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );

if ( !( $logged['admin'] = member_auth( 1, false ) ) )

if ( !( $logged['member'] = member_auth( 0, true ) ) )

if ( !( $logged['aff'] = member_auth( 2, false )) )

$logged['moderator'] = member_auth( 3, false );

 

require_once('OpenInviter/frontend.php');

 

 

// $_page_cont[0]['page_main_code'] = $contents;

// $_page['header'] = _t( "Invite your friends" );

// $_page['header_text'] = _t( "Invite your friends." );

 

$_page['name_index']     = 129;

$_ni = $_page['name_index'];

$contents = '<div class="disignBoxFirst"><div class="boxFirstHeader">Invite your friends</div>' . $contents . '</div>';

$_page_cont[$_ni]['page_main_code'] = $contents;

PageCode();

?>

 

 

anybody knows how to make this code to a block !

i tried different things with no result =/

Quote · 19 Aug 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.