Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: cia del theme

Parašė forumietis· 2008 Geg. 4 09:05:37
#1





Kaip padaryti kad apacioje neislystu tos lenteles o iskarto paspaudi ant Pradzia ir ietu i pradzia
Kodas theme.php
// Page Header
$rtHeader['logo_url'] = BASEDIR.'index.php';
$rtHeader['logo_url_title'] = 'Front Page';
$rtHeader['slogan'] = 'insert something funky here ;p';
$rtHeader['rightside_member'] = "Labas <strong>".$userdata['user_name']."</strong>";
$rtHeader['rightside_guest'] = "Labas <strong>Svečias</strong><br>please <a href='".BASEDIR."login.php'>login</a> or <a href='".BASEDIR."register.php'>register</a>";


// Navigation Bar
$rtNavbar->newmenu('Pradžia','Home');
$rtNavbar->submenu('Home', 'Front Page', 'index.php', 1);
$rtNavbar->submenu('Articles', 'Articles', 'articles.php', 0);
$rtNavbar->submenu('News Categories', 'News Categories', 'news_cats.php', 1);
$rtNavbar->submenu('Search', 'Search this site', 'search.php', 0);

$rtNavbar->newmenu('Pradžia','Home');
$rtNavbar->submenu('Home', 'Front Page', 'index.php', 1);
$rtNavbar->submenu('Articles', 'Articles', 'articles.php', 0);
$rtNavbar->submenu('News Categories', 'News Categories', 'news_cats.php', 1);
$rtNavbar->submenu('Search', 'Search this site', 'search.php', 0);

$rtNavbar->newmenu('Community','Community');
$rtNavbar->submenu('Contact Us', 'Contact Us', 'contact.php', 0);
$rtNavbar->submenu('Forums', 'Discussions', 'forum/index.php', 0);
$rtNavbar->submenu('Web Links', 'Site Links', 'weblinks.php', 0);

$rtNavbar->newmenu('Members','Members');
$rtNavbar->submenu('Members List', 'Members List', 'members.php', 1);
if (iMEMBER) {
   $rtNavbar->submenu('View Profile', 'View your profile', 'profile.php?lookup='.$userdata['user_id'], 0);
   $rtNavbar->submenu('Edit Profile', 'Edit your profile', 'edit_profile.php', 1);
   $rtNavbar->submenu('Private Messages', 'View your private messages', 'messages.php', 1);
   $rtNavbar->submenu('Logout', 'Logout', 'setuser.php?logout=yes', 0);
} else {
   $rtNavbar->submenu('Login', 'Login', 'login.php', 0);
   $rtNavbar->submenu('Register', 'Register an Account', 'register.php', 0);
}

if ((iADMIN) && ($userdata['user_rights'] != "")) {
   $rtNavbar->newmenu('Administration','Administration');
   $rtNavbar->submenu('Write a News Item', 'Write a News Item', 'administration/news.php'.$aidlink, 0);
   $rtNavbar->submenu('Write an Article', 'Write an Article', 'administration/articles.php'.$aidlink, 1);
   $rtNavbar->submenu('Control Panel', 'Control Panel', 'administration/index.php'.$aidlink, 0);
}



Redagavo Enzo· 2008 Geg. 5 11:05:54