php script
Posted: Thu Feb 02, 2006 8:56 pm
Jcart | Please use
i do hope some one can give my good advice
regards
grayson9
Jcart | Please use
Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
hello,
three days ago i purchased some dating software and installed it successfully onto my server. i subsequently wanted to update the about us page, faq, contacts etc.
that is where t6he fun started as i assumed this would be done by typing script into the appropriate file which i tried countless times only to fail.
I then tried contacting the supplier of the software who appear to have gone to ground some where in the Ukraine.
I life in Japan and dont speak much japanese so getting help here is not an option.
All i want to Know is where do i install the text?
my website is http://www.boooms.com/booomz/
and as you can see the areas i discussed are empty
this is an example of the script from about us!Code: Select all
<?
require_once( "inc/header.inc.php" );
require_once( "$dir[inc]db.inc.php" );
require_once( "$dir[inc]design.inc.php" );
require_once( "$dir[inc]profiles.inc.php" );
// --------------- page variables and login
$_page['name_index'] = 11;
$_page['css_name'] = 'third_pages.css';
if ( !( $logged[admin] = member_auth( 1, false ) ) )
if ( !( $logged[member] = member_auth( 0, false ) ) )
$logged[aff] = member_auth( 2, false );
$_page['header'] = _t( "_ABOUT_US_H" );
$_page['header_text'] = _t( "_ABOUT_US_H1" );
// --------------- page components
$_ni = $_page['name_index'];
$_page_cont[$_ni]['page_main_code'] = PageCompPageMainCode();
// --------------- [END] page components
PageCode();
// --------------- page components functions
/**
* page code function
*/
function PageCompPageMainCode()
{
global $site;
$ret = '';
$ret .= '<div class="third_block">';
$ret .= _t( "_ABOUT_US", $site['title'] );
$ret .= '</div>';
return $ret;
}
?>regards
grayson9
Jcart | Please use
Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]