Example #1
0
    $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>