Jump to content

WHMSubs


n1h

Recommended Posts

Hello coders I have recently themed this script for my site but i have run into some difficulty - When users login they see the text Viewing overview of StarCP - When admins login it shows them the latest statistics about invoices ect - Both texts are displayed on the same page The following piece of code is a server markup on the page if ($_SESSION["my_type"]=="admin") {Is it possible for me to copy and change this to if ($_SESSION["my_type"]=="user") {Please forgive me if i have made any mistakes as i dnt really venture into php coding and this is my first time

Link to comment
Share on other sites

Yes, why not? Just make sure that "user" is actually a type (e.g. it is not "client" etc.)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...