Exemplo n.º 1
0
echo $EditArr['Email'];
?>
" style="width:100%;">
</td></tr>

<?php 
if ($nsUser->ADMIN && $nsProduct->LICENSE != 2) {
    ?>
<tr><td class=FormLeftTd>
<?php 
    echo $Lang['Company'];
    FormError("Company");
    ?>
</td><td class=FormRightTd>
<?php 
    GenSelect($CompList, "EditArr[Company]", $EditArr['Company']);
    ?>
</td></tr>
<?php 
}
?>

<?php 
if (($nsUser->ADMIN || $nsUser->SUPER_USER) && $nsUser->UserId() != $EditUid) {
    ?>
<tr><td class=FormLeftTd>
<?php 
    echo $Lang['Super'];
    FormError("Super");
    ?>
</td><td class=FormRightTd>
Exemplo n.º 2
0

<div class=FormDiv>
<table width=100% cellpadding=4>

<tr><td class=FormHeader colspan=2 width=100%>

<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td width=50%>
<?php 
GetFORM();
?>
<B style="color:#000000"><?php 
echo $Lang['Grp'];
?>
</B> <?php 
echo GenSelect($Grps, "GrpId", $GrpId);
?>
 <input type=submit value="<?php 
echo $Lang['Choose'];
?>
"></form>
</td><td width=50% align=right>
<?php 
if (!$GrpId) {
    GetFORM();
    ?>
<input type=hidden name=Mode value="Update">
<input type=submit value="<?php 
    echo $Lang['UpdateGrp'];
    ?>
">
echo $EditArr['Descr'];
?>
</textarea>
</td></tr>

<?php 
if ($SelectComp == true) {
    ?>
<tr><td class=FormLeftTd>
<?php 
    echo $Lang['Company'];
    FormError("Company");
    ?>
</td><td class=FormRightTd>
<?php 
    GenSelect($CompArr, "EditArr[Company]", $EditArr['Company']);
    ?>
</td></tr>
<?php 
}
?>

<?php 
if (ValidId($EditId) && $nsUser->ADMIN) {
    ?>
<tr><td class=FormLeftTd>
<?php 
    echo $Lang['ShowOn1stPage'];
    ?>
</td><td class=FormRightTd>
<input type=checkbox name="EditArr[Watch]" value=1 <?php