Danny Posted January 21, 2010 Report Posted January 21, 2010 Ok i guess the title makes no sense. Well watch the tutorial it shows you how to hide the side bar apart from on the homepage.. I want to make it not show on multiple pages but show on the rest atm i have it like this <?php if($_GET['module'] == 'profile') { ?> <?php } else { ?> <div id="right"> <h3>Recent Reports</h3> <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?> <h3>Newest Pilots</h3> <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> <h3>Teamspeak Viewer</h3> <script type="text/javascript" charset="iso-8859-1" src="http://www.tsviewer.com/ts_viewer_pur.php?ID=907838&bg=transparent&type=8f8f8f&type_size=11&type_family=1&info=1&channels=1&users=1&js=1&type_s_color=000000&type_s_weight=bold&type_s_style=normal&type_s_variant=normal&type_s_decoration=none&type_s_color_h=525284&type_s_weight_h=bold&type_s_style_h=normal&type_s_variant_h=normal&type_s_decoration_h=underline&type_i_color=000000&type_i_weight=normal&type_i_style=normal&type_i_variant=normal&type_i_decoration=none&type_i_color_h=525284&type_i_weight_h=normal&type_i_style_h=normal&type_i_variant_h=normal&type_i_decoration_h=underline&type_c_color=000000&type_c_weight=normal&type_c_style=normal&type_c_variant=normal&type_c_decoration=none&type_c_color_h=525284&type_c_weight_h=normal&type_c_style_h=normal&type_c_variant_h=normal&type_c_decoration_h=underline&type_u_color=000000&type_u_weight=normal&type_u_style=normal&type_u_variant=normal&type_u_decoration=none&type_u_color_h=525284&type_u_weight_h=normal&type_u_style_h=normal&type_u_variant_h=normal&type_u_decoration_h=none&skin=ts2_classic"></script><noscript>Enable JavaScript or visit</noscript> <h3>Users Online<br /> <?php $usersonline = StatsData::UsersOnline(); $guestsonline = StatsData::GuestsOnline(); ?> </h3> <h4 class="style6">Pilots Online </h4> <?php foreach($usersonline as $pilot) { echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />'; echo " {$pilot->firstname} {$pilot->lastname}<br />"; } ?> <br /> There's <?php echo count($usersonline);?> Pilot(s) Online. <h4 class="style3">Guests Online </h4> <p class="txt-red10"> There's <?php echo count($guestsonline);?> Guest(s) Online. </div> <?php } ?> Any ideas of this is possible Quote
Administrators Nabeel Posted January 21, 2010 Administrators Report Posted January 21, 2010 So you want it to show on some, and not on others? Quote
Danny Posted January 21, 2010 Author Report Posted January 21, 2010 yes like i have the forum addon and i dont want it to show on that but i want it to show on some other pages Quote
Administrators Nabeel Posted January 21, 2010 Administrators Report Posted January 21, 2010 You can add it into those templates where you want it to show Quote
Danny Posted January 21, 2010 Author Report Posted January 21, 2010 Sorry for what may seem a silly question, But what do you meen? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.