 |
 |
 |
 |
#228865 - 01/08/03 04:56 PM
Re: The Panel Generator
[Re: mata]
|
Veteran
Registered: 10/22/00
Posts: 2637
Loc: London, UK
|
hmmm strange, maybe it was modified for an other hack <br /> <br />in your original file you have: <br /> <br />global $config,${$config['cookieprefix']."w3t_language"},$thispath,$tempstyle,$ubbt_lang,$debug,$dbh; <br /> <br />add ,$user at the end which should give you something like <br /> <br />global $config,${$config['cookieprefix']."w3t_language"},$thispath,$tempstyle,$ubbt_lang,$debug,$dbh,$user; <br /> <br />then search for <br /> <br /> $graemlinlist .= "<br />"; <br /> } <br /> <br />and add underneath <br /> <br /> if( (preg_match("/-1-/",$user['U_Groups'])) or (preg_match("/-2-/",$user['U_Groups'])) or (preg_match("/-3-/",$user['U_Groups']))) { <br /> $showpanelgenerator="<p align=\"center\"><a href=\"javascript: x()\" onclick=\"window.open('pano/popup.php','panelpopup','Width=510,height=320');\">Panel Generator</a></p>"; <br /> }else{ <br /> $showpanelgenerator=""; <br /> } <br /> <br />there let me know how it goes <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Do you believe in love at first sight, or should I walk by again?
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|