Location: PHPKode > projects > MtxEventManager > MtxEventManager-V2-beta1-source-italian/mtxeventmanager/funzioni.php
<?php

/**
 * @Author				Tarchini Maurizio
 * @Version				1.0
 * @AuthorEmail			hide@address.com or hide@address.com
 * @AuthorSite			http://www.mtxweb.ch
 * @DocumentDate		1-3-2008
 * @DocumentLicense		PUBLIC -FREE
 * @LicenseDetail		GNU General Public License
 * @LicenseSite			http://www.gnu.org/licenses/gpl.txt
 * @PHPCompatibility	4.2 or later
 * @DevelopmentStatus	DEV - alpha
 */


include_once "./lib/function_page.php";
include_once "./lib/function_db.php";

Grant();

PageIn();
echo '<h1>Area FUNZIONI</h1>
<br><br>
';
echo '<table border="0" cellpadding="10" cellspacing="0">
<tr>
	<td valign="top"><h2>Funzioni Help</h2>
	';

BoxIn(400);

echo '<a href="help.php"><img src="./images/help_f.png" border="0" alt="help" align="absmiddle"></a>&nbsp;&nbsp;Help<br><br>
';
echo '<a href="faq.php"><img src="./images/faq.png" border="0" alt="FAQ" align="absmiddle"></a>&nbsp;&nbsp;FAQ<br><br>
';
echo '<a href="tpi.php"><img src="./images/tpi.png" border="0" alt="Integrazione di terze parti" align="absmiddle"></a>&nbsp;&nbsp;Integrazione di terze parti
';
BoxOut();
echo '</td>
<td width"50">&nbsp;</td>
<td valign="top"><h2>Moduli opzionali</h2>
';

$sql = "SELECT * FROM moduli ORDER BY admin DESC";
$res = GetRes($sql);

BoxIn(400);
while ($row = mysql_fetch_array($res))
{
	if ($row['admin'] == 1 AND !IsAdmin())
	{
		$row['url'] = "#";
		$jsurl = ' onClick="return(alert(\'Non si dispone dei priviligi necessari per eseguire questo modulo\'))"';
	}
	else
	{
		$jsurl = "";
	}
	
	echo '<a href="' . $row['url'] . '"' . $jsurl . '><img src="./images/' . $row['imm'] . '" border="0" alt="' . $row['alt'] . '" align="absmiddle"></a>&nbsp;&nbsp;' . $row['nome'] . '<br><br>
';	
}


BoxOut();

echo '</td>
</tr>
</table>
';

PageOut();

?>
Return current item: MtxEventManager