<center><?if (checkgroup(157) || (checkgroup(158)){
require_once "classifieds_panel.php";?>
<br><center><?
} else {
openside("Contact Details");
echo " <br><center>You need to <a href='http://www.filmmaker.co.za/'> LOGIN</a> or <a href='http://www.filmmaker.co.za/register.php'> UPGRADE TO PREMIUM MEMBERSHIP</a> to access the contact details.<a href='register.php'><br><BR><BR>";
closeside();
}
?></center>
<?if (checkgroup(157,158)){
require_once "classifieds_panel.php";?>
<br><center><?
} else {
openside("Contact Details");
echo " <br><center>You need to <a href='http://www.filmmaker.co.za/'> LOGIN</a> or <a href='http://www.filmmaker.co.za/register.php'> UPGRADE TO PREMIUM MEMBERSHIP</a> to access the contact details.<a href='register.php'><br><BR><BR>";
closeside();
}
?>
Quote
Liliplanet wrote:
I think I figured it out:
if (checkgroup(7)){
}else {
redirect('premium.php');
}
works fabulous!
Have a great evening.
Lilian
if (!checkgroup(7)) redirect('premium.php');
<?php
/*---------------------------------------------------+
| PHPFusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
if (checkgroup(1) || checkgroup(2)){
echo"Your in one of these :)";
}else {
echo"you faild booth checks";
}
require_once "side_right.php";
require_once "footer.php";
?>
Category Forum
Official Core Support - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions