<?php
require_once "maincore.php";
require_once THEMES."templates/header.php";
add_to_title($locale['global_200'].'WRITE_NAME');
opentable('WRITE_NAME');
if(iUSER && $userdata['user_id'] == 'ID_WHAT_YOU_NEED') {
echo 'content'; //or something else
}
else {
echo 'Error, you are not right user!';
}
closetable();
require_once THEMES."templates/footer.php";
?>
- it's a full new page.<?php
require_once "maincore.php";
require_once THEMES."templates/header.php";
add_to_title($locale['global_200'].'WRITE_NAME');
opentable('WRITE_NAME');
if(iUSER && $userdata['user_id'] == '2') {
This is your personal page
}
else {
echo 'Error, you are not right user!';
}
closetable();
require_once THEMES."templates/footer.php";
?>
<?php
require_once "maincore.php";
require_once THEMES."templates/header.php";
add_to_title($locale['global_200'].'WRITE_NAME');
opentable('WRITE_NAME');
if(iUSER && $userdata['user_id'] == '2') {
echo 'This is your personal page'; [color=#ff0000]//small fix[/color]
}
else {
echo 'Error, you are not right user!';
}
closetable();
require_once THEMES."templates/footer.php";
?>
<?php
require_once "maincore.php";
require_once THEMES."templates/header.php";
add_to_title($locale['global_200'].'WRITE_NAME');
opentable('WRITE_NAME');
if(iUSER && file_exists(BASEDIR.'users/data_for_id_'.$userdata['user_id'].'.php')) {
include BASEDIR.'users/data_for_id_'.$userdata['user_id'].'.php'; //incluide personal file of THAT user - example: user have id 2 then his file must be named data_for_id_2.php (in a folder users)
}
else {
echo 'Error, you don\'t have a personal page! PolarFox cry with you ;(';
}
closetable();
require_once THEMES."templates/footer.php";
?>
<?php
if (!defined("IN_FUSION")) { die('no data'); } //direct access without rights not allowed of course
?>
<center>Your <b>ANY</b> html code there</center>
<?php
require_once "maincore.php";
require_once THEMES."templates/header.php";
add_to_title($locale['global_200'].'WRITE_NAME');
opentable('WRITE_NAME');
if(iUSER && file_exists(BASEDIR.'users/data_for_id_'.$userdata['user_id'].'.php')) {
$userdata['user_id']
include BASEDIR.'users/data_for_id_'.$userdata['user_id'].'.php';
}
else {
echo 'Your personal page is not made yet';
}
closetable();
require_once THEMES."templates/footer.php";
?>
<?php
if (!defined("IN_FUSION")) { die('no data'); } //direct access without rights not allowed of course
?>
<p>This is your data:</p>
<p>Canal+<br />
TV2 Sport HD</p>
if(iUSER && file_exists(BASEDIR.'users/data_for_id_'.$userdata['user_id'].'.php')) {
$userdata['user_id'] <== kill this!
/mainpage.php
/users/data_for_id_1.php
/users/data_for_id_5.php
<?php
require_once "maincore.php";
require_once THEMES."/templates/header.php";
add_to_title($locale['global_200'].'WRITE_NAME');
opentable('WRITE_NAME');
if(iUSER && file_exists(BASEDIR.'/users/data_for_id_'.$userdata['user_id'].'.php')) {
include BASEDIR.'/users/data_for_id_'.$userdata['user_id'].'data_for_id_2.php'; //incluide personal file of THAT user - example: user have id 2 then his file must be named data_for_id_2.php (in a folder users)
}
else {
echo 'Error, you don\'t have a personal page! Have patience, it is coming. ;(';
}
closetable();
require_once THEMES."/templates/footer.php";
?>
Category Forum
General DiscussionLabels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions