$pname = $t['nome'];
    $psrnm = $t['cognome'];
    $pavatar = Utente::encode(Utente::getAvatarUrlById($t['id']));
    echo $basestring;
    include 'panelmodntwrkr.php';
    include 'paneladdntwrkr.php';
    include 'paneladdntwrkrsale.php';
    include 'panelhidentwrkr.php';
    echo '<ul id="' . $t['id'] . '_ul"></ul></li>';
}
foreach ($nrteam as $t) {
    $basestring = '<li id="' . $t['id'] . '_li" class="hasSubmenu hasLeftborder"><a href="#" class="toogle"><img src="' . Utente::getAvatarUrlById($t['id']) . '" class="avatar img_36_36" />' . $t['cognome'] . ' ' . $t['nome'] . '</a>';
    $id = $t['id'];
    $pname = $t['nome'];
    $psrnm = $t['cognome'];
    $pavatar = Utente::encode(Utente::getAvatarUrlById($t['id']));
    $js1 = '<script type="text/javascript"> $(document).ready(function() {$("#' . $t['parent'] . '_ul").append(\'';
    echo $js1 . $basestring;
    include 'panelmodntwrkr.php';
    include 'paneladdntwrkr.php';
    include 'paneladdntwrkrsale.php';
    include 'panelhidentwrkr.php';
    echo '</li><ul id="' . $t['id'] . '_ul"></ul>\');});</script>';
}
?>
    
        <li style="display:none">
      </ul>
    </li>
  </ul>
    
Exemple #2
0
    <div class="formlogin">
      <form id="frmLogin" name="Login" action="userlogin" method="POST" >
        <p>
          Username:<br/>
          <input type="text" name="username" value="" size="40" class="login required"/>
        </p>
        <p>
          Password:<br/>
          <input type="password" name="password" value="" size="40" class="login required"/>
        </p>
        <input type="submit" value="Login" name="login" class="button" onclick="return validateAll($('#frmLogin'),'.login.required');"/>
      </form>

      <div>
          <br/>
          <br/>
          <a href="<?php 
    echo UriDispatch::getFullUri('user/newuser/0/non/applicabile/' . Utente::encode(Utente::getDefaultAvatarUrl()));
    ?>
">Nuovo utente</a> | 
          <a href="<?php 
    echo UriDispatch::getFullUri('user/forgotpwd');
    ?>
">Recupera password</a>
      </div>
    </div>
    <?php 
}
?>
</div>