|
Solved page manager and php
|
|
03-12-2012, 08:36 AM
Post: #1
|
|||
|
|||
|
page manager and php
I have created an additional page with Page Manager and it works fine. But since I had a need to keep this document secure I had to put some code in to keep the page secure. Since I have done that, I cannot check the use MyBb Template box. If I do, I lose the security of the document. Is there a way that I can do this and still use the header and footer to keep the pages looking consistent? Here is the code I am currently using:
<?php $disallowed = array('1', '2', '3', '5', '6', '7'); if(in_array($mybb->user['usergroup'], $disallowed)) { error_no_permission(); } ?> <td valign="top"> <table cellpadding="2" cellspacing="0" border="0"> <tr> <td width="100%" valign="top"> <!--area Type="main" face="Arial,Helvetica,sans-serif" size="2" color="black" style="0"--> <p><font face="Arial,Helvetica,sans-serif" size="2" color="black"><DIV></DIV> <DIV align=center> </UL> <P align=left><FONT face="Verdana, Arial, Helvetica, sans-serif"size=2><a href="http://www.sonyrewards.com/en/home/wof/" onmouseout="window.status=' ';return true;"onmouseover="window.status='Wheel of Fortune';return true;" target="_blank"><font color="black"">Wheel Of Fortune</a></DIV></font></P> <UL> <LI><FONT color=#0000ff>Living Proof</font></LI> <!--Rest of code omitted for simplicity --> Thanks. Jim |
|||
![]() No Permission
|
|
| You must be either a Premium Subscriber or a Gold Subscriber to read replies. Click here for more information. | |
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)


![[-] [-]](images/mp/collapse.gif)