Example #1
0
require_once "__inc__.php";
require_once ROOT_PATH . "header.php";
// Lista svilupatori versione mobile
$devs = array("ghostmars919", "ale.gatti96", "qwertj", "Piero Tofy");
$username = join(',', array_map(function ($v) {
    return "'" . $v . "'";
}, $devs));
?>
	<div class="center">
		<img src="/images/eagle.jpg" alt="<?php 
echo SITE_VERSION;
?>
">
		<p><b><?php 
echo SITE_VERSION;
?>
</b></p>
		<p>Si ringrazia per il loro contributo:</p>

		<?php 
$query = exequery(User::SELECT_SQL . "WHERE nickname IN ({$username}) ORDER BY nickname");
while ($row = mysqli_fetch_array($query)) {
    $user_link = new User($row);
    echo "<img class='avatar small' src=" . $user_link->getAvatarUrl() . " alt='avatar'> ";
    echo $user_link->getProfileLink() . "<br/><br/>";
}
?>
	</div>
<?php 
require_once ROOT_PATH . "footer.php";
//var_dump($debug_queries_list);
Example #2
0
 /**
  * Get link to user.
  * @param	$id	Identifier of user.
  * @return link to user.
  */
 function getLink($id = "")
 {
     if (!empty($id)) {
         $user = new User($id);
         return $user->getProfileLink();
     }
     return scriptUrl . "/" . folderUsers;
 }
Example #3
0
        if ($moduleContentType != null) {
            if (method_exists($moduleContentType, "getName")) {
                echo $moduleContentType->getName();
            }
        } else {
            echo "Unknown";
        }
        ?>
</td>

<td width="20%" class="small1 item<?php 
        echo $i % 2 == 0 ? "Alt" : "";
        ?>
">
<?php 
        $site->printPopupLink($modifier->getProfileLink() . "&amp;popup=1", $modifier->username);
        ?>
</td>
</tr>
<?php 
    }
    ?>
</table>

<table width="100%">
<tr>
<td>
<input type="submit" name="deleteEntries" value="<?php 
    echo $lButtons["Delete"];
    ?>
" class="button" onclick="var agree=confirm('<?php