function print_left_panel($ttype, $count) { global $gbl, $login, $ghtml; if ($login->isLte('reseller')) { print "</td> <td >"; print_a_button("left", $ttype, "client", $count); } print "</td> <td >"; if ($login->isLte('reseller')) { print_a_button("left", $ttype, "all", $count); } print "</td> <td >"; if ($login->isAdmin()) { print_a_button("left", $ttype, "pserver", $count); } print "</td> <td >"; if ($login->isLte('customer') && $login->priv->isOn('webhosting_flag')) { print_a_button("left", $ttype, "ffile", $count); } }
function print_left_side($ttype, $count) { global $gbl, $login, $ghtml; if ($login->isLte('reseller')) { print "<!-- Load button Client -->\n"; print_a_button("left", $ttype, "client", $count); } if ($login->isLte('reseller')) { print "<!-- Load button All -->\n"; print_a_button("left", $ttype, "all", $count); } if ($login->isAdmin()) { print "<!-- Load button Server -->\n"; print_a_button("left", $ttype, "pserver", $count); } if ($login->isLte('customer') && $login->priv->isOn('webhosting_flag')) { print "<!-- Load button FileManager -->\n"; print_a_button("left", $ttype, "ffile", $count); } }